LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-21-2006, 02:38 PM   #1
odconsult
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
rc.hotplug start hangs


Hello gurus,

I am a newbie on slackware.

i installed slackware 11 on my system with asus p5rd1-v motherboard P4 3.2GHz processor with a sata disk on a raid controller.
There is also an internal cardreader connected to the motherboard.

I installed everything from the DVD.

The first time, everything started smoothly from disk, also KDE started.

But after that, everytime i start the system, it goes to rc.hotplug start and keeps there forever.

How can i switch off rc.hotplug ?
can i do this from the boot prompt ?

Thanks!
 
Old 10-21-2006, 02:40 PM   #2
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Slackware + Debian
Posts: 185

Rep: Reputation: 16
As root this aught to switch it off;

$ chmod -x /etc/rc.d/rc.hotplug
 
Old 10-21-2006, 02:43 PM   #3
odconsult
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
how ?

because i cannot boot.....

thanks again!
 
Old 10-21-2006, 02:46 PM   #4
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Slackware + Debian
Posts: 185

Rep: Reputation: 16
Ah. you might be able to bring up another terminal? Do that via Ctrl+Alt+F2. If this doesn't work you may want to resort to booting from the DVD & then doing the line I gave above.

Edit: I'm not even sure if turning off hotplug is a good idea. Could someone else advise on this point? I'm not sure if it'd affect any USB things (mouse) you may have connected.

Last edited by Mr Marmmalade; 10-21-2006 at 02:47 PM.
 
Old 10-21-2006, 03:48 PM   #5
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
How long is forever? rc.hotplug need a lot of time to do its thing.
 
Old 10-21-2006, 04:53 PM   #6
odconsult
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
i tried several times and once waited for an hour.....
 
Old 10-21-2006, 05:50 PM   #7
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,211

Rep: Reputation: 57
try booting up with the installation disk then

mkdir /repair
mount /dev/* /repair (where * is your / partition)
chroot /repair
chmod -x /etc/rc.d/rc.hotplug

If slackware 11 is run with a 2.6 kernel I do not think rc.hotplug is even started
 
Old 10-22-2006, 07:02 AM   #8
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
Quote:
Originally Posted by Mr Marmmalade
Edit: I'm not even sure if turning off hotplug is a good idea. Could someone else advise on this point? I'm not sure if it'd affect any USB things (mouse) you may have connected.
If you are using Slackware 11.0 + a 2.6 kernel, you don't need hotplug - udev takes over its role.

If you are using a 2.4 kernel, then you will need hotplug if you plan on hotplugging devices.
 
Old 10-22-2006, 08:09 AM   #9
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
It's also possible to temporarily bypass hotplug by entering 'Linux nohotplug' at the lilo prompt. Thus, no need to boot from CD or DVD just because hotplug hangs.
 
Old 10-22-2006, 03:45 PM   #10
seraph-seph
Member
 
Registered: Jul 2005
Location: /dev/ATX3
Distribution: Slackware 11(kernel 2.6.17.13), SuSE 10, Caldera, CentOS 4.3
Posts: 38

Rep: Reputation: 15
Hi

You might have problems with hardware and the Kernel compiled as it comes, my recomendation, boot with the installation dvd, Then when it asks you about which kernel do you want to use type
Code:
"kernel.installed" root=/dev/sda"X" noinitrd
where "kernel.installed" = bare.i, huge26.s, scsi.i, etc and "X" your root partition.

You would be able to run linux and then remove chmod from boot stage.
Code:
chmod -x /etc/rc.d/rc.hotplug
Hope it works for you. Let us know

Mario
 
Old 10-22-2006, 03:55 PM   #11
Indiestory
Member
 
Registered: Aug 2006
Location: Aberdeen, Scotland
Distribution: OpenBSD
Posts: 164
Blog Entries: 1

Rep: Reputation: 30
could he not just boot into single user mode ( runlevel 1) and fix it from there? Sorry only know how to do this with ppc machines ,but that would make the most sense and would be the easest way i can think of
 
  


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
rc.hotplug enabled hangs on boot davemar Slackware 4 09-26-2006 06:59 PM
System hangs on hotplug boot up HELP!!! PLZ!! tdking19 Slackware 2 03-24-2005 12:46 PM
slack 10.1 hangs after hotplug chocloman Slackware 1 03-19-2005 04:12 PM
System hangs on hotplug, modules tdking19 Slackware 1 03-16-2005 04:07 PM
rc.hotplug hangs Caesar Slackware 5 02-20-2005 05:39 PM


All times are GMT -5. The time now is 11:29 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration