Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2023 07:10:12 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Where did the nvd devices go?
Message-ID:  <CANCZdfqFeGZ99sq_z9NkbpB2uy1=7_jsW_gBE4-QTGGw1EmmfQ@mail.gmail.com>
In-Reply-To: <20230622172451.75126b3eaad16a88fa6b9d52@dec.sakura.ne.jp>
References:  <CAN6yY1s-8T4yoafCy6sPTgqw6ndMYv7hj%2BHU-fcO2QhnhUCRWQ@mail.gmail.com> <CANCZdfr6BN6S5TKcCuifq-RSNpnRfaf-Zf_Y%2BMXwxF96N3CcJQ@mail.gmail.com> <CAN6yY1tgZ7d_Cxt2GKEr7rn8tsOq2PHU_sZU=iOOc=gQS5eAcg@mail.gmail.com> <CANCZdfqTo=mCH7Yb9GhT=E8009GWmEbUrvoZanU=SE5HpxL9Hg@mail.gmail.com> <CAN6yY1sdcT_S26o4UFj9BV1zh9QCTLWTACUGsF%2BhKdHPpNThcw@mail.gmail.com> <20230622172451.75126b3eaad16a88fa6b9d52@dec.sakura.ne.jp>

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

[-- Attachment #1 --]
On Thu, Jun 22, 2023, 2:25 AM Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
wrote:

> Maybe I'm wrong, but does D25168 "geom(4): Look for aliases when
> searching for providers by name" [1], which is already accepted but not
> yet committed, help?
>

That's the kernel side. And i think i did something else when that proved
to have unanticipated problems. At least some of the issues with the
useland commands are because I didn't realize at the time that libgeom and
friends need updating...

Warner


[1] https://reviews.freebsd.org/D25168
>
>
> On Wed, 21 Jun 2023 23:07:51 -0700
> Kevin Oberman <rkoberman@gmail.com> wrote:
>
> > Just found another breakage due to nvd becoming a symlimk. I use gkrellm
> as
> > my system monitor and, after the update, my SSD showed no activity. Easy
> > fix to edit the configuration to disable nvd0 and enable nda0, but
> another
> > case of a tool not following the symlink.
> >
> > If I get a little time tomorrow. I'll try finding the code in gkrellm and
> > see if I can figure out whether the breakage is a roble in the port or a
> > system issue, but no promises.
> >
> > On Wed, Jun 21, 2023 at 8:43 PM Warner Losh <imp@bsdimp.com> wrote:
> >
> > >
> > >
> > > On Wed, Jun 21, 2023 at 8:47 PM Kevin Oberman <rkoberman@gmail.com>
> wrote:
> > >
> > >>
> > >> Commands used were "gpart show nvd0" and "geli attach -d -k
> ************
> > >> /dev/nvd0p7". Also tried both with and without the "/dev" which fail
> for
> > >> nvd*  and succeed with nda*.
> > >>
> > >
> > > Ah. I see the problem. libgeom doesn't parse the <alias> nodes, nor
> does
> > > it use them when searching for a geom by name...
> > >
> > > I need to carefully think about how to fix it, though, since it may be
> an
> > > ABI change and we're getting trickily close
> > > to 14 to be mucking with this...
> > >
> > > Warner
> > >
> >
> >
> > --
> > Kevin Oberman, Part time kid herder and retired Network Engineer
> > E-mail: rkoberman@gmail.com
> > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>
>
> --
> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>
>
>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 22, 2023, 2:25 AM Tomoaki AOKI &lt;<a href="mailto:junchoon@dec.sakura.ne.jp">junchoon@dec.sakura.ne.jp</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Maybe I&#39;m wrong, but does D25168 &quot;geom(4): Look for aliases when<br>
searching for providers by name&quot; [1], which is already accepted but not<br>
yet committed, help?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">That&#39;s the kernel side. And i think i did something else when that proved to have unanticipated problems. At least some of the issues with the useland commands are because I didn&#39;t realize at the time that libgeom and friends need updating...</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><br></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">
[1] <a href="https://reviews.freebsd.org/D25168" rel="noreferrer noreferrer" target="_blank">https://reviews.freebsd.org/D25168</a><br>;
<br>
<br>
On Wed, 21 Jun 2023 23:07:51 -0700<br>
Kevin Oberman &lt;<a href="mailto:rkoberman@gmail.com" target="_blank" rel="noreferrer">rkoberman@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Just found another breakage due to nvd becoming a symlimk. I use gkrellm as<br>
&gt; my system monitor and, after the update, my SSD showed no activity. Easy<br>
&gt; fix to edit the configuration to disable nvd0 and enable nda0, but another<br>
&gt; case of a tool not following the symlink.<br>
&gt; <br>
&gt; If I get a little time tomorrow. I&#39;ll try finding the code in gkrellm and<br>
&gt; see if I can figure out whether the breakage is a roble in the port or a<br>
&gt; system issue, but no promises.<br>
&gt; <br>
&gt; On Wed, Jun 21, 2023 at 8:43 PM Warner Losh &lt;<a href="mailto:imp@bsdimp.com" target="_blank" rel="noreferrer">imp@bsdimp.com</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Wed, Jun 21, 2023 at 8:47 PM Kevin Oberman &lt;<a href="mailto:rkoberman@gmail.com" target="_blank" rel="noreferrer">rkoberman@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Commands used were &quot;gpart show nvd0&quot; and &quot;geli attach -d -k ************<br>
&gt; &gt;&gt; /dev/nvd0p7&quot;. Also tried both with and without the &quot;/dev&quot; which fail for<br>
&gt; &gt;&gt; nvd*  and succeed with nda*.<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt; Ah. I see the problem. libgeom doesn&#39;t parse the &lt;alias&gt; nodes, nor does<br>
&gt; &gt; it use them when searching for a geom by name...<br>
&gt; &gt;<br>
&gt; &gt; I need to carefully think about how to fix it, though, since it may be an<br>
&gt; &gt; ABI change and we&#39;re getting trickily close<br>
&gt; &gt; to 14 to be mucking with this...<br>
&gt; &gt;<br>
&gt; &gt; Warner<br>
&gt; &gt;<br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; Kevin Oberman, Part time kid herder and retired Network Engineer<br>
&gt; E-mail: <a href="mailto:rkoberman@gmail.com" target="_blank" rel="noreferrer">rkoberman@gmail.com</a><br>
&gt; PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683<br>
<br>
<br>
-- <br>
Tomoaki AOKI    &lt;<a href="mailto:junchoon@dec.sakura.ne.jp" target="_blank" rel="noreferrer">junchoon@dec.sakura.ne.jp</a>&gt;<br>
<br>
</blockquote></div></div></div>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqFeGZ99sq_z9NkbpB2uy1=7_jsW_gBE4-QTGGw1EmmfQ>