Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2005 09:56:56 -0700
From:      "Cai, Quanqing" <caiquanqing@gmail.com>
To:        Arjan van Leeuwen <avleeuwen@gmail.com>
Cc:        freebsd-firewire@freebsd.org
Subject:   Re: One-way communication with fwip(4) between FreeBSD and MacOS X?
Message-ID:  <2b22951e0510290956q22cfe627m3e13d34ab4fcfa8b@mail.gmail.com>
In-Reply-To: <d86b48730510290422s2ca9edccv@mail.gmail.com>
References:  <d86b48730510281159l229bcb19v@mail.gmail.com> <2b22951e0510282352h15a6d6fan79b74c15fdda68fc@mail.gmail.com> <d86b48730510290422s2ca9edccv@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yeah, you are right, maybe you got a bad hardware? Your lladdr is a
broadcast address, so it explains your FBSD can get ping reply from Mac, bu=
t
Mac can't get ping reply from FBSD.

Here is dmesg output on my machine:

....
Oct 29 09:18:08 testbed kernel: fwohci0: <VIA Fire II (VT6306)> port
0xdc00-0xdc7f mem 0xd1c10000-0xd1c107ff irq 10 at device
8.0 on pci0
Oct 29 09:18:08 testbed kernel: fwohci0: OHCI version 1.10 (ROM=3D1)
Oct 29 09:18:08 testbed kernel: fwohci0: No. of Isochronous channels is 8.
Oct 29 09:18:08 testbed kernel: fwohci0: EUI64 13:94:04:07:10:00:01:cd
Oct 29 09:18:08 testbed kernel: fwohci0: Phy 1394a available S400, 3 ports.
Oct 29 09:18:08 testbed kernel: fwohci0: Link S400, max_rec 2048 bytes.
Oct 29 09:18:08 testbed kernel: firewire0: <IEEE1394(FireWire) bus> on
fwohci0
Oct 29 09:18:08 testbed kernel: fwip0: <IP over FireWire> on firewire0
Oct 29 09:18:08 testbed kernel: fwip0: Firewire address:
13:94:04:07:10:00:01:cd @ 0xfffe00000000, S400, maxrec 2048
...

And here is ifconfig output on my machine:
...
fwip0: flags=3D108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT> mt=
u
1500
inet 10.10.10.1 <http://10.10.10.1>; netmask 0xffffff00 broadcast
10.10.10.255 <http://10.10.10.255>;
lladdr 13.94.4.7.10.0.1.cd.a.2.ff.fe.0.0.0.0
...

Cai, Quanqing

On 10/29/05, Arjan van Leeuwen <avleeuwen@gmail.com> wrote:
>
> Hi,
>
> 2005/10/29, Cai, Quanqing <caiquanqing@gmail.com>:
> > Hi there,
> >
> > I think your problem is related with this bug:
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D82727
> >
> > 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.
>
> No, that wasn't it - results are exactly the same. I don't see any
> weird things in the routing table either.
>
> Is the 'lladdr' output of ifconfig fwip0 normal?
> fwip0: flags=3D108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT> =
mtu
> 1500
> inet 10.0.0.1 <http://10.0.0.1>; netmask 0xffffff00 broadcast 10.0.0.255<h=
ttp://10.0.0.255>
> lladdr ff.ff.ff.ff.ff.ff.ff.ff.a.2.ff.fe.0.0.0.0
>
> Thanks,
>
> Arjan
>
> >
> > BR
> > Cai, Quanqing
> >
> >
> > On 10/28/05, Arjan van Leeuwen <avleeuwen@gmail.com> 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@winston.piwebs.com :/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 =3D "GenuineIntel" Id =3D 0x673 Stepping =3D 3
> > >
> >
> Features=3D0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
> > > real memory =3D 536870912 (512 MB)
> > > avail memory =3D 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=3D1)
> > > 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=3D0x8800ffc0, gen=3D1, non CYCLEMASTER mode
> > > firewire0: 2 nodes, maxhop <=3D 1, cable IRM =3D 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=3D0x300>
> > > 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@freebsd.org mailing list
> > >
> > http://lists.freebsd.org/mailman/listinfo/freebsd-firewire
> > > To unsubscribe, send any mail to "
> > freebsd-firewire-unsubscribe@freebsd.org"
> > >
> >
> >
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2b22951e0510290956q22cfe627m3e13d34ab4fcfa8b>