Subject: Re: XEN Problem Problem !!!
To: kamel derouiche <derouiche_dz@yahoo.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 03/13/2006 21:41:15
On Sun, Mar 12, 2006 at 01:19:52PM +0100, kamel derouiche wrote:
> HI ALL,,
> 
> Problem Problem 
> 1) #./xend start
> xendd: Cannot find /kern/xen/privcmd !

Did you mount /kern ? Are you running a domain0 kernel ?

> 
> 2-msg BOOT :
> (XEN)...............................
> (XEN)................................
> (XEN)..............................
> (XEN)................................
> not a XEN-ELF image __xen_guest section not found 

You're not using the right kernel. The loaded image isn't an Xen kernel.

> #   compile  JIHBED_XEN/darwin_ioframebuffer.o
> cc -ffreestanding -g -O2 -mcpu=i686 -march=i686
> -Werror -Wall -Wno-main -Wno-format-zero-length
> -Wpointer-arith -Wmissing-prototypes
> -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow
> -Wcast-qual -Wwrite-strings -Wno-sign-compare
> -fno-zero-initialized-in-bss -Di386 -I.
> -I/usr/src/sys/arch/i386/compile/JIHBED_XEN/xen-ma
> -I../../../../arch -I../../../.. -nostdinc -DVM86
> -DLKM -DDIAGNOSTIC -DDEBUG -DIPSEC_DEBUG
> -DDEBUG_DARINW -DDEBUG_MACH -DMAXUSERS=37 -D_KERNEL
> -D_KERNEL_OPT
> -I../../../../lib/libkern/../../../common/lib/libc/quad
> -I../../../../lib/libkern/../../../common/lib/libc/string
> -I../../../../lib/libkern/../../../common/lib/libc/arch/i386/string
> -I../../../../dist/ipf -c
> ../../../../compat/darwin/darwin_ioframebuffer.c
> ../../../../compat/darwin/darwin_ioframebuffer.c: In
> function `darwin_findscreen':
> ../../../../compat/darwin/darwin_ioframebuffer.c:825:
> error: `wsdisplay_cd' undeclared (first use in this
> function)
> ../../../../compat/darwin/darwin_ioframebuffer.c:825:
> error: (Each undeclared identifier is reported only
> once
> ../../../../compat/darwin/darwin_ioframebuffer.c:825:
> error: for each function it appears in.)
> *** Error code 1

Well, something in COMPAT_DARWIN expects to have a wsdisplay available.
If you're building a domU kernel, please remove COMPAT_DARWIN and send a PR
about this. If you're building a DOM0 kernel add the wsdisplay devices
back.

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