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

To: Pandu Poluan <pandu@xxxxxxxxxxx>
Subject: Re: [Xen-users] XenServer console displays bootup but can't receive keyboard input?
From: Melody Bliss <melodybliss@xxxxxxxxx>
Date: Thu, 24 Mar 2011 20:50:01 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 24 Mar 2011 20:50:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VBEqLzEomWsvjoA431OiaYOK7PLoP2z4lA0JeAxPbwY=; b=QOY117D51mE/usZR2MXXqzJuFDnEGuoLmDck7gfsGuPbnQ3ZwWtvax5FHMBn1k1gzf NhmsYKUtI1NvYu9t80vaWYu4cA2x5QHm3Q2rTDnv+9c26yfpNdTj/78c5dCFNwsKyits CYnxANXCnZdAkY3mKGr+4sUJJ1ZI4pjP5BKb0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=m+qtMeSKvEw+9A59PMQS7BSbVLf64YtKlPh892LeSyk3fg/Y3J+leN+NLW4Ej+8/EX glkQkna+kV85TH7WreLutUWhZG9Sc7kAsRJOgka6uMd5WY861O+Jk4DjPnCsM/HqOpW0 t1ALgalP5947e95Isp81FlLVhRniUsXxxENkU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinRo2cP16+Nk-xhLq_i6H2OE-MzqFm4X4uASiuG@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikUi9CO6WAOTpm-aSuzfto13s44AvXtTnyJzOzw@xxxxxxxxxxxxxx> <AANLkTi=fWhw=33GPM-igNDstK3cyda9d71FVO+8VCT0e@xxxxxxxxxxxxxx> <AANLkTinRo2cP16+Nk-xhLq_i6H2OE-MzqFm4X4uASiuG@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.

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

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
>>>
>>> Rgds,
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> Melody Bliss
>> Usenix, SAGE and LOPSA Charter Member
>> Patron Member of the NRA
>>
>
>
> --
> Pandu E Poluan
> ~ IT Optimizer ~
> Visit my Blog: http://pepoluan.posterous.com
>



-- 
Melody Bliss
Usenix, SAGE and LOPSA Charter Member
Patron Member of the NRA

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

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