Hi, When booting my system I get the error: >> Activating mdev /init: line 334: can't create /proc/sys/kernel/hotplug: nonexistent directory I tracked this down to /usr/share/genkernel/defaults/linuxrc: 327 # Initialize mdev 328 good_msg 'Activating mdev' 329 330 # Serialize hotplug events 331 touch /dev/mdev.seq 332 333 # Setup hotplugging for firmware loading 334 echo /sbin/mdev > /proc/sys/kernel/hotplug The thing is that I don't have mdev installed (I use udev) and I also don't have CONFIG_UEVENT_HELPER available so there is no /proc/sys/kernel/hotplug either. Shouldn't the init script check for the availability of mdev and hotplug before trying to activate them? Sincerely, Marijn van Zon.
Re: /proc/sys/kernel/hotplug: This isn't a fatal error, is it? Re: mdev: mdev comes from busybox, you do have that inside initramfs, right? Trying to get an idea what still needs to be done for this bug. Thanks
Hi, It indeed is not a fatal error, it's more like a notice/warning so it doesn't block me. Whether there's busybox/mdev in initramfs I don't know. I use "genkernel all" to build the kernel and initramfs. I make my own kernel .config (using regular gentoo-sources) but the whole initramfs is out of my league so I let genkernel handle that for me. I don't have any customisations there (as far as I know). How can I check if mdev is in the initramfs? Though I don't even know if I'm still getting this message. Next week I will have access again to the computer running the VM where it happened and I'll check if it still appears. Perhaps it somehow resolved itself or is already fixed somewhere, after all it has been nearly three years since I created this report. I guess a lot has changed since then :).
This was addressed long time ago via https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=1b73a2ea3f152c6b0df04dc83b32a3cd4972de2e