From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 17 22:10:41 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB33C16A4CE for ; Thu, 17 Mar 2005 22:10:41 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 416C843D54 for ; Thu, 17 Mar 2005 22:10:41 +0000 (GMT) (envelope-from rexroof@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so308561wri for ; Thu, 17 Mar 2005 14:10:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=btU2RqFFjdQiJnPFd9pY14E8G1cz5EcVqK3mPKrRLPhtbPHmICUrrchAeAEUkBK4K2SDoDev101tWNbvjAxmXa72/hIh6Fp1nmdrA9bQMooiq+vS/iiXoqhkfHHJBKnSB2LcLvK2G//K/uRaVsblAXmfGOxlUYH1ArfZjAx7t5g= Received: by 10.54.11.62 with SMTP id 62mr2013443wrk; Thu, 17 Mar 2005 14:10:40 -0800 (PST) Received: by 10.54.43.2 with HTTP; Thu, 17 Mar 2005 14:10:40 -0800 (PST) Message-ID: <6afb69aa0503171410737c035f@mail.gmail.com> Date: Thu, 17 Mar 2005 17:10:40 -0500 From: Rex Roof To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: IP over FireWire and Mac OSX X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Rex Roof List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 22:10:42 -0000 I have a FreeBSD 5.3 i386 machine I installed today, then ran cvsup with tag=RELENG_5_3. then I rebuilt my kernel with these options in: # FireWire support device firewire device sbp device fwe device fwip options DEVICE_POLLING I plugged this machine into my Powermac G4 running OS X 10.3.8, and I assigned IP addresses to the firewire devices on both, so they look like this: the mac: fw0: flags=8863 mtu 4078 inet6 fe80::20a:95ff:fe69:b7d2 prefixlen 64 scopeid 0x5 inet 10.0.1.10 netmask 0xffffff00 broadcast 10.0.1.255 lladdr 00:0a:95:ff:fe:69:b7:d2 media: autoselect status: active supported media: autoselect the FreeBSD box: fwip0: flags=108843 mtu 1500 inet 10.0.1.11 netmask 0xffffff00 broadcast 10.0.1.255 lladdr 0.30.3c.0.0.9.a0.33.a.2.ff.fe.0.0.0.0 Now, pinging one machine from the other seems to work fine. but as soon as I try traceroute or ssh (originating from either side) my mac crashes with the nice screen telling me to hold down the power button. the dmesg output I'll post below, with the messages it produces when my mac crashes and comes back up again. anyone had any luck getting this working? is there something I'm missing? any suggestions would be appreciated. Copyright (c) 1992-2004 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 5.3-RELEASE-p5 #0: Thu Mar 17 17:11:46 UTC 2005 rex@po.wccnet.edu:/usr/src/sys/i386/compile/NEWSHAOLIN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (930.32-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383fbff real memory = 266301440 (253 MB) avail memory = 255127552 (243 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xff080000-0xff0fffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on pci0 pcib1: at device 30.0 on pci0 pci1: on pcib1 fwohci0: mem 0xfdfff000-0xfdffffff irq 9 at device 7.0 on pci1 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 8. fwohci0: EUI64 00:30:3c:00:00:09:a0:33 fwohci0: Phy 1394a available S400, 3 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwip0: on firewire0 fwip0: Firewire address: 00:30:3c:00:00:09:a0:33 @ 0xfffe00000000, S400, maxrec 2048 fwohci0: Initiate bus reset fwohci0: node_id=0xc800ffc3, gen=1, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec80-0xecff mem 0xfdffec00-0xfdffec7f irq 11 at device 12.0 on pci1 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:b0:d0:f1:d8:9e isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0xff80-0xff9f irq 11 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 31.3 (no driver attached) uhci1: port 0xff60-0xff7f irq 11 at device 31.4 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: at device 31.5 (no driver attached) sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x778-0x77f,0x378-0x37f irq 7 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 pmtimer0 on isa0 orm0: at iomem 0xca000-0xcbfff,0xc0000-0xc9fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] Timecounter "TSC" frequency 930319180 Hz quality 800 Timecounters tick every 10.000 msec ad0: 19073MB [38752/16/63] at ata0-master UDMA100 acd0: CDROM at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a firewire0: New S400 device ID:000a95fffe69b7d2 firewire0: New S400 device ID:000a2700040217fe firewire0: New S400 device ID:000a270002b9ca1e arp: 10.0.1.10 moved from 00:0a:95:ff:fe:69:b7:d2:0c:83:00:0b:00:00:00:00 to 00:0a:95:ff:fe:69:b7:d2:0c:02:00:0b:00:00:00:00 on fwip0 fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=2, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=3, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=4, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=5, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: txd err= 3 miss Ack err fwohci0: txd err= 3 miss Ack err fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=6, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=7, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=9, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=9, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=10, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=11, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) arp: 10.0.1.10 moved from 00:0a:95:ff:fe:69:b7:d2:0c:83:00:0b:00:00:00:00 to 00:0a:95:ff:fe:69:b7:d2:0c:02:00:0b:00:00:00:00 on fwip0 fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=12, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=13, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=14, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=15, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=16, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=17, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=19, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=19, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=20, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) fwohci0: BUS reset fwohci0: node_id=0xc800ffc3, gen=21, CYCLEMASTER mode firewire0: 4 nodes, maxhop <= 2, cable IRM = 3 (me) firewire0: bus manager 3 (me) arp: 10.0.1.10 moved from 00:0a:95:ff:fe:69:b7:d2:0c:02:00:0b:00:00:00:00 to 00:0a:95:ff:fe:69:b7:d2:0c:02:00:0c:00:00:00:00 on fwip0 also, my ipod is plugged into the firewire chain. any tips on making the freebsd box ignore the ipod so that I can use it exclusively on the mac?