From owner-freebsd-current Thu Feb 13 4: 5:28 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 759F837B401; Thu, 13 Feb 2003 04:05:26 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72E3943F3F; Thu, 13 Feb 2003 04:05:25 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id AF8C1536E; Thu, 13 Feb 2003 13:05:23 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: alpha@freebsd.org, current@freebsd.org Subject: top-of-tree alpha kernel panics during boot From: Dag-Erling Smorgrav Date: Thu, 13 Feb 2003 13:05:22 +0100 Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Booting [/boot/kernel/kernel]... Entering /boot/kernel/kernel at 0xfffffc000033a400... sio1: gdb debugging port Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #32: Thu Feb 13 12:41:50 CET 2003 des@dsa.thinksec.com:/usr/src/sys/alpha/compile/DSA Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc0000756000. Digital Personal Workstation (Miata) Digital Personal WorkStation 600au, 598MHz 8192 byte page size, 1 processor. CPU: EV56 (21164A) major=7 minor=0 extensions=0x1 OSF PAL rev: 0x1000000020116 real memory = 266493952 (254 MB) avail memory = 251977728 (240 MB) Memory modified after free 0xfffffc00007b6000(8184) panic: Most recently used by none panic Stopped at Debugger+0x38: zapnot v0,#0xf,v0 db> trace Debugger() at Debugger+0x38 panic() at panic+0x118 mtrash_ctor() at mtrash_ctor+0x84 uma_zalloc_arg() at uma_zalloc_arg+0x160 malloc() at malloc+0x94 kobj_class_compile() at kobj_class_compile+0x2c devclass_add_driver() at devclass_add_driver+0x64 driver_module_handler() at driver_module_handler+0xb4 module_register_init() at module_register_init+0xa0 mi_startup() at mi_startup+0x144 locorestart() at locorestart+0x64 --- root of call graph --- des@dsa ~% gdb -k /sys/alpha/compile/DSA/kernel.debug GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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 "alpha-undermydesk-freebsd"... (kgdb) list *(mtrash_ctor+0x84) 0xfffffc000056a684 is in mtrash_ctor (../../../vm/uma_dbg.c:138). 133 134 for (p = mem; cnt > 0; cnt--, p++) 135 if (*p != uma_junk) { 136 printf("Memory modified after free %p(%d)\n", 137 mem, size); 138 panic("Most recently used by %s\n", (*ksp == NULL)? 139 "none" : (*ksp)->ks_shortdesc); 140 } 141 } 142 (kgdb) list *(uma_zalloc_arg+0x160) 0xfffffc0000568bf0 is in uma_zalloc_arg (../../../vm/uma_core.c:1358). 1353 uma_dbg_alloc(zone, NULL, item); 1354 ZONE_UNLOCK(zone); 1355 #endif 1356 CPU_UNLOCK(zone, cpu); 1357 if (zone->uz_ctor) 1358 zone->uz_ctor(item, zone->uz_size, udata); 1359 if (flags & M_ZERO) 1360 bzero(item, zone->uz_size); 1361 return (item); 1362 } else if (cache->uc_freebucket) { DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message