Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 1998 00:33:05 -0500 (EST)
From:      Chael Hall <nowhere@chaos.taylored.com>
To:        questions@FreeBSD.ORG
Cc:        Chael Hall <nowhere@chaos.taylored.com>
Subject:   2.2.6 panic: vm_page_free:freeing free page
Message-ID:  <Pine.BSF.3.95.980430001735.3172A-100000@chaos.taylored.com>

next in thread | raw e-mail | index | archive | help
Recently, my Freebsd 2.2.2-RELEASE machine started crashing at random
intervals from 8 hours to 4 days.  When I was on-site, I performed sanity
checks on all of the partitions and fixed a few inconsistencies.  I then
upgraded to 2.2.6-RELEASE.  The machine continues to crash, so I setup the
dump device, but cannot rebuild my kernel with debugging symbols without
being on-site due to configuration changes that need to be made at the
console when I first boot it.

So what I'm saying is that the only debug data I have to go on right now
is this:

gdb -k /kernel vmcore.0
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-freebsd),
Copyright 1996 Free Software Foundation, Inc...(no debugging symbols
found)...
IdlePTD 253000
current pcb at 22ad28
panic: vm_page_free: freeing free page
#0  0xf0113fa3 in boot ()
(kgdb) where
#0  0xf0113fa3 in boot ()
#1  0xf0114262 in panic ()
#2  0xf01c920f in vm_page_freechk_and_unqueue ()
#3  0xf01c929e in vm_page_free ()
#4  0xf01c719a in vm_object_terminate ()
#5  0xf01c6feb in vm_object_deallocate ()
#6  0xf01c5374 in vm_map_entry_delete ()
#7  0xf01c54f0 in vm_map_delete ()
#8  0xf01c5580 in vm_map_remove ()
#9  0xf010db80 in exit1 ()
#10 0xf01154e6 in sigexit ()
#11 0xf01152ca in postsig ()
#12 0xf01dd5f0 in trap ()
(kgdb) up 2
#2  0xf01c920f in vm_page_freechk_and_unqueue ()
(kgdb) quit


I'll try the post-mortem analysis instructions in the FreeBSD handbook to
get the code associated with the problem, but I'm not sure I'll be able to
solve this without a FreeBSD wizard's advice.  When I'm on-site again next
week, I will build a new kernel with debugging symbols and install and
configure the "semi-stripped" version of it for future debugging sessions.

If you have any suggestions, comments, or generally helpful hints, please
be sure to also send me a direct reply.  I'm not on the questions list at
the moment (too much traffic.) 

Thanks in advance,

Chael

PS - here's some more info about my system...

My custom kernel contains the following changes:

maxusers        200
options         "MAXMEM=131072"         #Use all of that RAM
options         "CHILD_MAX=128"         #Max procs per user
options         "OPEN_MAX=128"          #Required for max qmail deliveries
options         MROUTING
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         QUOTA
pseudo-device   pty     128     # CCH - 4/18/98 - increased (16->128)

I also commented out several devices that I don't use--namely non-Adaptec
SCSI adapters and Ethernet devices besides ed0.  I have a PCI de0 NIC and
an old ISA ed0 NIC.

Here's a dmesg:

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.6-RELEASE #0: Sat Apr 18 19:18:16 EST 1998
    root@chaos.taylored.com:/usr/src/sys/compile/CHAOS226
CPU: Pentium Pro (149.69-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x612  Stepping=2

Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 134217728 (131072K bytes)
avail memory = 128827392 (125808K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
de0 <Digital 21041 Ethernet> rev 17 int a irq 9 on pci0:11:0
de0: SMC 21041 [10Mb/s] pass 1.1
de0: address 00:00:c0:d1:c2:e6
vga0 <VGA-compatible display device> rev 6 int a irq 10 on pci0:12:0
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on
pci0:13:0
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "IBM DORS-32160W WA6A" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 2063MB (4226725 512 byte sectors)
(ahc0:6:0): "IBM DORS-32160W WA6A" type 0 fixed SCSI 2
sd1(ahc0:6:0): Direct-Access 2063MB (4226725 512 byte sectors)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x280-0x29f irq 5 maddr 0xd8000 msize 16384 on isa
ed0: address 00:00:c0:62:e5:87, type SMC8216/SMC8216C (16 bit)
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
lpt1 not found at 0xffffffff
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 (wd0): <Maxtor 83500A4>
wd0: 3339MB (6838965 sectors), 7237 cyls, 15 heads, 63 S/T, 512 B/S
aha0 not found at 0x330
aic0 not found at 0x340
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
changing root device to st0s1a
IP packet filtering initialized, divert disabled, unlimited logging
WARNING: / was not properly dismounted.
de0: enabling BNC port

--
Chael Hall, nowhere@chaos.taylored.com

Gossamer USA - http://gossamer.x-philes.com/


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



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