Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xen 4 DOM0 with -current i386/amd64 rejects kernel?



On Fri, Feb 10, 2012 at 02:43:39PM -0600, John D. Baker wrote:
> I'm finally able to put some time toward learning to use Xen again
> and want to go ahead with Xen 4.1.2 as available in pkgsrc-2011Q4.
> The boot loader loads the netbsd-XEN3_DOM0 kernel (amd64)
> (netbsd-XEN3PAE_DOM0 on i386) and multiboots the "xen.gz" kernel, but
> xen claims the DOM0 kernel is not an ELF binary.
> 
> 
> Boot transcript (i386 example, amd64 is similar):
> ********************************************
> * squash.bozonet.ntc - NetBSD-5.99.64/i386 *
> ********************************************
> 
> Please select from one of the following options:
> 1288316+214916=0x16f0c0
> WARNING: couldn't open acpiverbose (//acpiverbose/acpiverbose.kmod)
> WARNING: couldn't open pciverbose (//pciverbose/pciverbose.kmod)
> WARNING: couldn't open scsiverbose (//scsiverbose/scsiverbose.kmod)
> WARNING: couldn't open usbverbose (//usbverbose/usbverbose.kmod)
> WARNING: couldn't open miiverbose (//miiverbose/miiverbose.kmod)
> WARNING: couldn't open ffs (//ffs/ffs.kmod)
> Loading /stand/db/entropy-file Loading /netbsd-XEN WARNING: 6

I think this is the problem:  /netbsd-XEN should be the first module
to be loaded. xen.gz will use the first module as dom0 kernel.
I'm not sure entropy-file will work with a Xen dom0 kernel (this is
new, I've not had time to play with it yet).

> [...]
> The "/boot.cfg" file for the host example above (using last "menu"
> selection):
> banner=********************************************
> banner=* squash.bozonet.ntc - NetBSD-5.99.64/i386 *
> banner=********************************************
> banner=
> banner=Please select from one of the following options:
> menu=Boot normally:rndseed /stand/db/entropy-file;boot netbsd
> menu=Boot single user:rndseed /stand/db/entropy-file;boot netbsd -s
> menu=Disable ACPI:rndseed /stand/db/entropy-file;boot netbsd -2
> menu=Disable ACPI and SMP:rndseed /stand/db/entropy-file;boot netbsd -12
> menu=Drop to boot prompt:prompt
> menu=Boot Xen w/512MB dom0:rndseed /stand/db/entropy-file;load /netbsd-XEN 
> console=pc;multiboot /xen.gz dom0_mem=512M

Maybe try to put the rndseed entry after the load entry ?

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


Home | Main Index | Thread Index | Old Index