umass on RELENG_6 and RELENG_7
skafte+freebsd-usb at trollkarl.net
Wed Dec 12 15:46:09 PST 2007
I'm having umass issues on both RELENG_6 and RELENG_7 with several
diffrerent USB2.X cards and a couple different San Disk Readers.
Copying from any of a number of CF cards 512M, 1G, or 4G. Sometimes I can copy 4 or 5 cards of info
sometimes only 1, before it dies.
Dec 6 10:14:30 trollkarl kernel: umass0: BBB reset failed, TIMEOUT
Dec 6 10:15:35 trollkarl kernel: umass0: BBB bulk-in clear stall failed, TIMEOUT
Dec 6 10:16:39 trollkarl kernel: umass0: BBB bulk-out clear stall failed, TIMEOUT
Dec 6 10:22:03 trollkarl kernel: g_vfs_done():da0s1[READ(offset=722851840, length=65536)]error = 5
Dec 6 10:27:28 trollkarl kernel: g_vfs_done():da0s1[READ(offset=722851840, length=65536)]error = 5
Dec 6 10:32:52 trollkarl kernel: g_vfs_done():da0s1[READ(offset=713353216, length=36864)]error = 5
Dec 6 10:32:52 trollkarl kernel: vnode_pager_getpages: I/O read error
Dec 6 10:32:52 trollkarl kernel: vm_fault: pager read error, pid 1176 (cp)
then the machine boots no panic, just gone. After the hard boot I can then copy away for another
<n> CF cards. Cards have been reformated both by a couple different cameras, as well as XP
[selective stuff from dmesg.boot]
ehci0: <ALi M5239 USB 2.0 controller> mem 0xbd800000-0xbd8000ff at device 10.3 on pci2
usb1: EHCI version 1.0
usb1: companion controller, 2 ports each: usb0
usb1: <ALi M5239 USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: <AcerLabs EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1
uhub1: 6 ports with 6 removable, self powered
umass0: <SanDisk Ltd ImageMate 6 in 1, class 0/0, rev 2.00/0.05, addr 2> on uhub1
[after I load a 1G CF card]
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <SanDisk ImageMate 6 in 1 0.0>> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 977MB (2001888 512 byte sectors: 64H 32S/T 977C)
Kernel is Generic + options SHOW_BUSYBUFS # List buffers that prevent root unmount
Additionally the transfer rate is about 1/4 of what I see with the same
reader and CF cards on OSX or Windoze.
I'm about to upgrade to 7.0Beta4 and will add ddb to the mix and see if I can catch it
before it goes over and see if I can get more info.
Any clues or insights?
Email: skafte at trollkarl.net Contact me for ICQ,MSN,AIM,Yahoo,Jabber
When things can't get any worse, they simplify themselves by getting a
whole lot worse then complicated. A complete and utter disaster is the
simplest thing in the world; it's preventing one that's complex.
More information about the freebsd-usb