Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Mar 1997 19:52:01 +1100
From:      Joel Sutton <suttonj@interconnect.com.au>
To:        questions@freebsd.org
Subject:   Problems with ps and top
Message-ID:  <199703090852.TAA03656@solsbury-hill.home>

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

I am having problems with ps and top (and other similiar utils). 
For example:

solsbury-hill$ ps
ps: proc size mismatch (11856 total, 620 chunks)

solsbury-hill$ top
kvm_open: proc size mismatch (41184 total, 620 chunks)
top: Out of memory.

This started to happen recently when I re-built my kernel. I recently 
tried to install gcc 2.7.2.1 but I couldn't get things going 
properly. Perhaps I've broken something (more than likely I think). 

What could cause this kind of problem? 

I'm running 2.1.5 RELEASE and I have never done a "make world". :-> 
Plus I've included a copy of my kernel config.

Thanks, Joel...

# 
# EVERYDAY kernel
# for Solsbury-Hill - Pentium 133
#

# Needed for CPU
#
machine		"i386"
cpu		"I586_CPU"
ident		EVERYDAY
maxusers	15

# General OS stuff
#
options		INET		      # InterNETworking
options		FFS		      # Berkeley Fast Filesystem
options		NFS		      # Network Filesystem
options		MSDOSFS		      # MSDOS Filesystem
options		"CD9660"	      # ISO 9660 Filesystem
options		PROCFS		      # Process filesystem
options		"COMPAT_43"	      # Compatible with BSD 4.3
options		BOUNCE_BUFFERS	      # include support for DMA bounce buffers
options		UCONSOLE	      # Allow users to grab the console

options		SYSVSHM		      #
options		SYSVSEM		      #
options		SYSVMSG		      #  

# Which device do we boot from?
#
config		kernel	root on wd0 

# Busses on the motherboard
#
controller	isa0
controller	pci0

# Floppy Drive and Coloardo Jumbo 350
#
controller   fdc0 at isa? port "IO_FD1" bio flags 1 irq 6 drq 2 vector fdintr
disk	     fd0  at fdc0 drive 0
disk         fd1  at fdc0 drive 1
tape	     ft0  at fdc0 drive 2

# Segate 2.1Gb disk - FreeBSD Volume
#
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

# Segate 1.2Gb disk - Windows 95/DOS Volume
# Not to be mounted under any circumstances
#
controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

# NEC IDE CD-ROM Drive
# Sits on controller two so both OS's can access
#
options         ATAPI   #Enable ATAPI support for IDE bus
device          wcd0    #IDE CD-ROM

# System console
# syscons is the default console driver, resembling an SCO console
#
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
options		XSERVER
options         "MAXCONS=4"

# Floating point math co-processor - DONT REMOVE
# Support for x87 emualtion via new math emulator
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
options	GPL_MATH_EMULATE        

# Serial port devices
# sio0 = mouse
# sio1 = internal modem
# sio2 = comm port (terminal or ppp)
# sio3 = comm port (terminal or ppp)
#
device	sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device	sio1	at isa? port "IO_COM2" tty flags 0x080 irq 3 vector siointr
device	sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
device	sio3	at isa? port "IO_COM4" tty irq 9 vector siointr

# Printer Port - interupt
# You must specify the port otherwise it effects the ESS sound card.
#
device		lpt0	at isa? port 0x378 tty irq 7 vector lptintr

# Ethernet Devices - SVEC Ethernet card (NE2000)
#
device ed0 at isa? port 0x300 net irq  11 iomem 0xd8000 vector edintr

# Pseudo Network devices
#
#pseudo-device	sl		1	# Kernal SLIP
pseudo-device	ppp		3	# Kernal PPP
pseudo-device	tun		1	# Tunnel for user PPP
pseudo-device	bpfilter	1	# Berkeley packet filter
pseudo-device	ether			# Ethernet

# General Pseudo devices
#
pseudo-device	loop			# Loopback
pseudo-device	log			# Syslog
pseudo-device	pty		32	# virtual terminals
pseudo-device	gzip			# Exec gzipped a.out's
pseudo-device	snp 		2	# Snoop devices

# Sound devices
# Sound Blaster 16
# 
controller	snd0
device sb0      at isa? port 0x220 irq 10 drq 1 vector sbintr 
options "SBC_IRQ=10"
device sbxvi0	at isa? drq 5
options "SB16_DMA=5"
device sbmidi0	at isa? port 0x330
device opl0	at isa? port 0x388 conflicts

# Power management device
#
device		apm0	at isa?
#options	APM_BROKEN_STATCLOCK









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