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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-30-2004, 03:35 PM
|
#1
|
|
Senior Member
Registered: May 2004
Distribution: Slackware 13.0 32-bit
Posts: 1,973
Rep: 
|
rc.hotplug
when i startup linux, i see the service rc.hotplug for hardware detection, and what I want to know is, is it safe to disable this service from starting up, mainly because it is the only service that takes too damn long (around a full minute or so to start) , and i hate waiting that long. If I disable this service from starting up, will my current hardware that linux found not work anymore? Or if i needed to add new hardware, would I need this service?
|
|
|
|
08-30-2004, 03:54 PM
|
#2
|
|
Member
Registered: Aug 2004
Location: USA
Distribution: FreeBSD-5.4-STABLE
Posts: 252
Rep:
|
From what I know, Hotplug is a service that automaticaly detects and configures hardware. It takes a while to start because of the time it takes to probe hardware and configure it. If you Disable Hotplug it your Hardware will not be automaticaly updated at every boot.
predator.hawk, local slack freak.
|
|
|
|
08-30-2004, 04:09 PM
|
#3
|
|
Member
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262
Rep:
|
On 2.4.x disabling Hotplug is barable. When you get into 2.6.x and udev (automatic /dev content creation) territory you are pretty much screwed without Hotplug.
On a different tangent:
Y does it take so long for your hotplug? On my Pentium II 300Mhz it takes several seconds.
|
|
|
|
08-30-2004, 04:46 PM
|
#4
|
|
Senior Member
Registered: May 2004
Distribution: Slackware 13.0 32-bit
Posts: 1,973
Original Poster
Rep: 
|
well im using the 2.4.26 , and im relatively new to linux, and right now i seem to have all the hardware i need, i don't really see myself adding anything else anytime soon, but im still unclear of what exactly will happen if I disable it, or if thats not really recommend it, is there any way to speed it up, cause it really does just take too long
|
|
|
|
08-30-2004, 05:15 PM
|
#5
|
|
Member
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484
Rep:
|
Quote:
|
Y does it take so long for your hotplug? On my Pentium II 300Mhz it takes several seconds.
|
On my Pentium 4 2.8Ghz, it takes 45 seconds or so. Oddly enough, my Pentium 166Mhz is about the same.
|
|
|
|
08-30-2004, 05:28 PM
|
#6
|
|
Senior Member
Registered: May 2004
Distribution: Slackware 13.0 32-bit
Posts: 1,973
Original Poster
Rep: 
|
my system is a AMD K6-II 450Mhz with 448MB of ram, two hard drives, a 12 and a 19GB , linux is installed on the 19GB which is the slave, not master. Perhaps linux is running the second drive in PIO mode , rather than DMA (which is another thing i need to check, and see how i can see what devices are in DMA mode, and how to designate devices to DMA mode to possibly speed things up a bit)
the hotplug service takes almost a minute and few seconds to run
|
|
|
|
08-31-2004, 12:17 AM
|
#7
|
|
Member
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262
Rep:
|
Quote:
Originally posted by suslik
Y does it take so long for your hotplug? On my Pentium II 300Mhz it takes several seconds.
|
May be it's faster for me cause I run 2.6.x? It seriosly takes 3-8 seconds.
Pentium II 300Mhz
Intel 440chipset.
PCI Radeon 9100
ISA Soundblaster Awe
PCI 3Com 905 net card.
nothing fancy, still...
|
|
|
|
08-31-2004, 12:29 AM
|
#8
|
|
Senior Member
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132
Rep:
|
Maybe what you could try this:
1) boot up with hotplug enabled
2) "lsmod" to see what modules are loaded. Write them down.
3) Make sure those modules are listed in /etc/rc.d/rc.modules. Read the file, you'll understand the format.
4) "chmod -x /etc/rc.d/rc.hotplug" to disable hotplug.
5) "chmod +x /etc/rc.d/rc.modules" to make sure rc.modules is run at boot time.
6) "reboot"
7) "lsmod" to make sure the same modules got loaded as last time.
8) If something is missing, add it to /etc/rc.d/rc.modules
9) Keep rebooting and adding until you get it right.
As long as the hardware doesn't change, that should work for you. Be amazed at your new boot speed. You might want to also check out this thread: http://www.linuxquestions.org/questi...hreadid=221874 . there are a few more tips for speeding up the boot process. Use at your own risk.
|
|
|
|
08-31-2004, 07:55 AM
|
#9
|
|
Member
Registered: Jan 2003
Posts: 217
Rep:
|
You can safely disable rc.hotplug with the 2.6.x.x kernel as long as you also disable rc.udev.
|
|
|
|
08-31-2004, 07:56 AM
|
#10
|
|
Member
Registered: Feb 2004
Location: FRG, EU
Distribution: Slackware current
Posts: 51
Rep:
|
Quote:
Originally posted by suslik
May be it's faster for me cause I run 2.6.x? It seriosly takes 3-8 seconds.
|
It's around 8-10 seconds with my 2.4.27 kernel and Pentium 3 with 550MHz, still going to try shilo's tip because I'm not really someone who regularly buys new hardware, so I guess I can do without hotplug. 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:29 PM.
|
|
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
|
|