Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 10:30:53 +0300
From:      "Igor B. Bykhalo" <goshik@binep.ac.ru>
To:        "-questions@FreeBSD" <freebsd-questions@freebsd.org>
Subject:   panic: zone: entry not free - who can explain?
Message-ID:  <01bf97be$62fd2180$0000e9c1@serv2.binep.ac.ru>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I've got a panic:
in /var/log/messages:
...
>Mar 27 02:02:50 ns /kernel: changing root device to wd0s1a
>Mar 27 02:02:50 ns /kernel: WARNING: / was not properly dismounted
>Mar 27 02:02:51 ns savecore: reboot after panic: zone: entry not free
...

Acoording to maiilog, this happened right after daily job
sent output to me:
>Mar 27 02:00:38 ns sendmail[1053]: BAA01053: from=root, size=12245, class=0, >pri=42245, nrcpts=1,
msgid=<200003262159.BAA01053@ns.binep.ac.ru>, >relay=root@localhost
>Mar 27 02:00:40 ns sendmail[1102]: BAA01053: to=goshik, ctladdr=root (0/0), >delay=00:01:32, xdelay=00:00:02, mailer=local,
stat=Sent
>Mar 27 02:03:16 ns sendmail[205]: starting daemon (8.9.3): SMTP+queueing@00:30:00

Here is the debugger output:

# gdb -k kernel.debug /var/crash/vmcore.0
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD 2502656
initial pcb at 1fd980
panicstr: zone: entry not free
panic messages:
---
panic: zone: entry not free

syncing disks... 14 14 13 8 done

dumping to dev 20001, offset 53408
dump 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
---
#0  boot (howto=256) at ../../kern/kern_shutdown.c:285
285                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:285
#1  0xc012e5a8 in at_shutdown (
    function=0xc01e23c0 <__set_sysuninit_set_sym_M_ZONE_uninit_sys_uninit+136>, arg=0xc2df
fdf8, queue=-1072359012) at ../../kern/kern_shutdown.c:446
#2  0xc01acdcf in zerror (error=1) at ../../vm/vm_zone.c:455
#3  0xc015199c in namei (ndp=0xc2dfff18) at ../../vm/vm_zone.h:91
#4  0xc0127619 in execve (p=0xc2d3a8c0, uap=0xc2dfff94)
    at ../../kern/kern_exec.c:145
#5  0xc01c3c07 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 134877384,
      tf_esi = 0, tf_ebp = -1077945400, tf_isp = -1025507356,
      tf_ebx = 134877464, tf_edx = 134877464, tf_ecx = 134861359, tf_eax = 59,
      tf_trapno = 12, tf_err = 2, tf_eip = 134657200, tf_cs = 31,
      tf_eflags = 514, tf_esp = -1077945428, tf_ss = 39})
    at ../../i386/i386/trap.c:1100
#6  0xc01b9f4c in Xint0x80_syscall ()
#7  0x804ba58 in ?? ()
#8  0x804b78f in ?? ()
#9  0x804a879 in ?? ()
#10 0x804a7f3 in ?? ()
#11 0x804a6fe in ?? ()
#12 0x804a6fe in ?? ()
#13 0x804a7f3 in ?? ()
#14 0x80514a7 in ?? ()
#15 0x80513d3 in ?? ()
#16 0x80480e9 in ?? ()
(kgdb) list
280                     (*ep->function)(howto, ep->arg);
281             splhigh();
282             if ((howto & (RB_HALT|RB_DUMP)) == RB_DUMP && !cold) {
283                     savectx(&dumppcb);
284     #ifdef __i386__
285                     dumppcb.pcb_cr3 = rcr3();
286     #endif
287                     dumpsys();
288             }
289

Anyone know what happened? Where to look?
Kernel config is attached.

TIA,
Igor




[-- Attachment #2 --]
machine		"i386"
cpu		"I486_CPU"

maxusers	32
 
#options		MATH_EMULATE		#Support for x87 emulation

ident           BINEP-server

options		INET			#InterNETworking
options		IPFILTER		#kernel ipfilter support
options		IPFILTER_LOG		#ipfilter logging
options		IPX			#IPX routing support
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT
options		NFS_NOSERVER		#Disable the NFS-server code.
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		"CD9660_ROOT"
options		"CD9660_ROOTDELAY=20"
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		UCONSOLE		#Allow users to grab the console
options		SUIDDIR
options		FAILSAFE
options		USERCONFIG              #boot -c editor
options		VISUAL_USERCONFIG       #visual boot -c editor
options		"MSGBUF_SIZE=40960"
options		KTRACE		#kernel tracing
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		"MD5"
options		SOFTUPDATES
options         INVARIANTS
options         INVARIANT_SUPPORT

makeoptions    DEBUG="-g"              #Build kernel with debug symbols.


config		kernel	root on wd0 

controller	isa0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

options		"CMD640"

controller	wdc0	at isa? port "IO_WD1" bio irq 14 flags 0x80ff
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		vga0	at isa? port ? conflicts
device		sc0	at isa? tty
options         "SC_MOUSE_CHAR=0x03"

options		MAXCONS=8		# number of virtual consoles

device		npx0	at isa? port IO_NPX irq 13

device		sio0	at isa? port "IO_COM1" tty irq  4
device		sio1	at isa? port "IO_COM2" tty irq  3
device		sio2	at isa? port "IO_COM3" tty irq 15
device		sio3	at isa? port "IO_COM4" tty irq  5

# device		lpt0	at isa? port? tty irq 7
# Parallel port
controller	ppbus0
device		ppc0	at isa? port? net irq 7

device ep0 at isa? port 0x300 net irq 12
device ep1 at isa? port 0x340 net irq 10
device ep2 at isa? port 0x320 net irq 11

pseudo-device	loop
pseudo-device	ether
pseudo-device	bpfilter	4	#Berkeley packet filter
pseudo-device	sl	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	vn		#Vnode driver (turns a file into a device)
pseudo-device	snp	3	#Snoop device - to look at pty/vty/etc..
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bf97be$62fd2180$0000e9c1>