| View previous topic :: View next topic |
| Author |
Message |
Massimo B. Veteran


Joined: 09 Feb 2005 Posts: 1794 Location: PB, Germany
|
Posted: Wed May 10, 2017 7:52 am Post subject: genkernel init: Can't create /proc/sys/kernel/hotplug |
|
|
While booting I see very early this message for a long time now:
| Code: | | line 357 can't create /proc/sys/kernel/hotplug: nonexistent directory |
I tried ck-sources-4.10.14 and gentoo-sources-4.11.0. I'm running sys-fs/udev-233 with sys-apps/openrc-0.25. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Last edited by Massimo B. on Wed May 10, 2017 9:48 am; edited 1 time in total |
|
| Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 9733 Location: almost Mile High in the USA
|
Posted: Wed May 10, 2017 9:20 am Post subject: |
|
|
Could you post some context? Can't seem to find any files that could possibly generate that message, at least on my system...
It definitely loaded init, but that's all that I can glean from that message...
Do you use initramfs? What generated that initramfs? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
| Back to top |
|
 |
Massimo B. Veteran


Joined: 09 Feb 2005 Posts: 1794 Location: PB, Germany
|
Posted: Wed May 10, 2017 9:48 am Post subject: |
|
|
I use a genkernel generated initramfs. /dev/default/grub has: | Code: | | GRUB_CMDLINE_LINUX_DEFAULT="keymap=de splash=silent,theme:livecd-2007.0 console=tty1 quiet crypt_root=UUID=e609e76c-419f-4677-a2fe-87229073ffff root=LABEL=gentoo dobtrfs" | You see this is a btrfs-on-luks. I found the involved file:
| Code: | # sed -n '357p' /usr/share/genkernel/defaults/linuxrc
echo /sbin/mdev > /proc/sys/kernel/hotplug | Any idea? _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
| Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 9733 Location: almost Mile High in the USA
|
Posted: Wed May 10, 2017 9:54 am Post subject: |
|
|
That hotplug thing is "obsolete" with the new udev, but since you're in initramfs with busybox mdev, you still need it. So my guess is you need to turn on that legacy hotplug support in your kernel config: CONFIG_UEVENT_HELPER=y _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
| Back to top |
|
 |
|