NetBSD-Bugs archive

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

kern/58811: riscv64 cannot run "systat vm"



>Number:         58811
>Category:       kern
>Synopsis:       riscv64 cannot run "systat vm"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 05 22:40:00 +0000 2024
>Originator:     Havard Eidnes
>Release:        NetBSD 10.99.12 of Sep 7 2024
>Organization:
	I try...
>Environment:
System: NetBSD riscv64 10.99.12 NetBSD 10.99.12 (GENERIC64) #0: Sat Sep  7 14:28:19 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/riscv/compile/GENERIC64 riscv
Architecture: riscv64
Machine: riscv
>Description:
	The riscv64 port cannot run "systat vm".

	Trying to do so quickly flashes an error message before
	clearing the screen.  Catching it with "script" reveals:

	systat: nlist: can't find following symbols:
	_intrnames
	_eintrnames
	_intrcnt
	_eintrcnt
	_allevents

	Searching for these with "nm -op /netbsd" reveals only

	riscv64: {31} nm -op /netbsd | grep alleve
	/netbsd:ffffffc0008506f8 D allevents
	riscv64: {32} nm -op /netbsd | grep intrna
	riscv64: {33} nm -op /netbsd | grep intrcn
	riscv64: {34} 

	so it is evident that the kernel isn't providing the information
	that systat expects.

	Note that the allevents symbol doesn't have the preceding _ character.

>How-To-Repeat:
	See above.
>Fix:
	Yes, please.
	This is about as essential as "tail -f buildlog" working...



Home | Main Index | Thread Index | Old Index