panic with heavy writing on md device

Ronald Klop ronald-freebsd7 at klop.yi.org
Tue Jun 29 14:12:24 PDT 2004


Hello,

I got a panic while doing a lot of IO on a md device.
I attached a gdb backtrace of the kernelcore and a dmesg output.

It happened while untarring a 30 MB tar on the background (&) and
traversing this new directory in the meantime.

uname -a
FreeBSD guido.thuis.klop.ws 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Fri Jun 25  
04:03:35 CEST 2004      
root at guido.thuis.klop.ws:/usr/obj/usr/src/sys/GUIDO  i386

On the same time I was playing music with mpg123, but that doesn't make  
use of the md device.

I have had this more and always while doing a lot of IO on the md device.

Is there more info you need?

Greetings,

Ronald.

-- 
  Ronald Klop
  Amsterdam, The Netherlands
-------------- next part --------------
Script started on Tue Jun 29 23:04:12 2004


# root at guido [/usr/tmp/panic]

bin/makeports.sh 
portversion -vL=
bin/makeworld.sh 
portversion -vL=
bin/makeports.sh 
(reverse-i-search)`': g': rm /usr/ports/packages/All/Xft-2.1.2_1.tbz
(reverse-i-search)`gd': gdb -k /boot/kernel/kernel vmcore.2
(reverse-i-search)`gd': [1 at b': 
gdb -k /boot/kernel/kernel vmcore.2 3
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
(no debugging symbols found)...
panic: page fault
panic messages:
---
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
---
Reading symbols from /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/cd9660/cd9660.ko...(no debugging symbols found)...done.
Loaded symbols for /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/cd9660/cd9660.ko
Reading symbols from /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/msdosfs/msdosfs.ko...(no debugging symbols found)...done.
Loaded symbols for /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/msdosfs/msdosfs.ko
Reading symbols from /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/md/md.ko...(no debugging symbols found)...done.
Loaded symbols for /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/md/md.ko
Reading symbols from /boot/kernel/snd_emu10k1.ko...
(no debugging symbols found)...done.
Loaded symbols for /boot/kernel/snd_emu10k1.ko
Reading symbols from /boot/kernel/snd_pcm.ko...(no debugging symbols found)...
done.
Loaded symbols for /boot/kernel/snd_pcm.ko
Reading symbols from /boot/kernel/acpi.ko...(no debugging symbols found)...
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/procfs/procfs.ko...(no debugging symbols found)...done.
Loaded symbols for /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/procfs/procfs.ko
Reading symbols from /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/linp---Type <return> to continue, or q <return> to quit---
rocfs/linprocfs.ko...(no debugging symbols found)...done.
Loaded symbols for /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/linprocfs/linprocfs.ko
Reading symbols from /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/linux/linux.ko...(no debugging symbols found)...done.
Loaded symbols for /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/linux/linux.ko
Reading symbols from /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/nfsclient/nfsclient.ko...(no debugging symbols found)...done.
Loaded symbols for /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/nfsclient/nfsclient.ko
Reading symbols from /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/nfsserver/nfsserver.ko...(no debugging symbols found)...done.
Loaded symbols for /usr/obj/usr/src/sys/GUIDO/modules/usr/src/sys/modules/nfsserver/nfsserver.ko
#0  0xc04a367c in doadump ()
(kgdb) bt
#0  0xc04a367c in doadump ()
#1  0xc04a3c34 in boot ()
#2  0xc04a3f39 in panic ()
#3  0xc0561ca5 in kmem_malloc ()
#4  0xc05704b2 in page_alloc ()
#5  0xc057016d in slab_zalloc ()
#6  0xc0571588 in uma_zone_slab ()
#7  0xc05718c9 in uma_zalloc_internal ()
#8  0xc057249e in uma_large_malloc ()
#9  0xc0499d85 in malloc ()
#10 0xc0545316 in softdep_disk_io_initiation ()
#11 0xc05451e4 in softdep_disk_prewrite ()
#12 0xc0558b05 in ufs_strategy ()
#13 0xc0559747 in ufs_vnoperate ()
#14 0xc04e2541 in ibwrite ()
#15 0xc04e20ac in bwrite ()
#16 0xc04e4310 in vfs_bio_awrite ()
#17 0xc054bf8d in ffs_fsync ()
#18 0xc054b2ab in ffs_sync ()
#19 0xc04f595e in sync_fsync ()
#20 0xc04f28d9 in sched_sync ()
#21 0xc049011d in fork_exit ()
(kgdb) q


# root at guido [/usr/tmp/panic]

exit

Script done on Tue Jun 29 23:04:25 2004
-------------- 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/20040629/cfb7cc01/dmesg-0001.obj


More information about the freebsd-current mailing list