Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2020 09:46:38 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Santiago Martinez <sm@codenetworks.net>, FreeBSD Current <current@freebsd.org>
Cc:        "Kashyap D. Desai" <kadesai@FreeBSD.org>, "Kenneth D. Merry" <ken@FreeBSD.org>
Subject:   Re: MRSAS Panic during Install.
Message-ID:  <3b0d4cec-69bd-0516-77e8-574678b6bd36@FreeBSD.org>
In-Reply-To: <a3b4ffc2-dcf9-bdcb-4e3e-a44f0cf8460b@codenetworks.net>
References:  <99447152-0340-11dd-fb75-a745d2ee5a6a@codenetworks.net> <0fa770fc-4fbc-cd1f-e8cc-30c74b37b71b@codenetworks.net> <a3b4ffc2-dcf9-bdcb-4e3e-a44f0cf8460b@codenetworks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/06/2020 03:42, Santiago Martinez wrote:
> Hi Everyone, today I tested with 12.1 and it works without any issues (at least
> for now).
> 
> I will sync against current and see if it fails.
> 
> Santiago
> 
> On 2020-06-08 17:41, Santiago Martinez wrote:
>> Hi there, tried again and now i got it with UFS also.. that make sense.. right...
>>
>>
>> On 2020-06-08 15:20, Santiago Martinez wrote:
>>> Hi Everyone,
>>>
>>> I'm installing FreeBSD current(361567) snapshot on a Lenovo SR655 server.
>>> After selecting ZFS, and the installer tries to make the partitions, etc I
>>> get the following panic.
>>>
>>> I tried selecting UFS and its works.
>>>
>>> I uploaded a screenshot as I only have KVM access to it:
>>>
>>> https://0bin.net/paste/4yn33GkSKiYto6m4#h78yCE6h80-3DsApbXa1XLW9+bhoKhOr3MVS+NRgA5A
>>>
>>>
>>> The server is a ThinkSystem SR655, with the following controller, RAID 930-8i
>>> 2GB Flash PCIe 12Gb Adapter

Lousy OCR of the picture:
...
nic: nutex mrsas_sin_lock not ouned at /usr/src/sys/kern/kern_nutex.c:284
...
b_trace_self_urapper () at db_trace_self_urapper+8x2b/frane BxfffffeB33c44a918
anic() at vpanic+Bx182/frane BxfffffeA33c44ad68
nic() at panic+Bx43/frame BxfffffeB33c44adcd
_mtx_assert() at __mtx_assert+@xb@/frane Bxfffffed33c44a9dd
callout_stop_safe() at _callout_stop_safe+Bx82/frane Bxfffffe33c44aac
rsas_conplete_cnd() at mrsas_complete_cnd+8x1b8/frane BxfffffeB33c4daaed
ithread_loop() at ithread_loop+@x279/frame BxfffffeB33c44ah78

This looks like a fallout from r342064.
cm_callout is initialized like this:
	callout_init_mtx(&cmd->cm_callout, &sc->sim_lock, 0);
but in mrsas_complete_cmd() it's stopped without holding the lock.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3b0d4cec-69bd-0516-77e8-574678b6bd36>