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] Kernel 2.6.31.6 pv_ops freeze on start

On Thu, Jan 14, 2010 at 11:00:59PM -0800, Fantu wrote:
> 
> without add also in vmlinux not show all (see precedent first post of debug)
> the actual entry of grub is:
> menuentry "Xen 4 hg-un DEBUG, linux 2.6.31.6" {
>       set root=(hd0,1)
>       multiboot /boot/xen-4.gz dom0_mem=1024M iommu=passthrough,pv loglvl=all
> guest_loglvl=all sync_console console_to_ring com2=56700,8n1
> console=com2,vga
>       module /boot/vmlinuz-2.6.31.6 root=LABEL=root-raid ro console=hvc0
> console=com2,vga earlyprintk=xen
>       module /boot/initrd.img-2.6.31.6
> }
> what i change for do correct and complete?
>

Looks like you're using GRUB2. It is known to remove the first 
parameter for kernel,  so you need to add a dummy option there.

ie. iun your case GRUB2 will remove the "root=" parameter, 
making your dom0 kernel fail booting.

See: 
http://old.nabble.com/Strange-interaction-from-grub2-and-XEN-td26464067.html

So your GRUB2 entry should be something like this:

menuentry "Xen 4 hg-un DEBUG, linux 2.6.31.6" {
        insmod ext2
        set root=(hd0,1)
        multiboot /boot/xen-4.gz dom0_mem=1024M iommu=passthrough,pv loglvl=all 
guest_loglvl=all sync_console console_to_ring com2=56700,8n1 console=com2,vga
        module /boot/vmlinuz-2.6.31.6 dummy=dummy root=LABEL=root-raid ro 
console=hvc0 earlyprintk=xen nomodeset
        module /boot/initrd.img-2.6.31.6
}

(serial console stuff fixed aswell).
For more information see: http://wiki.xensource.com/xenwiki/XenParavirtOps

Btw is that a real physical serial port on the motherboard, 
or some virtual serial port (SOL) from a management prosessor, or a PCI serial 
card?

-- Pasi


> 
> Konrad Rzeszutek Wilk wrote:
> > 
> > On Wed, Jan 13, 2010 at 03:05:53AM -0800, Fantu wrote:
> >> 
> >> In attachment file output of lspci -vv do on some server (Dell T610 bios
> >> 1.3.6) with hardy with xen 3.3 from backports
> >> http://old.nabble.com/file/p27143153/lspcivv.log lspcivv.log 
> > 
> > In your vmlinuz argument line:
> > root=LABEL=root-raid ro console=hvc0 console=com2,vga earlyprintk=xen
> > 
> > The second console=com2,vga should not be there (that syntax is only
> > applicable to the Xen command line).
> > 
> > Also add these extra arguments to the Linux command line:
> > initcall_debug debug loglevel=10
> > 
> > That should out a bit in figuring out where you are stuck.
> > 
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
> > 
> > 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Kernel-2.6.31.6-pv_ops-freeze-on-start-tp27059994p27173149.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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