LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* usb2 external disk not recognized if connected during boot, but recognized if not connected during boot
@ 2007-01-23  9:13 Yakov Lerner
  2007-01-24 16:59 ` Frank van Maarseveen
  0 siblings, 1 reply; 2+ messages in thread
From: Yakov Lerner @ 2007-01-23  9:13 UTC (permalink / raw)
  To: Kernel Linux

On a small Celeron-based appliance, Usb2 disk is not recognized *if*
it is connected during kernel boot.
But if not connected during boot, and I connect it later, it is
recognized and works ok.
I tried various 2.6.16, 17 and 18 kernels, both modular, and
all-static, with the same result.
What can this be.
This is ehci controller. Can it be problematic Irq assignments on the
motherboard ?
Btw, during boot, access lights go on forever on the Usb drive. Couple
of kernels are stuck
at this point. Most kernels go through, but disk is still not
recognized. If I disconnect and re-connect usb drive later, then it is
never recognized (if it was connected earlier during boot). Again, if
the disk was not connected during boot, all kernels recognize it and
work with it.

Thank
Yakov

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: usb2 external disk not recognized if connected during boot, but recognized if not connected during boot
  2007-01-23  9:13 usb2 external disk not recognized if connected during boot, but recognized if not connected during boot Yakov Lerner
@ 2007-01-24 16:59 ` Frank van Maarseveen
  0 siblings, 0 replies; 2+ messages in thread
From: Frank van Maarseveen @ 2007-01-24 16:59 UTC (permalink / raw)
  To: Yakov Lerner; +Cc: Kernel Linux

On Tue, Jan 23, 2007 at 11:13:03AM +0200, Yakov Lerner wrote:
> On a small Celeron-based appliance, Usb2 disk is not recognized *if*
> it is connected during kernel boot.
> But if not connected during boot, and I connect it later, it is
> recognized and works ok.
> I tried various 2.6.16, 17 and 18 kernels, both modular, and
> all-static, with the same result.
> What can this be.
> This is ehci controller. Can it be problematic Irq assignments on the
> motherboard ?
> Btw, during boot, access lights go on forever on the Usb drive. Couple
> of kernels are stuck
> at this point. Most kernels go through, but disk is still not
> recognized. If I disconnect and re-connect usb drive later, then it is
> never recognized (if it was connected earlier during boot). Again, if
> the disk was not connected during boot, all kernels recognize it and
> work with it.

Try making EHCI a module and modprobe it after booting the kernel. I
have a mainboard/USB stick combo which refuses to work when plugged in
during cold boot with EHCI driver in kernel. The driver repeatedly tried
to reset USB hardware and then gave up. Replugging did work however.

I worked around the issue by booting without EHCI driver in kernel. A more
modern USB stick fixed it too. After some investigation consensus was that
the hardware combination was broken and the EHCI driver was not at fault.

Maybe this is a similar hardware problem. Does the USB disk has its
own power? then replugging USB may not be enough and you might also
need to toggle USB disk power in order to make it work again.

-- 
Frank

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-24 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-23  9:13 usb2 external disk not recognized if connected during boot, but recognized if not connected during boot Yakov Lerner
2007-01-24 16:59 ` Frank van Maarseveen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).