LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   rc.hotplug start hangs (https://www.linuxquestions.org/questions/slackware-14/rc-hotplug-start-hangs-494418/)

odconsult 10-21-2006 02:38 PM

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!

Mr Marmmalade 10-21-2006 02:40 PM

As root this aught to switch it off;

$ chmod -x /etc/rc.d/rc.hotplug

odconsult 10-21-2006 02:43 PM

how ?

because i cannot boot.....

thanks again!

Mr Marmmalade 10-21-2006 02:46 PM

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.

tuxdev 10-21-2006 03:48 PM

How long is forever? rc.hotplug need a lot of time to do its thing.

odconsult 10-21-2006 04:53 PM

i tried several times and once waited for an hour.....

arubin 10-21-2006 05:50 PM

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

cathectic 10-22-2006 07:02 AM

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.

alienDog 10-22-2006 08:09 AM

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.

seraph-seph 10-22-2006 03:45 PM

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

Indiestory 10-22-2006 03:55 PM

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


All times are GMT -5. The time now is 03:30 PM.