Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Mar 2005 17:10:40 -0500
From:      Rex Roof <rexroof@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   IP over FireWire and Mac OSX
Message-ID:  <6afb69aa0503171410737c035f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> status: active
        supported media: autoselect <full-duplex>


the FreeBSD box:

fwip0: flags=108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 266301440 (253 MB)
avail memory = 255127552 (243 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL GX150  > 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem
0xff080000-0xff0fffff,0xf8000000-0xfbffffff irq 9 at device 2.0 on
pci0
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
fwohci0: <Lucent FW322/323> 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: <IEEE1394(FireWire) bus> on fwohci0
fwip0: <IP over FireWire> 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: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:b0:d0:f1:d8:9e
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> 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: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port
0xff80-0xff9f irq 11 at device 31.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> 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: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port
0xff60-0xff7f irq 11 at device 31.4 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> 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: <multimedia, audio> 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: <ECP parallel printer port> 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: <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
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xca000-0xcbfff,0xc0000-0xc9fff 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
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> 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 <WDC WD200BB-75DEA0/05.03E05> [38752/16/63] at ata0-master UDMA100
acd0: CDROM <Lite-On LTN486 48x Max/YD01> 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?



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