firewire debug help needed on iMac G3
Andreas Tobler
andreast-list at fgznet.ch
Tue Apr 28 19:01:31 UTC 2009
Hello,
I'm facing a problem with the firewire support with -CURRENT on an iMac
G3 (powerpc).
Since svn r187993 I can not boot with built-in firewire support. I run
into an endless loop.
I doubt that firewire did work with the revision before 187993 on this
iMac, but at least I could boot.
I also know that firewire support on a G4 PowerBook works ;)
I isolated the endless loop to be able to have a look at the boot messages.
The modification I had to do is in firewire.c:
@@ -1726,7 +1726,7 @@
dfwdev.maxrec = 8; /* 512 */
dfwdev.status = FWDEVINIT;
- for (node = 0; node <= fc->max_node; node ++) {
+ for (node = 0; node <= /*fc->max_node*/ 5; node ++) {
/* We don't probe myself and linkdown nodes */
if (node == fc->nodeid) {
if (firewire_debug)
(fc->max_node is -1, confusing me anyway, node is int and max_node is
unsigned int......)
Now with the above modification I get these messages below while
kldload'ing the firewire module. Note to Sean, your latest patch (for
sparc64) is included here.
I think there is something wrong going on. But I do not know where to
start debugging. These lines are different, missing, on a sparc64 kldload:
kernel: splitted payload
kernel: resCount=4080 plen=20 len=-4
kernel: fwohci0: AR DMA status=8409, skip buffer done
What are the places, numbers to take care of?
The interface is working fine when running under OS-X.
Any hints?
Thanks in advance,
Andreas
kernel: fwohci0: <1394 Open Host Controller Interface> mem
0xf5000000-0xf5000fff irq 40 at device 14.0 on pci2
kernel: fwohci0: latency timer 16 -> 32.
kernel: fwohci0: cache size 0 -> 8.
kernel: fwohci0: [ITHREAD]
kernel: fwohci0: OHCI version 1.0 (ROM=0)
kernel: fwohci0: No. of Isochronous channels is 4.
kernel: fwohci0: EUI64 00:30:65:ff:fe:aa:7c:d0
kernel: fwohci0: resetting OHCI...done (loop=0)
kernel: fwohci0: fwphy_rddata:: 0x2, retry=6
kernel: fwohci0: fwphy_rddata:: 0x3, retry=6
kernel: fwohci0: Phy 1394a available S400, 2 ports.
kernel: fwohci0: fwphy_rddata:: 0x5, retry=6
kernel: fwohci0: Enable 1394a Enhancements
kernel: fwohci0: fwphy_rddata:: 0x5, retry=6
kernel: fwohci0: fwphy_rddata:: 0x2, retry=6
kernel: fwohci0: fwphy_rddata:: 0x4, retry=6
last message repeated 2 times
kernel: fwohci0: Link S400, max_rec 2048 bytes.
kernel: fwohci0: BUS_OPT 0xa002 -> 0xf800a002
kernel: fwohci0: fwohci_set_intr: 1
kernel: firewire0: <IEEE1394(FireWire) bus> on fwohci0
kernel: fwohci0: Initiate bus reset
kernel: fwohci0: fwphy_rddata:: 0x1, retry=6
kernel: fwohci0: fwphy_rddata:: 0x1, retry=6
kernel: fwohci0: fwohci_intr_core: BUS reset
kernel: fwohci0: fwohci_intr_core: node_id=0x00000001, SelfID Count=1,
CYCLEMASTER mode
kernel: splitted payload
kernel: resCount=4080 plen=20 len=-4
kernel: fwohci0: AR DMA status=8409, skip buffer done
kernel: firewire0: 2 nodes, maxhop <= 1 Not IRM capable irm(-1)
kernel: fwohci0: fwohci_intr_core: BUS reset
kernel: firewire0: fw_bus_probe:iterate and invalidate all nodes
kernel: firewire0: fw_explore:node(0) fc->max_node(-1) found
kernel: firewire0: fw_explore: node0: link down
kernel: firewire0: fw_explore:found myself node(1) fc->nodeid(1)
fc->max_node(-1)
kernel: firewire0: fw_explore:node(2) fc->max_node(-1) found
kernel: firewire0: fw_explore: node2: link down
kernel: firewire0: fw_explore:node(3) fc->max_node(-1) found
kernel: firewire0: fw_explore: node3: link down
kernel: firewire0: fw_explore:node(4) fc->max_node(-1) found
kernel: firewire0: fw_explore: node4: link down
kernel: firewire0: fw_explore:node(5) fc->max_node(-1) found
kernel: firewire0: fw_explore: node5: link down
kernel: bus_explore done
More information about the freebsd-firewire
mailing list