From owner-freebsd-current@FreeBSD.ORG Wed Jun 30 00:10:36 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 3564F16A4CE for ; Wed, 30 Jun 2004 00:10:36 +0000 (GMT) Received: from smtp14.wxs.nl (smtp14.wxs.nl [195.121.6.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF46943D55 for ; Wed, 30 Jun 2004 00:10:35 +0000 (GMT) (envelope-from ronald-freebsd7@klop.yi.org) Received: from ronald.echteman.nl (ip51cdc5d2.speed.planet.nl [81.205.197.210]) by smtp14.wxs.nlSMTP id <0I03005W9HT7PY@smtp14.wxs.nl> for current@freebsd.org; Wed, 30 Jun 2004 02:10:19 +0200 (CEST) Received: (qmail 8233 invoked from network); Wed, 30 Jun 2004 00:10:18 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Wed, 30 Jun 2004 00:10:18 +0000 Received: (qmail 2457 invoked from network); Wed, 30 Jun 2004 00:10:17 +0000 Received: from unknown (HELO guido.thuis.klop.ws) (192.168.0.2) by 192.168.0.16 with SMTP; Wed, 30 Jun 2004 00:10:17 +0000 Received: (qmail 2028 invoked from network); Wed, 30 Jun 2004 00:10:17 +0000 Received: from localhost.thuis.klop.ws (HELO outgoing.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; Wed, 30 Jun 2004 00:10:17 +0000 Date: Wed, 30 Jun 2004 02:10:16 +0200 From: Ronald Klop To: current@freebsd.org Message-id: MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_65hPFufMKhpSd3iyLZZ7sA)" User-Agent: Opera M2/7.51 (FreeBSD, build 689) Subject: panic: kmem_malloc; Should I increase some setting? 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: Wed, 30 Jun 2004 00:10:36 -0000 --Boundary_(ID_65hPFufMKhpSd3iyLZZ7sA) Content-type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-transfer-encoding: 7BIT Hello, I get the following panics while untarring a 30MB archive on an md device create with: tmpmfs="YES" tmpsize="256m" There is plenty of disk space and plenty of swap on the time of the panic. What info can I provide. The kernel will not make a kernel dump on /dev/ad1s1b, but I don't know why. My dmesg is attached. Greetings, Ronald. panic: kmem_malloc(16384): kmem_map too small: 86233088 total allocated syncing disks, buffers remaining... panic: kmem_malloc(4096): kmem_map too small : 86233088 total allocated Uptime: 4m1s Dumping 255 MB ad1: timeout waiting for write DRQad1: timeout waiting for write DRQ Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc04a5653 stack pointer = 0x10:0xcbb8933c frame pointer = 0x10:0xcbb89358 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 44 (syncer) trap number = 12 panic: page fault Uptime: 4m2s pfs_vncache_unload(): 1 entries remaining Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... And I just got another one: (This one gives a M_WAITOK) panic: kmem_malloc(4096): kmem_map too small: 86233088 total allocated syncing disks, buffers remaining... panic: malloc(M_WAITOK) returned NULL Uptime: 3m33s Dumping 255 MB Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc04a5653 stack pointer = 0x10:0xcbb893c0 frame pointer = 0x10:0xcbb893dc code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 44 (syncer) trap number = 12 panic: page fault Uptime: 3m34s pfs_vncache_unload(): 1 entries remaining Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... -- Ronald Klop Amsterdam, The Netherlands --Boundary_(ID_65hPFufMKhpSd3iyLZZ7sA) Content-type: application/octet-stream; name=dmesg.boot Content-transfer-encoding: 8bit Content-disposition: attachment; filename=dmesg.boot Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor write, page not present instruction pointer = 0x8:0xc054288e stack pointer = 0x10:0xd1af49ac frame pointer = 0x10:0xd1af49cc code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 970 (bsdtar) trap number = 12 panic: page fault syncing disks, buffers remaining... panic: kmem_malloc(4096): kmem_map too small: 130207744 total allocated Uptime: 1h13m47s Dumping 384 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 Dump complete pfs_vncache_unload(): 1 entries remaining Shutting down ACPI Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... 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.2-CURRENT #1: Fri Jun 25 04:03:35 CEST 2004 root@guido.thuis.klop.ws:/usr/obj/usr/src/sys/GUIDO Preloaded elf kernel "/boot/kernel/kernel" at 0xc0731000. Preloaded elf module "/boot/kernel/cd9660.ko" at 0xc07310cc. Preloaded elf module "/boot/kernel/msdosfs.ko" at 0xc0731178. Preloaded elf module "/boot/kernel/md.ko" at 0xc0731224. Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc07312cc. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc073137c. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0731428. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (497.84-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383f9ff real memory = 402653184 (384 MB) avail memory = 388501504 (370 MB) random: Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: [GIANT-LOCKED] pcibios: BIOS version 2.10 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xf808-0xf80b on acpi0 cpu0: on acpi0 cpu0: Failed to attach throttling P_CNT pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 10 INTA is routed to irq 11 pcib0: slot 14 INTA is routed to irq 11 pcib0: slot 20 INTD is routed to irq 11 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib0: slot 1 INTA is routed to irq 11 pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) fxp0: port 0x2000-0x201f mem 0x40100000-0x401fffff,0x40200000-0x40200fff irq 11 at device 10.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:50:8b:a3:d9:44 fxp0: [GIANT-LOCKED] pcm0: port 0x2060-0x207f irq 11 at device 14.0 on pci0 pcm0: isab0: at device 20.0 on pci0 isa0: on isab0 atapci0: port 0x2040-0x204f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x2020-0x203f irq 11 at device 20.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered intpm0: port 0xfc00-0xfc0f irq 9 at device 20.3 on pci0 intpm0: I/O mapped fc00 intpm0: intr IRQ 9 enabled revision 0 intpm0: [GIANT-LOCKED] intsmb0: on intpm0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped f800 acpi_button0: on acpi0 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 IntelliMouse, device ID 3 ppc0 port 0x778-0x77d,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 orm0: