LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-18-2004, 09:11 AM   #1
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
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)
 
Old 09-18-2004, 09:20 AM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Try to boot into runlevel 1 to get into the system.
 
Old 09-18-2004, 09:24 AM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
uninstall it

OR

disable the startup script in......../etc/hotplug
I believe
 
Old 09-18-2004, 12:12 PM   #4
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Original Poster
Rep: Reputation: 30
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.
 
Old 09-19-2004, 09:21 AM   #5
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Original Poster
Rep: Reputation: 30
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.
 
Old 09-20-2004, 07:12 AM   #6
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Original Poster
Rep: Reputation: 30
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.
 
  


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
Preventing Linux from booting in Single User Mode LinuxSeeker Linux - Security 8 08-28-2009 07:12 AM
Preventing tresspassing from another machine ??? bipinkdas Linux - Security 2 12-21-2004 08:26 AM
Dual-booting SUSE 9.1 on Win 98se machine dauntless Linux - Newbie 3 06-10-2004 04:28 AM
Firmware/Hotplug problem with Hauppauge DEC2540-T, Hotplug and MythTV bezoomny Linux - Hardware 0 05-17-2004 01:37 PM
harddrake error while machine is booting Jayptr1 Mandriva 1 11-02-2003 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration