Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2022 12:38:44 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Yuri <yuri@aetern.org>
Cc:        FreeBSD Current <current@freebsd.org>
Subject:   Re: panic: make_dev_alias_v: bad si_name
Message-ID:  <CANCZdforaV1X0O1BRshtu0Fd2D3po7RzW2Xv-WVDZKA98R_qBQ@mail.gmail.com>
In-Reply-To: <b2770c91-b3dd-78cd-b668-b9d10c1aa0d2@aetern.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 4, 2022, 11:13 AM Yuri &lt;<a href="mailto:yuri@aetern.org">yuri@aetern.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Getting the following panic on HPE system with HPE enclosure:<br>
<br>
panic: make_dev_alias_v: bad si_name (error=22,<br>
si_name=enc@n....../type@0/slot@1/elmdesc@{&quot;Name&quot;:&quot;DriveBay1&quot;}/pass4)<br>
<br>
db_trace_self_wrapper()<br>
vpanic()<br>
panic()<br>
make_dev_alias_v()<br>
make_dev_alias_p()<br>
make_dev_physpath_alias()<br>
pass_add_physpath()<br>
taskqueue_run_locked()<br>
taskqueue_thread_loop()<br>
fork_exit()<br>
fork_trampoline()<br>
<br>
I have skipped typing all the frame information as the cause of panic<br>
seems to be apparent -- enclosure replies with &quot;Name&quot;:&quot;DriveBay1&quot; via<br>
ses (it does the same weirdness for sensors and other elements), and<br>
make_dev_alias_v() does not like the double quotes.  Probably we need to<br>
sanitize the input somewhere?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Likely.  I&#39;ll take a look. Can you file a bug, include CAM in the title and cc imp@ please?</div><div dir="auto"><br></div><div dir="auto">Warner </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdforaV1X0O1BRshtu0Fd2D3po7RzW2Xv-WVDZKA98R_qBQ>