cvs commit: src/sys/dev/firewire firewire.c firewire.h firewire_phy.h firewirereg.h fwcrom.c fwdev.c fwdma.c fwdma.h fwmem.c fwmem.h fwohci.c fwohci_pci.c fwohcireg.h fwohcivar.h iec13213.h iec68113.h if_fwe.c if_fwevar.h sbp.c ...

Peter Grehan grehan at freebsd.org
Fri Apr 18 19:47:55 PDT 2003


> Could someone test this on powerpc, please?

 Seems to work with some very limited testing. Any suggestions for more testing,
commands to run etc ?

 On an eMac:

 ...
pcib2: <Apple UniNorth Host-PCI bridge> on nexus0
pci2: <PCI bus> on pcib2
fwohci0: <Lucent FW322/323> mem 0xf5000000-0xf5000fff irq 40 at device 14.0 on pci2
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channel is 8.
fwohci0: EUI64 00:03:93:ff:fe:a4:36:fe
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP2/SCSI over firewire> on firewire0
fwohci0: Initiate bus reset
 ...
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=2, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)

 and when I plugged in an iPod:

fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=3, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=4, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=5, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=6, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=7, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
fwohci0: txd err=1b ack tardy
node0: resp=35 addr=0x400
probe failed for 1 node
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=8, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: New S400 device ID:000a27000204dc49
firewire0: Device SBP-II
sbp0:0:0 No additional information to report
sbp0:0:0 No additional information to report
da0 at sbp0 bus 0 target 0 lun 0
da0: <Apple Co iPod 2700> Removable Simplified Direct Access SCSI-2 device 
da0: 50.000MB/s transfers, Tagged Queueing Enabled
da0: 9536MB (19531260 512 byte sectors: 255H 63S/T 1215C)
sbp0:0:0 No additional information to report
sbp0:0:0 No additional information to report
sbp0:0:0 No additional information to report
sbp0:0:0 No additional information to report

 A dd of /dev/da0 left the iPod in a hung state even after ctl-C'ing: not sure
where the problem lies there. Unpluggin the iPod gave:

fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=9, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)

later,

Peter.


More information about the freebsd-firewire mailing list