Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 14:22:58 +1000
From:      Gregory Bond <gnb@itga.com.au>
To:        stable@freebsd.org
Subject:   Repeatable panic: zone: entry not free
Message-ID:  <200006270422.OAA00786@lightning.itga.com.au>

next in thread | raw e-mail | index | archive | help
This is the wierdest thing.

I have a 4.0-Stable machine.  I mount the 4.0 CD#1.  I go to another 4.0 
machine, or another window on the same machine, and ftp to this machine as a 
non-root non-anonymous user.  Inside ftp, I do
	cd /cdrom/packages/Latest
	ls rsy*
and I get a panic (traceback attached).  This happens repeatably, even across 
Kernel recompiles (to get a debugging kernel for the stack trace).

This is 100% repeatable (5 from 5 so far).

non-Weird fact: it does not happen if you try to ls the directory from the
command line.

very Weird fact: If you ftp in from a Solaris host, and try the exact same
sequence, it all works fine.  I don't have easy access to any other FTP
clients to try.

NB:  The code for this panic in vm/vm_zone.c is hidden inside "#ifdef
INVARIANTS" which I turn on out of habitual paranoia and/or terminal curiosity.

Any clues?  I can offer dump files, tracebacks etc if anyone is interested.

Greg.

Script started on Tue Jun 27 14:04:08 2000
hellcat## gdb -k kernel.debug.1 vmcore.1 
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 3342336
initial pcb at 2b7420
panicstr: zone: entry not free
panic messages:
---
panic: zone: entry not free

syncing disks... 
done
Uptime: 20m18s

dumping to dev #ad/1, offset 131072
dump ata0: resetting devices .. done
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=256) at ../../kern/kern_shutdown.c:302
302			dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../kern/kern_shutdown.c:302
#1  0xc014ba11 in panic (fmt=0xc0265bf9 "zone: entry not free")
    at ../../kern/kern_shutdown.c:552
#2  0xc01f95a7 in zerror () at ../../vm/vm_zone.c:456
#3  0xc0173a78 in namei (ndp=0xc6240ec4) at ../../vm/vm_zone.h:91
#4  0xc0179b68 in readlink (p=0xc5c9f1e0, uap=0xc6240f80)
    at ../../kern/vfs_syscalls.c:1902
#5  0xc0235951 in syscall2 (frame={tf_fs = 671744047, tf_es = 671744047, 
      tf_ds = -1078001617, tf_edi = 134657024, tf_esi = 134657100, 
      tf_ebp = -1077945572, tf_isp = -970715180, tf_ebx = -1077946600, 
      tf_edx = 10, tf_ecx = -1077947756, tf_eax = 58, tf_trapno = 12, 
      tf_err = 2, tf_eip = 672018760, tf_cs = 31, tf_eflags = 663, 
      tf_esp = -1077947664, tf_ss = 47}) at ../../i386/i386/trap.c:1126
#6  0xc02298e6 in Xint0x80_syscall ()
#7  0x66c4c083 in ?? ()
Cannot access memory at address 0x6602b70f.
(kgdb) ^D
hellcat## exit

Script done on Tue Jun 27 14:06:20 2000





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




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