Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

usb device descriptor read/64, error [SOLVED]

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
gsurbey
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Mon Mar 24, 2003 10:52 am
Location: Nashua, NH
Contact:
Contact gsurbey
Website

usb device descriptor read/64, error [SOLVED]

  • Quote

Post by gsurbey » Fri Jan 21, 2005 1:30 am

If you're using the 2.6.10 kernel and you have troubles with getting your USB mass storage devices to work this may help. Firstly this only works if after plugging in your device you get a "usb 2-4: device descriptor read/64, error -110" error or something similar in your kernel logs.

1) Compile USBcore as a kernel module
Device Drivers ---> USB support ---> <M> Support for Host-side USB

2) Add pertinent modules that will now need to be loaded at boot time to /etc/modules.autoload.d/kernel-2.6
Here's what I added:

Code: Select all

usbcore
ohci_hcd
usblp
usb-storage
usbhid
3) Append "options usbcore use_both_schemes=y" to your /etc/modules.conf
Alternatively you could do "old_scheme_first=y"

Where I got the info and more details can be found: http://www.spinics.net/lists/usb/msg02644.html
-Greg Surbey
Top
misho
Apprentice
Apprentice
User avatar
Posts: 189
Joined: Thu Apr 15, 2004 2:13 am

  • Quote

Post by misho » Sun Jan 23, 2005 6:12 pm

Thanks. This helped me a lot.

As an addendum, intel users should use uhci_hcd, rather than ohci_hcd.
And, it has been recommended to me that parameters to be passed to the module be placed in a file /etc/modules.d/usbcore rather than directly in /etc/modules.conf.
"Pssht. Extreme sports. If you want a real adrenaline rush, go write a physics exam without a calculator." - D.Z.
Top
Thomas Conneely
n00b
n00b
User avatar
Posts: 11
Joined: Thu Oct 28, 2004 9:42 pm

  • Quote

Post by Thomas Conneely » Sun Jan 23, 2005 7:26 pm

This doesn't seem to work for me, when I plug the stick in I get told:

usb 4-1: new high speed USB device using ehci_hcd and address 3

or if ehci module not loaded

usb 4-1: new high speed USB device using ohci_hcd and address 3

but nothing else, and device /dev/sda1 still doesn't appear.

Just to make sure I have eveyything enabled this is what I've ticked in the kernel (all modules):
  • usbcore
    uhci_hcd
    ehci_hcd
    usb device filesystem
    usb mass storage support
    scsi device support
    scsi disk support
These are what I believe I need, am I missing something?
"1991 Hello everybody out there using minix - I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones." - Linus Torvalds 25/8/1991
Top
theDreamer
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Oct 20, 2003 9:51 am
Contact:
Contact theDreamer
Website

different problem

  • Quote

Post by theDreamer » Sun Jan 23, 2005 7:47 pm

you're actually having a different problem.
did you work with the specific hardware before 2.6.10?

as far as i see the kernel does not detect your hardware not-related to the hardware detection sceheme problem talked here..

check kernel menu / device drivers / usb and verify that the driver for your hardware is enabled.
Cheers,
Nir Dremer
www.dremer.org
Top
Thomas Conneely
n00b
n00b
User avatar
Posts: 11
Joined: Thu Oct 28, 2004 9:42 pm

  • Quote

Post by Thomas Conneely » Sun Jan 23, 2005 8:07 pm

I think it is, I have no problem with a USB floppy drive, that works perfectly.

I have a problem with my USB stick only. I think the stick is probably shoddy when it comes to standards as its quite a cheap one. I would have given up by now, but the stick works under knoppix fine. Also I don't think I've said this before but the device did work the first time I plugged it in, and after that it would occasionally work (seemingly at random).

The solution above does solve the "usb device descriptor read/64, error" which I was getting before.

I'll see how it works with an older kernel sometime in the week (i've got last semester's exams, 5 in 5 days sheesh so my heads in the books)
"1991 Hello everybody out there using minix - I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones." - Linus Torvalds 25/8/1991
Top
gsurbey
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Mon Mar 24, 2003 10:52 am
Location: Nashua, NH
Contact:
Contact gsurbey
Website

  • Quote

Post by gsurbey » Tue Jan 25, 2005 6:13 am

Thomas Conneely:
I don't believe you should be loading both uhci_hcd and ehci_hcd. It's either or, not both.
BTW I love your sig :-)
-Greg Surbey
Top
Thomas Conneely
n00b
n00b
User avatar
Posts: 11
Joined: Thu Oct 28, 2004 9:42 pm

  • Quote

Post by Thomas Conneely » Tue Jan 25, 2005 11:37 am

