Current-Users archive

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

Re: Dell PERC 6/i



> 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++) {

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

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.

-- Akira Kato, WIDE Project




Home | Main Index | Thread Index | Old Index