Subject: Re: NetBSD/xen kernel failures?
To: None <jdbaker@mylinuxisp.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 10/20/2006 20:16:19
On Fri, Oct 20, 2006 at 11:57:43AM -0500, jdbaker@mylinuxisp.com wrote:
> My build of "release" for i386 (under NetBSD/xen) finished, but the
> resulting XEN3_DOM0 kernel still wouldn't load.  Xen complained about:
> 
>     Not a XEN-ELF image:  '__xen_guest' section not found.
> 
> Attempting to load a native NetBSD/i386 kernel with GRUB results in:
> 
>     Error 13:  Invalid or unsupported executable format.
> 
> The other problem I mentioned with some NetBSD/xen kernels crashing I
> cannot report on better until I can arrange to have a serial console
> attached to another machine.
> 
> Just for grins, I rebuilt my custom "JDBT-X3D0" kernel (which has a
> supporting "JDBT-X2D0" config, which is the XEN2_DOM0 config with the
> extraneous device support commented out).  This was also built with the
> system running under the previous working XEN3_DOM0 kernel.
> 
> I copied the custom NetBSD/xen kernel into place and it loaded successfully.
> What gives?  I made no changes at all.  Not even updating the source tree.

I already noticed that grub has troubles reading ffs in some circunstances
(it  fails to find the file, or loads the wrong blocks). 
What parameters do you have for / ? I suspect for a working grub, you need
a 8k/1k block/fragment size, ffsv1 only.

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