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: Tue, 15 Jan 2008 08:03:28 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Jan 2008 05:04:27 -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=caOGRl8K+em83dUF9MPy5nOmY6CkyQvKJHqyxdiPH0A=; b=iv6fmI/E/HcysXXmooU3NZ0hjfHXCunckQ0vP1TERZMMMhqUnx/V9szp7N3EHhJxPDEufz8Ovt2+lIoZ90GeaQZ6b1U7vudM3wpTgsFGNI0a7NW9yYcv3S66OTf87dM9dwVFoGp5GaK6FnT9W62B7VDvltsyEum4ir8OGgOuOoI=
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=PR0NAMA0P5R9wpw80Eu4mGSp0dGF2/2+zhJJA8Rv6rSRC9hqs4MIXhEEK/7RCFKY7SngZcA4ZbC9hX0TOTlZ8+VHTKMeLr7govXQ70Cea1+655SdQ1sJOzjFxcnyVRxSJaa5/Q8dSuSxGJLIK439kqUxjFfEVisf0oQ8oK6PgTU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.64L.0801141837090.2153@xxxxxxxxxxxxxxx>
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> <73699aa30801141258k1949a279kefee0d577eb125c1@xxxxxxxxxxxxxx> <Pine.LNX.4.64L.0801141837090.2153@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have the following in /etc/grub.conf:
serial --unit=1 --speed=115200
terminal --timeout=8 serial console

#XEN stanza
title XEN
 root (hd0,0)
 kernel /xen.gz-2.6.18-53.1.4.el5xen com1=115200,8n1
 module /vmlinuz- 2.6.18-51.1.4.el5xen ro root=/dev/VG0/ROOTFS quiet console=ttyS1,115200
 moudule /initrd-2.6.18-53.1.4.el5xen.img

I am still unable to access the console through the second serial port.

Should that com1 on the kernel line be com2?

--tmac

On Jan 14, 2008 7:37 PM, Steven Timm <timm@xxxxxxxx> wrote:


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

On Mon, 14 Jan 2008, tmac wrote:

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

you need on the xen.gz line com1=115200,8n1
and then on the first module line
console=ttyS1,115200

Steve

>
> 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/< http://home.fnal.gov/%7Etimm/>
>> 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)
>



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