[Linux-disciples] Re: hotplug issues

Brian Cooke brian at voodoochild.org
Sun Mar 6 22:32:36 EST 2005


> What happens when you do those things?


I don't get any results for any of the commands you listed below.  Do I 
need pci_hotplug installed in my kernel for this?  I was under the 
impression that I didn't need it if I only wanted to use hotplug for USB 
devices.

 > What prompted you to check whether hotplug was working? Are
 > you having troubles with USB devices?

I got an external USB hard drive and I'll like it to mount automatically 
when the computer boots.  I have a hotplug script in my /etc/init.d/ 
directory, but I see no evidence that it is running (or attempting to 
run) despite the fact that is linked in the appropriate /etc/rc?.d 
directories.  So then I tried running the /etc/init.d/hotplug script 
manually, and I'm still not getting any output for start, stop, or 
status at the command line either.  I figure I will need to get it 
working from the command line before I can expect the startup scripts to 
run it...

Brian

>When I look at
>
>dmesg |grep -i hotplug
>
>I get
>
>/*
>cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
>pci_hotplug: PCI Hot Plug PCI Core version: 0.5
>*/
>
>When I do '/etc/init.d/hotplug start' or '[same thing] stop'
>I get no problems: I get the '[OK]' indicator that Ubuntu
>normally gives.
>
>When I do 'lsmod |grep -i plug', I get
>
>pci_hotplug            33680  2 shpchp,pciehp
>
>Finally, checking the contents of /var/log/syslog for
>anything matching 'hotplug' returns the same lines that
>dmesg gives.
>
>  
>



More information about the Linux-disciples mailing list