Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2022 13:34:57 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Yuri <yuri@aetern.org>, FreeBSD Current <current@freebsd.org>
Subject:   Re: panic: make_dev_alias_v: bad si_name
Message-ID:  <CAOtMX2gSakbpnUa_9y%2BFEQAvRXrXe6BNAcxHp2ixyQj4h9om=Q@mail.gmail.com>
In-Reply-To: <CANCZdforaV1X0O1BRshtu0Fd2D3po7RzW2Xv-WVDZKA98R_qBQ@mail.gmail.com>
References:  <b2770c91-b3dd-78cd-b668-b9d10c1aa0d2@aetern.org> <CANCZdforaV1X0O1BRshtu0Fd2D3po7RzW2Xv-WVDZKA98R_qBQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 4, 2022 at 1:04 PM Warner Losh <imp@bsdimp.com> wrote:
>
>
>
> On Sat, Jun 4, 2022, 11:13 AM Yuri <yuri@aetern.org> wrote:
>>
>> Getting the following panic on HPE system with HPE enclosure:
>>
>> panic: make_dev_alias_v: bad si_name (error=22,
>> si_name=enc@n....../type@0/slot@1/elmdesc@{"Name":"DriveBay1"}/pass4)
>>
>> db_trace_self_wrapper()
>> vpanic()
>> panic()
>> make_dev_alias_v()
>> make_dev_alias_p()
>> make_dev_physpath_alias()
>> pass_add_physpath()
>> taskqueue_run_locked()
>> taskqueue_thread_loop()
>> fork_exit()
>> fork_trampoline()
>>
>> I have skipped typing all the frame information as the cause of panic
>> seems to be apparent -- enclosure replies with "Name":"DriveBay1" via
>> ses (it does the same weirdness for sensors and other elements), and
>> make_dev_alias_v() does not like the double quotes.  Probably we need to
>> sanitize the input somewhere?
>
>
>
> Likely.  I'll take a look. Can you file a bug, include CAM in the title and cc imp@ please?
>
> Warner

Also, it would help to include the output of "sg_ses -p7 /dev/sesXXX",
where sg_ses comes from sysutils/sg3_utils.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2gSakbpnUa_9y%2BFEQAvRXrXe6BNAcxHp2ixyQj4h9om=Q>