On Thu, May 07, 2015 at 05:42:40PM +0100, linuxcbon linuxcbon wrote:
> On Thu, May 7, 2015 at 1:28 AM, Isaac Dunham <[email protected]> wrote:
> > and your kernel must be set to use mdev as the hotplug helper,
> > via writing to  /proc/sys/kernel/hotplug, or using an equivalent
> > sysctl invocation or option to the kernel.
> 
> where to set it in kernel ?
> 
> sh-4.2# echo /sbin/mdev > /proc/sys/kernel/hotplug
> sh: /proc/sys/kernel/hotplug: No such file or directory
> sh-4.2# sysctl -w kernel.hotplug=/sbin/mdev
> error: "kernel.hotplug" is an unknown key
> 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=40b313608ad4ea655addd2ec6cdd106477ae8e15
> Finally eradicate CONFIG_HOTPLUG
> Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"),
>  it has been basically impossible to build a kernel with
> CONFIG_HOTPLUG turned off.
>  Remove all the remaining references to it.


What kernel version?
It gets pretty annoying when you tell your problems but not your software.


Does /sys/kernel/uevent_helper exist?
(If so, you can use that file instead of /proc/sys/kernel/hotplug.)

HTH,
Isaac Dunham


_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to