NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59165: vio9p(4): expose tag through sysctl or device properties



The following reply was made to PR kern/59165; it has been noted by GNATS.

From: "Greg A. Woods" <woods%planix.ca@localhost>
To: NetBSD-current Users Discussion List <current-users%netbsd.org@localhost>,
	NetBSD Kernel Technical Discussion List <tech-kern%NetBSD.org@localhost>,
	NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: kern/59165: vio9p(4): expose tag through sysctl or device properties
Date: Thu, 27 Nov 2025 12:30:43 -0800

 --pgp-sign-Multipart_Thu_Nov_27_12:30:35_2025-1
 Content-Type: text/plain; charset=US-ASCII
 
 At Tue, 25 Nov 2025 17:39:19 -0800, "Greg A. Woods" <woods%planix.ca@localhost> wrote:
 Subject: Re: kern/59165: vio9p(4): expose tag through sysctl or device properties
 >
 > I see the code is there in sys/dev/pci/vio9p.c, but it doesn't seem to
 > work for me:
 
 Ooops!  It does work.  The wrong kernel was booted.  The right one was
 installed, but not booted.  I should have seen that in the uname output,
 but somehow it didn't click.
 
 > $ uname -a
 > NetBSD nbt2.local 10.99.12 NetBSD 10.99.12 (GENERIC) #1: Tue Apr  8 14:29:37 PDT 2025  woods@very.local:/Users/woods/build/woods/very.local/trunk-x86_64-amd64-obj/Volumes/work/woods/g-NetBSD-src/sys/arch/amd64/compile/GENERIC amd64
 
 An even newer kernel is now confirmed as booted:
 
 $ uname -a
 NetBSD nbt2.local 11.99.4 NetBSD 11.99.4 (GENERIC) #1: Thu Nov 27 10:58:12 PST 2025  woods@very.local:/Users/woods/build/woods/very.local/trunk-x86_64-amd64-obj/Volumes/work/woods/g-NetBSD-src/sys/arch/amd64/compile/GENERIC amd64
 
 $ /sbin/sysctl  hw.vio9p
 hw.vio9p.vio9p0.tag = share
 
 
 Sorry for the false report!
 
 
 In other news though the vio9p device(s) doesn't show up as a disk, and
 so its I/O stats don't get reported by systat:
 
  $ /sbin/sysctl  hw.disknames
 hw.disknames = ld0 dk0 dk1 dk2 dk3 dk4 dk5
 
 Is that (partly) because they are character devices?
 
 During a sysinst upgrade with sets on the vio9p device I noted that the
 read speed seemed to be around 12MB/s, which couldn't even keep the root
 filesystem and disk an more than about 30% busy.
 
 --
 					Greg A. Woods <gwoods%acm.org@localhost>
 
 Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
 Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>
 
 --pgp-sign-Multipart_Thu_Nov_27_12:30:35_2025-1
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 Content-Description: OpenPGP Digital Signature
 
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRuK6dmwVAucmRxuh9mfXG3eL/0fwUCaSi07QAKCRBmfXG3eL/0
 f2VuAJ9fHRRH7PdmjbDJ3NcQgSS8sphz1wCgm2bFfA3RHbf+w6QjrKsGQX7TOiE=
 =dKsN
 -----END PGP SIGNATURE-----
 
 --pgp-sign-Multipart_Thu_Nov_27_12:30:35_2025-1--
 


Home | Main Index | Thread Index | Old Index