As I understood it, ohci is usb version one and ehci is usb version 2 (correct me if I'm wrong). Though I have tried using only ohci with no joy.

p.s thanks its nice to be appreciated
"1991 Hello everybody out there using minix - I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones." - Linus Torvalds 25/8/1991
Top
theDreamer
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Oct 20, 2003 9:51 am
Contact:
Contact theDreamer
Website

  • Quote

Post by theDreamer » Tue Jan 25, 2005 11:47 am

Thomas Conneely wrote:As I understood it, ohci is usb version one and ehci is usb version 2 (correct me if I'm wrong). Though I have tried using only ohci with no joy.

p.s thanks its nice to be appreciated
i think you're right, i've performed the same tests.. and also from the comments in dmesg this is what i understood.
Cheers,
Nir Dremer
www.dremer.org
Top
gsurbey
Apprentice
Apprentice
User avatar
Posts: 212
Joined: Mon Mar 24, 2003 10:52 am
Location: Nashua, NH
Contact:
Contact gsurbey
Website

  • Quote

Post by gsurbey » Tue Jan 25, 2005 7:29 pm

Oh my bad, you guys are right.
I was thinking of OHCI and UHCI support.
-Greg Surbey
Top
julmust
n00b
n00b
User avatar
Posts: 57
Joined: Sun Oct 13, 2002 10:10 pm
Location: Landskrona, Sweden

  • Quote

Post by julmust » Thu Jan 27, 2005 2:33 pm

hey, maybe you can help me out, i posted the following topic yesterday:
http://forums.gentoo.org/viewtopic.php?p=2024111

i have a similar problem with the 2.6.10-gentoo-r6 kernel. i recompiled it with usbcore and stuff as modules and passed "old_scheme_first=y" parameter.. still this didn't help me much, although i believe the "usb 2-4: device descriptor read/64, error -110" disappeared..

the problem is that the disk seems to disconnect itself right after it is detected..

snip form the logs :

Code: Select all

Jan 27 15:31:27 mainframe usb 5-3: new high speed USB device using ehci_hcd and address 21
Jan 27 15:31:27 mainframe scsi17 : SCSI emulation for USB Mass Storage devices
Jan 27 15:31:27 mainframe usb-storage: device found at 21
Jan 27 15:31:27 mainframe usb-storage: waiting for device to settle before scanning
Jan 27 15:31:32 mainframe Vendor: LaCie     Model: Big Disk G467     Rev:
Jan 27 15:31:32 mainframe Type:   Direct-Access                      ANSI SCSI revision: 04
Jan 27 15:31:32 mainframe SCSI device sda: 980469503 512-byte hdwr sectors (502000 MB)
Jan 27 15:31:32 mainframe sda: assuming drive cache: write through
Jan 27 15:31:32 mainframe SCSI device sda: 980469503 512-byte hdwr sectors (502000 MB)
Jan 27 15:31:32 mainframe sda: assuming drive cache: write through
Jan 27 15:31:32 mainframe /dev/scsi/host17/bus0/target0/lun0: unknown partition table
Jan 27 15:31:32 mainframe Attached scsi disk sda at scsi17, channel 0, id 0, lun 0
Jan 27 15:31:32 mainframe Attached scsi generic sg0 at scsi17, channel 0, id 0, lun 0,  type 0
Jan 27 15:31:32 mainframe usb-storage: device scan complete
Jan 27 15:31:33 mainframe usb 5-3: USB disconnect, address 21
Jan 27 15:31:33 mainframe usb 5-3: new high speed USB device using ehci_hcd and address 22
Jan 27 15:31:33 mainframe scsi18 : SCSI emulation for USB Mass Storage devices
Jan 27 15:31:33 mainframe usb-storage: device found at 22
Jan 27 15:31:33 mainframe usb-storage: waiting for device to settle before scanning
Jan 27 15:31:38 mainframe Vendor: LaCie     Model: Big Disk G467     Rev:
Jan 27 15:31:38 mainframe Type:   Direct-Access                      ANSI SCSI revision: 04
Jan 27 15:31:38 mainframe SCSI device sda: 980469503 512-byte hdwr sectors (502000 MB)
Jan 27 15:31:38 mainframe sda: assuming drive cache: write through
Jan 27 15:31:38 mainframe SCSI device sda: 980469503 512-byte hdwr sectors (502000 MB)
Jan 27 15:31:38 mainframe sda: assuming drive cache: write through
Jan 27 15:31:38 mainframe /dev/scsi/host18/bus0/target0/lun0: unknown partition table
Jan 27 15:31:38 mainframe Attached scsi disk sda at scsi18, channel 0, id 0, lun 0
Jan 27 15:31:38 mainframe Attached scsi generic sg0 at scsi18, channel 0, id 0, lun 0,  type 0
Jan 27 15:31:38 mainframe usb-storage: device scan complete
Jan 27 15:31:38 mainframe usb 5-3: USB disconnect, address 22
Jan 27 15:31:38 mainframe usb 5-3: new high speed USB device using ehci_hcd and address 23
Jan 27 15:31:38 mainframe scsi19 : SCSI emulation for USB Mass Storage devices
Jan 27 15:31:38 mainframe usb-storage: device found at 23
Jan 27 15:31:38 mainframe usb-storage: waiting for device to settle before scanning
Jan 27 15:31:42 mainframe scsi.agent[10365]: Attribute /sys/devices/pci0000:00/0000:00:10.4/usb5/5-3/5-3:1.0/host17/target17:0:0/17:0:0:0/type does not exist
Jan 27 15:31:43 mainframe Vendor: LaCie     Model: Big Disk G467     Rev:
Jan 27 15:31:43 mainframe Type:   Direct-Access                      ANSI SCSI revision: 04
Jan 27 15:31:43 mainframe SCSI device sda: 980469503 512-byte hdwr sectors (502000 MB)
Jan 27 15:31:43 mainframe sda: assuming drive cache: write through
Jan 27 15:31:44 mainframe SCSI device sda: 980469503 512-byte hdwr sectors (502000 MB)
Jan 27 15:31:44 mainframe sda: assuming drive cache: write through
Jan 27 15:31:44 mainframe /dev/scsi/host19/bus0/target0/lun0: unknown partition table
Jan 27 15:31:44 mainframe Attached scsi disk sda at scsi19, channel 0, id 0, lun 0
Jan 27 15:31:44 mainframe Attached scsi generic sg0 at scsi19, channel 0, id 0, lun 0,  type 0
Jan 27 15:31:44 mainframe usb-storage: device scan complete
Jan 27 15:31:44 mainframe usb 5-3: USB disconnect, address 23
Jan 27 15:31:44 mainframe usb 5-3: new high speed USB device using ehci_hcd and address 24
Jan 27 15:31:44 mainframe scsi20 : SCSI emulation for USB Mass Storage devices
Jan 27 15:31:44 mainframe usb-storage: device found at 24
Jan 27 15:31:44 mainframe usb-storage: waiting for device to settle before scanning
Jan 27 15:31:48 mainframe scsi.agent[10477]: Attribute /sys/devices/pci0000:00/0000:00:10.4/usb5/5-3/5-3:1.0/host18/target18:0:0/18:0:0:0/type does not exist
.. and so it goes on..
hm.. help me.
Top
theDreamer
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Mon Oct 20, 2003 9:51 am
Contact:
Contact theDreamer
Website

maybe

  • Quote

Post by theDreamer » Thu Jan 27, 2005 2:58 pm

it looks like it detected the existance of new hardware but when detected it did not find the driver for the specific hardware.

verify that you have all the other usb driver loaded also.

just for the sake of an optional bug in kernel, try adding;

Code: Select all

options usbcore use_both_schemes=y
instead of options

Code: Select all

usbcore old_scheme_first=y
Cheers,
Nir Dremer
www.dremer.org
Top
julmust
n00b
n00b
User avatar
Posts: 57
Joined: Sun Oct 13, 2002 10:10 pm
Location: Landskrona, Sweden

  • Quote

Post by julmust » Thu Jan 27, 2005 3:04 pm

I tried "use_both_schemes=y" but with the same result..

Im almost 100% I've got all of the right kernel modules.. my two usb memory sticks works just fine.

I guess I'll have to downgrade to 2.6.9 for the time being..
hm.. help me.
Top
geko2004
n00b
n00b
User avatar
Posts: 15
Joined: Wed Aug 11, 2004 10:17 am

  • Quote

Post by geko2004 » Fri Jan 28, 2005 12:07 am

you could disable

Code: Select all

<M> EHCI HCD (USB 2.0) support  
I red it somewhere else in the forums, (can't find where i would have quoted ) but you won't be able to use usb 2.0 just 1.1, it worked for me.

dunno if it helped...
Top
Mr Faber
n00b
n00b
Posts: 47
Joined: Mon Mar 14, 2005 8:42 pm

  • Quote

Post by Mr Faber » Mon Apr 25, 2005 7:45 pm

Isn't it better to use the file /etc/modules.d/usbcore for the entry?

cu
Mr Faber
Top
Post Reply

14 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic