Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Dell PERC 6/i



On Mon, 25 Feb 2008 18:00:32 +0900 (JST)
Akira Kato <kato%wide.ad.jp@localhost> wrote:

> 
> > Here's a first untested patch, let me know if there's any
> > problem and I'll fix:
> > 
> > http://www.netbsd.org/~xtraeme/mfi_perc6.diff
> 
> Thanks for a quick response, Juan! Unfortunately there was
> a trivial bug in the diff; In mfi_pci_find_device() in mfi_pci.c,
> a line
>       for (i = 0; __arraycount(mfi_pci_devices); i++) {
> should be
>       for (i = 0; i < __arraycount(mfi_pci_devices); i++) {

Oh right, thanks for catching this.

> With the modification above, the kernel recognized the PERC6/i
> card as follows:
> 
> pci7 at ppb6 bus 1
> pci7: i/o space, memory space enabled, rd/line, wr/inv ok
> mfi0 at pci7 dev 0 function 0, (null): ioapic0 pin 16 (irq 5)
> mfi0: logical drives 1, version 6.0.1-0080, 256MB RAM
> scsibus0 at mfi0: 64 targets, 8 luns per target
> [snip]
> sd0 at scsibus0 target 0 lun 0: <DELL, PERC 6/i, 1.11> disk fixed
> sd0: fabricating a geometry
> sd0: 136 GB, 139392 cyl, 64 head, 32 sec, 512 bytes/sect x 285474816 sectors

Looks like that the subproduct code wasn't working, I changed it
to match the openbsd code... we can revisit this later.
 
> While I have not performed extensive test, it works well so that I
> succcessfully installed the full NetBSD system (the kernel has to be
> replaced with patched one, of course), and got src/pkgsrc through
> pserver.

Nice. Would you like to please test this patch:

http://www.netbsd.org/~xtraeme/mfi_perc6_2.diff

-- 
Juan Romero Pardines             The NetBSD Project
http://plog.xtrarom.org/         NetBSD/pkgsrc news in Spanish
http://mklivecd.xtrarom.org/     Make your own NetBSD Live CD/DVD!


Home | Main Index | Thread Index | Old Index