Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 95 13:12 MET
From:      dirk@methan.chemie.fu-berlin.de (Dirk Froemberg)
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        admin@methan.chemie.fu-berlin.de
Subject:   kern/919: weird output of vmstat, iostat, top
Message-ID:  <m0tVdfk-0009kkC@methan.chemie.fu-berlin.de>
Resent-Message-ID: <199512291220.EAA17144@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         919
>Category:       kern
>Synopsis:       weird output of vmstat, iostat, top
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 29 04:20:02 PST 1995
>Last-Modified:
>Originator:     Dirk Froemberg
>Organization:
>Release:        FreeBSD 2.1-RELEASE i386
>Environment:

	FreeBSD 2.1-RELEASE or FreeBSD 2.1-RELEASE and 2.1-STABLE kernel

FreeBSD 2.1-STABLE #0: Thu Dec 28 17:09:40 MET 1995
    dirk@methan.chemie.FU-Berlin.DE:/opt1/FreeBSD-stable/src/sys/compile/METHAN
CPU: i486DX (486-class CPU)
real memory  = 33554432 (32768K bytes)
avail memory = 30928896 (30204K bytes)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA mono <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 10 maddr 0xd8000 msize 16384 on isa
ed0: address 00:00:c0:b3:31:a3, type WD8013EPC (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2a0-0x2a7 flags 0x401 on isa
sio1: type 16550A (multiport)
sio2 at 0x2a8-0x2af flags 0x401 on isa
sio2: type 16550A (multiport)
sio3 at 0x2b0-0x2b7 flags 0x401 on isa
sio3: type 16550A (multiport)
sio4 at 0x2b8-0x2bf irq 9 flags 0x401 on isa
sio4: type 16550A (multiport master)
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 765
fd0: 1.44MB 3.5in
aha0 at 0x330-0x333 irq 11 drq 5 on isa
(aha0:0:0): "IBM DPES-31080 S31Q" type 0 fixed SCSI 2
sd0(aha0:0:0): Direct-Access 1034MB (2118144 512 byte sectors)
(aha0:1:0): "Quantum XP32150 F76D" type 0 fixed SCSI 2
sd1(aha0:1:0): Direct-Access 2050MB (4199760 512 byte sectors)
(aha0:2:0): "QUANTUM LPS540S 5900" type 0 fixed SCSI 2
sd2(aha0:2:0): Direct-Access 516MB (1057616 512 byte sectors)
npx0 on motherboard
npx0: INT 16 interface

>Description:

	This PR seems to be related to PR kern/902.

	After about a day uptime vmstat, iostat and top give strange
	output. E. g.:

 procs   memory     page                    disks         faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr f0 s0 s1 s2   in   sy  cs us sy id
 0 0 0 52328  7188   56   2   0   0  59   0  0  1 15  5  305   92  32 33 11 55
 0 0 0 52328  7176    2   0   0   0   0   0  0  0  0  0  130   10   2  0  0  0
 0 0 0 52328  7156    1   1   0   0   0   0  0  0 640  0  136   42  10  0  0  0
 0 0 0 48136  7156    1   0   0   0   0   0  0 768 2176 4352  152   12   3  0  0  0
 0 0 0 43840  7156    1   0   0   0   0   0  0  0  0 256  126   18   3  0  0  0
 0 0 0 39612  7156    1   0   0   0   0   0  0  0  0  0  129   22   4  0  0  0
 0 0 0 39612  7152    1   0   0   0   0   0  0  0  0 128  128   16   4  0  0  0
 0 0 0 39612  7148    1   0   0   0   0   0  0  0 128 128  139   39   8  0  0  0


      tty          fd0           sd0           sd1           sd2          cpu
 tin tout sps tps msps  sps tps msps  sps tps msps  sps tps msps  us ni sy in id
  16  656   0   0  0.0    7   1  0.0  -21  15  0.1  -74   5  0.8  18 16  9  2 55
   031104   0   0  0.0 2560 256  0.0 486404992  0.0 727041664  0.0   0  0  0  0  0
   010752   0   0  0.0    0   0  0.0 568325248  0.0 271362432  0.0   0  0  0  0  0
   010752   0   0  0.0 107521024  0.0 7680 640  0.0 102401024  0.0   0  0  0  0  0
   010752   0   0  0.0 4096 256  0.0 102401280  0.0 773129344  0.0   0  0  0  0  0
   010752   0   0  0.0 2048 128  0.0 471044480  0.0 1443849344  0.0   0  0  0  0  0
   010880   0   0  0.0 245762432  0.0 599046272  0.0 240642048  0.0   0  0  0  0  0

>How-To-Repeat:

>Fix:
	
	If I'd only know... 9-)

	Bruce Evans' suggestion to use at least rev 1.57 of /sys/i386/isa/isa.c
	does not fix the problem for us. To be more precise: The following
	does _NOT_ fix it:

*** FreeBSD-stable/src/sys/i386/isa/isa.c.orig	Tue May 30 10:02:35 1995
--- FreeBSD-stable/src/sys/i386/isa/isa.c	Wed Dec 27 22:31:36 1995
***************
*** 36,38 ****
   *	from: @(#)isa.c	7.2 (Berkeley) 5/13/91
!  *	$Id: isa.c,v 1.50 1995/05/30 08:02:35 rgrimes Exp $
   */
--- 36,38 ----
   *	from: @(#)isa.c	7.2 (Berkeley) 5/13/91
!  *	$Id: isa.c,v 1.50.1 1995/12/27 08:02:35 dirk Exp $
   */
***************
*** 963,964 ****
--- 963,965 ----
  		if (!maskptr) continue;
+ 		*maskptr |= 1 << intr;
  		mask = *maskptr;
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0tVdfk-0009kkC>