Date: Wed, 30 Jun 2004 02:10:16 +0200 From: Ronald Klop <ronald-freebsd7@klop.yi.org> To: current@freebsd.org Subject: panic: kmem_malloc; Should I increase some setting? Message-ID: <opsadr3evnm97yfk@outgoing.local>
next in thread | raw e-mail | index | archive | help
--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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 402653184 (384 MB) avail memory = 388501504 (370 MB) random: <entropy source, Software, Yarrow> Pentium Pro MTRR support enabled npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <COMPAQ CPQB053> 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: <ACPI CPU (2 Cx states)> on acpi0 cpu0: Failed to attach throttling P_CNT pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> 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: <PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pcib0: slot 1 INTA is routed to irq 11 pcib1: slot 0 INTA is routed to irq 11 pci1: <display, VGA> at device 0.0 (no driver attached) fxp0: <Intel 82558 Pro/100 Ethernet> port 0x2000-0x201f mem 0x40100000-0x401fffff,0x40200000-0x40200fff irq 11 at device 10.0 on pci0 miibus0: <MII bus> on fxp0 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:50:8b:a3:d9:44 fxp0: [GIANT-LOCKED] pcm0: <Creative EMU10K1> port 0x2060-0x207f irq 11 at device 14.0 on pci0 pcm0: <TriTech TR28602 AC97 Codec> isab0: <PCI-ISA bridge> at device 20.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> 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: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2020-0x203f irq 11 at device 20.2 on pci0 uhci0: [GIANT-LOCKED] usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> 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: <Intel PIIX4 SMBUS Interface> on intpm0 smbus0: <System Management Bus> on intsmb0 smb0: <SMBus generic I/O> on smbus0 intpm0: PM I/O mapped f800 acpi_button0: <Power Button> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> 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: <Parallel port bus> on ppc0 lpt0: <Printer> 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: <Enhanced floppy controller (i82077, NE72065 or clone)> 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: <Option ROMs> at iomem 0xe0000-0xe7fff,0xc0000-0xc7fff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 497837634 Hz quality 800 Timecounters tick every 4.000 msec ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to accept, logging unlimited ad0: 9541MB <Maxtor 91024U3> [19386/16/63] at ata0-master UDMA33 acd0: CDROM <Compaq CRN-8241B> at ata1-master WDMA2 Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /var was not properly dismounted /var: mount pending error: blocks 12 files 3 /var: superblock summary recomputed WARNING: /usr was not properly dismounted /usr: mount pending error: blocks 136 files 1 /usr: superblock summary recomputed --Boundary_(ID_65hPFufMKhpSd3iyLZZ7sA)--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opsadr3evnm97yfk>