Re: USB storage no-boot regression (bisected)
[Posted April 29, 2009 by jake]
| From: |
| Arjan van de Ven <arjan-wEGCiKHe2LqWVfeAwA7xHQ-AT-public.gmane.org> |
| To: |
| Alan Cox <alan-qBU/x9rampVanCEyBjwyrvXRex20P6io-AT-public.gmane.org> |
| Subject: |
| Re: USB storage no-boot regression (bisected) |
| Date: |
| Wed, 15 Apr 2009 13:06:14 -0700 |
| Message-ID: |
| <20090415130614.55b1cb28@infradead.org> |
| Cc: |
| VomLehn <dvomlehn-FYB4Gu1CFyUAvxtiuMwx3w-AT-public.gmane.org>, Mark Lord <lkml-gsilrlXbHYg-AT-public.gmane.org>,
Alan Stern <stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz-AT-public.gmane.org>,
Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w-AT-public.gmane.org>, Jeff Garzik <jeff-o2qLIJkoznsdnm+yROfE0A-AT-public.gmane.org>,
Linux USB kernel mailing list <linux-usb-u79uwXL29TY76Z2rM5mHXA-AT-public.gmane.org>,
LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA-AT-public.gmane.org>,
"Rafael J. Wysocki" <rjw-KKrjLPT3xs0-AT-public.gmane.org> |
| Archive‑link: | |
Article |
On Wed, 15 Apr 2009 18:32:52 +0100
Alan Cox <alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org> wrote:
> > Saying that we were "lucky" that things worked before is no help and
> > you should be aware that it ticks people off.
>
> No doubt those who wrote the code and never expected that timing to
> reliably work will take affront at those who blame them for it not
> working.
It's even more than that; it's OTHER code that gets faster that
can/will break this.
> Those who expected it to work and never knew it was not
> guaranteed will feel likewise in reverse.
For storage at least the solution already existed (root_wait);
it just hasn't been used consistently.
For other pieces it's hard. Non-enumeratable busses just suck;
at some point all you can do is just wait (which we have already
available today for anyone to do). I realize people don't want to
just wait 4 seconds (the people who first objected to boot time
improvements then suddenly care about boot time ;-)...
For root fs there's some options, and I have patches to basically retry
on fail. (The patches have a bug and I don't have time to solve it this
week, so I'm not submitting them)
For other devices it is hard. Realistically we need hotplug to work
well enough so that when a device shows up, we can just hook it up when
it does.
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html