Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-11-2008, 10:06 PM   #1
Registered: Feb 2008
Posts: 201

Rep: Reputation: 31
Slackware: erratic boot times; long pause at the end.

My Slackware 12.1 install hangs as it boots. It hangs at the udev-trigger --retry-failed (Topic about this I read about here: but only for about 10 seconds or so, it's still annoying.
But the biggest hang is at the very end, about 30 - 45 seconds, I would say. It gets to the end, the part where it says loading the gpm mouse support, and then after about 30 seconds it gives me the log in. I tried disabling the mouse line, but then it just hangs at a line about alsa. I don't know what it is doing at this time because it doesn't seem to be doing anything.
My dmesg is about 600 lines long right now, next time I reboot I'll include it, I can't reboot right now. Are there any other files I should give that would give me some clues?
Old 08-11-2008, 10:28 PM   #2
Senior Member
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,036

Rep: Reputation: 185Reputation: 185
this is most likely dhcpd trying to get an IP from eth0 when it's unplugged
I don't know why but my system incests that eth0 needs to get an IP address from dhcp
you could put some
echo "starting this "
echo "configuring that "
lines in your /etc/rc.d scripts
to track this down
delete your log files then use touch to make empty log files
much much faster than deleting lines in an editor
this way you know what boot the log file is about

Last edited by rob.rice; 08-11-2008 at 10:46 PM.
Old 08-11-2008, 11:49 PM   #3
Registered: Feb 2008
Posts: 201

Original Poster
Rep: Reputation: 31
Huh, that would make sense, I have always had terrible problems with my internet.
I use atheros madwifi drivers, I don't use eth0, but ath0. Got the drivers off of Alien's wiki, there used to be a pause when the bootup procedure reached the internet connection point. Here is the code from /etc/rc.d/rc.inet1
# The kernel has just told us the cable isn't even plugged in, but we will
            # give any DHCP server a short chance to reply anyway:
            echo "No carrier detected on ${1}.  Reducing DHCP timeout to 
1 second."
I thin it reads ${1} as eth0, and it doesn't see a carrier because it should be looking for ath0. It used to be that DHCP_TIMEOUT was 10, but it took too long, so I changed it. There seems to be about a 30%-ish chance that my internet works when I log in, if it doesn't, I typically have to run a script as root that I made.
/etc/rc.d/rc.inet1 ath0_start
dhcpcd ath0
I know I could put an conditional in there so that it would automatically run if the computer failed to initially start the internet, but I never bothered. Could I edit the boot sequence to replace simply running /etc/rc.d/rc.inet1 with /etc/rc.d/rc.inet1 ath0_start?
Old 08-12-2008, 01:24 AM   #4
Senior Member
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
If you arent' connected to the internet on the system startup, then there might be very long pause when sendmail daemon starts (until connection is timed out, which is more than 30 sconds).
Old 08-12-2008, 09:46 AM   #5
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
If you arent' connected to the internet on the system startup, then there might be very long pause when sendmail daemon starts (until connection is timed out, which is more than 30 sconds).
To be more specific, if a box is not assigned to a domain, then sendmail takes forever to load. Add a domain name (for example, localdomain) to the box name in /etc/hosts and this will solve sendmail loading issues. A quick check if sendmail is the cause of the delay is simply disabling the executable bit on /etc/rc.d/rc.sendmail.


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
LXer: Announcing End of Life times for various Legacy supported releases. LXer Syndicated Linux News 0 07-23-2006 01:33 AM
Long pause during OO load mooreted Slackware 3 12-01-2004 08:33 AM
Long pause at audit stage of boot up Henster Linux - General 4 09-25-2004 11:42 PM
Long pause during boot up the theorist Fedora 7 06-05-2004 01:51 PM
long pause after typing Startx & (Xfree86 4.3.0) bluester Linux - General 6 04-05-2003 08:14 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration