Summary: | [boot] BBB reset failed errors with Creative Muvo MP3 player; can't boot with external USB 2.0 drive powered up | ||
---|---|---|---|
Product: | Base System | Reporter: | William Denton <wtd> |
Component: | usb | Assignee: | freebsd-usb (Nobody) <usb> |
Status: | Open --- | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | 6.1-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
William Denton
2006-06-02 03:00:31 UTC
I tried 7.0 Release and 7.1 Release and here as well, writing to pen drives is unreliable enough to be unusable. How to repeat: - Insert a pen drive formatted to UFS2 [*]. - Mount it. - Write files. dd, cp, scp, whatever. [*] To format the drive I had to format a disk image an dd' this out to the drive on Linux. What happens: Typically after 2 or 3 MB, write operations hang. Looking at system messages (dmsg), I get: umass1: BBB reset failed, TIMEOUT (null): at uhub0 port 2 (addr 2) disconnected umass1: BBB reset failed, TIMEOUT umass1: BBB reset failed, TIMEOUT umass1: BBB reset failed, TIMEOUT umass1: BBB reset failed, TIMEOUT g_vfs_done():da1s1[WRITE(offset=65536, length=2048)]error = 5 g_vfs_done():da1s1[WRITE(offset=6144000, length=2048)]error = 5 g_vfs_done():da1s1[WRITE(offset=963479552, length=8192)]error = 5 g_vfs_done():da1s1[WRITE(offset=963487744, length=2048)]error = 5 g_vfs_done():da1s1[WRITE(offset=963489792, length=2048)]error = 5 [... repeated more often] Additional infos: The drive works flawlessly on several other computers, including Linux and Mac OS X. I'd be glad to debug this, but I need a few hints on how to do this. My system (custom kernel): FreeBSD 7.0-RELEASE #0: Tue Jan 13 19:49:33 GMT-2 2009 root@freebsdfortinybsd.jump-ing.de:/usr/obj/usr/src/sys/TINYBSD Timecounter "i8254" frequency 1193124 Hz quality 0 CPU: Geode(TM) Integrated Processor by AMD PCS (498.03-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x5a2 Stepping = 2 Features=0x88a93d<FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX> AMD Features=0xc0400000<MMX+,3DNow!+,3DNow!> real memory = 469434368 (447 MB) avail memory = 437276672 (417 MB) K6-family MTRR support enabled (2 registers) [...] da1 at umass-sim1 bus 1 target 0 lun 0 da1: < USB DISK 30X PMAP> Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: 1968MB (4030464 512 byte sectors: 255H 63S/T 250C) [...] All my USB pen drive trouble disappeared after installing (parts of) Hans Petter Selasky's i4b package (which is currently introduced as usb2 into Current/8): cd /usr svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b/trunk/i4b cd i4b/FreeBSD.usb2 make S=../src package make install Then build a new kernel (same kernel config), install it and you should be done. I've tested OHCI and EHCI, both didn't show a single mistake after an hour of formatting and shuffling hundreds of megabytes of files around. Thanks a lot to Hans Petter. For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped |