Re: Initramfs and /sbin/hotplug fun

2007-01-15 Thread Mark Rustad
On Jan 15, 2007, at 1:54 PM, Andrew Walrond wrote: Olaf Hering wrote: Why do you need /sbin/hotplug anyway, just for firmware loading for a non-modular kernel? I guess this is unusual, but FWIW... I have a custom distro and I was just looking for the easiest way to create a bootable rescue

Re: Initramfs and /sbin/hotplug fun

2007-01-15 Thread Andrew Walrond
Olaf Hering wrote: Why do you need /sbin/hotplug anyway, just for firmware loading for a non-modular kernel? I guess this is unusual, but FWIW... I have a custom distro and I was just looking for the easiest way to create a bootable rescue pen-drive. So I just took a working distro, added a

Re: Initramfs and /sbin/hotplug fun

2007-01-15 Thread Bill Davidsen
Andrew Walrond wrote: Olaf Hering wrote: On Mon, Jan 15, Andrew Walrond wrote: 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 c

Re: Initramfs and /sbin/hotplug fun

2007-01-15 Thread Olaf Hering
On Mon, Jan 15, Andrew Walrond wrote: > >/sbin/hotplug and /init are two very different and unrelated things. > > Well, of course. But looking at the thread provided by Jan, it seems the > kernel might not be in any fit state to service the (userspace) hotplug > infrastructure when it makes the

Re: Initramfs and /sbin/hotplug fun

2007-01-15 Thread Andrew Walrond
Olaf Hering wrote: On Mon, Jan 15, Andrew Walrond wrote: 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

Re: Initramfs and /sbin/hotplug fun

2007-01-15 Thread Olaf Hering
On Mon, Jan 15, Andrew Walrond wrote: > 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 p

Re: Initramfs and /sbin/hotplug fun

2007-01-15 Thread Jan Engelhardt
On Jan 15 2007 14:16, Andrew Walrond wrote: > > 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

Initramfs and /sbin/hotplug fun

2007-01-15 Thread Andrew Walrond
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 /