Re: 8-CURRENT Firewire

Alexey Shuvaev <[email protected]>
Newsgroups gmane.os.freebsd.devel.firewire
Organization Universitaet Wuerzburg
Message-ID <[email protected]>
On Mon, Jun 29, 2009 at 03:54:52PM -0700, Sean Bruno wrote:
> -CURRENT has some slightly different Firewire code in it than 6/7.  If
> you have an opportunity to test it with your Firewire hard drives and
> cameras I'd really appreciate it.
> 
> Stuff that's changed:
> 	multi-speed compatible devices will acutally work.
> 	     a 400/800 device is connected to a 400/800 compatible 
>              firewire card via a 400 connection will work at 400
> 	fwcontrol understands multiple firewire cards as multiple 
> 	     buses now.  most commands now take a -u argument to
> 	     indicate the bus.
> 
> Please report to the -firewire if you get a chance to test.  It would
> be great to get positive as well as negative results.
> 
> Sean
> 
Seems to work for me.
This is not mine drive with "Apple Extended (journaled)" filesystem,
so read-only tests only :(

~> uname -a
FreeBSD wep4035 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r195053: Fri Jun 26 16:57:21 CEST 2009     root@wep4035:/usr/obj/usr/src/sys/GENERIC  amd64

dmesg output due to pluggin-in, -out, -in and -out again:

fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000001, SelfID Count=2, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1)  (me) 
firewire0: bus manager 1 
firewire0: New S800 device ID:00303c02e013fe3a
sbp0: sbp_show_sdev_info: sbp0:0:0: ordered:1 type:14 EUI:00303c02e013fe3a node:0 speed:3 maxrec:8
sbp0: sbp_show_sdev_info: sbp0:0:0 'Iomega' 'HDD' '000110'
da0 at sbp0 bus 0 target 0 lun 0
da0: <Iomega HDD 0110> Fixed Direct Access SCSI-4 device 
da0: 50.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=3, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 
firewire0: fw_attach_dev:Removing missing device ID:00303c02e013fe3a
(da0:sbp0:0:0:0): lost device
(da0:sbp0:0:0:0): removing device entry
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=4, non CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1 cable IRM irm(0)  (me) 
firewire0: root node is not cycle master capable
firewire0: bus manager 0 
fwohci0: too many cycle lost, no cycle master presents?
firewire0: New S800 device ID:00303c02e013fe3a
sbp0: sbp_show_sdev_info: sbp0:0:0: ordered:1 type:14 EUI:00303c02e013fe3a node:1 speed:3 maxrec:8
sbp0: sbp_show_sdev_info: sbp0:0:0 'Iomega' 'HDD' '000110'
da0 at sbp0 bus 0 target 0 lun 0
da0: <Iomega HDD 0110> Fixed Direct Access SCSI-4 device 
da0: 50.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=5, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 
firewire0: fw_attach_dev:Removing missing device ID:00303c02e013fe3a
(da0:sbp0:0:0:0): lost device
(da0:sbp0:0:0:0): removing device entry

dd tests:

# dd if=/dev/da0 of=/dev/null bs=1m count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 26.945771 secs (39848250 bytes/sec)
# dd if=/dev/da0 of=/dev/null skip=250000 bs=1m count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 27.018072 secs (39741615 bytes/sec)
# dd if=/dev/da0 of=/dev/null skip=400000 bs=1m count=1024
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 26.958295 secs (39829738 bytes/sec)

HTH,
Alexey.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-firewire
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.