Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-03-2006, 02:47 PM
|
#16
|
Member
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346
Rep:
|
No, you don't need hotplug at all.
Just add the modules you need/use to /etc/rc.d/rc.modules and removepkg hotplug
|
|
|
05-03-2006, 04:25 PM
|
#17
|
Member
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606
Rep:
|
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.
|
|
|
05-03-2006, 07:57 PM
|
#18
|
Member
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162
Original Poster
Rep:
|
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.
|
|
|
05-03-2006, 08:44 PM
|
#19
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173
Rep:
|
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.
|
|
|
05-03-2006, 08:54 PM
|
#20
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791
|
what kernel version did you use? Udev requires 2.6.x kernel, probably 2.6.16.x will be a good start
|
|
|
05-03-2006, 09:24 PM
|
#21
|
Member
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173
Rep:
|
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.
|
|
|
05-03-2006, 10:05 PM
|
#22
|
Member
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162
Original Poster
Rep:
|
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..
|
|
|
05-04-2006, 03:02 AM
|
#23
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791
|
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)
|
|
|
05-04-2006, 11:07 AM
|
#24
|
Member
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346
Rep:
|
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)
|
|
|
05-05-2006, 09:46 AM
|
#25
|
Member
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241
Rep:
|
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. :-)
|
|
|
05-08-2006, 08:24 AM
|
#26
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
|
|
|
All times are GMT -5. The time now is 09:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|