LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Suse10.2 : /etc/initscript : line 106 : /sbin/mingetty Input/Output error on reboot (https://www.linuxquestions.org/questions/suse-opensuse-60/suse10-2-etc-initscript-line-106-sbin-mingetty-input-output-error-on-reboot-642734/)

chelsea 05-16-2008 03:22 PM

Suse10.2 : /etc/initscript : line 106 : /sbin/mingetty Input/Output error on reboot
 
Hi everone,

I have been experiencing this issue for 48hours now.

I did openSuse Online updates, rebooted the system I got the following error on the reboot.

/etc/initscript: line 106: /sbin/mingetty: Input/Output error
INIT: Id "1" respawing too fast: disabled for 5 minutes.


include All Ids from 1 to 6.

I even made a new installation with and without online updates. I still got the same error.


I am seeking help.


Thank you.

MensaWater 05-17-2008 08:50 AM

Not real familiar with initscript but the man page here talks about it:
http://linux.die.net/man/5/initscript

The mention there of /etc/inittab makes sense of your message to me.

In /etc/inittab you'll see lines that have the word "respawn" in them.
respawn means start the process and every time it dies start it again.

"respawning too fast" is an indication that the process is dieing every time it starts.

So the first thing you want to do is "vi /etc/inittab" and look for the mingetty items that are set to respawn. You can change those to "off" then save the file. Typically you would then type "init q" to reread the inittab. (I'm not sure how this works with initscript because it isn't on any of the systems I'm familiar with.) This should stop the error long enough for you to determine why the command being run is failing.

Once you've done that you can test the command from /etc/inittab to see what errors it is giving. Once you've figured out why the command is erroring out and resolved it you can change the entries back from off to respawn.

dxqcanada 05-17-2008 09:02 AM

What your system is saying ... the mingetty process is failing to open your virtual consoles.

The virtual consoles are /dev/tty1 through /dev/tty6 ... on your system, based on the message you are reporting.

Somehow these devices are not active ... the mingetty process is configured to respawn ... but since it fails to open the device it errors out. The system is recognizing a run-away process loop and is putting a 5 minute halt on it.

You have to find out why your virtual console devices cannot be opened.

chelsea 05-21-2008 09:27 PM

Quote:

Originally Posted by dxqcanada (Post 3156193)
What your system is saying ... the mingetty process is failing to open your virtual consoles.

The virtual consoles are /dev/tty1 through /dev/tty6 ... on your system, based on the message you are reporting.

Somehow these devices are not active ... the mingetty process is configured to respawn ... but since it fails to open the device it errors out. The system is recognizing a run-away process loop and is putting a 5 minute halt on it.

You have to find out why your virtual console devices cannot be opened.


Thanks for your input.

I want to mention that I am new to linux.

When you say 'device', which device you mean? is a hardware device?

Also I want to mention that if I reformat the hard drive and perform a new suse installtion why the problem would still exist? I found this very odd.

Finaly, when you reformat the hard drive is there any chance that the bootup process still be alive?

Thank you again.

chelsea

MensaWater 05-23-2008 09:02 AM

He means the /dev/tty1 etc... - items in the /dev directory are considered "device files". These items have major/minor numbers rather than size information like regular files. The major tells which class of device is involved and the minor can distinguish separate physical devices and/or tell which features of the devices are to be used.

The main issue is that mingetty can't do what it is trying to do. A first step would be to do "ls -l /dev/tty*" to see if the device files exist. There are many other steps you should research. Try typing "man mingetty" and/or "info mingetty" to get more details on what that command does.

dxqcanada 05-24-2008 01:17 PM

Example ... displaying the virtual console devices /dev/tty0 - 9
Code:

dennis@nc4200 ~ $ ls -l /dev/tty?
crw--w---- 1 root root 4, 0 May 24 07:23 /dev/tty0
crw------- 1 root root 4, 1 May 24 11:23 /dev/tty1
crw------- 1 root root 4, 2 May 24 11:23 /dev/tty2
crw------- 1 root root 4, 3 May 24 11:23 /dev/tty3
crw--w---- 1 root root 4, 4 May 24 11:23 /dev/tty4
crw--w---- 1 root tty  4, 5 May 24 11:23 /dev/tty5
crw--w---- 1 root tty  4, 6 May 24 11:23 /dev/tty6
crw--w---- 1 root tty  4, 7 May 24 11:23 /dev/tty7
crw--w---- 1 root tty  4, 8 May 24 11:23 /dev/tty8
crw--w---- 1 root tty  4, 9 May 24 11:23 /dev/tty9

You should see these devices.

Display the /etc/inittab entries for mingetty
In my example I use agetty ... so just replace "agetty" with "mingetty" when you use the grep command:
Code:

dennis@nc4200 ~ $ grep agetty /etc/inittab
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
#c4:2345:respawn:/sbin/agetty 38400 tty4 linux
#c5:2345:respawn:/sbin/agetty 38400 tty5 linux
#c6:2345:respawn:/sbin/agetty 38400 tty6 linux
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100



All times are GMT -5. The time now is 02:45 AM.