From nobody Fri Jul 7 12:54:28 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 4QyCz10dRLz4lwGJ for ; Fri, 7 Jul 2023 12:54:37 +0000 (UTC) (envelope-from kenrap@kennethraplee.com) Received: from CY4PR02CU007.outbound.protection.outlook.com (mail-westcentralusazon11011003.outbound.protection.outlook.com [40.93.199.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QyCz05Nbkz3M5r for ; Fri, 7 Jul 2023 12:54:36 +0000 (UTC) (envelope-from kenrap@kennethraplee.com) Authentication-Results: mx1.freebsd.org; none ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bswa05oQXuP6l2bpqa2f/HEZaG4s2P060TMtzbXLxrXz26zuCNGVHcFeTmx+wv7A3RL9M9TqroFM79z/RzHUJZtj+F32todHY1lnSEcSLz9cSVHsoxIwWzsHRJmQOxo7/rw9THnK5nHBn1wLzKCcfqY2AIYLJEHSc0qSXd5tN6pxIGOyLQYe6TlEK8j1f34FwU4kWwBxUG+PE7WWYmhqnlygS2dLhG1GeB8ZIZeUMZEGwY2q9+Wyb5K4ivqJ0k06urFx7Si3ZMvSEUR7RRY8clJcpuKFl+t9k+mXBxEIHIqFqtSPU4rf0XMJ6pu+zB0L+XEigUAmI/5RZgHpCW2ZPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rRa6ufUkzRPKEmLDUwzgvfWb5ftD4ARKkahi7J6T7KU=; b=aIJ3L43JUXoZUtw5Tw5yi/oWy1A5IkEFseYOo45zTjeI3nkmTWbLsRetlmpyBdacjCPRFO3/FiC4/4+0aER3Pfgm3uqdfxmfpSy1+4vcCsQEkqMLVLUjByNBC14ZomirhLDNsyw3dCUTLS324A44Vbd1NTsMKfqsctWo8RMDRJcIGAMg3yPfLgC/CXkaWGtH7AsQYfLGxfumQxpSASnqTN9Jd3v0mGMWEy/fGdU9SGNLiuAOcxZJuZpAqI8p1+jaoVPlf4hKa53rOAg6LwXgpUJqMguiYyf2oxHKvGeS/MUb6LUS0LTOVH/DKpQEaB3HBPG55FDPJBrKdiDNc1GCbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=kennethraplee.com; dmarc=pass action=none header.from=kennethraplee.com; dkim=pass header.d=kennethraplee.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=GregRapleeInc.onmicrosoft.com; s=selector2-GregRapleeInc-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rRa6ufUkzRPKEmLDUwzgvfWb5ftD4ARKkahi7J6T7KU=; b=QUEOM4XuexvV3yMkZV0YvpOtBig+JgGhHN0SkNmyb5C5G+1U7+8ODwLW89YW1u4fLFCsgbwZs1aFpYmR9kKnOk4IpSz5ZTL4F6OdpOjpMCMvSIgN9if4krvvoezqRmVj69FGotJD6mfUOWsZuEPm0NA3QBX4e/leS6ypAH3IFhs= Received: from BYAPR05MB5815.namprd05.prod.outlook.com (2603:10b6:a03:c6::19) by BL3PR05MB9067.namprd05.prod.outlook.com (2603:10b6:208:3b2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Fri, 7 Jul 2023 12:54:29 +0000 Received: from BYAPR05MB5815.namprd05.prod.outlook.com ([fe80::e6e9:179e:6ef:c575]) by BYAPR05MB5815.namprd05.prod.outlook.com ([fe80::e6e9:179e:6ef:c575%6]) with mapi id 15.20.6565.016; Fri, 7 Jul 2023 12:54:29 +0000 From: Kenneth Raplee To: Emmanuel Vadot CC: "freebsd-current@FreeBSD.org" Subject: Re: Possible PEBKAC bug for fwget(8)? Thread-Topic: Possible PEBKAC bug for fwget(8)? Thread-Index: AQHZsGHiGmUfWmQszUagyBL3zAQwJa+t5oCAgABa5hw= Date: Fri, 7 Jul 2023 12:54:28 +0000 Message-ID: References: <20230707092123.c2895b7a50ab6c5e9d1bdf87@bidouilliste.com> In-Reply-To: <20230707092123.c2895b7a50ab6c5e9d1bdf87@bidouilliste.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BYAPR05MB5815:EE_|BL3PR05MB9067:EE_ x-ms-office365-filtering-correlation-id: 901f38af-f9bb-4eb6-8354-08db7ee94d21 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: t17cOp4pnDSUT5irDyKA3LdlYlf8tFipX601240LtVs5yjVWjPXk655ml3br0aFcbG6ze3MH8+bzetmG+ea1dQsSVYNHmL3r5FAMpouWEXot27lBHHqDbCM/UKPpYMycWyQXtetf9tbsC53c7DIn2TgdsKqydfWy022j/oAHA/6tZP11+wZWaDsGYOGZ2n7EQRtUSxOEC6Ue73jdwwDHXRXA5ca+RkStr50fDVuVhYeuwW66fcq2vy2K0S17rVe3gfqV5wuvt5VQKcsVGILayGLczVrejbdnzZEesRZKrK5nFa0fd8/RXhqUWdjzicQPCidkyRpBW4SiobYWEZi/AV2yBZ7ddGfdwCn+VLTlqFFYzi8dqpcAuBRYd9mE+0FQ4WfRU15tMZDcwoQZPINNU/Z5wmg/OzNL3uAZnjGnVegmZUre6Vo1uQfrRWPDKO5C+E+2lcRfEH0cGmwC9DoQ/L35cjJcSxR5ij5VEmAStlwBfk543LYOP7wRqMnALSkJrbfXEN8AVTYfh+A2yr4pzb5dQiSq4COfxt53KEszX098TsNXDw99T9wu3p8+ziE5uirkWi4cxKXYkYgJcEt46Pc/TLEnQ9JgQGWHJhveeNnEtTIy8qn1ojxUOSJW7iMXLsvNyIEXgfUiL3EEiHpLqroRWPp3CNbUk91gLKCXnTlXUaOg9qmjJOi6u5nY6BWO x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR05MB5815.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(346002)(376002)(366004)(136003)(396003)(39830400003)(451199021)(19627405001)(38070700005)(53546011)(166002)(38100700002)(186003)(122000001)(9686003)(966005)(7696005)(2906002)(66476007)(86362001)(4326008)(76116006)(66446008)(478600001)(66556008)(8676002)(55016003)(66946007)(316002)(64756008)(6916009)(83380400001)(26005)(71200400001)(6506007)(41300700001)(33656002)(8936002)(5660300002)(52536014);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?vhrwwkajr25+n6yMajc8BAGSju2npcVLvoS9lv9tQj0aJ+yduRW0pXw4Mr?= =?iso-8859-1?Q?5LeLcu3YI4U8aqJKCVzONNh7v5Z0vgldkpbzP47QKb28L8heZttaFOtO6G?= =?iso-8859-1?Q?BH9Wra2pY7tV4SHSAEv1eMZ1Y9jMwaCYq1HMo0GwyUo7IAxTPZt2cHSxCi?= =?iso-8859-1?Q?VruNR1yLgAee2ksCG2kFFysQLlcwBWWE41n1UccySC3NFPCarWJ8S9TnGN?= =?iso-8859-1?Q?GLT6iao3u79jfUGePWDu4sPvHuH03WcMQc4zoWuCQ1qV4crZ8ArYIh9XVg?= =?iso-8859-1?Q?2LaG7loOa3v5g8PFYeGa4GbDsBVhIGKmWq2V8BTnd54r7OrL8gAH5DgMBx?= =?iso-8859-1?Q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KvwRBtWqpAJQomYV3lVmBH9?= =?iso-8859-1?Q?fG4B+lc3R2E5b/JRhIT3qFdqYkfVvYLDD+VFUrfE0qcstsqfioOWY+oREU?= =?iso-8859-1?Q?bxFs5dWGTV+WXVyvkI4Ba1QW9e9W3Hpp1iz7W+avLLLx7Zalh3h5oDFCwe?= =?iso-8859-1?Q?HrMyhotKeNhwQl18IhOqjPa/kd9Xcrn6js6Ho1f3VAA+srK1By/dBCpiNN?= =?iso-8859-1?Q?FBgUISXsH9fPW+hQaGbgytiElY8RbDkrdbBte1PSrLJyXfBKM6qMjn1odU?= =?iso-8859-1?Q?cyAjbLQREEPocTszdke7TksxPazMIaCGGwLyVavZqxMdb2DsFVNqE927lX?= =?iso-8859-1?Q?CbhIw1fPf2r2qIWp9cW+SLb9AAAdEh2hCOKW6bmGywohr+y9qFTR7fDuza?= =?iso-8859-1?Q?UyO6aMUczjpIcmg6RgYfDxzL0l4vPijLza?= Content-Type: multipart/alternative; boundary="_000_BYAPR05MB58150A1863097957FE1B630BCE2DABYAPR05MB5815namp_" 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 X-OriginatorOrg: kennethraplee.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR05MB5815.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 901f38af-f9bb-4eb6-8354-08db7ee94d21 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2023 12:54:28.8983 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 97b2a322-6e56-48b2-bead-8cd63318e3dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DcPfg8RTUV7IXvp+77O0y5/6FY7rMX514apaMd6idvmYaIAG1dGOs2kJ6wkrCVAl3r+4YTDTiZu0YWSWUKgqx0BBzPy+PqQaAGZBwqZCPvw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR05MB9067 X-Rspamd-Queue-Id: 4QyCz05Nbkz3M5r X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --_000_BYAPR05MB58150A1863097957FE1B630BCE2DABYAPR05MB5815namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Emmanuel, Awesome! Thank you for going out of your way. I will keep in mind of the "-v -n" usage. Thanks again, Kenneth ________________________________ From: Emmanuel Vadot Sent: Friday, July 7, 2023 12:21 AM To: Kenneth Raplee Cc: freebsd-current@FreeBSD.org Subject: Re: Possible PEBKAC bug for fwget(8)? Hi Kenneth, On Thu, 6 Jul 2023 23:58:06 +0000 Kenneth Raplee wrote: > Hi folks, > > I was made aware of the fwget(8) utility on IRC after mentioning how I su= pplemented a missing amdgpu firmware from the gpu-firmware-kmod package for= my RX 6600 XT from the linux-firmware git repo in order to load the amdgpu= 515 driver without the screen freezing at boot. > > When I tried running `fwget -vn pci`, it only prints out the following us= age info: > > ``` > Usage: fwget [options] [subsystem] > > Supported subsystems > pci > > Options: > -n -- Do not install package, only print the results > -v -- More verbose > ``` > > I tried running the command other ways, outputs the same thing. > > I didn't think this was worth reporting as a bug since it seems like a mi= nor fix. > > % uname -aKU > FreeBSD freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n263946-ac40021= c935d: Tue Jul 4 09:10:17 PDT 2023 root@freebsd:/usr/obj/usr/src/amd64= .amd64/sys/GENERIC-NODEBUG amd64 1400092 1400092 > > Sincerely, > Kenneth Thanks for reporting, it's fixed now in https://cgit.freebsd.org/src/commit/?id=3Dc81495a621c461b3d3395a7c5b0e73458= 201c443 Note that -vn will not work but -v -n will, switching to getopt(1) should fix that but I don't plan to work on that right now. Cheers, -- Emmanuel Vadot --_000_BYAPR05MB58150A1863097957FE1B630BCE2DABYAPR05MB5815namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Emmanuel,

Awesome! Thank you for going out of your way.

I will keep in mind of the "-v -n" usage.

Thanks again,
Kenneth


From: Emmanuel Vadot &= lt;manu@bidouilliste.com>
Sent: Friday, July 7, 2023 12:21 AM
To: Kenneth Raplee <kenrap@kennethraplee.com>
Cc: freebsd-current@FreeBSD.org <freebsd-current@FreeBSD.org><= br> Subject: Re: Possible PEBKAC bug for fwget(8)?
 

 Hi Kenneth,

On Thu, 6 Jul 2023 23:58:06 +0000
Kenneth Raplee <kenrap@kennethraplee.com> wrote:

> Hi folks,
>
> I was made aware of the fwget(8) utility on IRC after mentioning how I= supplemented a missing amdgpu firmware from the gpu-firmware-kmod package = for my RX 6600 XT from the linux-firmware git repo in order to load the amd= gpu 515 driver without the screen freezing at boot.
>
> When I tried running `fwget -vn pci`, it only prints out the following= usage info:
>
> ```
> Usage: fwget [options] [subsystem]
>
> Supported subsystems
>   pci
>
> Options:
>   -n         &n= bsp;  -- Do not install package, only print the results
>   -v         &n= bsp;  -- More verbose
> ```
>
> I tried running the command other ways, outputs the same thing.
>
> I didn't think this was worth reporting as a bug since it seems like a= minor fix.
>
> % uname -aKU
> FreeBSD freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n263946-ac40= 021c935d: Tue Jul  4 09:10:17 PDT 2023     root@fr= eebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400092 140009= 2
>
> Sincerely,
> Kenneth

 Thanks for reporting, it's fixed now in
https://cgit.freebsd.org/sr= c/commit/?id=3Dc81495a621c461b3d3395a7c5b0e73458201c443
 
 Note that -vn will not work but -v -n will, switching to getopt(1) should fix that but I don't plan to work on that right now.

 Cheers,

--
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
--_000_BYAPR05MB58150A1863097957FE1B630BCE2DABYAPR05MB5815namp_--