NetBSD Problem Report #26144

Received: (qmail 5463 invoked by uid 605); 2 Jul 2004 20:55:18 -0000
Message-Id: <200407022055.i62KtGE0006554@lh4.motocompastro.org>
Date: Fri, 2 Jul 2004 16:55:16 -0400 (EDT)
From: lhicks@nc.rr.com
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: lhicks@nc.rr.com
To: gnats-bugs@gnats.NetBSD.org
Subject: gkrellm on 2.0F always shows zero CPU utilization
X-Send-Pr-Version: 3.95

>Number:         26144
>Category:       pkg
>Synopsis:       gkrellm shows no activity in the CPU window
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cube
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 02 20:56:00 +0000 2004
>Closed-Date:    Mon Jul 05 15:59:14 +0000 2004
>Last-Modified:  Mon Jul 05 15:59:14 +0000 2004
>Originator:     Linus Hicks
>Release:        NetBSD 2.0_BETA, src snapshot: 6/28/2004, pkgsrc: 7/2/2004
>Organization:

>Environment:


System: NetBSD lh4 2.0_BETA NetBSD 2.0_BETA (LH4KERNEL) #0: Sat Jun 26 18:26:12 EDT 2004 root@lh4:/usr/usrc/src/sys/arch/amd64/compile/LH4KERNEL amd64
Architecture: x86_64
Machine: amd64
>Description:

	The gkrellm package builds successfully. When I run it, I see activity
	in the Proc, Disk and bge0 windows as I would expect, but I never see
	any activity in the CPU window. I have had top running at the same time
	and seen heavy CPU loads, still with nothing showing in gkrellm.
>How-To-Repeat:

	Build gkrellm (I have only tried this on amd64, so I don't know if it
	is port specific) and run it.
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->cube 
Responsible-Changed-By: cube 
Responsible-Changed-When: Fri Jul 2 20:58:47 UTC 2004 
Responsible-Changed-Why:  
I'll handle it. 

From: Quentin Garnier <cube@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26144 CVS commit: pkgsrc/sysutils
Date: Mon,  5 Jul 2004 08:42:27 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	cube
 Date:		Mon Jul  5 08:42:27 UTC 2004

 Modified Files:
 	pkgsrc/sysutils/gkrellm: Makefile distinfo
 	pkgsrc/sysutils/gkrellm-server: Makefile
 	pkgsrc/sysutils/gkrellm/patches: patch-ab
 Added Files:
 	pkgsrc/sysutils/gkrellm/patches: patch-ae

 Log Message:
 sysctl() uses size_t arguments for lengths, so don't pass a pointer to an
 int, it breaks on 64-bits platforms.

 While there, prevent sa_family_t from being redefined by making sure
 __NetBSD_Version__ is defined.

 Bump revision of both gkrellm and gkrellm-server.

 Should fix PR 26144.


 To generate a diff of this commit:
 cvs rdiff -r1.36 -r1.37 pkgsrc/sysutils/gkrellm/Makefile
 cvs rdiff -r1.26 -r1.27 pkgsrc/sysutils/gkrellm/distinfo
 cvs rdiff -r1.6 -r1.7 pkgsrc/sysutils/gkrellm-server/Makefile
 cvs rdiff -r1.12 -r1.13 pkgsrc/sysutils/gkrellm/patches/patch-ab
 cvs rdiff -r0 -r1.1 pkgsrc/sysutils/gkrellm/patches/patch-ae

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback 
State-Changed-By: cube 
State-Changed-When: Mon Jul 5 08:46:59 UTC 2004 
State-Changed-Why:  
A patch was committed.  I'm waiting for the submitter to confirm it 
fixes his issue. 

From: "C. Linus Hicks" <lhicks@nc.rr.com>
To: gnats-bugs@netbsd.org
Cc: cube@netbsd.org
Subject: Re: pkg/26144
Date: 05 Jul 2004 11:23:02 -0400

 On Mon, 2004-07-05 at 04:47, cube@netbsd.org wrote:
 > Synopsis: gkrellm shows no activity in the CPU window
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: cube
 > State-Changed-When: Mon Jul 5 08:46:59 UTC 2004
 > State-Changed-Why: 
 > A patch was committed.  I'm waiting for the submitter to confirm it
 > fixes his issue.

 It works now. Thanks for the fix.
 -- 
 C. Linus Hicks <lhicks@nc.rr.com>

State-Changed-From-To: feedback->closed 
State-Changed-By: cube 
State-Changed-When: Mon Jul 5 15:58:35 UTC 2004 
State-Changed-Why:  
Submitter confirms the bug is fixed. 
Thanks! 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.