Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2023 12:54:28 +0000
From:      Kenneth Raplee <kenrap@kennethraplee.com>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        "freebsd-current@FreeBSD.org" <freebsd-current@FreeBSD.org>
Subject:   Re: Possible PEBKAC bug for fwget(8)?
Message-ID:  <BYAPR05MB58150A1863097957FE1B630BCE2DA@BYAPR05MB5815.namprd05.prod.outlook.com>
In-Reply-To: <20230707092123.c2895b7a50ab6c5e9d1bdf87@bidouilliste.com>
References:  <BYAPR05MB58152C65970C3646AB221295CE2CA@BYAPR05MB5815.namprd05.prod.outlook.com> <20230707092123.c2895b7a50ab6c5e9d1bdf87@bidouilliste.com>

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

[-- Attachment #1 --]
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 <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>
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 amdgpu 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            -- 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 minor fix.
>
> % uname -aKU
> FreeBSD freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n263946-ac40021c935d: 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=c81495a621c461b3d3395a7c5b0e73458201c443

 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>

[-- Attachment #2 --]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi Emmanuel,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Awesome! Thank you for going out of your way.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I will keep in mind of&nbsp;the &quot;-v -n&quot; usage.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks again,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Kenneth</div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> Emmanuel Vadot &lt;manu@bidouilliste.com&gt;<br>
<b>Sent:</b> Friday, July 7, 2023 12:21 AM<br>
<b>To:</b> Kenneth Raplee &lt;kenrap@kennethraplee.com&gt;<br>
<b>Cc:</b> freebsd-current@FreeBSD.org &lt;freebsd-current@FreeBSD.org&gt;<br>
<b>Subject:</b> Re: Possible PEBKAC bug for fwget(8)?</font>
<div>&nbsp;</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText"><br>
&nbsp;Hi Kenneth,<br>
<br>
On Thu, 6 Jul 2023 23:58:06 +0000<br>
Kenneth Raplee &lt;kenrap@kennethraplee.com&gt; wrote:<br>
<br>
&gt; Hi folks,<br>
&gt; <br>
&gt; 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 amdgpu 515 driver without the screen freezing
 at boot.<br>
&gt; <br>
&gt; When I tried running `fwget -vn pci`, it only prints out the following usage info:<br>
&gt; <br>
&gt; ```<br>
&gt; Usage: fwget [options] [subsystem]<br>
&gt; <br>
&gt; Supported subsystems<br>
&gt;&nbsp;&nbsp; pci<br>
&gt; <br>
&gt; Options:<br>
&gt;&nbsp;&nbsp; -n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Do not install package, only print the results<br>
&gt;&nbsp;&nbsp; -v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- More verbose<br>
&gt; ```<br>
&gt; <br>
&gt; I tried running the command other ways, outputs the same thing.<br>
&gt; <br>
&gt; I didn't think this was worth reporting as a bug since it seems like a minor fix.<br>
&gt; <br>
&gt; % uname -aKU<br>
&gt; FreeBSD freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n263946-ac40021c935d: Tue Jul&nbsp; 4 09:10:17 PDT 2023&nbsp;&nbsp;&nbsp;&nbsp; root@freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400092 1400092<br>
&gt; <br>
&gt; Sincerely,<br>
&gt; Kenneth<br>
<br>
&nbsp;Thanks for reporting, it's fixed now in<br>
<a href="https://cgit.freebsd.org/src/commit/?id=c81495a621c461b3d3395a7c5b0e73458201c443" data-auth="NotApplicable">https://cgit.freebsd.org/src/commit/?id=c81495a621c461b3d3395a7c5b0e73458201c443</a><br>;
&nbsp;<br>
&nbsp;Note that -vn will not work but -v -n will, switching to getopt(1)<br>
should fix that but I don't plan to work on that right now.<br>
<br>
&nbsp;Cheers,<br>
<br>
-- <br>
Emmanuel Vadot &lt;manu@bidouilliste.com&gt; &lt;manu@freebsd.org&gt;<br>
</div>
</span></font></div>
</body>
</html>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BYAPR05MB58150A1863097957FE1B630BCE2DA>