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] Help: cannot attach to the domain's console. why?

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Help: cannot attach to the domain's console. why?
From: ma qiang <maqiang1984@xxxxxxxxx>
Date: Mon, 25 Jan 2010 10:45:22 +0800
Cc:
Delivery-date: Sun, 24 Jan 2010 18:46:03 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qPs7TTo1myx9wpcIlN63RyU2FCmIAQ5SknrQmY8/rCU=; b=hN20najpiT/swDepzMV3xTknARPtZQfrMYt2+e5wYl6eDoo4MmjZ3OJXP7B4PfLYFe TpysOvqJxsQHGtjrGu/63eLqERUEyqrSUGGaq/PU6Na9Y2hLv5J3eR7liMP7IRKw4ir0 RFDmG01ag6bkVxZB4ZCNm50Flf7bx+NWBWUYU=
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 :content-type:content-transfer-encoding; b=L/uYCuGzCejYCFG8FicjTf4YAfc+w4XwYY8QPzxpqXnvJqtCYeqvrpVrVVbQkxy6t/ E8upXGQx0HHyx9CXQZ7WElvARF116lEdZZ07l3QG7t/KIpxbfptoDykPDzxpxRM+V3wj sXNI55WQTSqpdTGR4XhtzuFdLa2nYx4zyfW9A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f1001220226n55f6b42dtd891a93419015988@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: <2af70f431001211853y539217acqcef0f7af8c9cbcf9@xxxxxxxxxxxxxx> <7207d96f1001211950h60b85603w5474eb2afecee576@xxxxxxxxxxxxxx> <2af70f431001212358s22b86900jcdbba3afedc1edac@xxxxxxxxxxxxxx> <7207d96f1001220226n55f6b42dtd891a93419015988@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
    Thanks a lot again.
    Now I can install a new system in my computer using console
according to your reply. I used "xm vncviewer test" to check
installation is OK and type "linux console=ttyS0" in "boot: prompt",
then change to use "xm console test" to continue the installation.
    However, when I go to my lab, I found that all computers in my lab
is run on only text mode redhat and have no GUI and vnc. So I have to
search some methods which can use only console mode to control the
installation.
    But I haven't found any useful results. So would you help me again
and tell me how?  Thank you!

Best Wishes!
Qiang Ma

On Fri, Jan 22, 2010 at 6:26 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Fri, Jan 22, 2010 at 2:58 PM, ma qiang <maqiang1984@xxxxxxxxx> wrote:
>> Hi,
>>   Thanks a lot.  I can connect to domU's console by munally updating
>> /etc/inittab and grub.conf,
>
> there's also /etc/securetty
>
>> but a little trouble is that after my type
>> "xm console test& enter", the console cannot print until I enter
>> again.
>
> I believe that's normal. When you run "xm console" to a HVM guest, it
> doesn't display any previous output. When you press enter, it displays
> a new login prompt (or new bash prompt, if you're already logged in).
>
>
>>   Now I want to setup serial console automaticly when I install
>> centos domU. I add "console='ttyS0'" to config file
>
> No, that's not it. When you boot to CD installer, it should ask you
> what to do (the "boot:" prompt). Normally you'd just press enter. If
> you want serial console support, you'd have to type "linux
> console=ttyS0" and press enter. Note that this will cause all output
> to be on serial port (that is, you have to run "xm console" to
> continue installation, as the GUI console will seem to stop working),
> resulting in text-based (non-GUI) installation. This may or may not be
> what you want. Personally, I like this better :D
>
> You could PROBABLY play around with console lines to see what
> arguments runs the installer on GUI but still sets up serial console
> properly. Perhaps "linux console=ttyS0 console=tty0" will do. Google
> should help, something like
> http://www.vanemery.com/Linux/Serial/serial-console.txt
>
> --
> Fajar
>

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