NetBSD-Users archive

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

Re: NetBSD 6.0/amd64 Panic on shutdown.. mfi related?



On 11/07/12 23:37, David Young wrote:
> On Wed, Nov 07, 2012 at 09:15:56PM +0000, Hugo Silva wrote:
>> On 11/07/12 18:10, David Young wrote:
>>> On Wed, Nov 07, 2012 at 04:08:57PM +0000, Hugo Silva wrote:
>>>> Happening 100% of the time.
>>>>
>>>> Does the information below help ?
>>>
>>> Please send the dmesg, too.
>>
>> As requested, dmesg output:
>>
>> ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x3408 (rev. 0x22)
>> ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex>
>> pci1 at ppb0 bus 1
>> pci1: i/o space, memory space enabled, rd/line, wr/inv ok
>> pci_mem_find: void region
>> mfi0 at pci1 dev 0 function 0mfi0: interrupting at ioapic1 pin 4
>> mfi0: unknown firmware state -1879048192
>> mfi0: can't attachmfi0: WARNING: power management not supported
> 
> Aha! mfi0 doesn't fully attach, yet it hangs around in the device tree
> in a semi-attached state.  It probably has a bogus bus_space(9) tag &
> handle, but mfi_detach() tries to use them, anyway -> crash.
> 
> BTW, there really are two mfi(4) adapters, right?  I've once seen a bug
> where a device appeared to have an "alias" at a second PCI function.
> 
> Dave
> 


The guys in the datacenter were unable to give me any more information.

What I could find through pcictl was:

001:00:0: Symbios Logic MegaRAID SAS2108 GEN2 (RAID mass storage,
revision 0x04)
003:14:0: Symbios Logic MegaRAID SAS (RAID mass storage)


I *think* but am not sure that I could query mfi0 with FreeBSD's mfiutil
before installing NetBSD. bioctl mfi0 show doesn't work though:

bioctl: Can't locate mfi0 device via /dev/bio


When the server is booting only the mfi1 card is seen doing its thing.
I'd noticed mfi0 being present was strange but didn't think much of it
(mfi1 did work after all), that is until I noticed the panic on shutdown
appeared to be related to the driver.


Home | Main Index | Thread Index | Old Index