how to I know if I've got USB 2.0?

Brian Reichert reichert at numachi.com
Thu Aug 26 14:10:08 PDT 2004


Many moons ago, I got an eMachines M5305:

<http://reviews-zdnet.com.com/eMachines_M5305/4514-3121_16-21183515.html>

I know it's USB ports work, generally, but now I was chasing a umass
devices with sub-par thoughput.  I've mucking with a LaCie drive:

  <http://www.techdepot.com/product.asp?productid=1630705>

Some specifics:  FreeBSD 5.2.1-RELEASE, with USB_DEBUG in the kernel.

>From a dmesg after a boot -v:

  ohci0: <NEC uPD 9210 USB controller> mem 0xf0004000-0xf0004fff irq 11 at device 13.0 on pci0
  usb0: OHCI version 1.0, legacy support
  usb0: <NEC uPD 9210 USB controller> on ohci0
  usb0: USB revision 1.0
  uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub0: 3 ports with 3 removable, self powered
  ohci1: <NEC uPD 9210 USB controller> mem 0xf0005000-0xf0005fff irq 11 at device 13.1 on pci0
  usb1: OHCI version 1.0, legacy support
  usb1: <NEC uPD 9210 USB controller> on ohci1
  usb1: USB revision 1.0
  uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub1: 2 ports with 2 removable, self powered

And when I plug in a LaCie drive:

  usbd_new_device: addr=2, getting first desc failed
  uhub_explore: usb_new_device failed, error=IOERROR
  uhub0: device problem, disabling port 3
  uhub0: port error, restarting port 3
  umass0: LaCie USB 2.0 LaCie Big Disk, rev 2.00/9a.bc, addr 2
  umass0: SCSI over Bulk-Only; quirks = 0x0000
  umass0: Get Max Lun not supported (STALLED)
  umass0:0:0:-1: Attached to scbus0
  GEOM: create disk da0 dp=0xc4620c50
  da0 at umass-sim0 bus 0 target 0 lun 0
  da0: <LaCie Big Disk G372 > Fixed Direct Access SCSI-4 device 
  da0: 1.000MB/s transfers
  da0: 381564MB (781443935 512 byte sectors: 255H 63S/T 48642C)

A crude thoughput test with 'dd' on a ufs fs with softupdates:

  # dd if=/dev/zero of=/new/junk bs=4k count=125000
  125000+0 records in
  125000+0 records out
  512000000 bytes transferred in 619.612531 secs (826323 bytes/sec)

The box claims 'up to 480 M bits/sec', which, if arithmetic serves
me, should map to 60 M bytes/sec.  I know there's overhead for the
fs and so forth, but I'm seeing on the order of 75x reduction here.

Have I misunderstood the problem?


More information about the freebsd-mobile mailing list