My USB drives are not recognised

Tyler Aviss tjaviss-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sun Feb 8 21:41:49 UTC 2009


On Sun, Feb 8, 2009 at 3:57 PM, Paul King <sciguy-Ja3L+HSX0kI at public.gmane.org> wrote:
>> On Sun, Feb 08, 2009 at 09:04:27AM -0500, Paul King wrote:
>> > I am having problems with USB functionality under the latest Ubuntu for
>> > 64-bit. I previously emailed that flash is VERY broken in 64-bit, and
>> > now this problem with my USB drives. I now miss my 32-bit machine.
>> >
>> > Running dmesg, I get this over and over again:
>> > [   76.957312] hub 6-2:1.0: cannot reset port 3 (err = -110)
>> > [   77.318014] hub 6-2:1.0: cannot reset port 3 (err = -110)
>> > [   77.678692] hub 6-2:1.0: cannot reset port 3 (err = -110)
>> > [   78.039382] hub 6-2:1.0: cannot reset port 3 (err = -110)
>> > [   78.400071] hub 6-2:1.0: cannot reset port 3 (err = -110)
>> > [   78.400076] hub 6-2:1.0: Cannot enable port 3.  Maybe the USB cable
>> > is bad?
>>
>> Are you using a usb hub?  If so try without it.
>
> I was going to say "no", but lucky I checked. They are all coming off the same
> hub. I have a USB keyboard, mouse, and three external drives, which
> necessitated a hub, at least for the time being.
>
> The hub worked up until last week when I added a kernel change and some 120
> updates (the system hadn't been used in a while). I have a feeling that broke
> something. This is a dual-boot machine, and the drives are there under Windows.
> I can't attribute it to anything else.
>
>>
>> > After 5 or 6 of those, I get:
>> > [   87.237199] sd 7:0:0:0: Device offlined - not ready after error
>> > recovery
>> > [   87.237209] sd 7:0:0:0: [sdc] Result: hostbyte=DID_ABORT
>> > driverbyte=DRIVER_OK,SUGGEST_OK
>> >
>> > Then, after a few more of the first kind of error, I get this as the
>> > final messages before it totally gives up:
>> > [   97.818282] hub 6-2:1.0: cannot disable port 2 (err = -110)
>> > [   98.827526] hub 6-2:1.0: cannot disable port 2 (err = -110)
>> > [   98.828407] sd 6:0:0:0: Device offlined - not ready after error
>> > recovery
>> > [   98.828422] sd 6:0:0:0: [sdb] Result: hostbyte=DID_ABORT
>> > driverbyte=DRIVER_OK,SUGGEST_OK
>> > [   98.828426] end_request: I/O error, dev sdb, sector 60227685
>> > [   98.828443] FAT: unable to read boot sector
>> > [  103.878999] hub 6-2:1.0: hub_port_status failed (err = -110)
>> > [  108.148908] hub 6-2:1.0: hub_port_status failed (err = -110)
>> >
>> > As for "bad usb cables", my drives work perfectly under Windows XP, and
>> > they are even used as network drives. Now admittedly I have had a new
>> > kernel install, but even going back to an old kernel version didn't fix
>> > the problem.
>> >
>> > Anyone have any ideas about this?
>>
>> Do they work under windows XP on the SAME machine?
>>
>> After all testing on another machine just tells you your drives appear
>> fine, but doesn't tell you if a usb controller has failed on your linux
>> machine.
>>
>
> It works on the same machine, without touching or moving anything. This machine
> is dual-boot. Booting into XP, it works perfectly.
>
> Paul King
>
>

I've found that the high-speed USB drivers in linux can be VERY
finicky at times. In a previous kernel version, my USB used to drop
out all the time with I/O errors unless I removed the "ehci-hcd"
driver (which also slows down USB considerably as that is the
"high-speed" driver).

When I bumped up to 2.6.28 the problem went away, so I'm guessing it
may have been an issue supporting the USB controller in my laptop.




-- 
Tyler Aviss
Systems Support
LPIC/LPIC-2
(647) 302-0942
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list