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

Re: [Xen-devel] pv_ops dom0 and kernel console output problem

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] pv_ops dom0 and kernel console output problem
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Sat, 27 Dec 2008 19:02:43 +0200
Delivery-date: Sat, 27 Dec 2008 09:03:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081226115145.GP15052@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20081226115145.GP15052@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Fri, Dec 26, 2008 at 01:51:45PM +0200, Pasi Kärkkäinen wrote:
> Hello list!
> 
> I'm trying out pv_ops dom0 patches, and I'm having problems getting any output
> from the kernel to the console. 
> 
> grub config:
> 
> title dom0-test (2.6.28-rc8-tip)
>       root (hd0,0)
>       kernel /xen-3.3.gz dom0_mem=512M noreboot loglvl=all guest_loglvl=all
>       module /vmlinuz-2.6.28-rc8-tip ro root=/dev/vg00/lv01 console=hvc0 
> earlyprintk=xen pci=nomsi
>       module /initrd-2.6.28-rc8-tip.img
> 
> Is that correct? I'd appreciate comments from people who got it working.. 
> 
> I can see Xen messages on the (vga) console, but the last line I see is:
> 
> (XEN)  Xen is relinquishing VGA console 
> 
> I don't see anything from the actual dom0 kernel.. 
> 
> I'm running Xen 3.3.0-2 from Fedora rawhide (includes backported pv_ops
> sysfs ballooning support). 
> 
> - Is there something else that's needed from (xen-unstable) hypervisor? 
> - Or is this problem related only to the pv_ops dom0 kernel?
> 
> My Xen hypervisor and dom0 kernel are both 32 bit PAE.
> 

# grep XEN .config
CONFIG_XEN=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=32
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_XEN_DEBUG_FS=y
CONFIG_XEN_DOM0=y
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_DOM0_PCI=y
CONFIG_PCI_XEN=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_NETXEN_NIC=m
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_XENBUS_FRONTEND=y

# grep PRINTK .config
CONFIG_PRINTK=y
CONFIG_SND_VERBOSE_PRINTK=y
# CONFIG_PRINTK_TIME is not set
CONFIG_BOOT_PRINTK_DELAY=y
# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
CONFIG_EARLY_PRINTK=y
CONFIG_EARLY_PRINTK_DBGP=y

Dunno if printk stuff is related/needed..

Anyway, do my dom0 kernel settings look correct? Still haven't figured out
how to get the kernel console output.. 

-- Pasi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel