LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Hotplug - preventing machine from booting (https://www.linuxquestions.org/questions/linux-hardware-18/hotplug-preventing-machine-from-booting-232129/)

vasudevadas 09-18-2004 09:11 AM

Hotplug - preventing machine from booting
 
Just now I messed around with the hardware in my machine - I tried to make my DVD drives primary and secondary master instead of primary master and primary slave as they were. I found that having done this Slackware would no longer boot. It gets as far as hotplug (sorry can't remember the exact message it prints) and then stops. No error message though. This is a custom compiled 2.6.7 kernel. I can still boot into the original 2.4.26 distro kernel.

I quickly put the drives back the way they were before, primary master and slave. However, the 2.6.7 kernel still will not boot, hanging up at the same point (hotplug).

Obviously I cannot post a dmesg output for you. Does anybody have any idea how I might investigate this problem? Or can someone tell me how to disable this hotplug thing? I assume it is for swapping of hardware while the machine is up, which is not something I am going to do anyway.

Quick overview of the hardware, since people always ask for that:

root@radhagovinda:~# lspci
00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia audio [Via VT82C686B] (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 1394) Controller (rev a3)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:04.0 Ethernet controller: Marvell Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13)
01:0b.0 RAID bus controller: CMD Technology Inc Silicon Image SiI 3112 SATARaid Controller (rev 02)
03:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Radeon 9600]
03:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600] (Secondary)

ToniT 09-18-2004 09:20 AM

Try to boot into runlevel 1 to get into the system.

320mb 09-18-2004 09:24 AM

uninstall it

OR

disable the startup script in......../etc/hotplug
I believe

vasudevadas 09-18-2004 12:12 PM

OK I removed the package hotplug-2004_01_05-noarch-3. Now I can boot my 2.6.7 kernel again. That's good. Unfortunately my internet connectivity is gone. This now goes for my whole Slackware installation (all kernels) so I have to boot into Mandrake instead. This is getting quite serious now. Unfortunately networking is one area where my Linux admin skills are sorely lacking.

vasudevadas 09-19-2004 09:21 AM

In the absence of any other ideas, I reinstated hotplug. Now once again I cannot boot the 2.6.7 kernel, and what's more I *still* have no internet connectivity when I boot into Slackware using the 2.4.26 kernel.

This is now officially a *disaster.* Without internet capability my Slackware installation is no use to me whatsoever.

vasudevadas 09-20-2004 07:12 AM

An update. I reinstalled my Slackware installation, to get back to where I was (minus the 2.6.7 kernel). Everything fine. I compiled the 2.6.7 kernel, and once again it will not boot because of hotplug. It doesn't like something about my hardware since I fiddled about with it, although I don't know what as I'm sure I put things back the way they were. I guess I could always open it up again to take a look. :(

This time, I disabled hotplug by passing "nohotplug" as an option to the kernel. This made the 2.6.7 kernel boot, but once again all internet connectivity is gone. At least this time I still have internet use with the default 2.4.26 kernel though.

I checked that it wasn't a DNS problem; it doesn't seem to be, because BIND is running and seems to be working (it cannot find any servers when running on the 2.6.7 kernel - that seems consistent). The internet daemon inetd also seems to be running (according to "grep -ef | ps inetd") so it's not that.

It does look like it's that the ethernet controller isn't up. I need to do some more reading to find out how I can investigate that.


All times are GMT -5. The time now is 08:57 PM.