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] Getting stuck just before booting Dom0

To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Getting stuck just before booting Dom0
From: "Bhaskar Muppana" <bhaskar.muppana@xxxxxxxxx>
Date: Wed, 2 Apr 2008 16:49:11 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Apr 2008 04:19:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=TeiXzC5Rdrl8tUo19skbmyR3Yl61N4jh2NyYp2/AEmY=; b=tT4WjSOFYxkY29C6186hj8LBZStyNn6hHuxYH2HcczFzMF88UfLMCSF23Ld7maA8Kt8Bjp9uDeGXJBkR2ZjS8uB3NB0ihXudCZarRrRY78911zjFEnhRJxBmsGewph7TTwgfyB+6FDaZlYA6iO2+yjaK5Lw7eYQLnH0yRg9co7Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=YomVq3QiV1QGDwqg3MLE3cag1IkFp33/NtRzuYO1VlS7M5QwnX07JRmU8/6OUTag5uUNvBTMvTs5EDL+A+w2L1XVVLuOPNnvAsqSr2nvyMa/4+gTwBhks9S3kUjFuOnQU9zLl8605SEVgxLzgoKzACc3jn3xyeRyql1wyPeGVhw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200804021146.48220.mark.williamson@xxxxxxxxxxxx>
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: <d931fa930804012356l6388801dh66da02121fa982f6@xxxxxxxxxxxxxx> <200804021146.48220.mark.williamson@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Mark,
 
Thanks for your reply.
 
I havent logged onto the machine through serial port. I am working on the machine directly. Just to grab the xen boot messages i am using serial console. I think problem is not with serial console. Because, i am getting the same problem even if i dont redirect Xen to serial console. Please find the grub configuration i am using to boot it.
 
title Fedora (2.6.21.7-2.fc8xen-from-srpm)
        root (hd0,0)
        kernel /boot/xen.gz-2.6.21.7-2.fc8 com1=115200,8n1 sync_console noapic nolapic
        module /boot/vmlinuz-2.6.21.7-2.fc8xen ro root=LABEL=/ rhgb quiet console=ttyS0 console=tty pnpacpi=off noapic nolapic
        module /boot/initrd-2.6.21.7-2.fc8xen.img
 
I will try to explain the problem in detail..
 
I am trying to boot Xen on top of a simulator.  I found that there are few issues with APIC module of that simulator. Still, Linux is able to boot without any issues.  Xen is failing to get ccr value from APIC while booting. So, I have hardcoded this value. Now, booting is going through without any errors, but it is getting stuck just before booting into Dom0 as I mentioned in my previous mail.
 
Thanks,
Bhaskar

 
On 4/2/08, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
Hi there,

>
> (XEN) ******* WARNING: CONSOLE OUTPUT IS SYNCHRONOUS

Did you set console output as synchronous whilst you were trying to debug
this?  It shouldn't do this by default...

> (XEN) Xen is relinquishing VGA console.
>
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input
> to Xen).  <<<<<<<<<< Nothing happens after this message
>
> </logs>

What's your configuration here?

I assume you've built your own Xen rather than using a distro-provided one?
(distros usually arrange for the configuration to Just Work, which makes them
the most straightforward option for most people).

What versions of Xen / XenLinux are you using?  How did you get them?

My guess is that dom0 just isn't sending its console output to the right
place - you're probably booting OK, you just can't see it...

Are you actually logging into this system using the serial line?  Probably
dom0's console is appearing on the physical terminal but not on the serial
line :-)

Try adding console=xvc0 (or possibly just xvc, I can't remember) to your
*Linux* kernel command line in your grub config (adding it to the Xen line
won't work!).  I think this should at least get you boot output.  You'll
probably need to add "xvc0" to /etc/securetty[s ] and add a line
to /etc/inittab if you want this to actually be useful for root login.

Alternatively, if you already have a serial line setup for vanilla Linux, try
passing "xencons=ttyS" to the Linux kernel command line, which will make the
Xen console appear like a serial device (so your existing configuration
should work).

Cheers,
Mark

--
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>