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