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] Serial support with XEN and RHEL5.1

To: "Steven Timm" <timm@xxxxxxxx>
Subject: Re: [Xen-users] Serial support with XEN and RHEL5.1
From: tmac <tmacmd@xxxxxxxxx>
Date: Mon, 14 Jan 2008 15:58:54 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 14 Jan 2008 13:00:24 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=x2cqFna87Rs5j8+T9phKNsTF8/u5hE3hL275tj/7Rjs=; b=ctLjWsWJING9QNww4lMN9xaKKDbEKDGmgjxNWuTn0CZGbP7lGXKTtX3AAshO8L+fWKmjClQFVPzFuYNR91GpuxX+c0W0srbc6T/iuYimB4hwxMeUPM8lVZCMw5LmzNx9xpDvGw97j6dC8QckHVTXFXY4T8Mt+Zd1T34ohgxePBg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=jNdShUt5cOGnIGE4+Or5OYOoYbJJoAupvyDrDMM2Z5SVNsaVAUJjuyit5P+g1QaGfwmxXDIA3nWn0fHUakpLzUFIuRYZ3gvtSPs9ti2Vg+oVTksp5Nf4QPwUIDSh1b+6zaxs5kkhKsomQsD3JjCQCSpw2yV12BHYyej+P34qT0k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.64.0801091248410.7434@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <73699aa30801091041o42a4fd40o59a966ec0a116011@xxxxxxxxxxxxxx> <Pine.LNX.4.64.0801091248410.7434@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
where do I get info for this particular instance:
kernel /boot/xen.gz dom0_mem=4000000 com1=9600,8n1
?


I am using ttyS1 (com2) and would prefer to use:
115200, 8 bits, no parity, 1 stop bit, no flow control (may hardware flow control if there are issues).

From serial, I can currently see the grub menu, I can press the arrow and interact with grub and boot.

The serial side shows the boot process and stops after showing the "kernel/module/module" stanze.

Any ideas?

thanks

On Jan 9, 2008 1:52 PM, Steven Timm < timm@xxxxxxxx> wrote:
Yes--, you need to add the following to grub.conf (at the beginning)


serial --unit=0 --speed=9600
terminal --timeout=10 serial console

Also you did not say if this is the dom0 you are booting or one
of the domu's..  but normally you should have a stanza like this in
grub.conf for the dom0

title Xen 3.1.0
        root (hd0,0)
        kernel /boot/xen.gz dom0_mem=4000000 com1=9600,8n1
        module /boot/vmlinuz-2.6-xen ro root=LABEL=/ console=tty0 console=ttyS0,9600
        module /boot/initrd-2.6.18-xen.img


The kernel names will be different for a redhatized system but you get the
idea.  The two things you need are the serial stuff at the beginning
and then the right arguments both for the xen.gz and the vmlinuz lines.

Also you want to get rid of any splashimage line in the grub.conf
if you haven't already done so. splashimages can jam up serial consoles
or cause you to lose info in binary goop.

Steve Timm


On Wed, 9 Jan 2008, tmac wrote:

> I have RHEL5.1 and XEN.
>
> I had an issue this morning and wanted to see serial output.
>
> I ran a serial cable between the host and another (Serial0 -> Serial0)
>
> I checked the BIOS/Firmware and it had console re-dir on,
> 9600, No Par, 1 Stop bit, No Flow control
>
> The system booted and I could see the output of the POST process.
> *as soon* as grub started, the serial screen goes blank.
>
> I tried to add "console=ttyS0,9600" to the command line, but nothing seemed
> to send output to the kernel.
> Am I missing something?
>
> Thanks
>
>

--
------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx   http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.



--
--tmac

RedHat Certified Engineer #804006984323821 (RHEL4)
RedHat Certified Engineer #805007643429572 (RHEL5)

Principal Consultant, RABA Technologies
240-373-3926 (office) 301-688-4705 (Lab)
          214-279-3926 (eFAX)
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users