List Info

Thread: upgraded to 3.0.3, with hvm support




upgraded to 3.0.3, with hvm support
user name
2006-11-07 03:11:08
Michael Richardson <mcrsandelman.ca> writes:

> Manuel Bouyer wrote:
>> Hi,
>> I've just updated the xenkernel and xentools to
3.0.3. To run this you'll
>> need a very recent current. I have patches for the
netbsd-3 branch
>> (to run NetBSD 3.x guests on Xen 3.0.3) but they
won't make it for
>> 3.1 I fear.
>
>    Wonderful!
>    As I understand it, a domU with the 3.0.3 ABI is not
going to run on a dom0
> that uses the 3.0.2 ABI (such as an older FC5 install
as the dom0).
>
>    Is this correct?  Or is this ABI change just
relating to the dom0 vs xend?

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
just a few lines in some text metadata for the loader,
rather than any
actual code, if I recall correctly.

Also, the hypervisor (xen.gz, sysutils/xenkernel30) version
has to
match the userland xentools or else strange errors result,
but that's
a separate issue.

-- 
(let ((C call-with-current-continuation)) (apply (lambda (x
y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s)
l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car
l)) ((f (cdr l))
(C k)))))))    '((#J #d #D #v #s) (#e #space #a #i
#newline)))))

upgraded to 3.0.3, with hvm support
user name
2006-11-15 22:53:20
Jed Davis wrote:
> Michael Richardson <mcrsandelman.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:

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


[rootgrouper xen]# cat merry
name = "merry"
memory = "16"
disk = [ 'phy:/dev/VolGroup00/MerryRoot,0x03,w' ]
root = "/dev/wd0d"
vif = [ 'mac=00:16:3e:00:a0:30' ]
kernel = "/guests/kernel/netbsd.XEN3_DOMU.current"
#cpu = -1

#on_reboot   = 'restart'
#on_crash    = 'restart'

[rootgrouper xen]# xm create -c merry
Using config file "merry".
Started domain merry
[rootgrouper xen]#

I don't get any errors that I can find.
(I'm very unimpressed with the error recover of these python
scripts)
Maybe my problem is that my config file is wrong.

With the 3.0.2 ABI, I got boot messages and then a panic.

> Also, the hypervisor (xen.gz, sysutils/xenkernel30)
version has to
> match the userland xentools or else strange errors
result, but that's
> a separate issue.

yes, FC5 takes care of that side of things, in theory.






[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )