I've been trying to get xen (community/xen package) working for quite some time now and I'm quite stuck. Raid support is built in to the dom0 kernel but it was missing support for my sata chipset (sata_nv) so it didn't see my drives. I downloaded the xenified kernel sources from xen.org and recompiled the kernel with the dom0 config in /boot/. Now it sees the drives but init crashes with.
(had to type this so I skipped quite a lot of the dump and there might be typos)
Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
This doesn't happen with the kernel provided in the package and the only thing that has been changed from the provided configuration is the sata driver. I'm really lost with this, if somebody knows how to build a working xen dom0 kernel I could use some insight. If you need more info just ask thou I don't have much to give since I don't have any kind of logs.
EDIT: Actually it might happen even with the provided kernel, I'm not sure if it gets that far before failing because it can't find my hds.
EDIT2: Changed the topic to a little more descriptive one since my questions doesn't really have anything to do with raid 5 .
EDIT3: Changed topic as below it doesn't seem to have anything to do with xen.
Last edited by virus2547 (2008-05-10 01:20:28)
Ok so I compiled vanilla 2.6.18 kernel with the same config as the xen kernel and it crashes so maybe it's the config . If anyone has PKGBUILD or working config for 2.6.18 kernel it'd be nice. I'll post my config in a bit.
Last edited by virus2547 (2008-05-09 22:55:35)
Ok I finally managed to boot in to XEN. I modified the PKGBUILD for the xen package to generate the generic XEN kernel (no different kernels for dom0 and domU). Here's the PKGBUILD I used.
pkgdesc="a Virtual Machine Monitor (VMM)"
depends=('iproute' 'bridge-utils' 'python' 'sdl' 'zlib' 'e2fsprogs' 'mercurial' 'patch')
http://www.kernel.org/pub/linux/kernel/ … r.tar.bz2)
mv ../linux-$_kernelver.tar.bz2 .
make KERNELS="linux-2.6-xen" world || return 1
make KERNELS="linux-2.6-xen" DESTDIR=$startdir/pkg install || return 1
( cd $startdir/pkg/etc && mv init.d rc.d ) || return 1
rm -f $startdir/pkg/usr/share/man/man1/qemu-img.1* \
I also did mkinitcpio -k 2.6.18 -g /boot/kernel26xen.img, don't know if that's needed but I'm not going to test it now .