Sunday, July 30, 2017

Re: Getting Dell RAID status via SNMP

Hi,

From: Andrew Daugherity <andrew.daugherity@gmail.com>
Subject: Re: Getting Dell RAID status via SNMP
Date: Fri, 28 Jul 2017 15:08:47 -0500

>> Here is new/WIP patch to support bio(4) for mfii(4). it doesn't fix the
>> "issue" yet, but it includes hot swap support from my patch for mfi(4)
>> http://marc.info/?l=openbsd-tech&m=149872410222552&w=2
>>
>> Could you try attached patch?
>>
>
> Hi,
>
> Thanks for the patch, but it fails to build (also, I had to use 'patch -l'
> to get it to apply at all, due to ^M line endings, etc.):
> ====
> /usr/src/sys/dev/pci/mfii.c: In function 'mfii_makegood':
> /usr/src/sys/dev/pci/mfii.c:3068: error: 'MR_DCMD_CFG_FOREIGN_SCAN'
> undeclared (first use in this function)
(snip)

sorry, I forgot that my mfii(4) patch depends on updated mfireg.h in my
mfi(4) patch. (it's not merged yet)

> I got around that by copying those definitions from the FreeBSD mfi driver

your fix is correct :), I also got definitions from FreeBSD.
and your sysctl/bioctl/dmesg output looks good to me.

> Nice work! Sorry I don't have a card with cache (e.g. H730) to test on,
> but I haven't hit any problems with my H330 yet.

thank you for your report!

Best Regards,

--
FUKAUMI Naoki

No comments:

Post a Comment