LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Initramfs and /sbin/hotplug fun
@ 2007-01-15 14:16 Andrew Walrond
  2007-01-15 16:44 ` Jan Engelhardt
  2007-01-15 17:04 ` Olaf Hering
  0 siblings, 2 replies; 8+ messages in thread
From: Andrew Walrond @ 2007-01-15 14:16 UTC (permalink / raw)
  To: LKML

If the initramfs root filesystem contains /sbin/hotplug, the kernel 
starts calling it very early in the kernel boot process, well before 
/init has been called. In my case this resulted in lots of hotplug 
segfault messages as the kernel boots, followed by a thoroughly unhappy 
hotplug+udev once /init actually gets control.

To solve this, I deleted /sbin/hotplug from the initramfs archive and 
modified /init to reinstate it once it gets control. This works fine, 
but seems inelegant. Is there a better solution? Should sbin/hotplug be 
called at all before the kernel has passed control to /init?

Andrew Walrond

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

end of thread, other threads:[~2007-01-16  3:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-15 14:16 Initramfs and /sbin/hotplug fun Andrew Walrond
2007-01-15 16:44 ` Jan Engelhardt
2007-01-15 17:04 ` Olaf Hering
2007-01-15 17:36   ` Andrew Walrond
2007-01-15 17:54     ` Olaf Hering
2007-01-15 19:54       ` Andrew Walrond
2007-01-16  3:50         ` Mark Rustad
2007-01-15 19:43     ` Bill Davidsen

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).