From nobody Thu Jun 22 13:10:12 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qn12B1bNyz4gfGx for ; Thu, 22 Jun 2023 13:10:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qn12B1Btrz3w24 for ; Thu, 22 Jun 2023 13:10:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b46773e427so84256851fa.3 for ; Thu, 22 Jun 2023 06:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20221208.gappssmtp.com; s=20221208; t=1687439424; x=1690031424; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dyh+YdWcWMWzgPqxQZ3s+CXlLWnOXqLQJhJ87ytTDqI=; b=jG41ls15MIDfqwkHPz25MdxsJPpzUqIY/Ax9dQcfZ1+HIA9hJOMUM0g25ZnBL7h1Pm 57iV/eOv4PjuZszkSqdT0o/EUeAlA1RIu2llN4x9uBZOtzq1AapmH0IQzDb21jvNV37A xLZPCXcD4fETm1XLyJyj/ESVjB0mYaAqwCAQhGaA8UrU1Qw7LZs2wiiTwVHAR91byQ6x 3CS22ThqMfY51eoFU6SrtsTrNalUMkcSCnK1CLLkRCDpS7SRT8AXQW7OkWhSovsghbvv ECpFYeAisHcwMQaZFd3jOBA6Z1wJh/EcHYr1E1GirUmmqpGxDQ/umY49wNgCkFCNXz6h CZPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687439424; x=1690031424; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dyh+YdWcWMWzgPqxQZ3s+CXlLWnOXqLQJhJ87ytTDqI=; b=fnyZKaEBI3vaVlW9q/6QPephE2aNqQeXf1qJMYvh/H+lypd1v2xNKkdUgW1Mqy2nNG TSdZVYdTBoDdIS973Wgib+EMHHKda6DSlm/E9jTxGuugNviB127lQ4O4zr6L4ETfVr2O LI//mRfndUXVfkAiasssAKnSSPl8ZQuqqZ950cFdDcKVscJR4clp+XtLWTaMiKUZ9nJl lRtfBZNSQBSx3zF/w5sAZvuBLhxLpCMUZ5+i6EMUEG5ppDMB3vBzMSwawLTbczZ7uHSR D3zyyUvNMI9Ge/q2Pf9xk8fZ+D1jEfSKgoOWIeaslJ9l22L0h30d04+uMAI36BFD7wTJ qGrQ== X-Gm-Message-State: AC+VfDxRXpsyaxZMXIX98XvGiiF/1oaPhP1hsWO4SF0abWxHXNgZwqax LwZRlziFW0Sm1nzArd6INGnCeI8hCpnpG5dhxq1qJhut7t8Qj8Ba X-Google-Smtp-Source: ACHHUZ4hWa77nsj3nPq6YpUtL0jvco0gj8PB5o1XYVHMW7oW9cAW2EAEgUkNkUIAbU/bkUfcBJtZywTy8es48odcqBo= X-Received: by 2002:a2e:90c9:0:b0:2b4:7380:235 with SMTP id o9-20020a2e90c9000000b002b473800235mr9044499ljg.32.1687439424194; Thu, 22 Jun 2023 06:10:24 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <20230622172451.75126b3eaad16a88fa6b9d52@dec.sakura.ne.jp> In-Reply-To: <20230622172451.75126b3eaad16a88fa6b9d52@dec.sakura.ne.jp> From: Warner Losh Date: Thu, 22 Jun 2023 07:10:12 -0600 Message-ID: Subject: Re: Where did the nvd devices go? To: Tomoaki AOKI Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="00000000000075a1e505feb79bbf" X-Rspamd-Queue-Id: 4Qn12B1Btrz3w24 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000075a1e505feb79bbf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jun 22, 2023, 2:25 AM Tomoaki AOKI 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 wrote: > > > Just found another breakage due to nvd becoming a symlimk. I use gkrell= m > as > > my system monitor and, after the update, my SSD showed no activity. Eas= y > > 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 a= nd > > 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=E2=80=AFPM Warner Losh wr= ote: > > > > > > > > > > > On Wed, Jun 21, 2023 at 8:47=E2=80=AFPM Kevin Oberman > 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 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 b= e > 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 > > --00000000000075a1e505feb79bbf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Jun 22, 2023, 2:25 AM Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wro= te:
Maybe I'm wrong, but does D= 25168 "geom(4): Look for aliases when
searching for providers by name" [1], which is already accepted but no= t
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 t= ime 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 gkrel= lm as
> my system monitor and, after the update, my SSD showed no activity. Ea= sy
> fix to edit the configuration to disable nvd0 and enable nda0, but ano= ther
> case of a tool not following the symlink.
>
> If I get a little time tomorrow. I'll try finding the code in gkre= llm 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=E2=80=AFPM Warner Losh <imp@bsdimp.com= > wrote:
>
> >
> >
> > On Wed, Jun 21, 2023 at 8:47=E2=80=AFPM Kevin Oberman <rkober= man@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*=C2=A0 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 m= ay 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=C2=A0 =C2=A0 <junchoon@dec.sakura.ne.jp>

--00000000000075a1e505feb79bbf--