Subject: Re: XEN0 and RAID (What I really wanted)
To: Tonnerre LOMBARD <tonnerre@bsdprojects.net>
From: Johnny Lam <jlam@pkgsrc.org>
List: tech-kern
Date: 03/03/2006 13:06:00
Tonnerre LOMBARD wrote:
> 
> Currently, I'm trying to install NetBSD/XEN0 on a machine and I am facing the
> problem that apparently the RAID isn't available as a boot device (i.e. isn't
> detected properly) under XEN0. The kernel is NetBSD 3.0's default XEN0 kernel,
> and the machine is a Dell PowerEdge 2500 with onboard RAID (aac).
> 
> The relevant parts of dmesg duing a Non-XEN bootup:
> 
> aac0 at pci1 dev 2 function 1: Dell PERC 3/Di
> aac0: interrupting at irq 5
> aac0: i960RX at 100MHz, 126MB mem (118MB cache), optional battery present
> aac0: Kernel 2.7-0 [Build 3153], Monitor 2.7-0 [Build 3153], S/N BC10D2
> aac0: Controller supports: 55c<WCACHE,DATA64,HOSTTIME,WINDOW4GB,SOFTERR,SGMAP64>
> ld0 at aac0 unit 0: RAID 5
> ld0: 69425 MB, 8850 cyl, 255 head, 63 sec, 512 bytes/sect x 142182912 sectors
> 
> Any idea why the thing doesn't turn up on XEN boots? I'll try further booting
> the beast and discovering more boot messages, but it doesn't really scroll,
> because the thing isn't wscons at the point. But well.

The default NetBSD 3.0 XEN0 kernel doesn't include the drivers for the 
hardware RAID cards (this has been fixed on HEAD).  You'll need to build 
your own kernel that includes those devices manually.

	Cheers,

	-- Johnny Lam <jlam@pkgsrc.org>