LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-30-2004, 04:35 PM   #1
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,085

Rep: Reputation: 212Reputation: 212Reputation: 212
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?
 
Old 08-30-2004, 04:54 PM   #2
predator.hawk
Member
 
Registered: Aug 2004
Location: USA
Distribution: FreeBSD-5.4-STABLE
Posts: 252

Rep: Reputation: 30
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.
 
Old 08-30-2004, 05:09 PM   #3
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
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.
 
Old 08-30-2004, 05:46 PM   #4
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,085

Original Poster
Rep: Reputation: 212Reputation: 212Reputation: 212
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
 
Old 08-30-2004, 06:15 PM   #5
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
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.
 
Old 08-30-2004, 06:28 PM   #6
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,085

Original Poster
Rep: Reputation: 212Reputation: 212Reputation: 212
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
 
Old 08-31-2004, 01:17 AM   #7
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
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...
 
Old 08-31-2004, 01:29 AM   #8
shilo
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: Reputation: 49
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.
 
Old 08-31-2004, 08:55 AM   #9
jymbo
Member
 
Registered: Jan 2003
Posts: 217

Rep: Reputation: 30
You can safely disable rc.hotplug with the 2.6.x.x kernel as long as you also disable rc.udev.
 
Old 08-31-2004, 08:56 AM   #10
the who
Member
 
Registered: Feb 2004
Location: FRG, EU
Distribution: Slackware current
Posts: 51

Rep: Reputation: 15
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.
 
  


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
To hotplug or not to hotplug? greythorne Arch 3 06-07-2005 06:55 AM
Firmware/Hotplug problem with Hauppauge DEC2540-T, Hotplug and MythTV bezoomny Linux - Hardware 0 05-17-2004 02:37 PM
hotplug? DrGnome Linux - Software 8 04-07-2004 11:35 AM
Hotplug Sargy Linux - Software 1 04-04-2004 05:01 PM
Hotplug megaspaz Linux - Laptop and Netbook 8 09-28-2003 02:20 PM


All times are GMT -5. The time now is 02:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration