Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 13:05:22 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        alpha@freebsd.org, current@freebsd.org
Subject:   top-of-tree alpha kernel panics during boot
Message-ID:  <xzpn0l0v119.fsf@flood.ping.uio.no>

next in thread | raw e-mail | index | archive | help
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<BWX>
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      <v0=0x6>
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




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