From owner-freebsd-current Fri Dec 20 23:51:40 2002 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 41F7337B401 for ; Fri, 20 Dec 2002 23:51:35 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 491BA43ED8 for ; Fri, 20 Dec 2002 23:51:34 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gBL7pRp0051419 for ; Sat, 21 Dec 2002 08:51:28 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: -CURRENT panic on SMP Athlon box. From: Poul-Henning Kamp Date: Sat, 21 Dec 2002 08:51:27 +0100 Message-ID: <51418.1040457087@critter.freebsd.dk> 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 My SMP Athlon box paniced again tonight, and this time my serial console caught it in the act. I have no idea what has caused this, and have no idea if it has any significance for 5.0-R or not. I wonder if we have a memory leak ? Poul-Henning login: panic: kmem_malloc(4096): kmem_map too small: 275378176 total allocated cpuid = 1; lapic.id = 01000000 panic(c033e881,1000,1069f000,e752c714,1) at panic+0x10a kmem_malloc(c082e07c,1000,4,e752c76c,c02c6a7b) at kmem_malloc+0x11d page_alloc(c083a600,1000,e752c75f,4,c0330243) at page_alloc+0x27 slab_zalloc(c083a600,0,c038bd1c,c083a73c,57e) at slab_zalloc+0xfb uma_zone_slab(c083a600,0,15f,c038bd1c,c083a73c) at uma_zone_slab+0x9e uma_zalloc_bucket(c083a600,0,c0340146,57e,c038d03c) at uma_zalloc_bucket+0x18d uma_zalloc_arg(c083a600,0,0,c0340628,252c820) at uma_zalloc_arg+0x304 vm_object_allocate_wait(2,1,0,0,e752c850) at vm_object_allocate_wait+0x38 vm_object_allocate(2,1,0,89,0) at vm_object_allocate+0x28 vnode_pager_alloc(d4116ce4,200,0,0,0) at vnode_pager_alloc+0x172 vop_stdcreatevobject(e752c954,e752c93c,c02af0a8,e752c954,e752c968) at vop_stdcre atevobject+0x175 vop_defaultop(e752c954,e752c968,c022f4fa,e752c954,1) at vop_defaultop+0x18 ufs_vnoperate(e752c954,1,c0337335,c8e,c034c6a0) at ufs_vnoperate+0x18 vfs_object_create(d4116ce4,cc6921c0,ceb3e480,a4,cc6921c0) at vfs_object_create+0 x5a namei(e752cbd8,cc6921c0,ceb3e480,100,cc6921c0) at namei+0x2f6 vn_open_cred(e752cbd8,e752ccd8,1,ceb3e480,e752ccc4) at vn_open_cred+0x258 vn_open(e752cbd8,e752ccd8,1,295,6) at vn_open+0x29 kern_open(cc6921c0,805dca8,0,5,1) at kern_open+0x183 open(cc6921c0,e752cd10,c0344225,407,3) at open+0x30 syscall(2f,2f,2f,805dc00,80533c0) at syscall+0x28e Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (5), eip = 0x280b78d3, esp = 0xbfbff94c, ebp = 0xbfbffb18 --- boot() called on cpu#1 yncing disks, buffers remaining... panic: bremfree: bp 0xd42a9240 not locked cpuid = 1; lapic.id = 01000000 boot() called on cpu#1 Uptime: 17h37m0s Terminate ACPI Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... cpu_reset called on cpu#1 cpu_reset: Stopping other CPUs cpu_reset: Restarting BSP cpu_reset_proxy: Stopped CPU 1 Console: serial port BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS drive D: is disk2 BIOS drive E: is disk3 BIOS drive F: is disk4 BIOS 633kB/2096048kB available memory FreeBSD/i386 bootstrap loader, Revision 1.1 (root@bang.freebsd.dk, Thu Dec 19 09:30:06 CET 2002) Loading /boot/defaults/loader.conf /boot/kernel/kernel text=0x2489a8 data=0x2f25c+0x3e128 syms=[0x4+0x30fe0+0x4+0x3 afeb] Hit [Enter] to boot immediately, or any other key for command prompt. ^MBooting [/boot/kernel/kernel] in 9 seconds... ^MBooting [/boot/kernel/kernel] in 8 seconds... ^MBooting [/boot/kernel/kernel] in 7 seconds... ^MBooting [/boot /kernel/kernel] in 6 seconds... ^MBooting [/boot/kernel/kernel] in 5 seconds... Booting [/boot/kernel/kernel] in 4 seconds... ^MBooting [/boot/kernel/kernel] in 3 seconds... ^MBooting [/boot/kernel/kernel] in 2 seconds... ^MBooting [/boot/k ernel/kernel] in 1 second... ^MBooting [/boot/kernel/kernel]... /boot/kernel/acpi.ko text=0x39930 data=0x1a58+0xb48 syms=[0x4+0x5810+0x4+0x7495] Copyright (c) 1992-2002 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 #2: Fri Dec 20 09:21:19 CET 2002 root@bang.freebsd.dk:/bang/src/sys/i386/compile/BANG Preloaded elf kernel "/boot/kernel/kernel" at 0xc046e000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc046e0a8. Timecounter "i8254" frequency 1193182 Hz CPU: AMD Athlon(TM) MP 1800+ (1533.40-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383fbff AMD Features=0xffffffffc0480000 real memory = 2147401728 (2047 MB) avail memory = 2085785600 (1989 MB) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): apic id: 0, version: 0x00040010, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040010, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 Using $PIR table, 9 entries at 0xc00f24a0 acpi0: power button is handled as a fixed feature programming model. acpi0: sleep button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 IOAPIC #0 intpin 16 -> irq 2 IOAPIC #0 intpin 17 -> irq 10 agp0: port 0xe800-0xe803 mem 0xfb800000-0xfb800fff, 0xfc000000-0xfdffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xb800-0xb80f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.3 (no driver attached) ahc0: port 0xb400-0xb4ff mem 0xf2800000-0 xf2800fff irq 2 at device 8.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs em0: port 0xb000-0xb03f mem 0xf2000000-0xf201ffff irq 10 at device 9.0 on pci0 em0: Speed:1000 Mbps Duplex:Full pcib2: at device 16.0 on pci0 pci2: on pcib2 pci2: at device 4.0 (no driver attached) atapci1: port 0x9000-0x903f,0x9400-0x9403,0x9800-0x98 07,0xa000-0xa003,0xa400-0xa407 mem 0xf1000000-0xf101ffff irq 10 at device 6.0 on pci2 ata2: at 0xa400 on atapci1 ata3: at 0x9800 on atapci1 fdc0: port 0x3f7,0x3f2-0 x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppi0: on ppbus0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 orm0: