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> References: <b2770c91-b3dd-78cd-b668-b9d10c1aa0d2@aetern.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000001c0fe805e0a38d90 Content-Type: text/plain; charset="UTF-8" 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 > --0000000000001c0fe805e0a38d90 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Sat, Jun 4, 2022, 11:13 AM Yuri <<a href=3D"mail= to:yuri@aetern.org">yuri@aetern.org</a>> wrote:<br></div><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa= dding-left:1ex">Getting the following panic on HPE system with HPE enclosur= e:<br> <br> panic: make_dev_alias_v: bad si_name (error=3D22,<br> si_name=3Denc@n....../type@0/slot@1/elmdesc@{"Name":"DriveBa= y1"}/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 "Name":"Drive= Bay1" 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.=C2=A0 Probably we need = to<br> sanitize the input somewhere?<br></blockquote></div></div><div dir=3D"auto"= ><br></div><div dir=3D"auto"><br></div><div dir=3D"auto">Likely.=C2=A0 I= 9;ll take a look. Can you file a bug, include CAM in the title and cc imp@ = please?</div><div dir=3D"auto"><br></div><div dir=3D"auto">Warner=C2=A0</di= v><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D"gmail_q= uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e= x"> </blockquote></div></div></div> --0000000000001c0fe805e0a38d90--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdforaV1X0O1BRshtu0Fd2D3po7RzW2Xv-WVDZKA98R_qBQ>