devfs/hotplug not working

JoeHill joehill-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Fri Nov 19 00:36:49 UTC 2004


On Thu, 18 Nov 2004 03:21:34 +0200 (IST)
Peter L. Peres disseminated the following:

> > ...which I don't. Maybe that's why the Visor isn't being picked up?
> 
> That file should exist. The hotplug mechanism works as follows: kernel 
> sees hotplug event, then it executes the script set in hotplug:
> 
> /proc/sys/kernel/hotplug

It actually is not part of the hotplug package in Mandrake 9.2 (in current
versions it is), which is maybe why it didn't get 'reawakened' after dropping to
init 1 then back up to 3?

> cat /proc/sys/kernel/hotplug usually yields /sbin/hotplug which is a 
> script that you can read. It should be executable. F.ex. on knoppix he 
> script is called /sbin/hotplug-knoppix but /sbin/hotplug also exists.

On the Mandrake list, someone supplied me with such a script to 'kickstart'
hotplug, but it still didn't end up working. This is actually the *only* issue
I've had with Mandrake for years (excluding things I borked myself), before the
MDK bashing starts... 

> The setup is done by /etc/init.d/hotplug but some systems (like knoppix) 
> it is handled by /etc/init.d/knoppix-autoconfig and /etc/init.d/hotplug 
> is never called. So the complete answer is, it depends on what you run.
> 
> Try this:
> 
> grep /proc/sys/kernel/hotplug /etc/init.d/*

Nuttin' Honey ;-) So, if there's nothing in init.d, how the heck does Mandrake
start hotplug running in the background at boot?
 
> This should yield a list of files that tamper with the hotplug setup.
> 
> hope this helps,

Well, after over a hundred days, I figured it was time to power down and blow
the dust out anyway. Actually found cobwebs and a dead bug. Booted back up and,
of course, all is now working normally again.

Many thanks!

-- 
JoeHill / RLU #282046 / www.freeyourmachine.org
19:25:26 up 23:55, 8 users, load average: 0.09, 0.08, 0.08
+++++++++++++++++++++++++++
"When you give food to the poor, they call you a saint. When you ask why the
poor have no food, they call you a communist." -- Archbishop Helder Camara
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list