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] xen lenny 3.2.1, setting serial output prevents linux i

To: Martin Kraus <lists_mk@xxxxxxxxxxx>
Subject: Re: [Xen-users] xen lenny 3.2.1, setting serial output prevents linux init to start
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Thu, 11 Feb 2010 09:50:11 +0700
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 10 Feb 2010 18:50:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100210193157.GB10655@finrod>
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: <20100210193157.GB10655@finrod>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Feb 11, 2010 at 2:31 AM, Martin Kraus <lists_mk@xxxxxxxxxxx> wrote:
> Hi. I've installed debian lenny with grub legacy. It works fine when output is
> set to vga. It works fine even when I set grub,linux kernel and getty to 
> serial output.
> But when setting xen to output to serial port, linux doesn't start most of the
> services (probably nothing in rcS, rc2). Boot ends with getty running, so I'm
> able to log in.

How do you get xen to output to serial port?
Here's what I use to get both xen and dom0 output on HP ILO virtual
serial port, which is recognized as second serial port by the server.

title Red Hat Enterprise Linux Server (2.6.18-164.2.1.el5xen)
        root (hd0,0)
        kernel /xen.gz-3.4.1 com2=115200,8n1 console=vga,com2
        module /vmlinuz-2.6.18-164.2.1.el5xen ro root=/dev/rootvg/rootlv
console=vga console=ttyS1
        module /initrd-2.6.18-164.2.1.el5xen.img

and I use this entry on inittab

co:2345:respawn:/sbin/agetty console 115200 vt100-nav

to tell the truth, I'm not really sure about the console line part on
"module /vmlinuz", but since it works I just leave it as it is :D
See also http://www.cl.cam.ac.uk/research/srg/netos/xen/readmes/user/

-- 
Fajar

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