panic: kmem_malloc; Should I increase some setting?

Ronald Klop ronald-freebsd7 at klop.yi.org
Tue Jun 29 17:10:36 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.boot
Type: application/octet-stream
Size: 5779 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040630/4df641a3/dmesg.obj


More information about the freebsd-current mailing list