Subject: Re: upgraded to 3.0.3, with hvm support
To: Michael Richardson <mcr@sandelman.ca>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 11/19/2006 20:07:10
On Sun, Nov 19, 2006 at 01:55:42PM -0500, Michael Richardson wrote:
> Manuel Bouyer wrote:
> >On Wed, Nov 15, 2006 at 05:53:20PM -0500, Michael Richardson wrote:
> >
> >>Jed Davis wrote:
> >>
> >>>Michael Richardson <mcr@sandelman.ca> writes:
> >>>As I understand it, an old kernel won't run on a new hypervisor, but a
> >>>new kernel (at least for NetBSD) can run on an old Xen.  I don't think
> >>>whether it's dom0 or domU has anything to do with it -- the change was
> >>
> >> okay, I have a FC5-2239 kernel:
> >>
> >>[root@grouper xen]# uname -a
> >>Linux grouper.sandelman.ca 2.6.18-1.2239.fc5xen0 #1 SMP Fri Nov 10 
> >>13:58:27 EST 2006 i686 i686 i386 GNU/Linux
> >>
> >>and I have a NetBSD-current compilation from Nov. 6, 2006.
> >
> >
> >What does
> >xm info
> >reports ?
> 
> [root@grouper kernel]# xm info
> host                   : grouper.sandelman.ca
> release                : 2.6.18-1.2239.fc5xen0
> version                : #1 SMP Fri Nov 10 13:58:27 EST 2006
> machine                : i686
> nr_cpus                : 2
> nr_nodes               : 1
> sockets_per_node       : 1
> cores_per_socket       : 1
> threads_per_core       : 2
> cpu_mhz                : 3400
> hw_caps                : 
> bfebfbff:20000000:00000000:00000180:0000e41d:00000000:00000001
> total_memory           : 3583
> free_memory            : 63
> xen_major              : 3
> xen_minor              : 0
> xen_extra              : -unstable
> xen_caps               : xen-3.0-x86_32
> xen_pagesize           : 4096
> platform_params        : virt_start=0xfc000000
> xen_changeset          : unavailable
> cc_compiler            : gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)
> cc_compile_by          : brewbuilder
> cc_compile_domain      : build.redhat.com
> cc_compile_date        : Fri Nov 10 13:00:32 EST 2006
> xend_config_format     : 2

Could you try with a kernel from an official Xen build ? This seems to be
a snapshot of the unstable tree, but I don't know which date.

> 
> 
> >Did you check /var/log/xen/ ?
> 
> logs moved. nice.
> 
> I read that I should have:
> 	disk = [ 'phy:/dev/VolGroup00/MerryRoot,0x03,w' ]
> 
> but, I noticed that it looked for /dev/0x03, which seems wrong, maybe... at 
> which I played with things, a bit.

That's not an issue. If first looks in /dev and then  use it as a number :)

> I would expect that if I get this wrong, that I wind up booting without a 
> valid disk... but I don't
> get that far.
> 
> Note that it says that domain has crashed. It also says it configured a 
> "linux guest"

Yes, this is normal.

> [...]
> [2006-11-19 13:47:59 xend 2271] INFO (XendDomain:370) Domain merry (25) 
> unpaused.
> [2006-11-19 13:47:59 xend.XendDomainInfo 2271] WARNING (XendDomainInfo:875) 
> Domain has crashed: name=merry id=25.

It seems to crash early; maybe on the first page table update. This will
happens if xen.gz is compiled with debug turned on.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--