Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] console output stops but everything else is fine

To: "Steven Timm" <timm@xxxxxxxx>
Subject: Re: [Xen-users] console output stops but everything else is fine
From: "Edoardo Ceccarelli" <eddy@xxxxxx>
Date: Mon, 31 Mar 2008 20:25:22 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 31 Mar 2008 11:26:08 -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:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=2DjcxWsGCNM5uKTJ+KU2QP6KaUYp7Rnq/cFfgmG9gYo=; b=gnss0QvxaMOkVj4vN0OKt/8AAXFQ6IlNJO+lf+LDzXT6WlZ1PmUjfYQPxrBAMWj25eMsvABVlC4fqC9FYZfBP+Yd7bVi8tSMjbpyiyYMXSaR4QJ0icUof6JENCEgFqvOlu3XLYl/MwHTAH5krGPfdbh8jbUeG2tb25mq+mYoIs4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=DNI02vhtnMRhXFVkgqwnm8h5N/37ZP0smD9FBKxXlKP+u/dFIDmxrJpPW0APWvGq074lBIib9DwfT9BIS7cFGuwbdt3IrYoUmuURG6sK1zzu2mdimLtQ/y3Zw0H80fsPLR5k+y/jNnX/dotPJVPZKM4tJDGZ966x873hFT8BCE4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.64.0803311138510.12320@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: <2c5b22d10803310934ufafc32dpf1c82832792064c7@xxxxxxxxxxxxxx> <Pine.LNX.4.64.0803311138510.12320@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I am not using pygrub (or at least I am not aware of), the .conf file I give xen is:

kernel = "/boot/vmlinuz-2.6.18.8-xenU"
memory = 2048
#memory = 512
vif = [ 'bridge=xenbr0', ]
disk = ['phy:vm_volumes/vm2_root,sda1,w', 'phy:vm_volumes/vm2_swap,sda2,w']
root = "/dev/sda1 ro"
extra = "fastboot"

and the inittab looks like this (it is a jailtime.org COS5 64bit image):

id:3:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon


On Mon, Mar 31, 2008 at 6:40 PM, Steven Timm <timm@xxxxxxxx> wrote:
Check the inittab of the xen instance and also the options to pygrub
if you are using pygrub.  It appears that output is getting
redirected to a non-existent console device somewhere.  If there
are any co: lines in the inittab of the domU you should take them out,
also if there are any console=ttyS0 lines in the grub.conf of
pygrub take them out

Steve


On Mon, 31 Mar 2008, Edoardo Ceccarelli wrote:

> Hello,
>
> just finished building Xen 3.2, everything went fine, except for this:
> anytime I create a vm with the --console option, the output of the scroll of
> the bootstrap stops like this:
>
> ...
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> VFS: Mounted root (ext3 filesystem) readonly.
> Freeing unused kernel memory: 128k freed
>
> at this point the console hangs and I just have to close it;
> but the dom0  is successfully created and everything seems fine..
> is this something I should be worried?
>
> nothing like this happened with old Xen 3.1 (not compiled) or with distro
> Xen
>
> Thanks in advance, any idea appreciated.
>
>

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



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