WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] XenServer console displays bootup but can't receive keyb

On Fri, Mar 25, 2011 at 10:50, Melody Bliss <melodybliss@xxxxxxxxx> wrote:
> Hrm. Interesting.
>
> I believe hvc0 is your console on this VM and it looks like a getty is 
> running.
>
> Have you tried killing the agetty on hvc0 (process 4143). It should
> respawn. If it doesn't, send a -HUP signal to init. That should force
> init to re-read /etc/inittab and respawn missing processes.
>

No joy.

The console indeed shows agetty restarting by emitting a new set of
lines "This is bla bla bla ... login:"

But still no keyboard input.

> You may need to trace the getty process and see what it's doing at the time.
>

Uhh... trace? You went over my head there... :-P


> Mel
>
> On Thu, Mar 24, 2011 at 8:44 PM, Pandu Poluan <pandu@xxxxxxxxxxx> wrote:
>> On Fri, Mar 25, 2011 at 02:56, Melody Bliss <melodybliss@xxxxxxxxx> wrote:
>>> Check /etc/inittab. Do you still have a console device?
>>>
>>
>> # TERMINALS
>> #c1:12345:respawn:/sbin/agetty 38400 tty1 linux
>> c1:12345:respawn:/sbin/agetty 38400 hvc0 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
>>
>>> When connected to the console, on another terminal, after logging in
>>> via ssh, type "echo test > /dev/console"
>>>
>>> does test show up on the console connection? If so, the console is
>>> connected, but getty may not be running on it.
>>>
>>
>> "test" appeared
>>
>> ps aux | grep agetty returns:
>>
>> root      4143  0.0  0.1   5984   768 hvc0     Ss+  10:39   0:00
>> /sbin/agetty 38400 hvc0 linux
>> root      4144  0.0  0.1   5984   768 tty2     Ss+  10:39   0:00
>> /sbin/agetty 38400 tty2 linux
>> root      4145  0.0  0.1   5984   768 tty3     Ss+  10:39   0:00
>> /sbin/agetty 38400 tty3 linux
>>
>>> We had a similar issue where the inittab somehow got
>>> overwritten/modified that removed the console getty
>>>
>>> Mel
>>>
>>> On Thu, Mar 24, 2011 at 4:48 AM, Pandu Poluan <pandu@xxxxxxxxxxx> wrote:
>>>> Hello!
>>>>
>>>> I'm currently trying to run Gentoo paravirtualized on XenServer.
>>>>
>>>> It *is* running... except that the XenServer console refused any
>>>> input, so I can't login via the console.
>>>>
>>>> Login via SSH is okay, though.
>>>>
>>>> What makes me confused is that the console properly shows the bootup
>>>> process, up to and including the "login:" prompt. But I can't type
>>>> anything.
>>>>
>>>> What could be the problem?
>>>>
>>>> FYI, I am using Gentoo's hardened-sources
>>>>

--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com

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

<Prev in Thread] Current Thread [Next in Thread>