From owner-freebsd-bugs@FreeBSD.ORG Mon Jan 3 18:10:24 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4676916A4DA for ; Mon, 3 Jan 2005 18:10:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBD0E43D46 for ; Mon, 3 Jan 2005 18:10:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j03IAN8Y060848 for ; Mon, 3 Jan 2005 18:10:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j03IANKA060847; Mon, 3 Jan 2005 18:10:23 GMT (envelope-from gnats) Resent-Date: Mon, 3 Jan 2005 18:10:23 GMT Resent-Message-Id: <200501031810.j03IANKA060847@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Haro Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A79D016A4CE for ; Mon, 3 Jan 2005 18:05:31 +0000 (GMT) Received: from burrito.bitsurf.net (dcn235-229.dcn.davis.ca.us [168.150.235.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36D8643D58 for ; Mon, 3 Jan 2005 18:05:31 +0000 (GMT) (envelope-from mharo@mx2.ceres.ca.gov) Received: from mx2.ceres.ca.gov (localhost.ad.resources.ca.gov [127.0.0.1]) by mx2.ceres.ca.gov (8.13.1/8.13.1) with ESMTP id j03I3n8o004702 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Mon, 3 Jan 2005 10:03:49 -0800 (PST) (envelope-from mharo@mx2.ceres.ca.gov) Received: (from mharo@localhost) by mx2.ceres.ca.gov (8.13.1/8.13.1/Submit) id j03I3mi8004701; Mon, 3 Jan 2005 10:03:48 -0800 (PST) (envelope-from mharo) Message-Id: <200501031803.j03I3mi8004701@mx2.ceres.ca.gov> Date: Mon, 3 Jan 2005 10:03:48 -0800 (PST) From: Michael Haro To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/75755: kmem_malloc(45056): kmem_map too small: 335540224 total allocated X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Haro List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 18:10:24 -0000 >Number: 75755 >Category: kern >Synopsis: kmem_malloc(45056): kmem_map too small: 335540224 total allocated >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 03 18:10:23 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Michael Haro >Release: FreeBSD 5.3-RELEASE i386 >Organization: >Environment: System: FreeBSD mx2 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sat Nov 6 20:20:12 PST 2004 root@mx2:/usr/obj/usr/src/sys/SMP i386 Model: Dell PowerEdge 1750 dmesg: Copyright (c) 1992-2004 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.3-RELEASE #0: Sat Nov 6 20:20:12 PST 2004 root@mx2.ceres.ca.gov:/usr/obj/usr/src/sys/SMP ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2788.00-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 4026363904 (3839 MB) avail memory = 3941834752 (3759 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic2: Changing APIC ID to 10 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 14.0 (no driver attached) atapci0: port 0x8b0-0x8bf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 ohci0: mem 0xfe100000-0xfe100fff irq 11 at device 15.2 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered isab0: at device 15.3 on pci0 isa0: on isab0 pcib1: on acpi0 pci4: on pcib1 amr0: mem 0xfcd00000-0xfcd3ffff,0xf0000000-0xf7ffffff irq 18 at device 3.0 on pci4 amr0: [GIANT-LOCKED] amr0: Firmware 412W, BIOS H406, 128MB RAM pcib2: on acpi0 pci3: on pcib2 pcib3: on acpi0 pci2: on pcib3 bge0: mem 0xfcf20000-0xfcf2ffff,0xfcf30000-0xfcf3ffff irq 16 at device 0.0 on pci2 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:0f:1f:68:2b:a1 bge1: mem 0xfcf00000-0xfcf0ffff,0xfcf10000-0xfcf1ffff irq 17 at device 0.1 on pci2 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:0f:1f:68:2b:a2 pcib4: on acpi0 pci1: on pcib4 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: at iomem 0xec000-0xeffff,0xcb800-0xccfff,0xc8000-0xc8fff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 10.000 msec acd0: CDROM at ata1-master UDMA33 amrd0: on amr0 amrd0: 34680MB (71024640 sectors) RAID 1 (optimal) ses0 at amr0 bus 0 target 6 lun 0 ses0: Fixed Processor SCSI-2 device ses0: SAF-TE Compliant Device >Description: Good dump found on device /dev/amrd0s1b Architecture: i386 Architecture version: 1 Dump length: 4026363904B (3839 MB) Blocksize: 512 Dumptime: Mon Jan 3 04:15:20 2005 Hostname: mx2 Versionstring: FreeBSD 5.3-RELEASE #0: Sat Nov 6 20:20:12 PST 2004 root@mx2:/usr/obj/usr/src/sys/SMP Panicstring: kmem_malloc(45056): kmem_map too small: 335540224 total allocated Bounds: 0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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 "i386-marcel-freebsd". (no debugging symbols found)...0xc06766cc in doadump () (kgdb) bt #0 0xc06766cc in doadump () #1 0xc0676d9c in boot () #2 0xc0677194 in panic () #3 0xc0817a6b in kmem_malloc () #4 0xc082b147 in page_alloc () #5 0xc082de32 in uma_large_malloc () #6 0xc06699de in malloc () #7 0xc06534b5 in kqueue_expand () #8 0xc06529c7 in kqueue_register () #9 0xc065225e in kevent () #10 0xc0883560 in syscall () #11 0xc086d49f in Xint0x80_syscall () #12 0x0000002f in ?? () #13 0x0000002f in ?? () #14 0x0805002f in ?? () #15 0xbfbfdc38 in ?? () #16 0x08056000 in ?? () #17 0xbfbfdbb8 in ?? () #18 0xf41fcd74 in ?? () #19 0x2812d6b4 in ?? () #20 0x2a1266a8 in ?? () #21 0x08056000 in ?? () #22 0x0000016b in ?? () #23 0x00000016 in ?? () #24 0x00000002 in ?? () #25 0x28187aef in ?? () #26 0x0000001f in ?? () #27 0x00000286 in ?? () #28 0xbfbfdb7c in ?? () #29 0x0000002f in ?? () #30 0x00000000 in ?? () #31 0x00000000 in ?? () #32 0x00000000 in ?? () #33 0x00000000 in ?? () #34 0xa90ed000 in ?? () #35 0xc5ea0388 in ?? () #36 0xc5c7caf0 in ?? () #37 0xf41fcad0 in ?? () #38 0xf41fcab4 in ?? () #39 0xc55d0000 in ?? () #40 0xc068b6c0 in sched_switch () Previous frame inner to this frame (corrupt stack?) >How-To-Repeat: Not sure. This is the first occurance. System was up for over 40 days. I did see a few other PRs with similar issues, but none of them had a solution that all the PRs agreed on. >Fix: Unknown. One PR said options VM_KMEM_SIZE_MAX=419430400 decreased KMEM space. Another comment said that it increased it and thus was incorrect. >Release-Note: >Audit-Trail: >Unformatted: