LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-03-2006, 02:47 PM   #16
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled

No, you don't need hotplug at all.
Just add the modules you need/use to /etc/rc.d/rc.modules and removepkg hotplug
 
Old 05-03-2006, 04:25 PM   #17
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
You CAN run udev 090+ on slackware 10.0. I am actually running it RIGHT now, with no ill effects. Just the benefits of finally ditching the horrible hotplug entirely.

However, you _MUST_ have at least kernel 2.6.15 (16 probably best) or your machine will not be able to run the new versions of udev. Just compile a new kernel then install the new udev.
 
Old 05-03-2006, 07:57 PM   #18
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Original Poster
Rep: Reputation: 33
Well, I'll not be able to install 10.2 until I can download the second disk, which won't be until saturday when I've arranged to have access to high speed internet.

Thank you (plural) for your help thus far, I'll be back to report sucess or failure.
 
Old 05-03-2006, 08:44 PM   #19
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Rep: Reputation: 30
Quote:
Originally Posted by pdw_hu
No, you don't need hotplug at all.
Just add the modules you need/use to /etc/rc.d/rc.modules and removepkg hotplug
Sorry to jump in like this, but my boot time is fairly long too. My system sits at hotplug at startup.

All the modules from ls modules, are the ones I would put in rc.modules? And what is the syntax for that particular file? Right now I load some modules at startup via rc.local/modprobe module.
 
Old 05-03-2006, 08:54 PM   #20
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791

Rep: Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881
what kernel version did you use? Udev requires 2.6.x kernel, probably 2.6.16.x will be a good start
 
Old 05-03-2006, 09:24 PM   #21
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Rep: Reputation: 30
I use 2.6.13 from the /testing directory. I should upgrade to a later one.

Oh, and I use Udev 0.70 from -current.
 
Old 05-03-2006, 10:05 PM   #22
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Original Poster
Rep: Reputation: 33
hsimah-- Back when I was using hotplug, I cut down my boot time by switching off the executable bit of /etc/rc.d/*hotplug* and saying "y" instead of "m" for the kernel drivers I knew I needed to use. I'm sure there are advantages to using modules, but since I needed very few devices all the time, it worked fine. 'Course, I may've screwed something up and just not noticed..
 
Old 05-04-2006, 03:02 AM   #23
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791

Rep: Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881Reputation: 1881
you will gain more if you use kernel 2.6.16.x and above and use the latest udev (0.71 if you want to follow Pat or 0.90 if you want to use Piter Punk's packages)
 
Old 05-04-2006, 11:07 AM   #24
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Quote:
Originally Posted by hsimah
All the modules from ls modules, are the ones I would put in rc.modules? And what is the syntax for that particular file? Right now I load some modules at startup via rc.local/modprobe module.
Yes all of those (if you use them all, but for simplicity add all of them)
The syntax is easy: /sbin/modprobe modulename (you can even delete the whole file, and create a new one like mine: )

pdw@skogen:~$ cat /etc/rc.d/rc.modules
#!/bin/sh
# Instert NVIDIA module
/sbin/modprobe nvidia NVreg_EnableAGPFW=1

(other crap is in the kernel, don't be suprised i just have 1 module)
 
Old 05-05-2006, 09:46 AM   #25
ledow
Member
 
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241

Rep: Reputation: 34
Personally, I always have hotplug enabled - I have far too much strange/foreign/borrowed hardware connected to my machine to faff about compiling my kernel each time. I wanna plug something in and have it work if it can. Therefore, I love modules and don't care that they are taking 150Mb on my machine (which is a pittance, to be honest).

Additionally, my computer is mostly on all the time so the boot-time is irrelevant for myself but I can understand the frustation of a slow boot time - I work in schools where computers take FIVE MINUTES to get to a login screen and a further five to get a functional desktop up.

I don't see disabling hotplug as an option because of the time it saves me from having to find out which module does what each time I plug something in. I'd gladly sacrifice a minute or so boot-up time for that. More important is to find out why hotplug/udev is taking so long rather than how to eliminate it entirely. Chances are that upgrading will introduce updated blacklists for those modules that take ages to probe when the hardware isn't present etc. and your boot time will decrease dramatically.

However, it does sound like hotplug/udev is the least of his worries at the moment. :-)
 
Old 05-08-2006, 08:24 AM   #26
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
You asked for links on udev ... do you know these:

http://ftp.kernel.org/pub/linux/util...tplug/udev-FAQ
http://www.reactivated.net/writing_udev_rules.html

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to have udev start at boot RVDowning Mandriva 9 06-09-2010 02:51 PM
udev boot error alma Linux - Newbie 3 11-27-2005 11:51 AM
udev takes long time to create /dev/usbhd symlink Yalla-One Slackware 4 04-04-2005 04:27 AM
2.6.10 boot stopping at udev.... edM Slackware 7 02-23-2005 03:13 PM
memory used increases anikj Linux - General 3 11-05-2003 03:28 AM

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

All times are GMT -5. The time now is 09:28 AM.

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