LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-11-2008, 11:06 PM   #1
Romanus81
Member
 
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: http://www.linuxquestions.org/questi...t=udev+trigger) 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, 11:28 PM   #2
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 796

Rep: Reputation: 119Reputation: 119
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 11:46 PM.
 
Old 08-12-2008, 12:49 AM   #3
Romanus81
Member
 
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
Code:
# 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."
            DHCP_TIMEOUT[$i]=1
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.
Code:
#!/bin/bash
/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, 02:24 AM   #4
ErV
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, 10:46 AM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
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.
 
  


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


All times are GMT -5. The time now is 08:48 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration