Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 1998 11:07:03 -0500 (EST)
From:      Snob Art Genre <benedict@echonyc.com>
To:        hackers@FreeBSD.ORG
Subject:   2.2.5 keeps crashing . . . please advise. (fwd)
Message-ID:  <Pine.GSO.3.96.980224110611.8521A-100000@echonyc.com>

next in thread | raw e-mail | index | archive | help
I sent the message below to -questions, but got no answer.  Perhaps
someone here can enlighten me.



 Ben

"You have your mind on computers, it seems." 

---------- Forwarded message ----------
Date: Mon, 23 Feb 1998 19:18:30 -0500 (EST)
From: Snob Art Genre <benedict@echonyc.com>
To: questions@freebsd.org
Subject: 2.2.5 keeps crashing . . . please advise.

Hello,
 My system crashes whenever it runs out of memory.  This is
understandable, but I would much prefer that it used the swap partition
I've provided for it instead.  Here is what displays on the console when
it panics:

Fatal Trap 12: page fault while in kernel mode
fault virtual address	=	0x9c
fault code	 	=	supervisor read, page not present
instruction pointer	=	0x8:0xf01d1300
stack pointer		=	0x10:0xefbffd14
frame pointer		=	0x10:0xefbffd20
code segment		=	base 0x0, limit 0xfffff, type 0x1b
				DPL 0, pres 1, def32 1, gran 1
processor eflags	=	interrupt enabled, resume, IOPL=0
current process		=	2 (pagedaemon)
interrupt mask		=	bio
panic: page fault

Sometimes when I'm in Xwindows and running Netscape or xemacs, the system
reboots spontaneously.  I wrote a little program to try to reproduce the
problem (it's attached after my signature), and that produced the above
panic when the system got down to 532K free (as measured by top).

I can find nothing in the system log that would indicate the source of the
error.  Could it be a hardware problem?

Here is my dmesg output:

FreeBSD 2.2.5-STABLE #0: Mon Feb 23 13:02:39 EST 1998
    root@ben:/usr/src/sys/compile/LOCAL5
CPU: Pentium (99.72-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping=5
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 67108864 (65536K bytes)
avail memory = 62742528 (61272K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82434NX (Neptune) PCI cache memory controller> rev 17 on
pci0:0
chip1 <Intel 82378IB PCI-ISA bridge> rev 67 on pci0:2
ahc0 <Adaptec 2940 SCSI host adapter> rev 0 int a irq 9 on pci0:6
ahc0: aic7870 Wide Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "SEAGATE ST15230N 0638" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 4095MB (8386733 512 byte sectors)
vga0 <Display device> rev 0 on pci0:12
fxp0 <Intel EtherExpress Pro 10/100B Ethernet> rev 2 int a irq 9 on
pci0:14
fxp0: Ethernet address 00:a0:c9:65:45:a8
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: WARNING: video mode switching is only partially supported
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
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: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (atapi): <FX400_02/B03>, removable, intr, iordis
wdc1 not found at 0x170
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
changing root device to sd0a
Intel Pentium F00F detected, installing workaround
WARNING: / was not properly dismounted.



 Ben

"You have your mind on computers, it seems." 

#include <stdlib.h>
#include <stdio.h>
#define CHUNK 1024

main() {
  off_t *ptr;
  
  while(1) {
    printf("Mallocing!\n");
    ptr = malloc(CHUNK * CHUNK);
    sleep(1);
      }
}



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.980224110611.8521A-100000>