Subject: port-i386/33048: aac(9) fails to initialize under Xen (NetBSD 3.0)
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 03/10/2006 09:35:00
>Synopsis: aac(9) fails to initialize under Xen (NetBSD 3.0)
>Arrival-Date: Fri Mar 10 09:35:00 +0000 2006
>Originator: Tonnerre Lombard
>Release: NetBSD 3.0_STABLE
NetBSD srsyg05.sygroup.ch 3.0_STABLE NetBSD 3.0_STABLE (SYXEN0) email@example.com:/home/tonnerre/netbsd/sys/arch/i386/compile/SYXEN0 i386
(The uname -a output is "as it would be", because, well, the kernel doesn't boot ;)
I had to add aac(9) to the XEN0 config myself, thus the name SYXEN0. However, unlike others suggested on tech-kern@, it doesn't boot under Xen:
aac0 at pci1 device 2 function 1: Dell PERC 3/Di
aac0: interrupting at irq 26, event channel 4
<30 seconds of wild rattling>
aac0: error establishing init structure
Manuel Bouyer suggested that it might possibly be a problem with incontiguous memory returned by bus_dmamem_alloc() under xen. He is however quite sure that it isn't. I am willing to try and/or create under advise any type of patches, but I can't work them out myself because all the time I can devote to NetBSD kernel hacking here goes into ciss(9).
- copy the XEN0 config to SYXEN0
- add the following lines:
aac* at pci? device ? function ?
ld* at aac? unit ?
- Compile and boot