[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] /dev/tty*: not a character device after reboot



Hello All

I just recently adopted a server with Gentoo/Xen as domain0 server with several 
domainUs attached to it. Please forgive my xen-noobness, but I was hoping that 
someone can help me out.

These images have not been updated in a long time, and I'm trying to get all 
the domainUs updated with their appropriate services patches, etc. I'm 
currently working on one Gentoo domainU, and have got it basically up to date. 
Lastnight there was a power failure on the main domain0 image. This morning I 
was able to power up all the images, but now the Gentoo image is spamming the 
logs with agetty messages, etc.

Aug 29 09:16:59 comp agetty[27478]: /dev/tty3: not a character device
Aug 29 09:16:59 comp agetty[27479]: /dev/tty4: not a character device
Aug 29 09:16:59 comp agetty[27480]: /dev/tty5: not a character device
Aug 29 09:16:59 comp agetty[27481]: /dev/tty6: not a character device
Aug 29 09:17:08 comp init: Id "c2" respawning too fast: disabled for 5 minutes
Aug 29 09:17:09 comp init: Id "c3" respawning too fast: disabled for 5 minutes
Aug 29 09:17:09 comp init: Id "c4" respawning too fast: disabled for 5 minutes
Aug 29 09:17:09 comp init: Id "c5" respawning too fast: disabled for 5 minutes
Aug 29 09:17:09 comp init: Id "c6" respawning too fast: disabled for 5 minutes
Aug 29 09:18:26 comp rc-scripts: Failed to set user font

If I try to start consolefont.. I get the following error...

 * Setting user font ...
Couldnt open //dev/tty1
Couldnt open //dev/tty2
Couldnt open //dev/tty3
Couldnt open //dev/tty4
Couldnt open //dev/tty5
Couldnt open //dev/tty6
Couldnt open //dev/tty7
Couldnt open //dev/tty8
Couldnt open //dev/tty9
Couldnt open //dev/tty10
Couldnt open //dev/tty11
 * Failed to set user font        [ !! ]

Cracking open the /etc/init.d/consolefont script, I removed the pipes to 
/dev/null to see what it's complaining about.

comp dev # /etc/init.d/consolefont restart
 * Caching service dependencies ...                                             
                                         [ ok ]
 * Setting user font ...
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty1: No such file or directory
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty2: No such file or directory
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty3: No such file or directory
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty4: No such file or directory
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty5: No such file or directory
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty6: No such file or directory
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty7: No such file or directory
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty8: No such file or directory
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty9: No such file or directory
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty10: No such file or directory
Couldnt get a file descriptor referring to the console
/etc/init.d/consolefont: line 55: --tty=//dev/tty11: No such file or directory
 * Failed to set user font             

I verified that //dev/tty1 or /dev/tty1 does in fact exist:

comp dev # ls -al //dev/tty1 
crw------- 1 root root 4, 1 Aug 29 08:27 //dev/tty1

Trying to run the setfont command returns:

/bin/setfont default8x16  -C /dev/tty1
setfont Couldnt open /dev/tty1

This was all working fine until recent reboot.. so I'm sure it's related to one 
of my updates. Any assistance is greatly appreciated.

Here are some base system information:

kernel: 2.6.11.12-xenU
sys-apps/util-linux-2.12r-r3
sys-apps/kbd-1.12-r6
sys-apps/baselayout-1.12.4-r7

Thanks in advance.
hanji



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.