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 10-10-2008, 09:37 AM   #1
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
Machine won't start - hangs at /etc/urandom step...


I upgraded kernels last night from 2.6.26 to 2.6.27. I did the same process as before and I have rebuilt kernels about a thousand times.

But during the boot process, it would hang at the step that starts with /etc/urandom.

A quick search didn't turn anything up. I understand what /etc/urandom is for and I don't understand why a computer would hang up there. I have never heard of this problem before. Anyway, there was no kernel panic. It just sat that way for seven hours.

When I tried to reboot my old kernel [the one I had been using before for a month or two] it would hang in the same step.

This leads me to believe it isn't the kernel if neither will boot properly.

Any ideas?
 
Old 10-10-2008, 11:07 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You need to replace /etc/rc.d/rc.udev with /etc/rc.d/rc.udev.new. Apparently something was changed in the latest udev and it does not like /dev/urandom during startup.
 
Old 10-10-2008, 11:59 AM   #3
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
Will the rc.udev.new be blank?
 
Old 10-10-2008, 03:20 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I'm not sure if I understand what you mean. What I told you is to replace the current rc.udev with rc.udev.new. Make a backup of your current rc.udev just in case:
Code:
cp /etc/rc.d/rc.udev /etc/rc.d/rc.udev.bak
mv /etc/rc.d/rc.udev.new /etc/rc.d/rc.udev
 
Old 10-10-2008, 05:48 PM   #5
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Original Poster
Rep: Reputation: 30
Is this a necessary step everytime that udev is upgraded?
 
Old 10-10-2008, 07:02 PM   #6
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
Quote:
Originally Posted by spaceballs View Post
Is this a necessary step everytime that udev is upgraded?
It is considered good practice to always check for .new files after upgrading packages.
Ideally, you should check the current file with the .new file and analyze the differences.

I use slackpkg for keeping my systems up-to-date and this tool checks for the existence of .new files and offers to show the differences.

Slackpkg is included in the 'extra' folder on the Slackware CD or DVD.
 
Old 10-10-2008, 07:39 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
i guess changing with new .new file won't hurt, unless you totally modified the config file. In that case, you will have to merge both files.

I have used 2.6.27 and it boots fine here (also using udev-130)
 
  


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
Machine hangs on startup LDJ Ubuntu 12 04-17-2007 01:21 AM
fedora linux core 5 hangs in boot step, please help ravifrequent Fedora 9 08-17-2006 12:07 PM
newbie next step; quick start basic secure browsing robertn Linux - Security 6 03-26-2004 03:27 PM
Can I gett KPPP to start when I start a browser on a network machine? duffboygrim Linux - Networking 0 03-25-2004 04:49 PM
Redhat 8.0 hangs on loading ohci1394. How can I get past this step. Brian1 Linux - General 4 01-05-2003 05:02 PM

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

All times are GMT -5. The time now is 07:08 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
Open Source Consulting | Domain Registration