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 07-25-2006, 06:06 AM   #1
nykey
Member
 
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360

Rep: Reputation: 30
INIT: open(/dev/console): Input/output error


Hi. All of a sudden, after a quick install of Slackware and I did everything like always, this error appears at boot time
Code:
Using /etc/random-seed to initialize /dev/urandom.
INIT: open(/dev/console): Input/output error
It stays like that for a couple of minutes, then I see activity at my harddisk and after the login prompt appears and all works fine. Any idea how to fix this, cause instead of that error it should be showing me rc.hotplug's message, ldconfig, etc... Cheers.
 
Old 07-25-2006, 09:14 AM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 69
Maybe you need to change the permissions on /dev/console?
 
Old 07-25-2006, 10:28 AM   #3
nykey
Member
 
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360

Original Poster
Rep: Reputation: 30
What would the permissions for /dev/console be ? This is what I've got
Code:
root@nykey:~# ls -al /dev/console
crw-------  1 root tty 5, 1 2006-07-25 12:14 /dev/console
 
Old 07-26-2006, 05:41 PM   #4
SeekingWisdom
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware 10.2
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by nykey
What would the permissions for /dev/console be ? This is what I've got
Code:
root@nykey:~# ls -al /dev/console
crw-------  1 root tty 5, 1 2006-07-25 12:14 /dev/console
Comparing my permissions to yours, "chmod +w /dev/console" should do the trick.
 
Old 07-26-2006, 06:29 PM   #5
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
that could not be the proper solution...

I've the same permissions as nykey's ...
Code:
$ ls -l /dev/console
crw-------  1 root tty 5, 1 2006-07-21 12:10 /dev/console
how do you have these?
Code:
$ ls -l /dev/urandom /etc/random-seed
crw-rw-r--  1 root root 1, 9 2006-07-21 12:10 /dev/urandom
-rw-------  1 root root 4096 2006-07-21 12:10 /etc/random-seed
 
Old 07-26-2006, 06:38 PM   #6
SeekingWisdom
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware 10.2
Posts: 8

Rep: Reputation: 0
Very interesting - my /dev/console is somehow not owned by root, and has differing permissions. Odd considering I just installed Slack on this machine a few days ago, and have never touched that file.
 
Old 07-26-2006, 08:59 PM   #7
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
Hi. All of a sudden, after a quick install of Slackware and I did everything like always, this error appears at boot time
Which Slackware did you install, and how/how much did you install? This might be unrelated, but I got the same error after installing a base Slackware-current (a/ and a few from l/). I did it the same way I have many times before with slack 10.2 and had installed the packages on another partition from an allready running Slackware. I noticed that when I installed the secondary system, none of my library links were created (libtermcap.so.2 -> libtermcap.so.2.0.8 for instance). I had to create enough of the links manually to be able to chroot into the secondary system then run 'ldconfig' to update the rest of the libraries.

Can you boot to another system (Live CD?) and try to chroot into your broken install? Might give you an indication of the problem.

regards,
...drkstr

**edit**
Quote:
Very interesting - my /dev/console is somehow not owned by root, and has differing permissions. Odd considering I just installed Slack on this machine a few days ago, and have never touched that file.
Slackware uses a variety of users/groups for various files that need special permissions for non-root users. It is not uncommon to see files owned by groups such as tty,bin,utmp and so forth.

Last edited by drkstr; 07-26-2006 at 09:03 PM.
 
Old 07-27-2006, 02:46 AM   #8
SeekingWisdom
LQ Newbie
 
Registered: Feb 2006
Distribution: Slackware 10.2
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by drkstr
Slackware uses a variety of users/groups for various files that need special permissions for non-root users. It is not uncommon to see files owned by groups such as tty,bin,utmp and so forth.
Of course, but why are my permissions different from theirs if I've never altered /dev/console?
Code:
oblique ~/bin $ ls -l /dev/console
crw--w--w-  1 oblique tty 5, 1 2006-07-26 16:45 /dev/console
 
Old 09-20-2006, 10:52 AM   #9
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
I am also now (suddenly) getting this error as mentioned by nykey with same permissions as in his #3 post in this thread. I don't run current, I run 10.2. The only things I've done lately were to play around with sshd.

Did anybody ever figure out what's causing this? Now I'm missing some messages I used to get during init like the output from dhcpcd and later sshd.
 
Old 09-20-2006, 03:02 PM   #10
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
I changed my vga mode in lilo and I rebooted 5 or six times without getting this error anymore. I have no idea if this is really fixed or not and I hate mysteries. The reason I changed the mode was that a search showed that somebody suggested that the error can be caused by a framebuffer problem. I chose a mode with higher resolution because I have a new screen (although it had worked fine without this error happening for a few weeks already ) and for now it's coming up without the error message and I can see the stuff I used to get before on the console.

Last edited by Randux; 09-20-2006 at 03:09 PM.
 
Old 09-21-2006, 01:29 PM   #11
nykey
Member
 
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360

Original Poster
Rep: Reputation: 30
I've tried many fixes which I got on forums, by googling, etc... and none worked for me so I just reinstalled the system because I had nothing to loose, just some free time.... and I didn't get the error anymore. I was and still am courios about it too... hopefully you'll get it solved.... Good luck.
 
Old 09-21-2006, 02:26 PM   #12
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
Quote:
Originally Posted by Randux
Now I'm missing some messages I used to get during init like the output from dhcpcd and later sshd.
What is the last application to log during boot? Or it might be better to ask what is the first one that doesn't log and is it consistent?
 
Old 09-21-2006, 03:30 PM   #13
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
nykey, if you get it again try checking your video card to see what native modes it supports and choose a LILO vga mode (or use the default by not specifying anything) and see if that fixes it. It worked both ways for me but since I use console sometimes I needed a high resolution mode. I'm using 795 with my new screen.

Gilead, it hasn't happened again since I reinstalled LILO with the new vga mode (maybe 10 boots). Good question though, next time I boot I'll try to look at the messages and answer you.

Thanks guys,
Rand
 
  


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
INIT: open(/dev/console): Input/output error pazkaw Slackware 13 03-25-2008 05:15 PM
/dev/st0 : Input/Output error sharonenoch Linux - Hardware 1 02-10-2006 12:44 PM
open(/dev/console): Input/Output error fintanmcevoy General 2 11-18-2005 06:44 AM
/dev/hdc : Input/output error tulip4heaven Linux - Software 3 04-27-2005 12:03 PM
/dev/hdd input/output error... Linux~Powered Linux - Software 8 02-17-2004 12:55 PM


All times are GMT -5. The time now is 10:30 AM.

Main Menu
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