From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 03:52:03 2004 Return-Path: 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 52E0416A4CE for ; Fri, 30 Jan 2004 03:52:03 -0800 (PST) Received: from gandalf.midgard.liu.se (gandalf.midgard.liu.se [130.236.244.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 448D543D1D for ; Fri, 30 Jan 2004 03:52:00 -0800 (PST) (envelope-from n97magda@midgard.liu.se) Received: from gandalf (n97magda@gandalf [130.236.244.6]) i0UBpbNY002378 for ; Fri, 30 Jan 2004 12:51:37 +0100 (CET) (envelope-from n97magda@midgard.liu.se) Date: Fri, 30 Jan 2004 12:51:37 +0100 (CET) From: Magnus Dahlstedt To: current@freebsd.org Message-ID: <20040130124818.T2246@gandalf.midgard.liu.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) Subject: 5.2-RELEASE crash X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 11:52:03 -0000 On 5.2-RELEASE, I get the following crash: backtrace(c06c62bc,c8697bdc,c06d63e4,c06d63e4,c06d7305) at backtrace+0x17 witness_lock(c8697bdc,8,c06d7305,369,c865d540) at witness_lock+0x686 _mtx_lock_flags(c8697bdc,0,c06d7305,369,c865d554) at _mtx_lock_flags+0xb5 obj_alloc(c865d540,1000,e4097a07,101,0) at obj_alloc+0x3f slab_zalloc(c865d540,1,c865d554,8,c06d7305) at slab_zalloc+0xb3 uma_zone_slab(c865d540,1,c06d7305,682,c865d5f0) at uma_zone_slab+0xda uma_zalloc_internal(c865d540,0,1,5b7,72e) at uma_zalloc_internal+0x3e uma_zalloc_arg(c865d540,0,1,72e,2) at uma_zalloc_arg+0x394 swp_pager_meta_build(cd066e70,1b,0,2,0) at swp_pager_meta_build+0x16d swap_pager_putpages(cd066e70,e4097bd0,2,0,e4097b40) at swap_pager_putpages+0x31a default_pager_putpages(cd066e70,e4097bd0,2,0,e4097b40) at default_pager_putpages+0x2e vm_pageout_flush(e4097bd0,2,0,eb,c06756a5) at vm_pageout_flush+0x174 vm_pageout_clean(c2ae7190,0,c06d7108,32a,0) at vm_pageout_clean+0x2ea vm_pageout_scan(0,0,c06d7108,5a9,1f4) at vm_pageout_scan+0x671 vm_pageout(0,e4097d48,c06c07d2,311,0) at vm_pageout+0x31d fork_exit(c064897d,0,e4097d48) at fork_exit+0xb5 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe4097d7c, ebp = 0 --- panic: kmem_malloc(16384): kmem_map too small: 275243008 total allocated cpuid = 1; Debugger("panic") Stopped at Debugger+0x4f: xchgl %ebx,in_Debugger.0 db> trace Debugger(c06c2ccd,1,c06d5a05,e40a6a74,100) at Debugger+0x4f panic(c06d5a05,4000,1067e000,e40a6aa0,c0518254) at panic+0x14a kmem_malloc(c10310a0,4000,402,e40a6aec,c064c19e) at kmem_malloc+0x101 page_alloc(0,4000,e40a6adf,402,25471b2) at page_alloc+0x27 uma_large_malloc(4000,402,0,c05471b2,c07287e0) at uma_large_malloc+0x52 malloc(4000,c0709ec0,402,d4917c00,c8212a00) at malloc+0x122 softdep_disk_io_initiation(d4b8e238,c0545d00,c06c908c,c06c6096,3) at softdep_disk_io_initiation+0x102 spec_xstrategy(c86ac000,d4b8e238,0,246,d4b8e238) at spec_xstrategy+0x10d spec_specstrategy(e40a6bb8,e40a6bd4,c0630bc8,e40a6bb8,c06c214f) at spec_specstrategy+0x6d spec_vnoperate(e40a6bb8,c06c214f,f4,fffd4000,ffffffff) at spec_vnoperate+0x18 ufs_strategy(e40a6bfc,e40a6c28,c05653ba,e40a6bfc,1) at ufs_strategy+0x134 ufs_vnoperate(e40a6bfc,1,c06c908c,360,1) at ufs_vnoperate+0x18 bwrite(d4b8e238,0,c06c908c,69b,20ae380) at bwrite+0x43c vfs_bio_awrite(d4b8e238,0,c06d44b8,e1,e40a6cb0) at vfs_bio_awrite+0x247 ffs_fsync(e40a6cd8,30002,c8212a00,6cd,0) at ffs_fsync+0x2fc sched_sync(0,e40a6d48,c06c07d2,311,0) at sched_sync+0x26a fork_exit(c0576443,0,e40a6d48) at fork_exit+0xb5 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xe40a6d7c, ebp = 0 --- db> The dmesg output: FreeBSD 5.2-RELEASE #1: Sun Jan 18 13:44:30 CET 2004 n96andha@gandalf.midgard.liu.se:/usr/obj/usr/current/src/sys/GANDALF Preloaded elf kernel "/boot/kernel/kernel" at 0xc0802000. MPTable: < PLACER CRB > Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2665.92-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebfbff real memory = 2146942976 (2047 MB) avail memory = 2080309248 (1983 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 6 ioapic0: Assuming intbase of 0 ioapic1: Assuming intbase of 24 ioapic2: Assuming intbase of 48 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 21 entries at 0xc00fde70 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pcib0: slot 31 INTB routed to irq 17 agp0: mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pcib1: mem 0xf8000000-0xfbffffff at device 1.0 on pci0 pci1: on pcib1 pcib2: at device 2.0 on pci0 pci2: on pcib2 pci2: at device 28.0 (no driver attached ) pcib3: at device 29.0 on pci2 pci3: on pcib3 pcib3: slot 3 INTA routed to irq 54 em0: port 0x3000-0x303f mem 0xf0200000-0xf021ffff irq 54 at device 3.0 on pci3 em0: Speed:N/A Duplex:N/A pci2: at device 30.0 (no driver attached ) pcib4: at device 31.0 on pci2 pci4: on pcib4 pcib4: slot 1 INTA routed to irq 24 pcib4: slot 2 INTA routed to irq 28 pcib4: slot 2 INTA routed to irq 28 pcib5: at device 1.0 on pci4 pci5: on pcib5 pstpci0: mem 0xf1400000-0xf17ffff f irq 24 at device 1.1 on pci4 sym0: <896> port 0x4000-0x40ff mem 0xf0300000-0xf0301fff,0xf0304000-0xf03043ff i rq 28 at device 2.0 on pci4 sym0: Tekram NVRAM, ID 7, Fast-40, SE, parity checking sym1: <896> port 0x4400-0x44ff mem 0xf0302000-0xf0303fff,0xf0304400-0xf03047ff i rq 28 at device 2.1 on pci4 sym1: Tekram NVRAM, ID 7, Fast-40, SE, parity checking pcib6: at device 30.0 on pci0 pci6: on pcib6 pcib6: slot 1 INTA routed to irq 16 pcib6: slot 2 INTA routed to irq 17 pci6: at device 1.0 (no driver attached) fxp0: port 0x5000-0x501f mem 0xf0500000-0xf05ffff f,0xfc800000-0xfc800fff irq 17 at device 2.0 on pci6 fxp0: Ethernet address 00:90:27:2d:0b:0d miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x2440-0x244f,0x374-0x377,0x170-0x 177,0x3f4-0x3f7,0x1f0-0x1f7 mem 0xf0000000-0xf00003ff at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) orm0: