LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-02-2006, 06:02 AM   #1
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
Udev or hotplug on slack11


At the risk of sounding like a complete buffoon, how do I know if I'm using udev?

I loaded up the pc with full noob install of slack 11.0 w/the 2.4 sata kernel. told package tool to load hotplug at boot time, then rebooted to run level 3, then installed huge 26 then rebooted.

I had to create a udev rule so that slack 11 would always assign one of two nic's the eth0 slot because all of the sudden the internet would just stop in the 2.6 kernel.

I guess the fact that I had to create a udev rule means that I'm using udev? Is this the case. the rc.udev is not executable in /etc/rc.d directory.

If I'm not using udev, should I be? So far the pc seems ok.

Thank you in advance.
 
Old 11-02-2006, 06:45 AM   #2
albhaf
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
Easiest way to check if you are using udev is probably to check with
Code:
ps ax
And look for
Code:
  526 ?        S<s    0:00 /sbin/udevd --daemon
If you find a line similar to this one you are most likely using udev.
 
Old 11-02-2006, 06:45 AM   #3
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
About half way down rc.S it explains about udev. rc.udev needs to be executeable for it to run.
 
Old 11-02-2006, 08:35 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
I'm using the 2.6.17.13 kernel with udev and without hotplug. So far, everything seems to work well, and I've used udev to implement persistent naming for some usb devices. Thus kernel 2.6 + udev seem to be a good combination as far as I can tell.
 
Old 11-03-2006, 05:17 AM   #5
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Original Poster
Rep: Reputation: 63
Hi all,

thank you so so very much for taking time to reply to me.

Interestingly: as albhaf pointed out, I did have that process running, however it was in addition to the hotplug running too.

I went into my /etc/rc.d/ folder and made hotplug not executable and the udev executable, reboot and crossed fingers....

and.

HOLY COW!!!! My boot process is lightening fast wowzers!

I was putting off loading up my old pc's with slack11, but now after seeing this, I cannot wait to load them.

Thanks again.
 
Old 11-08-2006, 02:13 PM   #6
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
Hmm interesting that you guys are running udev successfully. I read on another thread that udev broke someone's X configuration.

I'm going to give udev a try. I don't like to see delays during boot time(i.e. hotplug and ldconfig).
 
Old 11-09-2006, 02:22 AM   #7
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: debian, rocky, slackware
Posts: 131

Rep: Reputation: 25
Quote:
I don't like to see delays during boot time(i.e. hotplug and ldconfig).
See also this thread on backgrounding ldconfig
http://www.linuxquestions.org/questi...d.php?t=450803
 
Old 11-09-2006, 05:22 AM   #8
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Another tip someone gave was to let idconfig run during shutdown. Who cares how long it takes for it to shutdown...
 
Old 11-09-2006, 10:06 AM   #9
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
Wow, what a difference in boot speed!

No hotplug + ldconfig tip to run it 5 minutes after system is running.

Gotta Love It!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack11 udev question syvy Slackware 8 10-09-2006 03:26 AM
Udev, rc.S & rc.hotplug interactions SlackwareInAZ Slackware 3 08-17-2006 06:30 PM
udev / usb / hotplug rigelan Slackware 4 07-28-2006 03:56 PM
udev, hotplug and kernel hussam Linux - General 2 02-18-2006 11:01 PM
udev+hotplug+2.6.6=questions shilo Slackware 4 05-31-2004 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration