LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 10-25-2006, 05:11 PM   #1
bryankaplan
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware
Posts: 22

Rep: Reputation: 15
boot stalls when detecting hardware - slack 11 on Dell M70


Hi, I have installed Slack 11 from DVD onto a Dell M70. My boot process is stalling at:
Detecting hardware: /etc/rc.d/rc.hotplug.start

The first errors to appear are:
ata: 0x1f0 IDE port busy
ata: 0x170 IDE port busy
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2

Then, after some further booting, I get
Detecting hardware: /etc/rc.d/rc.hotplug.start
and the system stalls.

I've googled these errors, but I haven't found anything that seems helpful. I can boot off the install DVD and mount the hard drive, but I'm not sure where to start diagnosing this problem.

Last edited by bryankaplan; 10-25-2006 at 05:12 PM.
 
Old 10-26-2006, 08:03 AM   #2
oliv
LQ Newbie
 
Registered: Oct 2006
Posts: 22

Rep: Reputation: 15
You can boot your system by giving nohotplug on the command line (or by making the /etc/rc.d/rc.hotplug non executable).

Your problem is probably due to a bad module; you can blacklist modules that give problem in /etc/hotplug/blacklist. To know that guilty module you will have to proceed by trials and errors. Watch the output of dmesg, the content of /var/log/messages. You can see your loaded modules with the command lsmod
 
Old 10-26-2006, 02:45 PM   #3
bryankaplan
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware
Posts: 22

Original Poster
Rep: Reputation: 15
Well, I was at least able to get the system to boot by chmoding /etc/rc.d/rc.hotplug -- so thanks -- but I'm at a loss as to what values I should try blacklisting. I'm not sure what to look for in /var/log/messages and /var/log/dmesg ...

The last 2 lines in /var/log/messages are:
Oct 26 11:11:11 m70 kernel: cs: IO port probe 0x0a00-0x03af: clean.
Oct 26 11:11:11 m70 kernel: cs: IO port probe 0x0a00-0x0aff: clean.

The last 2 lines in dmesg are:
agpgart: no supported devices found.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices

What exactly am I looking for?
 
Old 10-27-2006, 09:46 AM   #4
oliv
LQ Newbie
 
Registered: Oct 2006
Posts: 22

Rep: Reputation: 15
Finding the culprit

Quote:
Originally Posted by bryankaplan
Well, I was at least able to get the system to boot by chmoding /etc/rc.d/rc.hotplug -- so thanks -- but I'm at a loss as to what values I should try blacklisting. I'm not sure what to look for in /var/log/messages and /var/log/dmesg ...

The last 2 lines in /var/log/messages are:
Oct 26 11:11:11 m70 kernel: cs: IO port probe 0x0a00-0x03af: clean.
Oct 26 11:11:11 m70 kernel: cs: IO port probe 0x0a00-0x0aff: clean.

The last 2 lines in dmesg are:
agpgart: no supported devices found.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices

What exactly am I looking for?
I will try to suggest some hacks to find the culprit; let me know if it works.

1) give the option SHELLOPTS=xtrace at the kernel command line, before booting (if the entry on lilo is "Linux" type at the lilo prompt Linux SHELLOPTS=xtrace); and boot with hotplug enabled. This option will cause the shell to print out every command it tries to execute, with luch you will see the command that cause the hang; and you will be able to blacklist the wrong module.

2) Boot without hotplug and lauch it by hand afterwards :
sh /etc/rc.d/rc.hotplug start

When your system hangs; open another console and view the output of ps -A -F (the lines are cutted on the edsge of the terminal, best to type ps -A -F | less or redirect the output to a file. This list all command that the system are executing, normally you wil find the culprit.

If your see that the command that cause the hang is modprobe <something> or insmod <something>; then put <something> in /etc/hotplug/blacklist.
 
Old 10-28-2006, 12:21 AM   #5
bryankaplan
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware
Posts: 22

Original Poster
Rep: Reputation: 15
solved

Thanks. I actually ended up solving the problem by running tail -f /var/log/syslog in one tty while manually executing /etc/rc.d/rc.hotplug in another. The culprit turned out to be ahci, and blacklisting it seems to work perfectly.

I don't quite understand what I've disabled by blacklisting ahci, but it is working.
 
Old 10-31-2006, 04:34 PM   #6
cyberwiz
LQ Newbie
 
Registered: May 2003
Location: The Netherlands
Distribution: Salckware 8.0
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by bryankaplan
Thanks. I actually ended up solving the problem by running tail -f /var/log/syslog in one tty while manually executing /etc/rc.d/rc.hotplug in another. The culprit turned out to be ahci, and blacklisting it seems to work perfectly.

I don't quite understand what I've disabled by blacklisting ahci, but it is working.

Thanks bryankaplan. You helped me solve the same issue with Slak 11 on my Latitude 610


Dimi
 
Old 10-31-2006, 08:19 PM   #7
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 30
Just as a little info...

You can get a internal description of a module by with
"modinfo <module name>"

It seems like AHCI has something to do with libata or ATA/SATA drives...
 
  


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
no hard drive detected .. RHE3 install on a dell m70 laptop hutcheson83 Linux - Hardware 1 06-22-2006 08:25 PM
sound problems Debian/testing Dell M70 anneser Linux - Laptop and Netbook 2 03-04-2006 04:28 PM
boot problem:laptop stops at the detecting hardware to find cd drives harys Linux - Laptop and Netbook 1 02-14-2006 02:23 PM
Problems with external display on Dell Precision M70 gugrim Linux - Laptop and Netbook 7 11-17-2005 03:18 PM
RH 9 stalls detecting hardware with Audigy rparkes Linux - Hardware 1 07-27-2003 01:01 AM


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

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