Subject: amr and Dell PE 2600
To: None <current-users@netbsd.org>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: current-users
Date: 06/10/2003 13:33:12
Hi,
I'm trying to get a Dell PE 2600 working under current and as it stands it
doesn't recognise the raid controller. So I added the following to amr.c (and
the associated defines to pcidevs), which appeared to be the only change
required in the OpenBSD commit of a week or two ago that appears to add
support there.
diff -u -r1.11 amr.c
--- amr.c 15 May 2003 18:04:08 -0000 1.11
+++ amr.c 2 Jun 2003 12:56:12 -0000
@@ -132,6 +132,8 @@
{ PCI_VENDOR_AMI, PCI_PRODUCT_AMI_MEGARAID, 0 },
{ PCI_VENDOR_AMI, PCI_PRODUCT_AMI_MEGARAID2, 0 },
{ PCI_VENDOR_AMI, PCI_PRODUCT_AMI_MEGARAID3, AT_QUARTZ },
+ { PCI_VENDOR_DELL, PCI_PRODUCT_DELL_PERC_4DI, AT_QUARTZ },
+ { PCI_VENDOR_DELL, PCI_PRODUCT_DELL_PERC_4DI_2, AT_QUARTZ },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_AMI_MEGARAID3, AT_QUARTZ | AT_SIG }
};
With this I now get a panic during the boot:
[...]
amr0 at pci8 dev 8 function 0: AMI RAID
amr0: unsupported controller
extent 'iomem' (0x0 - 0xffffffff), flags=0x3
0x0 - 0x9ffff
0xa0000 - 0xbffff
[...]
extent_free: start 0xfebf0000 end 0xfebeffff
panic: extent_free: region not found.
Any idea whats going wrong here? I'm surprised it says "unsupported
controller" and can't see why it goes through the code path that gets there.
cheers
mark