Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One-way communication with fwip(4) between FreeBSD and MacOS X?



Hi there,

I think your problem is related with this bug:
http://www.freebsd.org/cgi/query-pr.cgi?pr=82727

The problem is fixed in current and MFC to 6.0 by avatar on 2005/10/28
22:45:52

Please cvsup and test it again.

BR
Cai, Quanqing

On 10/28/05, Arjan van Leeuwen <avleeuwen@xxxxxxxxx> wrote:
>
> Hi,
>
> I'm trying to establish an fwip(4) connection between my Powerbook
> running MacOS X 10.4 and my FreeBSD 6.0-RC1 host. I included fwip in
> my kernel and assigned an IP address to the fwip0 interface.
>
> The weird thing is that it seems to work only one-way. I can ping my
> Powerbook from the FreeBSD machine, I can even ssh to it, etc. But
> from the Powerbook to the FreeBSD host, I get no replies to my pings,
> and I can't access ssh.
>
> If I do a tcpdump on the FreeBSD machine on fwip0, I can see that the
> ping requests arrive, but there's no answer:
>
> winston% sudo tcpdump -i fwip0
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on fwip0, link-type APPLE_IP_OVER_IEEE1394 (Apple
> IP-over-IEEE 1394), capture size 96 bytes
> 20:54:32.853931 IP 10.0.0.2 <http://10.0.0.2> > 10.0.0.1 <http://10.0.0.1>:
> ICMP echo request, id 20738,
> seq 0, length 64
> 20:54:33.854038 IP 10.0.0.2 <http://10.0.0.2> > 10.0.0.1 <http://10.0.0.1>:
> ICMP echo request, id 20738,
> seq 1, length 64
> 20:54:34.854122 IP 10.0.0.2 <http://10.0.0.2> > 10.0.0.1 <http://10.0.0.1>:
> ICMP echo request, id 20738,
> seq 2, length 64
>
> It almost looks like there's a firewall setup to stop any incoming
> traffic on the fwip interface (I have no firewall installed).
>
> How do I proceed in debugging this?
>
> Thanks,
>
> Arjan
>
> P.S. I'm not subscribed to the firewire@ list, please CC me on reply.
>
> For reference, here's my dmesg:
>
> Copyright (c) 1992-2005 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> The Regents of the University of California. All rights reserved.
> FreeBSD 6.0-RC1 #7: Fri Oct 28 20:42:08 CEST 2005
> root@xxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/WINSTON
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Pentium III/Pentium III Xeon/Celeron (548.54-MHz 686-class CPU)
> Origin = "GenuineIntel" Id = 0x673 Stepping = 3
>
> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> real memory = 536870912 (512 MB)
> avail memory = 515870720 (491 MB)
> ACPI APIC Table: <COMPAQ ODESSA >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> cpu0 (BSP): APIC ID: 1
> cpu1 (AP): APIC ID: 0
> ioapic0: Changing APIC ID to 8
> MADT: Forcing active-low polarity and level trigger for SCI
> ioapic0 <Version 1.1> irqs 0-31 on motherboard
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <COMPAQ ODESSA> on motherboard
> acpi0: Power Button (fixed)
> pci_link0: <ACPI PCI Link IN00> on acpi0
> pci_link1: <ACPI PCI Link IN01> irq 11 on acpi0
> pci_link2: <ACPI PCI Link IN02> on acpi0
> pci_link3: <ACPI PCI Link IN03> on acpi0
> pci_link4: <ACPI PCI Link IN04> on acpi0
> pci_link5: <ACPI PCI Link IN05> on acpi0
> pci_link6: <ACPI PCI Link IN06> irq 11 on acpi0
> pci_link7: <ACPI PCI Link IN07> irq 11 on acpi0
> pci_link8: <ACPI PCI Link IN08> on acpi0
> pci_link9: <ACPI PCI Link IN09> on acpi0
> pci_link10: <ACPI PCI Link IN10> on acpi0
> pci_link11: <ACPI PCI Link IN11> irq 11 on acpi0
> pci_link12: <ACPI PCI Link IN12> on acpi0
> pci_link13: <ACPI PCI Link IN13> on acpi0
> pci_link14: <ACPI PCI Link IN14> irq 11 on acpi0
> pci_link15: <ACPI PCI Link IN15> irq 11 on acpi0
> pci_link16: <ACPI PCI Link IN49> irq 11 on acpi0
> Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0
> cpu0: <ACPI CPU> on acpi0
> cpu1: <ACPI CPU> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> at device 0.1 on pci0
> pci1: <ACPI PCI bus> on pcib1
> pci1: <display, VGA> at device 0.0 (no driver attached)
> atapci0: <Promise PDC20269 UDMA133 controller> port
> 0x7020-0x7027,0x7030-0x7033,0x7028-0x702f,0x7034-0x7037,0x7000-0x700f
> mem 0xcf700000-0xcf703fff irq 16 at device 7.0 on pci0
> ata2: <ATA channel 0> on atapci0
> ata3: <ATA channel 1> on atapci0
> isab0: <PCI-ISA bridge> at device 15.0 on pci0
> isa0: <ISA bus> on isab0
> atapci1: <GENERIC ATA controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x7010-0x701f at device 15.1 on
> pci0
> ata0: <ATA channel 0> on atapci1
> ata1: <ATA channel 1> on atapci1
> ohci0: <OHCI (generic) USB controller> mem 0xcf800000-0xcf800fff irq
> 25 at device 15.2 on pci0
> ohci0: [GIANT-LOCKED]
> usb0: OHCI version 1.0, legacy support
> usb0: <OHCI (generic) USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: (0x0e11) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 5 ports with 5 removable, self powered
> pcib2: <ACPI Host-PCI bridge> on acpi0
> pcib2: couldn't find _ADR
> pcib2: trying bus number 2
> pci2: <ACPI PCI bus> on pcib2
> sym0: <875> port 0x5000-0x50ff mem
> 0xcf900000-0xcf9000ff,0xcfa00000-0xcfa00fff irq 28 at device 8.0 on
> pci2
> sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
> sym0: [GIANT-LOCKED]
> sym1: <875> port 0x5400-0x54ff mem
> 0xcfb00000-0xcfb000ff,0xcfc00000-0xcfc00fff irq 29 at device 8.1 on
> pci2
> sym1: No NVRAM, ID 7, Fast-20, SE, parity checking
> sym1: [GIANT-LOCKED]
> fwohci0: <Texas Instruments TSB12LV22> mem
> 0xcfd00000-0xcfd007ff,0xcfe00000-0xcfe03fff irq 24 at device 9.0 on
> pci2
> fwohci0: OHCI version 1.0 (ROM=1)
> fwohci0: No. of Isochronous channels is 4.
> fwohci0: EUI64 ff:ff:ff:ff:ff:ff:ff:ff
> fwohci0: Phy 1394a available S400, 3 ports.
> fwohci0: Link S400, max_rec 2048 bytes.
> firewire0: <IEEE1394(FireWire) bus> on fwohci0
> fwip0: <IP over FireWire> on firewire0
> fwip0: Firewire address: ff:ff:ff:ff:ff:ff:ff:ff @ 0xfffe00000000,
> S400, maxrec 2048
> sbp0: <SBP-2/SCSI over FireWire> on firewire0
> fwohci0: Initiate bus reset
> fwohci0: node_id=0x8800ffc0, gen=1, non CYCLEMASTER mode
> firewire0: 2 nodes, maxhop <= 1, cable IRM = 1
> fxp0: <Intel 82558 Pro/100 Ethernet> port 0x5800-0x581f mem
> 0xcf600000-0xcf600fff,0xcff00000-0xcfffffff irq 31 at device 11.0 on
> pci2
> miibus0: <MII bus> on fxp0
> inphy0: <i82555 10/100 media interface> on miibus0
> inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp0: Ethernet address: 00:08:c7:df:49:e4
> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77d irq 7
> drq 3 on acpi0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on
> acpi0
> sio0: type 16550A
> sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
> sio1: type 16550A
> fdc0: <floppy drive controller> port 0x3f0-0x3f5 irq 6 drq 2 on acpi0
> fdc0: [FAST]
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem
> 0xc0000-0xc7fff,0xc8000-0xcdfff,0xce000-0xd07ff,0xe0000-0xe7fff on
> isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sbc0: <ESS ES1869> at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5
> drq 1,0 on isa0
> sbc0: [GIANT-LOCKED]
> pcm0: <ESS 18xx DSP> on sbc0
> pcm0: [GIANT-LOCKED]
> ums0: Logitech USB Receiver, rev 1.10/25.00, addr 2, iclass 3/1
> ums0: 7 buttons and Z dir.
> Timecounters tick every 1.000 msec
> Waiting 5 seconds for SCSI devices to settle
> ad4: 239372MB <Maxtor 6L250R0 BAH41G10> at ata2-master UDMA133
> acd0: CDROM <COMPAQ CR-589/GC4S> at ata3-master PIO4
> firewire0: bus manager 0 (me)
> firewire0: New S400 device ID:001124fffe368528
> SMP: AP CPU #1 Launched!
> Trying to mount root from ufs:/dev/ad4s3a
> _______________________________________________
> freebsd-firewire@xxxxxxxxxxx mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-firewire
> To unsubscribe, send any mail to "freebsd-firewire-unsubscribe@xxxxxxxxxxx
> "
>