Hi all,
I am trying to get a secondary network connection over firewire 800 on the current stable version of FreeNAS (8.3.0-RELEASE-p1 x64). (The system has been stable since September 2012 and with the last update a week ago.)
Following http://www.unix.com/man-page/freebsd/4/FWIP/ I added a tunable for if_fwip_load="YES" to load the kernel module for fwip.
However, the required file /boot/kernel/if_fwip.ko could not be loaded because it is not part of the FreeNAS distribution.
I found the file in the corresponding FreeBSD distribution (FreeBSD-8.3-RELEASE-amd64-disc1.iso) and copied it to /boot/kernel/
After a reboot, the module was loaded as shown by kldstst:
I sucessfully created a network interface fw0 with a static IP (10.0.0.1 / 255.255.255.0).
These are the relevant boot messages from dmesg:
But when I connect the FreeNAS server to my Macbook Pro using a Firewire 800 cable, I always instantly get a kernel panic.
These are the last syslog messages:
Here's what the kernel panic looks like:
That's were I'm stuck. Has anybody an idea that could help me solve this problem?
My bet is that the if_fwip.ko module is not fully okay. But if so, where would I find the right version?
Cheers,
xiv
I am trying to get a secondary network connection over firewire 800 on the current stable version of FreeNAS (8.3.0-RELEASE-p1 x64). (The system has been stable since September 2012 and with the last update a week ago.)
Following http://www.unix.com/man-page/freebsd/4/FWIP/ I added a tunable for if_fwip_load="YES" to load the kernel module for fwip.
However, the required file /boot/kernel/if_fwip.ko could not be loaded because it is not part of the FreeNAS distribution.
I found the file in the corresponding FreeBSD distribution (FreeBSD-8.3-RELEASE-amd64-disc1.iso) and copied it to /boot/kernel/
After a reboot, the module was loaded as shown by kldstst:
Code:
Id Refs Address Size Name 1 26 0xffffffff80100000 e26df8 kernel 2 1 0xffffffff80f27000 7540 geom_gate.ko 3 1 0xffffffff80f2f000 20d90 geom_mirror.ko 4 1 0xffffffff80f50000 22830 geom_raid3.ko 5 1 0xffffffff80f73000 8f08 geom_stripe.ko 6 1 0xffffffff80f7c000 15ea8 fuse.ko 7 1 0xffffffff80f92000 7e90 geom_multipath.ko 8 1 0xffffffff80f9a000 79c0 if_fwip.ko 9 1 0xffffffff81012000 132c28 zfs.ko 10 1 0xffffffff81145000 1fb4 opensolaris.ko
I sucessfully created a network interface fw0 with a static IP (10.0.0.1 / 255.255.255.0).
These are the relevant boot messages from dmesg:
Code:
fwohci0: <Texas Instruments TSB82AA2> mem 0xf7a04000-0xf7a047ff,0xf7a00000-0xf7a03fff irq 20 at device 1.0 on pci5 fwohci0: [ITHREAD] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:13:3b:01:00:01:02:31 fwohci0: invalid speed 7 (fixed to 3). fwohci0: Phy 1394a available S800, 3 ports. fwohci0: Link S800, max_rec 4096 bytes. firewire0: <IEEE1394(FireWire) bus> on fwohci0 sbp0: <SBP-2/SCSI over FireWire> on firewire0 fwip0: <IP over FireWire> on firewire0 fwip0: Firewire address: 00:13:3b:01:00:01:02:31 @ 0xfffe00000000, S800, maxrec 4096 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode [...] firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 fwohci0: phy int
But when I connect the FreeNAS server to my Macbook Pro using a Firewire 800 cable, I always instantly get a kernel panic.
These are the last syslog messages:
Code:
freenas kernel: fwohci0: fwohci_intr_core: BUS reset freenas kernel: fwohci0: fwohci_intr_core: node_id=0x00000001, SelfID Count=2, CYCLEMASTER mode freenas kernel: firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me) freenas kernel: firewire0: bus manager 1 freenas kernel: fwohci0: fwohci_intr_core: BUS reset freenas kernel: fwohci0: fwohci_intr_core: node_id=0x00000001, SelfID Count=3, CYCLEMASTER mode freenas kernel: firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me) freenas kernel: firewire0: bus manager 1 freenas kernel: fwohci0: fwohci_intr_core: BUS reset freenas kernel: fwohci0: fwohci_intr_core: node_id=0x00000001, SelfID Count=4, CYCLEMASTER mode freenas kernel: firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me) freenas kernel: firewire0: bus manager 1 freenas kernel: firewire0: New S800 device ID:001b63fffe7c1162
Here's what the kernel panic looks like:
Code:
Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 02 fault virtual address = 0x28 fault code = supervisor read data, page not present [...] current process = 0 (fw0_taskq) [...] Stopped at ip_fastforward+0x30: movq 0x28(%rax),%rax
That's were I'm stuck. Has anybody an idea that could help me solve this problem?
My bet is that the if_fwip.ko module is not fully okay. But if so, where would I find the right version?
Cheers,
xiv