Re: 2.6.26-rc1 regression since 2.6.25

From: Alan Stern
Date: Mon May 19 2008 - 11:48:29 EST


On Mon, 19 May 2008, Lukas Hejtmanek wrote:

> On Tue, May 13, 2008 at 04:06:20PM -0400, Alan Stern wrote:
> > > I did. The dmesg is attached to the bug:
> > > http://bugzilla.kernel.org/show_bug.cgi?id=10630
> >
> > It looks as though the dock's USB hub may not be working right.
>
> Maybe, Lenovo HW is a piece of crap.

That's certainly possible.

> Anyway, it worked up to 2.6.25
> (including).

Can you attach an equivalent dmesg log for 2.6.25 (with
CONFIG_USB_DEBUG enabled, of course)?

> > Just as a test, can you try applying gregkh-04-usb-2.6.26-rc2.patch
> > (it applies to 2.6.26-rc2, obviously) from
> >
> > http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
> >
> > and attaching the dmesg log from that? It contains extra debugging not
> > present in the vanilla kernel -- make sure that you keep
> > CONFIG_USB_DEBUG enabled.
>
> I did another attachement of the dmesg to the bugzilla.

Let me get this straight. You booted without the dock, and then at
this line:

> [14315425.975807] ACPI: \_SB_.GDCK - docking

you plugged the computer into the dock, right?

Then apparently here:

> [14315508.451197] ehci_hcd 0000:00:1a.7: port 4 remote wakeup

you plugged the USB drive into the dock, but it wasn't detected. Or
maybe I've got it backward, the drive was already plugged in when you
docked the computer, and 14315508.451197 is when you unplugged the
drive. Which was it?

AFAICS, the dock never reported the existence of the USB drive.

Okay, let's see some more debugging information on this. Get a usbmon
trace (see Documentation/usb/usbmon.txt) for bus 3, starting just
before you dock the computer. That will tell us exactly what the
dock's USB hub is reporting.

By the way, are you entirely certain that 2.6.25 works correctly in
both cases: drive already attached when you dock the computer, and
drive plugged in after the computer is docked? I guess it would be
good to see equivalent usbmon traces for both 2.6.25 and 2.6.26-rc2.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/