lkml.org 
[lkml]   [2007]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Initramfs and /sbin/hotplug fun
Date
From
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 pen-drive. So I just took a working
> distro, added an init->sbin/init symlink, cpio'ed it into an
> initramfs, and booted it up. Works a treat, except for the early
> hotplug calls.

I have a kernel that needs to have early hotplug calls to load
firmware. I just rolled my own simple hotplug scripts to only address
that issue and have not had a problem since. The mdev in busybox that
is in the gentoo initramfs didn't seem to be able to handle it, so I
just made my own scripts. In my case I needed QLogic firmware so root
could be on FC.

FWIW, it is a real PITA to not be able to build a monolithic kernel
that can bring up root on its own. I will stipulate that I am an old-
school guy that likes monolithic kernels, but I do feel that
something has been lost. Yes, I am aware of the reasons for the
change, else I would have written something when I was fighting the
battle, but I still don't have to like it.

--
Mark Rustad, MRustad@mac.com


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-01-16 05:17    [W:0.055 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site