Subject: NetBSD -CURRENT with Xen3.0.3: grub failed with Error3 and Error
To: None <port-xen@netbsd.org>
From: =?ISO-8859-1?Q?Rainer_Brinkm=F6ller?= <rainer.brinkmoeller@web.de>
List: port-xen
Date: 11/04/2006 21:36:44
Hi,

after i did install NetBSD 3.0.1 on my new Hardware and did update it to 
-CURRENT
on this way: http://www.netbsd.org/Documentation/current/#updating
i did install grub, xentools30, xenkernel30 and xentools-hvm

Then configured grub. Reboot and .. failure ... remember ... sure, the 
kernel file is to big
So, gzip the kernel file and reboot. Failure again.

First Error when want to start by using kernel xen.gz and netbsd-XEN0.gz 
as module:

kernel (hd0,a)/xen.gz dom0_mem=131072
      [Multiboot-elf, <0x100000:0x7e5d8:0x47a28>

Error 3: Bad or corrupt data while decompressing file

Maybe something wrong with the xen.gz kernel file?
The second Error i've got when want to start by using kernel 
netbsd-GENERIC.gz as module:

root (hd0,a)
     Filesystem type is ffs, partition type 0xa9
kernel --type=netbsd /netbsd-GENERIC.gz
      [Multiboot-elf, <0x100000:0x9ddfc0:0x0>

Error 13: Invalid or unsupported executable format

I also get Error 13 when using netbsd-GENERIC.gz from
ftp://ftp.netbsd.org/pub/NetBSD-daily/HEAD/200610250000Z/i386/binary/kernel/
which is the base of my NetBSD update to -CURRENT.

The size of the compressed xen.gz is 239397
The size of the compressed netbsd-XEN0.gz is 4275291 (uncompressed 9198844)
The size of my compressed netbsd-GENERIC.gz was 4288719 (uncompressed 
11801618)
Any ideas?

regards,
Rainer