From: "Amitayu Das" Subject: Serial console problem with Xen 3.0 Date: Wed, 5 Apr 2006 00:40:55 -0400 Message-ID: <5f74ce410604042140y3f9c2154pc2410cc73654d500@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_15362_27217439.1144212055198" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org ------=_Part_15362_27217439.1144212055198 Content-Type: multipart/alternative; boundary="----=_Part_15363_29481775.1144212055198" ------=_Part_15363_29481775.1144212055198 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm facing some problem when I'm trying to work with serial console with Xen. I followed the instructions from user manual (http:www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html) and constructed the grub.conf accordingly. I'm attaching the grub.conf file here and would be referring to it in the next few lines. The problems faced are as follows: 1. I can boot normal Linux FC4 kernel and direct its output to serial console (and see the messages in a separate monitor) using the options as mentioned in the grub.conf. If I do the exactly the same (meaning, whatever you can see as uncommeted lines in the xen-related portion of the grub.conf), I can't see the messages in the separate monitor. 2. If I uncomment the third line in the following: title Fedora Core (Mar 17-xen0) root (hd0,0) # kernel /xen.gz dom0_mem=3D131072 com1=3D9600,8n1 kernel /xen.gz dom0_mem=3D131072 module /vmlinuz-2.6.12.6-xen0 ro root=3DLABEL=3D/ rhgb quiet console=3Dtty0 console=3DttyS0,9600n8 module /initrd-2.6.12.6-xen0.img then Xen even does not boot up. I'm not sure if I put the correct entry in the third line, though. Can anyone kindly point out my mistake or tell me if I'm missing something? I wanted to see the messages in the different monitor (conmnected via seria= l console) for the purpose of debugging. Hence, it'd be nice if someone can let me know easier way of debugging Xen kernel code. Thanks in advance, Amitayu ------=_Part_15363_29481775.1144212055198 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

I'm facing some problem when I'm trying to work with serial console with Xe= n. I followed the instructions from user manual
(http:www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html= ) and constructed the grub.conf accordingly. I'm attaching the grub.conf file  here and would be referring to it in the next few lines. The problems faced are as follows:

1. I can boot normal Linux FC4 kernel and direct its output to serial console (and see the messages in a separate monitor) using the options as mentioned in the grub.conf.
    If I do the exactly the same (meaning, whatever you can see as uncommeted lines in the xen-related portion of the grub.conf),
    I can't see the messages in the separate monitor.

2. If I uncomment the third line in the following:
title Fedora Core (Mar 17-xen0)
        root (hd0,0)
#       kernel /xen.gz dom0_mem=3D131072 com1= =3D9600,8n1
        kernel /xen.gz dom0_mem=3D131072=
        module /vmlinuz-2.6.12.6-xen0 ro root=3DLABEL=3D/ rhgb quiet console=3Dtty0 console=3DttyS0,9600n8
        module /initrd-2.6.12.6-xen0.img=

then Xen even does not boot up. I'm not sure if I put the correct entry in = the third line, though.

Can anyone kindly point out my mistake or tell me if I'm missing something? I wanted to see the messages in the different monitor (conmnected via serial console) for the purpose of debugging. Hence, it'd be nice if someone can let me know easier way of debugging Xen kernel code.

Thanks  in advance,
Amitayu






------=_Part_15363_29481775.1144212055198-- ------=_Part_15362_27217439.1144212055198 Content-Type: application/octet-stream; name="grub.conf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="grub.conf" X-Attachment-Id: f_eln67ho0 IyBncnViLmNvbmYgZ2VuZXJhdGVkIGJ5IGFuYWNvbmRhCiMKIyBOb3RlIHRoYXQgeW91IGRvIG5v dCBoYXZlIHRvIHJlcnVuIGdydWIgYWZ0ZXIgbWFraW5nIGNoYW5nZXMgdG8gdGhpcyBmaWxlCiMg Tk9USUNFOiAgWW91IGhhdmUgYSAvYm9vdCBwYXJ0aXRpb24uICBUaGlzIG1lYW5zIHRoYXQKIyAg ICAgICAgICBhbGwga2VybmVsIGFuZCBpbml0cmQgcGF0aHMgYXJlIHJlbGF0aXZlIHRvIC9ib290 LywgZWcu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LTIuNi4xMi42LXhlbjAgcm8gcm9vdD1MQUJFTD0vIHJoZ2IgcXVpZXQg Y29uc29sZT10dHkwIGNvbnNvbGU9dHR5UzAsOTYwMG44CiAgICAgICAgbW9kdWxlIC9pbml0cmQt Mi42LjEyLjYteGVuMC5pbWcK ------=_Part_15362_27217439.1144212055198 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ------=_Part_15362_27217439.1144212055198--