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 21:08:46 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 24 Mar 2011 21:09:42 -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; bh=hg9xGu5lUFbJ2lqkSUVQBFFnaJxTR9f+nXqqrbkZu2Y=; b=hbmgtCG5m4GJfNB/mHCgbTf2mQBU06ZfHYQNUfqTX9IPpm0OOBFa6EugrzLWs0pRdU qefMqvhNGJ3Cq1vpaguimKw8/r2irRPcaUKPzd06wPvdQD9psXfnNWdhRood80KCzBA6 B3euHgGWuaoY0YFbES7pUEgPnMnjM0UqPpHmI=
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; b=PeNtfTGxYSAY27CA/qiRQpob3w5JUB062AA6vhkOcRMfEqoIThkcOD42CcKoiXVHUx tHNncmLehZA30DQW738qKJyoImKVGnkoISGoEfyL4woGfFj+LWi3eSJfxmI8vB05A5Y4 4u43wJFA8M/tcL1DQc+5CtCVe+EfrBjnY5lZM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimxOmkwaBGCCKNwofL_oYGH5kGb9gGUK_N-q6jb@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> <AANLkTik910NswdMs7OCXm1NTRyF_BYGF+GxbAWoToL5M@xxxxxxxxxxxxxx> <AANLkTimxOmkwaBGCCKNwofL_oYGH5kGb9gGUK_N-q6jb@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Mar 24, 2011 at 8:54 PM, Pandu Poluan <pandu@xxxxxxxxxxx> wrote:
> 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.

hrm

> 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

You can use strace (if it's installed) to see what a running process
is doing. An example on my subversion server.

(via ssh to svn)

--- 8< cut >8 ---
[root@svn ~]# ps auxww | grep getty
root     27371  0.0  0.1   3804   544 xvc0     Ss+  04:08   0:00
/sbin/agetty xvc0 9600 vt100-nav
root     27409  0.0  0.1  61156   716 pts/0    R+   04:14   0:00 grep getty
[root@svn ~]# strace -p 27371
Process 27371 attached - interrupt to quit
read(0, "\r", 1)                        = 1
uname({sys="Linux", node="svn.home.chezbliss.com", ...}) = 0
write(1, "\r\n", 2)                     = 2
open("/etc/issue", O_RDONLY)            = 3
...
...
uname({sys="Linux", node="svn.home.chezbliss.com", ...}) = 0
write(1, "svn.home.chezbliss.com", 22)  = 22
write(1, " login: ", 8)                 = 8
--- 8< cut >8 ---

The above was generated when I hit the enter key on the console

--- 8< cut >8 ---
[root@shark ~]# xm console svn

CentOS release 5.5 (Final)
Kernel 2.6.18-194.26.1.el5xen on an x86_64

svn.home.chezbliss.com login:
--- 8< cut >8 ---

This way, you can see exactly what the getty process is doing (or not
doing). From the sounds of it, it sounds like the device driver may
have a bug in it where it isn't correctly attaching to the input
stream. Unfortunately I don't know enough about the Xen console driver
internals to be able to point you to a solution to the problem, but
using strace may give some idea of where to start.

Mel

[...]


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