From owner-freebsd-firewire@FreeBSD.ORG Mon Oct 24 06:16:16 2005 Return-Path: X-Original-To: freebsd-firewire@hub.freebsd.org Delivered-To: freebsd-firewire@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 561AB16A451; Mon, 24 Oct 2005 06:16:16 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13D3A43D46; Mon, 24 Oct 2005 06:16:16 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9O6GFg1015606; Mon, 24 Oct 2005 06:16:15 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9O6GF7F015602; Mon, 24 Oct 2005 06:16:15 GMT (envelope-from linimon) Date: Mon, 24 Oct 2005 06:16:15 GMT From: Mark Linimon Message-Id: <200510240616.j9O6GF7F015602@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-firewire@FreeBSD.org Cc: Subject: Re: kern/85434: [fwip] fwip (IP over firewire) doesn't work with polling 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: Mon, 24 Oct 2005 06:16:16 -0000 Synopsis: [fwip] fwip (IP over firewire) doesn't work with polling Responsible-Changed-From-To: freebsd-bugs->freebsd-firewire Responsible-Changed-By: linimon Responsible-Changed-When: Mon Oct 24 06:16:05 GMT 2005 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=85434 From owner-freebsd-firewire@FreeBSD.ORG Mon Oct 24 11:02:04 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 AA45616A41F for ; Mon, 24 Oct 2005 11:02:04 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7294843D46 for ; Mon, 24 Oct 2005 11:02:04 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9OB24QC061921 for ; Mon, 24 Oct 2005 11:02:04 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9OB23R2061915 for freebsd-firewire@freebsd.org; Mon, 24 Oct 2005 11:02:03 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 24 Oct 2005 11:02:03 GMT Message-Id: <200510241102.j9OB23R2061915@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-firewire@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 24 Oct 2005 11:02:04 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/11/22] kern/74238 firewire [firewire] fw_rcv: unknown response; fire o [2005/06/28] kern/82727 firewire [modules] kernel module if_fwip fails to o [2005/08/29] kern/85434 firewire [fwip] fwip (IP over firewire) doesn't wo 3 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/12/12] kern/74977 firewire [modules] dcons.ko requires KDB support 1 problem total. From owner-freebsd-firewire@FreeBSD.ORG Tue Oct 25 02:37:55 2005 Return-Path: X-Original-To: freebsd-firewire@hub.freebsd.org Delivered-To: freebsd-firewire@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A855916A41F; Tue, 25 Oct 2005 02:37:55 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6532443D49; Tue, 25 Oct 2005 02:37:55 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9P2btZK099291; Tue, 25 Oct 2005 02:37:55 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9P2btW9099287; Tue, 25 Oct 2005 02:37:55 GMT (envelope-from linimon) Date: Tue, 25 Oct 2005 02:37:55 GMT From: Mark Linimon Message-Id: <200510250237.j9P2btW9099287@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-firewire@FreeBSD.org Cc: Subject: Re: kern/83999: [firewire] [patch] panic in fw_bus_explore due to NULL reference 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: Tue, 25 Oct 2005 02:37:55 -0000 Synopsis: [firewire] [patch] panic in fw_bus_explore due to NULL reference Responsible-Changed-From-To: freebsd-bugs->freebsd-firewire Responsible-Changed-By: linimon Responsible-Changed-When: Tue Oct 25 02:37:39 GMT 2005 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=83999 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 From owner-freebsd-firewire@FreeBSD.ORG Fri Oct 28 19:04:28 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 689F116A41F for ; Fri, 28 Oct 2005 19:04:28 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB7CD43D45 for ; Fri, 28 Oct 2005 19:04:27 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j9SJ4QgA064490; Fri, 28 Oct 2005 14:04:26 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <43627620.3060207@centtech.com> Date: Fri, 28 Oct 2005 14:04:00 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051021 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Arjan van Leeuwen References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1149/Thu Oct 27 15:20:09 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-firewire@freebsd.org Subject: Re: 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 19:04:28 -0000 Arjan van Leeuwen 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 > 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. If you run a tcpdump on fxp0 while doing the pings, do you see the packets leaving on that interface? You might send the output of netstat -rn also Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-firewire@FreeBSD.ORG Fri Oct 28 19:12:27 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 15D7216A41F for ; Fri, 28 Oct 2005 19:12:27 +0000 (GMT) (envelope-from avleeuwen@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8049743D45 for ; Fri, 28 Oct 2005 19:12:26 +0000 (GMT) (envelope-from avleeuwen@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so359342wxc for ; Fri, 28 Oct 2005 12:12:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y8/VVaGvfEAgPykZUChfZwpDnmDnvQ9NJhxhTQSnouzkPBHvEIwCmj+imHZRQpWxdHnMO+g6NY++LgxpuaDrahQk7UrgCmzK4j56YPTbIZytWUuwRF1B4KnmuHxIaFffF0PAA7BGOg4lLsodKaQBJfeKUveKuklZdYFTJj2HRKQ= Received: by 10.11.120.57 with SMTP id s57mr1520cwc; Fri, 28 Oct 2005 12:12:25 -0700 (PDT) Received: by 10.11.100.4 with HTTP; Fri, 28 Oct 2005 12:12:25 -0700 (PDT) Message-ID: Date: Fri, 28 Oct 2005 21:12:25 +0200 From: Arjan van Leeuwen To: Eric Anderson In-Reply-To: <43627620.3060207@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43627620.3060207@centtech.com> Cc: freebsd-firewire@freebsd.org Subject: Re: 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 19:12:27 -0000 Sorry for the second mail, forgot to reply to all and include freebsd-firew= ire@: 2005/10/28, Eric Anderson : > Arjan van Leeuwen 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 dec= ode > > 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. > > If you run a tcpdump on fxp0 while doing the pings, do you see the > packets leaving on that interface? No. > > You might send the output of netstat -rn also winston% netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.0.1 UGS 0 952 fxp0 10/24 link#1 UC 0 0 fwip0 10.0.0.1 ff.ff.ff.ff.ff.ff.ff.ff.a.2.ff.fe.0.0.0.0 UHLW =20 1 2 lo0 10.0.0.2 0.11.24.ff.fe.36.85.28.b.2.0.1.0.0.0.0 UHLW =20 1 84 fwip0 1162 127.0.0.1 127.0.0.1 UH 0 36 lo0 192.168.0 link#2 UC 0 0 fxp0 192.168.0.1 00:40:f4:67:3e:64 UHLW 2 39 fxp0 1097 Thanks for your help, Arjan > > Eric > > > > > -- > ------------------------------------------------------------------------ > Eric Anderson Sr. Systems Administrator Centaur Technology > Anything that works is better than anything that doesn't. > ------------------------------------------------------------------------ > From owner-freebsd-firewire@FreeBSD.ORG Sat Oct 29 09:26:45 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 AD5E216A41F for ; Sat, 29 Oct 2005 09:26:45 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB8AA43D46 for ; Sat, 29 Oct 2005 09:26:44 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so510805wxc for ; Sat, 29 Oct 2005 02:26:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=tR2UVFbbvwcI33EQwqibY/JBIvBB3jojr8UnfG5fhAtxvaiSmw4weDIinv6ZTR/yPBcHGpW1/DFw8JNTYAF//2GMPhBBxmtqYkFdDgCcfzDeyhxR++zeRGvNyOv88tZqlHYMJZFUI4voR/DDot4RpEJItbZqAlIwb5RcykTBO1U= Received: by 10.70.97.13 with SMTP id u13mr690529wxb; Fri, 28 Oct 2005 23:52:54 -0700 (PDT) Received: by 10.70.11.18 with HTTP; Fri, 28 Oct 2005 23:52:53 -0700 (PDT) Message-ID: <2b22951e0510282352h15a6d6fan79b74c15fdda68fc@mail.gmail.com> Date: Fri, 28 Oct 2005 23:52:54 -0700 From: "Cai, Quanqing" To: Arjan van Leeuwen In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-firewire@freebsd.org Subject: Re: 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: Sat, 29 Oct 2005 09:26:45 -0000 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. BR Cai, Quanqing On 10/28/05, Arjan van Leeuwen 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 decod= e > 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 > acpi0 > 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 > _______________________________________________ > freebsd-firewire@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-firewire > To unsubscribe, send any mail to "freebsd-firewire-unsubscribe@freebsd.or= g > " > From owner-freebsd-firewire@FreeBSD.ORG Sat Oct 29 12:23:10 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 75FAD16A41F for ; Sat, 29 Oct 2005 12:23:10 +0000 (GMT) (envelope-from avleeuwen@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC2C943D45 for ; Sat, 29 Oct 2005 12:23:09 +0000 (GMT) (envelope-from avleeuwen@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so528893wxc for ; Sat, 29 Oct 2005 05:23:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bQMl7SCECZj4MvBdbwy472o/bK6hnk1GBPCCY7ujrCRfSoX1rOhAtDjBPBuAHJiwGXLEVfk6f7uKc39ULK3daSOmCGWd9+IS9lkGYIPAUzWwQYmuyNg9dsdsahlibdzrztswuelUVsu2+LXWDL2yLci+A4BMKzQVEdKNqnyqKiA= Received: by 10.11.98.21 with SMTP id v21mr3338cwb; Sat, 29 Oct 2005 04:22:32 -0700 (PDT) Received: by 10.11.100.4 with HTTP; Sat, 29 Oct 2005 04:22:32 -0700 (PDT) Message-ID: Date: Sat, 29 Oct 2005 13:22:32 +0200 From: Arjan van Leeuwen To: "Cai, Quanqing" In-Reply-To: <2b22951e0510282352h15a6d6fan79b74c15fdda68fc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2b22951e0510282352h15a6d6fan79b74c15fdda68fc@mail.gmail.com> Cc: freebsd-firewire@freebsd.org Subject: Re: 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: Sat, 29 Oct 2005 12:23:10 -0000 Hi, 2005/10/29, Cai, Quanqing : > 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 mt= u 1500 inet 10.0.0.1 netmask 0xffffff00 broadcast 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 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 dec= ode > > 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, 199= 4 > > The Regents of the University of California. All rights reserve= d. > > 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 > acpi0 > > 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 is= a0 > > 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 > > _______________________________________________ > > 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" > > > > From owner-freebsd-firewire@FreeBSD.ORG Sat Oct 29 17:03:04 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 DC2BB16A41F for ; Sat, 29 Oct 2005 17:03:04 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1628443D49 for ; Sat, 29 Oct 2005 17:03:03 +0000 (GMT) (envelope-from caiquanqing@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so562778wxc for ; Sat, 29 Oct 2005 10:03:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=I1jlU6CiD6Vh9qlRI1DZYKfsbaVPLP4xZ/YOOZD3vgMZHAdYmD8Tp4AQyS3tIDwaC+qRCj0iXfeVdke/r3cX6VBpfxTvIuO7JQQezYkZ8N1j4jHBVTISOwu1V89rSD7CpIzYYkz7mfYNVgLzwn1KKr8bQoFJ2ISeK7mgZMrcT+4= Received: by 10.70.30.6 with SMTP id d6mr879342wxd; Sat, 29 Oct 2005 09:56:56 -0700 (PDT) Received: by 10.70.11.18 with HTTP; Sat, 29 Oct 2005 09:56:56 -0700 (PDT) Message-ID: <2b22951e0510290956q22cfe627m3e13d34ab4fcfa8b@mail.gmail.com> Date: Sat, 29 Oct 2005 09:56:56 -0700 From: "Cai, Quanqing" To: Arjan van Leeuwen In-Reply-To: MIME-Version: 1.0 References: <2b22951e0510282352h15a6d6fan79b74c15fdda68fc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-firewire@freebsd.org Subject: Re: 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: Sat, 29 Oct 2005 17:03:05 -0000 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: 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: on fwohci0 Oct 29 09:18:08 testbed kernel: fwip0: 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 mt= u 1500 inet 10.10.10.1 netmask 0xffffff00 broadcast 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 wrote: > > Hi, > > 2005/10/29, Cai, Quanqing : > > 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 = mtu > 1500 > inet 10.0.0.1 netmask 0xffffff00 broadcast 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 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 > 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 > > acpi0 > > > 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 > > > _______________________________________________ > > > 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" > > > > > > > >