Re: Possible PEBKAC bug for fwget(8)?

2023-07-07 Thread Kenneth Raplee
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 +
Kenneth Raplee  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  


Re: Possible PEBKAC bug for fwget(8)?

2023-07-07 Thread Peter Jeremy
On 2023-Jul-07 08:03:40 +0100, Graham Perrin  wrote:
>PCI pictured at
>, somehow I
>don't imagine finding that type of slot inside the HP EliteBook where I ran
>the command ;-)

Whilst you probably don't have a full-size PCI or PCIe connector in
your laptop, it's very likely that it has a Mini PCIe connector for
the WiFi adapter.  Even without that, there are virtual PCI buses
inside your CPU chip - have a look at the output of "pciconf -lv".

-- 
Peter Jeremy


signature.asc
Description: PGP signature


Re: Possible PEBKAC bug for fwget(8)?

2023-07-07 Thread Emmanuel Vadot


 Hi Kenneth,

On Thu, 6 Jul 2023 23:58:06 +
Kenneth Raplee  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  



Re: Possible PEBKAC bug for fwget(8)?

2023-07-07 Thread Graham Perrin

On 07/07/2023 00:58, Kenneth Raplee wrote:

… `fwget -vn pci`, it only prints out the following usage info: …


I made what might have been the same mistake, 
.


PCI pictured at 
, 
somehow I don't imagine finding that type of slot inside the HP 
EliteBook where I ran the command ;-)




OpenPGP_signature
Description: OpenPGP digital signature


Possible PEBKAC bug for fwget(8)?

2023-07-06 Thread Kenneth Raplee
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