Skip to contentSkip to conversation

pv_ops dom0 and kernel console output problem

DISCUSSION Pasi Kärkkäinen 3 participants 19 messages Dec 26, 2008 – Jan 9, 2009

lore
Share & tools
lore
#0 lore raw

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.

Thanks!

-- Pasi

#1 lore raw
Quoted 21 lines · Pasi Kärkkäinen

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

Quoted 8 lines

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

#2 lore raw
In reply to Pasi Kärkkäinen
Quoted 24 lines · Pasi Kärkkäinen

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

Quoted 7 lines

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

Thanks!

Do you guys have any suggestions? (CC's added..)

I've verified the kernel itself is fine, ie. it boots and works just fine on bare metal..

-- Pasi

#3 lore raw
Quoted 30 lines · Pasi Kärkkäinen
Quoted 29 lines · Pasi Kärkkäinen

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.

Quoted 8 lines
Quoted 2 lines

Thanks!

Do you guys have any suggestions? (CC's added..)

I've verified the kernel itself is fine, ie. it boots and works just fine on bare metal..

Did you add an hvc console to the runlevel?

Cheers,
Todd

Signature · 3 lines
Todd Deshane
http://todddeshane.net
http://runningxen.com
#4 lore raw
Quoted 34 lines · Todd Deshane
Quoted 33 lines · Pasi Kärkkäinen
Quoted 31 lines · Pasi Kärkkäinen

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.

Thanks!

Quoted 8 lines
Quoted 5 lines

Do you guys have any suggestions? (CC's added..)

I've verified the kernel itself is fine, ie. it boots and works just fine on bare metal..

Did you add an hvc console to the runlevel?

Actually, no, I didn't add hvc console.. That's a stupid mistake from me. Thanks for pointing that out.

Then again, shouldn't I see kernel messages when it boots up?

I can only see Xen hypervisor console messages.. nothing from dom0 kernel..

-- Pasi

#5 lore raw
Quoted 9 lines · Pasi Kärkkäinen
Quoted 2 lines · Todd Deshane

Did you add an hvc console to the runlevel?

Actually, no, I didn't add hvc console.. That's a stupid mistake from me. Thanks for pointing that out.

Then again, shouldn't I see kernel messages when it boots up?

Is it not writing to /var/log/dmesg|syslog|messages?

Here is some more patches for the hvc stuff that are relatively recent:
http://xen.markmail.org/search/?q=hvc%20list%3Axen-devel#query:hvc%20list%3Axen-devel+page:1+mid:vtzvf44kzapb2vxa+state:results

Quoted 2 lines

I can only see Xen hypervisor console messages.. nothing from dom0 kernel..

It does a switch over to the other console.
I would expect xm dmesg to give the xen messages and dmesg to give the dom0 messages. Could you be losing it when sending it to the serial console?

Adding the hvc console worked for me, if I recall correctly. We should add that to the wiki as well (if it isn't there already).

Cheers,
Todd

Signature · 3 lines
Todd Deshane
http://todddeshane.net
http://runningxen.com
#6 lore raw
Quoted 5 lines · Todd Deshane
Quoted 4 lines · Pasi Kärkkäinen
Quoted 2 lines · Todd Deshane

Did you add an hvc console to the runlevel?

Quoted 8 lines
Quoted 5 lines

Actually, no, I didn't add hvc console.. That's a stupid mistake from me. Thanks for pointing that out.

Then again, shouldn't I see kernel messages when it boots up?

Is it not writing to /var/log/dmesg|syslog|messages?

I think it didn't boot up properly.. I'll start playing with it again now, and check if I'm able to login via network or something..

Quoted 3 lines

Here is some more patches for the hvc stuff that are relatively recent:
http://xen.markmail.org/search/?q=hvc%20list%3Axen-devel#query:hvc%20list%3Axen-devel+page:1+mid:vtzvf44kzapb2vxa+state:results

Thanks for the link.

Quoted 7 lines
Quoted 3 lines

I can only see Xen hypervisor console messages.. nothing from dom0 kernel..

It does a switch over to the other console.
I would expect xm dmesg to give the xen messages and dmesg to give the dom0 messages. Could you be losing it when sending it to the serial console?

Actually I'm not using serial console at all.. I only have VGA console.

Quoted 3 lines

Adding the hvc console worked for me, if I recall correctly. We should add that to the wiki as well (if it isn't there already).

So you could see the dom0 kernel boot messages on (VGA) console, after Xen messages?

-- Pasi

#7 lore raw
Quoted 9 lines

Actually I'm not using serial console at all.. I only have VGA console.

Quoted 3 lines

Adding the hvc console worked for me, if I recall correctly. We should add that to the wiki as well (if it isn't there already).

So you could see the dom0 kernel boot messages on (VGA) console, after Xen messages?

Actually no. I just tested now. The screen goes blank during the dom0 kernel boot and then shows back up when I get a login: prompt.

I have done most of my testing over a serial console and with the serial console it shows up.

Jeremy: would you expect this to work? Were there recent patches that we could be missing?

Cheers,
Todd

Signature · 3 lines
Todd Deshane
http://todddeshane.net
http://runningxen.com
#8 lore raw
Quoted 6 lines · Todd Deshane
Quoted 6 lines

Actually I'm not using serial console at all.. I only have VGA console.

Quoted 3 lines

Adding the hvc console worked for me, if I recall correctly. We should add that to the wiki as well (if it isn't there already).

Quoted 7 lines
Quoted 3 lines

So you could see the dom0 kernel boot messages on (VGA) console, after Xen messages?

Actually no. I just tested now. The screen goes blank during the dom0 kernel boot and then shows back up when I get a login: prompt.

Ok. Good to know.

Quoted 3 lines

I have done most of my testing over a serial console and with the serial console it shows up.

So you get both the Xen and dom0 kernel messages on serial console?

It would be nice if you could post your grub/xen/kernel settings.. just to have a working reference.

Quoted 3 lines

Jeremy: would you expect this to work? Were there recent patches that we could be missing?

That would be nice to know too :)

-- Pasi

#9 lore raw
Quoted 17 lines · Pasi Kärkkäinen
Quoted 6 lines · Todd Deshane
Quoted 6 lines

Actually I'm not using serial console at all.. I only have VGA console.

Quoted 3 lines

Adding the hvc console worked for me, if I recall correctly. We should add that to the wiki as well (if it isn't there already).

Quoted 7 lines
Quoted 3 lines

So you could see the dom0 kernel boot messages on (VGA) console, after Xen messages?

Actually no. I just tested now. The screen goes blank during the dom0 kernel boot and then shows back up when I get a login: prompt.

Ok. Good to know.

Quoted 9 lines
Quoted 3 lines

I have done most of my testing over a serial console and with the serial console it shows up.

So you get both the Xen and dom0 kernel messages on serial console?

It would be nice if you could post your grub/xen/kernel settings.. just to have a working reference.

title           Xen 3.4-unstable DEBUG/ Ubuntu 8.10, kernel 2.6.28-rc7-tip
root            (hd0,0)
kernel          /boot/xen-3.4-unstable.gz loglvl=all guest_loglvl=all

com1=115200,8n1 console=com1
module /boot/vmlinuz-2.6.28-rc7-tip root=/dev/sda1 ro
console=hvc0 earlyprintk=xen xencons=ttyS0,115200 pci=nomsi
module /boot/initrd.img-2.6.28-rc7-tip

The rest of what I have found I have tried to post here:
http://wiki.xensource.com/xenwiki/XenParavirtOps

Hope that helps.

Quoted 8 lines
Quoted 3 lines

Jeremy: would you expect this to work? Were there recent patches that we could be missing?

That would be nice to know too :)

-- Pasi

Signature · 3 lines
Todd Deshane
http://todddeshane.net
http://runningxen.com
#10 lore raw
Quoted 36 lines · Todd Deshane
Quoted 17 lines · Pasi Kärkkäinen
Quoted 6 lines · Todd Deshane
Quoted 6 lines

Actually I'm not using serial console at all.. I only have VGA console.

Quoted 3 lines

Adding the hvc console worked for me, if I recall correctly. We should add that to the wiki as well (if it isn't there already).

Quoted 7 lines
Quoted 3 lines

So you could see the dom0 kernel boot messages on (VGA) console, after Xen messages?

Actually no. I just tested now. The screen goes blank during the dom0 kernel boot and then shows back up when I get a login: prompt.

Ok. Good to know.

Quoted 9 lines
Quoted 3 lines

I have done most of my testing over a serial console and with the serial console it shows up.

So you get both the Xen and dom0 kernel messages on serial console?

It would be nice if you could post your grub/xen/kernel settings.. just to have a working reference.

title           Xen 3.4-unstable DEBUG/ Ubuntu 8.10, kernel 2.6.28-rc7-tip
root            (hd0,0)
kernel          /boot/xen-3.4-unstable.gz loglvl=all guest_loglvl=all

com1=115200,8n1 console=com1
module /boot/vmlinuz-2.6.28-rc7-tip root=/dev/sda1 ro
console=hvc0 earlyprintk=xen xencons=ttyS0,115200 pci=nomsi
module /boot/initrd.img-2.6.28-rc7-tip

Quoted 5 lines

The rest of what I have found I have tried to post here:
http://wiki.xensource.com/xenwiki/XenParavirtOps

Hope that helps.

Thanks!

I wonder if it's about that "xencons=" option for the kernel.. I don't have that at all.

Let's see what happens when I get to try those.

-- Pasi

#11 lore raw
In reply to Todd Deshane
Quoted 9 lines · Todd Deshane

Actually no. I just tested now. The screen goes blank during the dom0 kernel boot and then shows back up when I get a login: prompt.

I have done most of my testing over a serial console and with the serial console it shows up.

Jeremy: would you expect this to work? Were there recent patches that we could be missing?

Nothing I can think of; it works for me. I don't have my test machine on hand, so I'm not sure what the exact kernel command line is. But perhaps booting without "console=hvc0" would work, and "earlyprintk=vga".

J

#12 lore raw
Quoted 8 lines · Jeremy Fitzhardinge
Quoted 7 lines · Todd Deshane

Actually no. I just tested now. The screen goes blank during the dom0 kernel
boot and then shows back up when I get a login: prompt.

I have done most of my testing over a serial console and with the serial console it shows up.

Quoted 8 lines
Quoted 3 lines

Jeremy: would you expect this to work? Were there recent patches that we could be missing?

Nothing I can think of; it works for me. I don't have my test machine on hand, so I'm not sure what the exact kernel command line is. But perhaps booting without "console=hvc0" would work, and "earlyprintk=vga".

Thanks!

"earlyprintk=vga" solved the problem.. now I can see pv_ops dom0 kernel boot messages on the VGA console after Xen hypervisor messages.

-- Pasi

#13 lore raw
Quoted 18 lines · Pasi Kärkkäinen
Quoted 8 lines · Jeremy Fitzhardinge
Quoted 7 lines · Todd Deshane

Actually no. I just tested now. The screen goes blank during the dom0 kernel
boot and then shows back up when I get a login: prompt.

I have done most of my testing over a serial console and with the serial console it shows up.

Quoted 8 lines
Quoted 3 lines

Jeremy: would you expect this to work? Were there recent patches that we could be missing?

Nothing I can think of; it works for me. I don't have my test machine on hand, so I'm not sure what the exact kernel command line is. But perhaps booting without "console=hvc0" would work, and "earlyprintk=vga".

Quoted 5 lines

Thanks!

"earlyprintk=vga" solved the problem.. now I can see pv_ops dom0 kernel boot messages on the VGA console after Xen hypervisor messages.

Or actually..

I can see the pv_ops dom0 kernel detect and print the (Xen) memory layout for dom0, then some misc information and then the console is cleared and nothing happens anymore.. I'm not sure if it gets to initrd yet at that point.. at least I don't see any disk activity (based on the hdd LED).

My grub configuration atm:

title dom0-test (2.6.28-rc8-tip)

	root (hd0,0)
	kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all
	module /vmlinuz-2.6.28-rc8-tip.gz ro root=/dev/vg00/lv01 earlyprintk=vga pci=nomsi
	module /initrd-2.6.28-rc8-tip.img

What is "earlyprintk=xen" supposed to do?

-- Pasi

#14 lore raw
Quoted 34 lines · Pasi Kärkkäinen
Quoted 18 lines · Pasi Kärkkäinen
Quoted 8 lines · Jeremy Fitzhardinge
Quoted 7 lines · Todd Deshane

Actually no. I just tested now. The screen goes blank during the dom0 kernel
boot and then shows back up when I get a login: prompt.

I have done most of my testing over a serial console and with the serial console it shows up.

Quoted 8 lines
Quoted 3 lines

Jeremy: would you expect this to work? Were there recent patches that we could be missing?

Nothing I can think of; it works for me. I don't have my test machine on hand, so I'm not sure what the exact kernel command line is. But perhaps booting without "console=hvc0" would work, and "earlyprintk=vga".

Quoted 5 lines

Thanks!

"earlyprintk=vga" solved the problem.. now I can see pv_ops dom0 kernel boot messages on the VGA console after Xen hypervisor messages.

Or actually..

I can see the pv_ops dom0 kernel detect and print the (Xen) memory layout for dom0, then some misc information and then the console is cleared and nothing happens anymore.. I'm not sure if it gets to initrd yet at that point.. at least I don't see any disk activity (based on the hdd LED).

My grub configuration atm:

Quoted 8 lines

title dom0-test (2.6.28-rc8-tip)

	root (hd0,0)
	kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all
	module /vmlinuz-2.6.28-rc8-tip.gz ro root=/dev/vg00/lv01 earlyprintk=vga pci=nomsi
	module /initrd-2.6.28-rc8-tip.img

What is "earlyprintk=xen" supposed to do?

I still haven't gotten VGA console to work, but now _serial_ console seems to work using this configuration:

title dom0-test (2.6.28-rc8-tip) / serial console

	root (hd0,0)
	kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=19200,8n1 console=com1
	module /vmlinuz-2.6.28-rc8-tip.gz ro root=/dev/vg00/lv01 console=hvc0 earlyprintk=xen xencons=ttyS0,19200 pci=nomsi
	module /initrd-2.6.28-rc8-tip.img

I was able to capture the pv_ops dom0 kernel crashes using serial console.. I'll post another thread about that.

-- Pasi

#16 lore raw
In reply to Pasi Kärkkäinen
Quoted 3 lines · Pasi Kärkkäinen

What is "earlyprintk=xen" supposed to do?

Reading pv_ops wiki page I noticed this:

"If the domain crashes very early, before any output appears on the console, then booting with: "earlyprintk=xen" should provide some useful information. If you are running a debug build of Xen hypervisor (set "debug = y" in Config.mk in the Xen source tree), then you should get crash dumps on the Xen console. You can view those with "xm dmesg"."

So I guess earlyprintk=xen is only useful if you're running debug build of Xen hypervisor.. ?

-- Pasi

#17 lore raw
Quoted 10 lines · Pasi Kärkkäinen

Reading pv_ops wiki page I noticed this:

"If the domain crashes very early, before any output appears on the console, then booting with: "earlyprintk=xen" should provide some useful information. If you are running a debug build of Xen hypervisor (set "debug = y" in Config.mk in the Xen source tree), then you should get crash dumps on the Xen console. You can view those with "xm dmesg"."

So I guess earlyprintk=xen is only useful if you're running debug build of Xen hypervisor.. ?

earlyprintk=xen has the effect of directing the kernel's console output via the console output hypercall. domU kernel's are not generally allowed to do this, but it is when you compile Xen in debug mode. dom0, however, uses the Xen console in the normal case, so it doesn't need a debug Xen build. But when Xen switches its console output to serial the kernel's output goes with it, so if you want it to appear on VGA you need to use the VGA console output (make sure your kernel has all the VT console options enabled).

J

#18 lore raw
Quoted 14 lines · Jeremy Fitzhardinge
Quoted 10 lines · Pasi Kärkkäinen

Reading pv_ops wiki page I noticed this:

"If the domain crashes very early, before any output appears on the console,
then booting with: "earlyprintk=xen" should provide some useful information.
If you are running a debug build of Xen hypervisor (set "debug = y" in Config.mk in the Xen source tree), then you should get crash dumps on the Xen console. You can view those with "xm dmesg"."

Quoted 2 lines

So I guess earlyprintk=xen is only useful if you're running debug build of Xen hypervisor.. ?

Quoted 9 lines

earlyprintk=xen has the effect of directing the kernel's console output via the console output hypercall. domU kernel's are not generally allowed to do this, but it is when you compile Xen in debug mode. dom0, however, uses the Xen console in the normal case, so it doesn't need a debug Xen build. But when Xen switches its console output to serial the kernel's output goes with it, so if you want it to appear on VGA you need to use the VGA console output (make sure your kernel has all the VT console options enabled).

Thanks for clearing that up!

-- Pasi

#15 lore raw
In reply to Pasi Kärkkäinen
Quoted 44 lines · Pasi Kärkkäinen
Quoted 34 lines · Pasi Kärkkäinen
Quoted 18 lines · Pasi Kärkkäinen
Quoted 8 lines · Jeremy Fitzhardinge
Quoted 7 lines · Todd Deshane

Actually no. I just tested now. The screen goes blank during the dom0 kernel
boot and then shows back up when I get a login: prompt.

I have done most of my testing over a serial console and with the serial console it shows up.

Quoted 8 lines
Quoted 3 lines

Jeremy: would you expect this to work? Were there recent patches that we could be missing?

Nothing I can think of; it works for me. I don't have my test machine on hand, so I'm not sure what the exact kernel command line is. But perhaps booting without "console=hvc0" would work, and "earlyprintk=vga".

Quoted 5 lines

Thanks!

"earlyprintk=vga" solved the problem.. now I can see pv_ops dom0 kernel boot messages on the VGA console after Xen hypervisor messages.

Or actually..

I can see the pv_ops dom0 kernel detect and print the (Xen) memory layout for dom0, then some misc information and then the console is cleared and nothing happens anymore.. I'm not sure if it gets to initrd yet at that point.. at least I don't see any disk activity (based on the hdd LED).

My grub configuration atm:

Quoted 8 lines

title dom0-test (2.6.28-rc8-tip)

	root (hd0,0)
	kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all
	module /vmlinuz-2.6.28-rc8-tip.gz ro root=/dev/vg00/lv01 earlyprintk=vga pci=nomsi
	module /initrd-2.6.28-rc8-tip.img

What is "earlyprintk=xen" supposed to do?

Quoted 9 lines

I still haven't gotten VGA console to work, but now _serial_ console seems to work using this configuration:

title dom0-test (2.6.28-rc8-tip) / serial console

	root (hd0,0)
	kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=19200,8n1 console=com1
	module /vmlinuz-2.6.28-rc8-tip.gz ro root=/dev/vg00/lv01 console=hvc0 earlyprintk=xen xencons=ttyS0,19200 pci=nomsi
	module /initrd-2.6.28-rc8-tip.img

Actually xencons= doesn't seem to be needed for the Linux kernel.

So here's more simple working grub configuration for using serial console with Xen and pv_ops dom0 kernel:

title dom0-test (2.6.28-rc8-tip) / serial console

	root (hd0,0)
	kernel /xen-3.3.gz dom0_mem=1024M loglvl=all guest_loglvl=all com1=19200,8n1 console=com1
	module /vmlinuz-2.6.28-rc8-tip.gz ro root=/dev/vg00/lv01 console=hvc0 earlyprintk=xen pci=nomsi
	module /initrd-2.6.28-rc8-tip.img

That works for me.

-- Pasi