Date: Thu, 15 Jan 2004 07:57:32 -0500 (EST) From: Jun Su <junsu@m-net.arbornet.org> To: current@freebsd.org Subject: PANIC in kmem_alloc when loading many modules Message-ID: <200401151257.i0FCvWek097326@m-net.arbornet.org>
next in thread | raw e-mail | index | archive | help
Hi All, I got a panic when I load many modules. The list of modules is: kernel (ether.1, sysushm.1 sysvsem.1 sysvmsg.1 iosa.1 ppbus.1 pci.1) if_fxp miibus if_wi wlan rc4 pccard agp cbb exca if_ln snd_ich snd_pcm ums usb umass cam If I disable any of module, the system can boot ok. From the calling stack, it is obversious there is a recursive call in kmem_malloc. If you need any more information, please feel free to let me know. After I enable UMA_DEBUG, UMA_DEBUG_ALLOC, UMA_DEBUG_ALLOC_1, I got the following messages. (I typed by my hand. :-)) ============================== Other BIOS signatures found: allocating one item from 1024(0xc0c1e000) INERNAL: allocating one item from 16 bucket slab_zalloc: allocating a new slab from 1024 INTERNAL: allocating one item from UMA Slabs Allocating one item from KMAP Entry INTERNAL : Allocating one item from 128 bucket slab_zalloc: Allocating a new slab for KMAP ENTRY PANIC: _mtx_lock_sleep: recuresed on non-recursive mutex system map cpuid = 0; Stack backtrace: panic _mtx_lock_sleep _mtx_lock_flags _vm_map_lock kmem_malloc(c0c330a0, 1000, 101, c0821ad4, c055f8c4) page_alloc startup_alloc slab_zalloc uma_zone_slab uma_zalloc_bucket uma_zalloc_arg vm_map_entry_create vm_map_insert kmem_malloc(c0c330a0, 1000, 2, c0821c74, c055f608) page_alloc slab_zalloc uma_zone_slab uma_zalloc_bucket uma_zalloc_arg malloc hashinit procinit proc0_init mi_startup db>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401151257.i0FCvWek097326>