new LOR: gmirror: cdev/system map

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Sat, 9 Apr 2005 10:38:23 +0000 (UTC)
Added as LOR #080:

http://sources.zabbadoz.net/freebsd/lor.html#080

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT

---------- Forwarded message ----------
Hello,

While playing with gmirror, I have seen a LOR which does not seem to be in
your list. I was resizing the freebsd slices underneath a GEOM mirror, with a
recent current booted in single user.

last command typed :

# gmirror stop gm0s1
GEOM_MIRROR: Device gm0s1: provider mirror/gm0s1 destroyed.
GEOM_MIRROR: Device gm0s1 destroyed.

Here follows the backtrace :

lock order reversal
 1st 0xc08ff5c0 cdev (cdev) _at_ /usr/src/sys/kern/kern_conf.c:60
 2nd 0xc1059144 system map (system map) _at_ /usr/src/sys/vm/vm_kern.c:295
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c0911460,c0911d70,c089ce28) at kdb_backtrace+0x29
witness_checkorder(c1059144,9,c0854314,127) at witness_checkorder+0x550
_mtx_lock_flags(c1059144,0,c0854314,127) at _mtx_lock_flags+0x5b
_vm_map_lock(c10590c0,c0854314,127) at _vm_map_lock+0x26
kmem_malloc(c10590c0,1000,101,c8e24ba8,c076764a) at kmem_malloc+0x32
page_alloc(c1063580,1000,c8e24bcb,101,c1064320) at page_alloc+0x1a
startup_alloc(c1063580,1000,c8e24bcb,101,c094eaf8) at startup_alloc+0xb2
slab_zalloc(c1063580,101,c1063580,c08d732c,c1064320) at slab_zalloc+0xa1
uma_zone_slab(c1063580,1,c1064328,0,c0853633,88a) at uma_zone_slab+0xe8
uma_zalloc_internal(c1063580,0,1,0,c1052888) at uma_zalloc_internal+0x29
bucket_alloc(20,1,1,1,c1064b40) at bucket_alloc+0x2c
uma_zfree_arg(c1052840,c15a5e00,c15a5fa8) at uma_zfree_arg+0x22c
free(c15a5e00,c0899d00,c8e24ca8,c05f8891,c15a5e00) at free+0xd1
freedev(c15a5e00) at freedev+0x10
destroy_devl(c15a5e00,c8e24cd4,c05e6006,c15a5e00,c15a5e00) at
destroy_devl+0x1b9
destroy_dev(c15a5e00,c15a5e00,c15a5e00,0,c1552e80) at destroy_dev+0x10
g_dev_orphan(c15a8540,c1552e80,3e8,0,c8e24cfc) at g_dev_orphan+0x66
g_orphan_register(c1552e80) at g_orphan_register+0x6e
one_event(c8e24d1c,c05e8b01,258,190,c13775f4) at one_event+0x9b
g_run_events(258,190,c13775f4,c05e8a94,c8e24d34) at g_run_events+0x9
g_event_procbody(0,c8e24d48,0,c05e8a94,0) at g_event_procbody+0x6d
fork_exit(c05e8a94,0,c8e24d48) at fork_exit+0xa0
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xc8e24d7c, ebp = 0 ---
#

	thanks for your work, maintening the LOR list

	cheers

	TfH

PS :
# uname -a
FreeBSD  6.0-CURRENT FreeBSD 6.0-CURRENT #579: Sat Apr  9 08:01:04 CEST 2005
XXX_at_YYY:/usr/obj/usr/src/sys/GENERIC  i386
I have last cvsupped and build the world yesterday evening
Received on Sat Apr 09 2005 - 08:40:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:31 UTC