From nobody Fri Jul 07 07:21:23 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 4Qy4Zl6zDMz4ld9H for ; Fri, 7 Jul 2023 07:21:35 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qy4Zl3J1qz3R5p for ; Fri, 7 Jul 2023 07:21:35 +0000 (UTC) (envelope-from manu@bidouilliste.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1688714488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qk8THkQsZsyl67Ze9AAdbM1SiErVsvg96ENel9SKpgQ=; b=OrrKbXYAcr58C/1mdR6DxBCKLrzwIcrjjCmkM3gHgF5kBumaXTWSZsP05rnAmlscAWup7D ZIXqt9sKb9aldF7+6iZvO22DdrI6WVE5uEib0GwvZmWXGRaML+zflMwlX0Gv0yuyLWqwM0 ztNUO2fSPk/2MUa0g0HJJu1O95UcBRw= Received: from skull.home.blih.net (lfbn-lyo-1-2174-135.w90-66.abo.wanadoo.fr [90.66.97.135]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 46e19f62 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 7 Jul 2023 07:21:27 +0000 (UTC) Date: Fri, 7 Jul 2023 09:21:23 +0200 From: Emmanuel Vadot To: Kenneth Raplee Cc: "freebsd-current@FreeBSD.org" Subject: Re: Possible PEBKAC bug for fwget(8)? Message-Id: <20230707092123.c2895b7a50ab6c5e9d1bdf87@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Qy4Zl3J1qz3R5p X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N 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 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