umass causes panic on 7 amd64

Roland Smith rsmith at xs4all.nl
Fri Apr 18 16:03:26 UTC 2008


On Thu, Apr 17, 2008 at 07:13:17PM -0400, Garrett Wollman wrote:
> In article <48076774.4090602 at icyb.net.ua>, avg at icyb.net.ua writes:
> 
> >Eh I think I saw something like this myself.
> >Do you by a chance have that new device sg in your kernel?
> >I assume you do (GENERIC) - try to drop it.
> >I am not sure if this is some brokenness of that driver or fighting of
> >several USB drivers over the same hardware.
> 
> In my experience, umass over EHCI has never worked on any machine
> ever, going back to 5.x and over multiple kinds of umass devices.  (I

I've had several machines with VIA chipsets where ehci never was a
problem. My current machine has:

usb4: <VIA VT6202 USB 2.0 controller> on ehci0
uhub4: <VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 8 ports with 8 removable, self powered

A 256MB usb flash drive works OK with this controller:

umass0: <vendor 0x3538 USB Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2> on uhub4
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic USB Flash Disk 0.00> Removable Direct Access SCSI-2 device 
da0: 40.000MB/s transfers
da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C)


As does an external harddisk enclosure.

umass0: <JMicron USB to ATA/ATAPI Bridge, class 0/0, rev 2.00/1.00, addr 2> on u
hub4
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <WDC WD25 00JB-00REA0 0K20> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)


I've never had read/write or data corruption problems with these. 

Only when copying from  _and_ to GELI encrypted devices has the transfer
stalled occasionally. But that's probably due to my (single core) CPU
running out of steam.

In my experience machines with Via chipsets have always worked well and
are very well supported by FreeBSD's drivers. 

Likewise I've avoided nvidia stuff because of the lack of support.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080418/cdc1a9ac/attachment.pgp


More information about the freebsd-stable mailing list