Re: [patch] pipe: Don't oops when pipe filesystem isn't mounted

From: Al Viro
Date: Mon Dec 11 2006 - 05:22:30 EST


On Mon, Dec 11, 2006 at 02:17:18AM -0800, Andrew Morton wrote:
> I think we should aim to have as many subsystems ready to go as possible -
> ideally all of them. Right now we can potentially run userspace before
> AIO, posix-timers, message-queues, BIO, networking, etc are ready to run.
>
> It looks to be pretty easy to fix...
>
> > As for that example, I'd love to see specifics - which driver triggers
> > hotplug? Presumably it happens from an initcall, so we also have something
> > fishy here...
>
> I don't know in this case - but firmware loading from a statically-linked
> driver is a legit thing to do.

Umm... statically linked driver that might want firmware shouldn't precede
the subsystems unless something is seriously wrong with priorities...

IOW, I still wonder what's really going on - pipes are fs_initcall() and
any hardware stuff ought to be simple module_init(). So something fishy
is going on, regardless of anything else.
-
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/