From owner-freebsd-current@FreeBSD.ORG Tue Jun 29 21:12:24 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 1D84816A4CE for ; Tue, 29 Jun 2004 21:12:24 +0000 (GMT) Received: from smtp14.wxs.nl (smtp14.wxs.nl [195.121.6.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id B434443D1F for ; Tue, 29 Jun 2004 21:12:23 +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 <0I030043U9K4D6@smtp14.wxs.nl> for freebsd-current@freebsd.org; Tue, 29 Jun 2004 23:12:05 +0200 (CEST) Received: (qmail 2725 invoked from network); Tue, 29 Jun 2004 21:12:00 +0000 Received: from unknown (HELO laptop.thuis.klop.ws) (192.168.1.4) by ronald.echteman.nl with SMTP; Tue, 29 Jun 2004 21:12:00 +0000 Received: (qmail 1304 invoked from network); Tue, 29 Jun 2004 21:11:56 +0000 Received: from unknown (HELO guido.thuis.klop.ws) (192.168.0.2) by 192.168.0.16 with SMTP; Tue, 29 Jun 2004 21:11:56 +0000 Received: (qmail 756 invoked from network); Tue, 29 Jun 2004 21:11:53 +0000 Received: from localhost.thuis.klop.ws (HELO outgoing.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; Tue, 29 Jun 2004 21:11:53 +0000 Date: Tue, 29 Jun 2004 23:11:51 +0200 From: Ronald Klop To: freebsd-current@freebsd.org Message-id: MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_2aPm6X+1on1n1Tj33Fy+xQ)" User-Agent: Opera M2/7.51 (FreeBSD, build 689) Subject: panic with heavy writing on md device 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: Tue, 29 Jun 2004 21:12:24 -0000 --Boundary_(ID_2aPm6X+1on1n1Tj33Fy+xQ) Content-type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-transfer-encoding: 7BIT 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@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 --Boundary_(ID_2aPm6X+1on1n1Tj33Fy+xQ) Content-type: text/plain; name=gdb.txt Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=gdb.txt Script started on Tue Jun 29 23:04:12 2004 # root@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@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 to continue, or q 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@guido [/usr/tmp/panic] exit Script done on Tue Jun 29 23:04:25 2004 --Boundary_(ID_2aPm6X+1on1n1Tj33Fy+xQ) 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: