/proc/sys/kernel/hotplug empty: how to configure kernel?
Hi all,
the subject line should say it all really. I have this problem:
rich@radhagovinda:~$ cat /proc/sys/kernel/hotplug
rich@radhagovinda:~$
I know that this 'file' should contain the name of the hotplug helper program, which on my machine is /sbin/hotplug, but it doesn't.
The kernel is an unpatched 2.6.18 kernel I configured and compiled from source myself. I did enable CONFIG_HOTPLUG, as you can see:
source@radhagovinda:/usr/local/src/linux-2.6.18$ cat .config | grep HOTPLUG CONFIG_HOTPLUG=y source@radhagovinda:/usr/local/src/linux-2.6.18$
but clearly this is not all there is to it. I have good reason to believe it is a misfigured kernel problem, because if I boot to the 2.4.33.3 kernel supplied with my distro (Slackware 11.0) then everything works great.
Any pointers are gratefully received. I found this
http://linux-usb.sourceforge.net/usb-admin.html which told me to enable ALL usb options as modules, but it made no difference.
Sorry for posting to the devel mailing list, but it's the only one you have.
Many thanks,
Richard.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 6 lines · Richard Wild
Hi all,
the subject line should say it all really. I have this problem:
rich@radhagovinda:~$ cat /proc/sys/kernel/hotplug
I don't see a problem there, most distros do it this way now.
They listen to the uevent socket from the kernel for the events, and don't rely on the hotplug process being spawned again and again.
What distro is this?
And why are you thinking things are not working?
thanks,
greg k-h
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 5 lines · Richard Wild
Hi all,
the subject line should say it all really. I have this problem:
rich@radhagovinda:~$ cat /proc/sys/kernel/hotplug
Usually the udev boot-script disables the "/sbin/hotplug fork-bomb", as it's not needed on a udev system, and causes trouble for a lot of devices. It's all handles by the udevd daemon.
Kay
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 2 lines · Greg KH
What distro is this?
Slackware 11.0.
Quoted 1 line
And why are you thinking things are not working?
Because I can't get my digital camera to work:
rich@radhagovinda:~$ gphoto2 --auto-detect Model Port ---------------------------------------------------------- rich@radhagovinda:~$
That is what I am trying to do. If I boot into the default 2.4 kernel, it does work. Also I notice that the boot-up message "Detecting
hardware: /etc/rc.d/rc.hotplug" does not appear when I boot my 2.6 kernel, although it does appear when I boot the 2.4 kernel.
If I run it myself:
root@radhagovinda:~# /etc/rc.d/rc.hotplug start root@radhagovinda:~#
it seems to do nothing. I realise this might be a Slackware script and not something the Hotplug project wrote. But I am quite stumped.
Thanks,
Rich.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 17 lines · Richard Wild
Quoted 2 lines · Greg KH
What distro is this?
Slackware 11.0.
Quoted 1 line
And why are you thinking things are not working?
Because I can't get my digital camera to work:
rich@radhagovinda:~$ gphoto2 --auto-detect Model Port ---------------------------------------------------------- rich@radhagovinda:~$That is what I am trying to do. If I boot into the default 2.4 kernel, it does work. Also I notice that the boot-up message "Detecting
hardware:/etc/rc.d/rc.hotplug" does not appear when I boot my 2.6 kernel, although it does appear when I boot the 2.4 kernel.
Quoted 7 lines
If I run it myself:
root@radhagovinda:~# /etc/rc.d/rc.hotplug start root@radhagovinda:~#it seems to do nothing. I realise this might be a Slackware script and not something the Hotplug project wrote. But I am quite stumped.
I suggest asking on a slackware specific mailing list, as this is a distro specific thing.
good luck,
greg k-h
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 2 lines · Greg KH
I suggest asking on a slackware specific mailing list, as this is a distro specific thing.
Greg and list,
I have referred Rick to a Slackware list - if we can't figure it out there, and it indeed turns out to be hotplug/udev-specific instead of Slackware, we'll come back.
Thanks,
RW
Signature · 11 lines
http://rlworkman.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel