Subject: NetBSD-1.0 Memory/Swap problem
To: None <netbsd-help@NetBSD.ORG>
From: Christoph Warns <warns@mwtp15.e-technik.uni-ulm.de>
List: netbsd-help
Date: 05/08/1995 19:14:10
Hi there,
I have a problem with the NetBSD-1.0 release on my machine:
486DX-33 VLB
16 MB RAM
HD Conner CFA 540A
#9 GXE level 12 VLB (2MB VRAM + 1MB DRAM)
I get frequent crashes when the machine is heavily loaded and swapping.
Usually it is freezing instantaneously with the HD-led on or it resets itself.
This happens every time when I view a large Postscript document ( > 70 pages)
with Ghostview 1.5 and Ghostscript 2.6.2.
Same effect also when I process a large bitmap with Xloadimage.
etc... etc...
I never got any message or syslog-info except once:
> May 7 21:20:52 mwtp15 /netbsd: mb_map full
Is this a swap problem, is it not swapping "fast" enough ?
I dont think it's a swap overflow, it was never used up more than 42%
(at least that's what the last "pstat -s" tells me just before the crash)
The filesystem is an upgrade from NetBSD-0.9 and the kernel is a slightly
modified GENERICAHA
Below are the config file, disklabel and boot messages :
$$$$$$ config $$$$$
#
# WAR0 -- Generic machine w/aha driver -- modified GENERICAHA
#
# $Id: WAR0,v 1.48.2.4 1994/10/17 21:51:32 cgd Exp $
#
machine "i386"
cpu "I486_CPU"
ident WAR
timezone 0 dst
maxusers 10
options SWAPPAGER,VNODEPAGER,DEVPAGER
options FFS
options INET,"CD9660",NFSCLIENT
options "COMPAT_43"
options "TCP_COMPAT_42"
options XSERVER,UCONSOLE
options MSDOSFS
#options KERNFS
options SCSI
#options "MATH_EMULATE"
options "COMPAT_NOMID"
options "COMPAT_09"
options "MACHINE_NONCONTIG"
options SYSVSHM,SYSVSEM,SYSVMSG
config netbsd root on wd0 swap on wd0
#config netbsd swap generic
#options GENERIC
controller isa0
device pc0 at isa? port "IO_KBD" irq 1
device com0 at isa? port "IO_COM1" irq 4
device com1 at isa? port "IO_COM2" irq 3
#device com2 at isa? port "IO_COM3" irq 5
device lpt0 at isa? port "IO_LPT1" irq 7
#device lpt1 at isa? port "IO_LPT2"
#device lpt2 at isa? port "IO_LPT3"
controller wdc0 at isa? port "IO_WD1" irq 14
disk wd0 at wdc0 drive ?
disk wd1 at wdc0 drive ?
controller fdc0 at isa? port "IO_FD1" irq 6 drq 2
disk fd0 at fdc0 drive ?
disk fd1 at fdc0 drive ?
#device wt0 at isa? port 0x300 irq 5 drq 1
controller aha0 at isa? port "IO_AHA0" irq ? drq ?
master scsibus0 at aha0
disk sd0 at scsibus0 slave ?
disk sd1 at scsibus0 slave ?
disk sd2 at scsibus0 slave ?
disk sd3 at scsibus0 slave ?
tape st0 at scsibus0 slave ?
tape st1 at scsibus0 slave ?
disk cd0 at scsibus0 slave ?
disk cd1 at scsibus0 slave ?
device ed0 at isa? port 0x280 irq 9 iomem 0xd0000
device npx0 at isa? port "IO_NPX" irq 13
pseudo-device ether
pseudo-device log
pseudo-device loop
pseudo-device pty 32
pseudo-device sl 1
pseudo-device speaker
$$$$$$ disklabel $$$$$
# size offset fstype [fsize bsize cpg]
a: 193536 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 191)
b: 48384 193536 swap # (Cyl. 192 - 239)
c: 1031184 0 unused 0 0 # (Cyl. 0 - 1022)
d: 1031184 0 unused 0 0 # (Cyl. 0 - 1022)
e: 789264 241920 4.2BSD 1024 8192 16 # (Cyl. 240 - 1022)
$$$$$ boot message $$$$$$
May 7 21:25:39 mwtp15 /netbsd: NetBSD 1.0 (WAR0) #1: Tue May 2 14:04:23 MET DST 1995
May 7 21:25:39 mwtp15 /netbsd: root@mwtp15.e-technik.uni-ulm.de:/usr/src/sys/arch/i386/compile/WAR0
May 7 21:25:39 mwtp15 /netbsd: CPU: i486DX (486-class CPU)
May 7 21:25:39 mwtp15 /netbsd: real mem = 16384000
May 7 21:25:39 mwtp15 /netbsd: avail mem = 14385152
May 7 21:25:39 mwtp15 /netbsd: using 225 buffers containing 921600 bytes of memory
May 7 21:25:40 mwtp15 /netbsd: pc0 at isa0 port 0x60-0x6f irq 1: color
May 7 21:25:40 mwtp15 /netbsd: com0 at isa0 port 0x3f8-0x3ff irq 4: ns82450 or ns16450, no fifo
May 7 21:25:40 mwtp15 /netbsd: com1 at isa0 port 0x2f8-0x2ff irq 3: ns82450 or ns16450, no fifo
May 7 21:25:40 mwtp15 /netbsd: lpt0 at isa0 port 0x378-0x37f irq 7
May 7 21:25:40 mwtp15 /netbsd: wdc0 at isa0 port 0x1f0-0x1f7 irq 14
May 7 21:25:40 mwtp15 /netbsd: wd0 at wdc0 drive 0: 515MB 1048 cyl, 16 head, 63 sec <Conner Peripherals 540MB - CFA540A>
May 7 21:25:40 mwtp15 /netbsd: fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
May 7 21:25:40 mwtp15 /netbsd: fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
May 7 21:25:40 mwtp15 /netbsd: aha0 at isa0 port 0x330-0x333 irq 11 drq 5
May 7 21:25:40 mwtp15 /netbsd: scsibus0 at aha0
May 7 21:25:40 mwtp15 /netbsd: aha0 targ 2 lun 0: <WANGTEK 5150ES SCSI FA1808 > SCSI1 sequential removable
May 7 21:25:40 mwtp15 /netbsd: st0 at scsibus0: drive offline
May 7 21:25:40 mwtp15 /netbsd: ed0 at isa0 port 0x280-0x29f iomem 0xd0000-0xd3fff irq 9: address 00:00:c0:73:fe:66, type WD8013EPC (16-bit) bnc
May 7 21:25:40 mwtp15 /netbsd: npx0 at isa0 port 0xf0-0xff: using exception 16
May 7 21:25:40 mwtp15 /netbsd: biomask 4840 netmask 21a ttymask 1a
May 7 21:25:39 mwtp15 savecore: no core dump
May 7 21:25:41 mwtp15 lpd[80]: restarted
May 7 21:25:49 mwtp15 init: kernel security level changed from 0 to 1