linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* /proc/sys/kernel/hotplug empty: how to configure kernel?
@ 2006-12-20 21:50 Richard Wild
  2006-12-20 22:09 ` Greg KH
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Richard Wild @ 2006-12-20 21:50 UTC (permalink / raw)
  To: linux-hotplug

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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: /proc/sys/kernel/hotplug empty: how to configure kernel?
  2006-12-20 21:50 /proc/sys/kernel/hotplug empty: how to configure kernel? Richard Wild
@ 2006-12-20 22:09 ` Greg KH
  2006-12-20 22:15 ` Kay Sievers
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2006-12-20 22:09 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Dec 20, 2006 at 09:50:22PM +0000, Richard Wild wrote:
> 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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: /proc/sys/kernel/hotplug empty: how to configure kernel?
  2006-12-20 21:50 /proc/sys/kernel/hotplug empty: how to configure kernel? Richard Wild
  2006-12-20 22:09 ` Greg KH
@ 2006-12-20 22:15 ` Kay Sievers
  2006-12-20 22:18 ` Richard Wild
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Kay Sievers @ 2006-12-20 22:15 UTC (permalink / raw)
  To: linux-hotplug

On 12/20/06, Richard Wild <richard-wild@ntlworld.com> wrote:
> 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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: /proc/sys/kernel/hotplug empty: how to configure kernel?
  2006-12-20 21:50 /proc/sys/kernel/hotplug empty: how to configure kernel? Richard Wild
  2006-12-20 22:09 ` Greg KH
  2006-12-20 22:15 ` Kay Sievers
@ 2006-12-20 22:18 ` Richard Wild
  2006-12-20 22:51 ` Greg KH
  2006-12-20 23:03 ` Robby Workman
  4 siblings, 0 replies; 6+ messages in thread
From: Richard Wild @ 2006-12-20 22:18 UTC (permalink / raw)
  To: linux-hotplug

Greg KH wrote:
> What distro is this?
>   
Slackware 11.0.
> 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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: /proc/sys/kernel/hotplug empty: how to configure kernel?
  2006-12-20 21:50 /proc/sys/kernel/hotplug empty: how to configure kernel? Richard Wild
                   ` (2 preceding siblings ...)
  2006-12-20 22:18 ` Richard Wild
@ 2006-12-20 22:51 ` Greg KH
  2006-12-20 23:03 ` Robby Workman
  4 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2006-12-20 22:51 UTC (permalink / raw)
  To: linux-hotplug

On Wed, Dec 20, 2006 at 10:18:08PM +0000, Richard Wild wrote:
> Greg KH wrote:
> >What distro is this?
> >  
> Slackware 11.0.
> >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.

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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: /proc/sys/kernel/hotplug empty: how to configure kernel?
  2006-12-20 21:50 /proc/sys/kernel/hotplug empty: how to configure kernel? Richard Wild
                   ` (3 preceding siblings ...)
  2006-12-20 22:51 ` Greg KH
@ 2006-12-20 23:03 ` Robby Workman
  4 siblings, 0 replies; 6+ messages in thread
From: Robby Workman @ 2006-12-20 23:03 UTC (permalink / raw)
  To: linux-hotplug

Greg KH wrote:

> 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

-- 

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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-12-20 23:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-20 21:50 /proc/sys/kernel/hotplug empty: how to configure kernel? Richard Wild
2006-12-20 22:09 ` Greg KH
2006-12-20 22:15 ` Kay Sievers
2006-12-20 22:18 ` Richard Wild
2006-12-20 22:51 ` Greg KH
2006-12-20 23:03 ` Robby Workman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).