LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-14-2007, 01:30 PM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Bootup delay at /etc/rc.d/rc.udev


There have been a few posts about this with some suggestions posted but none that seem to help my problem.

Anyway I thought I would try to get to the bottom of this since my pc was hanging at the 'trigger udev events...' stage for almost a minute it seems.

By putting in some echoes in rc.udev I find that it is udevsettle that is the problem:

/sbin/udevtrigger $OPT && /sbin/udevsettle --timeout=120

All I have managed to do is make the timeout 45 secs which helps a little but is still too long. Anything less than 45 secs and dhcp is not able to get an ip address and hangs indefinitely in rc.inet1 until I give the 3 fingered salute. I'm guessing that it's because udev hasn't found or initiated my NIC yet(?)

I really don't know where to go from here except to downgrade udev and test, downgrade, test, etc.

If anyone has any thoughts on this or has anything to add please do.
 
Old 11-15-2007, 07:25 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Did you check your '/etc/udev/rules.d/75-network-devices.rules' for the NIC? What about the '/etc/rc.d/rc.inet1.conf' file, settings correct for the device(s)?
 
Old 11-16-2007, 11:48 AM   #3
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Quote:
Originally Posted by dive View Post
There have been a few posts about this with some suggestions posted but none that seem to help my problem.

Anyway I thought I would try to get to the bottom of this since my pc was hanging at the 'trigger udev events...' stage for almost a minute it seems.

By putting in some echoes in rc.udev I find that it is udevsettle that is the problem:

/sbin/udevtrigger $OPT && /sbin/udevsettle --timeout=120

All I have managed to do is make the timeout 45 secs which helps a little but is still too long. Anything less than 45 secs and dhcp is not able to get an ip address and hangs indefinitely in rc.inet1 until I give the 3 fingered salute. I'm guessing that it's because udev hasn't found or initiated my NIC yet(?)

I really don't know where to go from here except to downgrade udev and test, downgrade, test, etc.

If anyone has any thoughts on this or has anything to add please do.
You simply wait for the udev guys to fix this. This is a bit of a "known problem" at this point. It should go away if you actually have a carrier (i.e., a network plugged into) on the ethernet interfaces when it's probing them because that's what it's waiting for.

Yes, it's annoying, but we're Linux users so we don't reboot very often.
 
Old 11-16-2007, 01:25 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by onebuck View Post
Hi,

Did you check your '/etc/udev/rules.d/75-network-devices.rules' for the NIC? What about the '/etc/rc.d/rc.inet1.conf' file, settings correct for the device(s)?
Yep all seems correct.

Quote:
Originally Posted by evilDagmar View Post
You simply wait for the udev guys to fix this. This is a bit of a "known problem" at this point. It should go away if you actually have a carrier (i.e., a network plugged into) on the ethernet interfaces when it's probing them because that's what it's waiting for.

Yes, it's annoying, but we're Linux users so we don't reboot very often.
Yeah mine is on practically 24/7 anyway now, but it is annoying when I used to boot in 30 secs or so.

I do have a carrier from my cable modem afaik (all the leds are on as normal). Strange thing is I tried udev 097 package, but with the rc.udev from 116 and the problem went away. But I had quite a few dhcpd errors and also an error because 097 udevtrigger doesn't seem to recognise the '--retry-failed' switch. But taking this out just made boot up freeze at rc.inet1. Strange.
 
  


Reply



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
udev failed on FC5 bootup ekdya Fedora 2 05-23-2007 10:00 PM
how to shorten the delay of hard disk initialization in bootup linux_hy Fedora 1 04-24-2007 11:56 PM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 03:43 AM
udev hangs on bootup oasizfyre Linux - Newbie 2 08-09-2006 06:46 AM
fsck delay reported bootup time? rmang Linux - General 2 10-30-2005 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:39 AM.

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
Open Source Consulting | Domain Registration