8.0-RC1: AMD CS5536 (Geode) USB 2.0 controller strange behavour

Eugene Grosbein eugen at kuzbass.ru
Mon Sep 28 07:27:29 UTC 2009


On Mon, Sep 28, 2009 at 08:49:21AM +0200, Hans Petter Selasky wrote:

> > For USB HDD:
> >
> > %sysctl hw.usb.ehci.debug=15
> > hw.usb.ehci.debug: 0 -> 15
> > %date; dd if=/dev/zero bs=64k of=/dev/da0 count=100; date
> > Mon Sep 28 11:25:26 KRAST 2009
> > 100+0 records in
> > 100+0 records out
> > 6553600 bytes transferred in 14.912198 secs (439479 bytes/sec)
> > Mon Sep 28 11:25:43 KRAST 2009
> >
> > The log is half-megabyte and is available here (13KB compressed):
> >
> > http://www.grosbein.pp.ru/ehci.log.gz
> 
> I don't see any timeouts in there. You need to run the test until you see 
> something about "timeout".

It's so strange... While hw.usb.ehci.debug=15 idle periods are very seldom,
iostat shows nearly constat (but very slow) data rate:

 KB/t tps  MB/s 
 64.00   9  0.57 
 64.00   9  0.57 
 64.00   9  0.57 
 64.00   9  0.57 
 64.00   9  0.57

No 'timeout' word in the log. It seems that debugging changes something.

Eugene Grosbein


More information about the freebsd-usb mailing list