Subject: port-xen/33842: vmstat doesn't work on xen
To: None <port-xen-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 06/28/2006 06:40:01
>Number:         33842
>Category:       port-xen
>Synopsis:       i386 vmstat doesn't work on xen
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-xen-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 28 06:40:00 +0000 2006
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 3.99.21
>Organization:

>Environment:
	
	
System: NetBSD kaeru 3.99.21 NetBSD 3.99.21 (build.kaeru.xen.nodebug.work) #11: Wed Jun 28 04:30:43 JST 2006 takashi@kaeru:/usr/home/takashi/work/kernel/build.kaeru.xen.nodebug.work i386
Architecture: i386
Machine: i386
>Description:
	vmstat.c rev.1.145 has #ifdef __HAVE_TIMECOUNTER.
	while i386 has it defined, xen doesn't.
>How-To-Repeat:
	% vmstat 1
	vmstat: undefined symbols: _time_second
>Fix:
	adapt netbsd/xen to use timecounter?

>Unformatted: