From owner-freebsd-firewire@FreeBSD.ORG Fri Oct 28 18:59:50 2005 Return-Path: X-Original-To: freebsd-firewire@freebsd.org Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DE3516A41F for ; Fri, 28 Oct 2005 18:59:50 +0000 (GMT) (envelope-from avleeuwen@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70FE943D45 for ; Fri, 28 Oct 2005 18:59:49 +0000 (GMT) (envelope-from avleeuwen@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so354874wxc for ; Fri, 28 Oct 2005 11:59:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YlNyUVri6VilB7xyIyrpS5OZM482mfQPGhSfjKuTsRvpWR5xbIpQL06p9WgX6BWQVkKeaNMC1ubKsvv62v8w8iAUd1J89c1K3bBbc2m3dR2OgGJMRI+8GMnt7Qp3Agi3OdS9OFIgswth/YNJpzF+Udvl6xlFR9sqWDgETwc+Fg0= Received: by 10.11.120.1 with SMTP id s1mr1494cwc; Fri, 28 Oct 2005 11:59:48 -0700 (PDT) Received: by 10.11.100.4 with HTTP; Fri, 28 Oct 2005 11:59:48 -0700 (PDT) Message-ID: Date: Fri, 28 Oct 2005 20:59:48 +0200 From: Arjan van Leeuwen To: freebsd-firewire@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: One-way communication with fwip(4) between FreeBSD and MacOS X? X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 18:59:50 -0000 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 > 10.0.0.1: ICMP echo request, id 20738, seq 0, length 64 20:54:33.854038 IP 10.0.0.2 > 10.0.0.1: ICMP echo request, id 20738, seq 1, length 64 20:54:34.854122 IP 10.0.0.2 > 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 real memory =3D 536870912 (512 MB) avail memory =3D 515870720 (491 MB) ACPI APIC Table: 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 irqs 0-31 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: on acpi0 pci_link1: irq 11 on acpi0 pci_link2: on acpi0 pci_link3: on acpi0 pci_link4: on acpi0 pci_link5: on acpi0 pci_link6: irq 11 on acpi0 pci_link7: irq 11 on acpi0 pci_link8: on acpi0 pci_link9: on acpi0 pci_link10: on acpi0 pci_link11: irq 11 on acpi0 pci_link12: on acpi0 pci_link13: on acpi0 pci_link14: irq 11 on acpi0 pci_link15: irq 11 on acpi0 pci_link16: 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: on acpi0 cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 0.1 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) atapci0: port 0x7020-0x7027,0x7030-0x7033,0x7028-0x702f,0x7034-0x7037,0x7000-0x700f mem 0xcf700000-0xcf703fff irq 16 at device 7.0 on pci0 ata2: on atapci0 ata3: on atapci0 isab0: at device 15.0 on pci0 isa0: on isab0 atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x7010-0x701f at device 15.1 on pci0 ata0: on atapci1 ata1: on atapci1 ohci0: mem 0xcf800000-0xcf800fff irq 25 at device 15.2 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: 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: on acpi0 pcib2: couldn't find _ADR pcib2: trying bus number 2 pci2: 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: 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: on fwohci0 fwip0: on firewire0 fwip0: Firewire address: ff:ff:ff:ff:ff:ff:ff:ff @ 0xfffe00000000, S400, maxrec 2048 sbp0: 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: port 0x5800-0x581f mem 0xcf600000-0xcf600fff,0xcff00000-0xcfffffff irq 31 at device 11.0 on pci2 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:08:c7:df:49:e4 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: 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: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 flags 0x10 on acp= i0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0 sio1: type 16550A fdc0: 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: at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff,0xce000-0xd07ff,0xe0000-0xe7fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sbc0: at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0 sbc0: [GIANT-LOCKED] pcm0: 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 at ata2-master UDMA133 acd0: CDROM 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