LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-09-2003, 03:50 PM   #1
Moszer
LQ Newbie
 
Registered: Aug 2003
Location: Fargo, ND
Posts: 25

Rep: Reputation: 15
/dev/urandom


Hello,

I'm running Slackware 9.0 as a Nat box and we lost power one night, when it came back I booted up my Nat box again and right after loading both nic drivers it says

"using /etc/random-seed to initialize /dev/urandom"

It pauses for about 30 seconds then says

vs-3050: wait_buffer_until_released: nobody releases buffer (dev (03:02, size 4096, blocknr 30722, count2, list 0, state 0x10019, page c10437a8, (uptodate, clean, unblocked)). Still Waiting (210000000) JDIRyY !JWAIT

A google search turned up nothing, anyone have any ideas?

Thanks!
 
Old 09-09-2003, 04:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
It won't help you much, but maybe you can
ask the guys at namesys ... a quick grep on
/usr/src/linux revealed buffer2.c in fs/reiserfs
as the originator of that message... if you're
sure that the problem is with /dev/urandom,
you might want to look through the slackware
installation packages to check which one (and
how it does it) sets /dev/urandom up.

Cheers,
Tink
 
Old 09-09-2003, 04:47 PM   #3
Moszer
LQ Newbie
 
Registered: Aug 2003
Location: Fargo, ND
Posts: 25

Original Poster
Rep: Reputation: 15
Ok, thanks for the help!

I really don't know what it is that is causing it. I'm guessing that since I can't get to a prompt at all that I will have to boot off a boot disk to fix it. I just don't know what file(s) to replace/fix/delete.
 
Old 09-09-2003, 09:06 PM   #4
Alan Hicks
LQ Newbie
 
Registered: Jun 2002
Location: Lizella Georgia
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
Re: /dev/urandom

Quote:
Originally posted by Moszer
"using /etc/random-seed to initialize /dev/urandom"
alan@redtail:/etc/rc.d$ grep urandom *
rc.0:echo "Saving random seed from /dev/urandom in /etc/random-seed."
rc.0:dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2> /dev/null
rc.6:echo "Saving random seed from /dev/urandom in /etc/random-seed."
rc.6:dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2> /dev/null
rc.S: echo "Using /etc/random-seed to initialize /dev/urandom."
rc.S: cat /etc/random-seed >/dev/urandom
rc.S:dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2> /dev/null
grep: rc.news: Permission denied
grep: rc.samba: Permission denied

Looks to me like you've got some problem with your file system and that file. One boot-up, Slackware executes the following command:

dd if=/dev/urandom of=/etc/random-seed count=1 bs=512 2> /dev/null

That sets up that file. Then at shutdown it does the same thing. It's possible, especially if this NAT ox was on a UPS, that it lost power while trying to do this, and that is causing your problem. My reccomendation?

Boot-up off the slackware live cd and rescue disk, mount your reiserfs partition, and try to dd that byte count to your "${MOUNT_PATH}"/etc/random-seed file. If that doesn't work, get back to us. You may also try alt.os.linux.slackware for help.
 
  


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
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
reading from /dev/urandom in c djgerbavore Programming 5 10-04-2005 12:54 PM
What is adsp0? and why cat /dev/urandom >/dev/adsp0 give me "no such device"? haimeltjnfg Linux - Hardware 2 05-09-2004 10:54 PM
Problem when using /dev/urandom maga_lm Programming 2 03-22-2004 11:25 PM
why did cat /dev/urandom send my printer insane ? qwijibow Linux - Newbie 1 12-01-2003 03:41 AM

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

All times are GMT -5. The time now is 05:11 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