Subject: First experience, first failure
To: None <port-xen@NetBSD.org>
From: TLD <tld@tld.digitalcurse.com>
List: port-xen
Date: 12/08/2004 20:05:13
Hello.
I'm trying to get started with NetBSD/xen, with no success so far.
I would really appreciate some help! :)

This is what I've done:

Read all of NetBSD-xen ml's archives
Installed a bare NetBSD-i386 on a test pc (a P2-333), installed the grub,
xen12 and xenutils12 packages.
I've then downloaded, via CVS, the NetBSD source tree (first time, yay!).

Following instructons found in
http://mail-index.netbsd.org/port-xen/2004/04/27/0000.html , I managed to
compile the XEN kernel and the GENERIC one. No real difference on results.
Configure grub, as indicated
xen12load couldn't be built, there's no
/usr/src/tooldir.NetBSD-2.0_RC5-i386/bin/i386--netbsdelf-gcc
Symlinked /usr/tools to the /usr/src/tooldir(...) directory
Re-run make, fails with errors in
/usr/src/sys/arch/xen/stand/xen12load/machine/hypervisor-ifs/network.h ,
the first error of the long list being '141: error: parse error before "u32"'
Copied the xen12load.gz from the LiveCD, gunzipped it and put into /grub
Padded the kernel to be a multiple of 4 with "echo -n a >>xen12netbsd"
Reboot, select the appropriate GRUB entry, config/XEN always halts on root
file system detection (sometimes stops at trying ext2fs as root, sometimes
goes up to copying /sbin/init (11).
The config/GENERIC always halts at "root on wd0a dumps on wd0b", and that's it.

Reboot, use a new partition, extract the NetBSD distribution found on
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/NetBSD/NetBSD-2.0_RC4/xen-i386/
(I wish they actually PUT the xen12load.gz in there), extract it to /dev/wd0e
Also copy the NetBSD-xen kernel from the livecd
Update grub as necessary (added new entries for the files)
Reboot.
No change for my XEN kernel, instantaneous reboot for the LiveCD one.


:'(
Is there light at the end of the tunnel?
Is there an end to the tunnel?
Is this a tunnel, after all?

Thanks for the attention

-- 
/~\ The ASCII                            TLD
\ / Ribbon Campaign
 X  Against HTML        NetBSD: All your platform are belong to us.
/ \ Email!