Date: Mon, 24 Mar 2008 16:23:19 -0700 From: Bert JW Regeer <xistence@0x58.com> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: zpool scrub tank && high file system activity caused crash Message-ID: <CB3FE976-9726-4F15-8F30-05E1E54A1610@0x58.com>
next in thread | raw e-mail | index | archive | help
--Apple-Mail-1-460532599 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hey guys, I am running FreeBSD 7.0-RELEASE with GENERIC on a AMD XP Athlon 3500+ with 1267 MB of ram, and a GigBit NIC. I am testing out ZFS just for the hell of it, I know, 32 bit is not suggested and runs badly, but it does what it needs to do. I was copying large amounts of data for backup purposes from my MacBook Pro to the machine over FTP. At the time I was looking around the man page for zpool, and figured I'd run a zpool scrub just to see how badly it affects performance. It affects it in that it takes down the machine with a dump. keyhole# kgdb kernel.debug /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/ libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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-marcel-freebsd". Unread portion of the kernel message buffer: panic: vm_page_insert: offset already allocated cpuid = 0 Uptime: 10h58m58s Physical memory: 1267 MB Dumping 335 MB: 320 304 288 272 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 #0 doadump () at pcpu.h:195 195 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0754457 in boot (howto=260) at /usr/src/sys/kern/ kern_shutdown.c:409 #2 0xc0754719 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc097c2dc in vm_page_insert (m=0xc17df8b0, object=0xc0bed860, pindex=76780) at /usr/src/sys/vm/vm_page.c:658 #4 0xc097c71c in vm_page_alloc (object=0xc0bed860, pindex=76780, req=34) at /usr/src/sys/vm/vm_page.c:1119 #5 0xc0970ef5 in kmem_malloc (map=0xc147108c, size=131072, flags=2) at /usr/src/sys/vm/vm_kern.c:344 #6 0xc09675b7 in page_alloc (zone=0x0, bytes=131072, pflag=0xe76e5b2f "\002", wait=2) at /usr/src/sys/vm/uma_core.c:955 #7 0xc096a080 in uma_large_malloc (size=131072, wait=2) at /usr/src/ sys/vm/uma_core.c:2709 #8 0xc0745568 in malloc (size=131072, mtp=0xc57d3440, flags=2) at / usr/src/sys/kern/kern_malloc.c:364 #9 0xc5752a60 in ?? () #10 0x00020000 in ?? () #11 0xc57d3440 in ?? () #12 0x00000002 in ?? () #13 0xe76e5b80 in ?? () #14 0xc57ae8e9 in ?? () #15 0x00020000 in ?? () #16 0x00000002 in ?? () #17 0xe76e5bd4 in ?? () #18 0xc5788805 in ?? () #19 0x00020000 in ?? () #20 0xc57cdced in ?? () #21 0x000008ee in ?? () #22 0x000008e6 in ?? () #23 0x00000000 in ?? () #24 0x00000000 in ?? () #25 0xe76e5c20 in ?? () #26 0xc5772cce in ?? () #27 0xd464e600 in ?? () #28 0x000036ad in ?? () #29 0x00000000 in ?? () #30 0xc6732e24 in ?? () #31 0x00002000 in ?? () #32 0x00000014 in ?? () #33 0xc6732e44 in ?? () #34 0x00020000 in ?? () #35 0xc6732e24 in ?? () #36 0xc4589400 in ?? () #37 0xc6732e34 in ?? () #38 0xe76e5c04 in ?? () #39 0xc5788b01 in ?? () #40 0x00002000 in ?? () #41 0xc6732e24 in ?? () #42 0x00000922 in ?? () #43 0x00000920 in ?? () #44 0x00000003 in ?? () #45 0x00000000 in ?? () #46 0x00000001 in ?? () #47 0xc6730000 in ?? () #48 0xc77aca80 in ?? () #49 0xc77aca80 in ?? () #50 0xe76e5c20 in ?? () #51 0xc5772193 in ?? () #52 0xc6732e24 in ?? () #53 0xc561b800 in ?? () #54 0x00000000 in ?? () #55 0xc6732e24 in ?? () #56 0x00000000 in ?? () #57 0xe76e5c84 in ?? () #58 0xc577326a in ?? () #59 0x00000002 in ?? () #60 0xe76e5c6c in ?? () #61 0xe76e5c74 in ?? () #62 0x00000003 in ?? () #63 0x00000000 in ?? () #64 0xffffffff in ?? () #65 0x00000001 in ?? () #66 0xc6732e24 in ?? () #67 0xc6730014 in ?? () #68 0x00000003 in ?? () #69 0x00000000 in ?? () #70 0xc561b954 in ?? () #71 0x0000000a in ?? () #72 0xd464e600 in ?? () #73 0xc6732d6c in ?? () #74 0x00000001 in ?? () #75 0xc57cf719 in ?? () #76 0x00000013 in ?? () #77 0x00000000 in ?? () #78 0xd464e600 in ?? () #79 0xc561bb10 in ?? () #80 0xc561b800 in ?? () #81 0xc561babc in ?? () #82 0xe76e5cf4 in ?? () #83 0xc578d59e in ?? () #84 0xc6730000 in ?? () #85 0xc57cdced in ?? () #86 0x0000096f in ?? () #87 0x00000971 in ?? () #88 0x0162715d in ?? () #89 0x536f8d22 in ?? () #90 0x1c8e4c0d in ?? () #91 0x8c8e0bb1 in ?? () #92 0x7f1469f1 in ?? () #93 0x0222d7a1 in ?? () #94 0x198f3f8f in ?? () #95 0x6b1e5f86 in ?? () #96 0xc6730000 in ?? () #97 0xc455d400 in ?? () #98 0x00000023 in ?? () #99 0xadd71f28 in ?? () #100 0xc561babc in ?? () #101 0x00000000 in ?? () #102 0xc60c7e00 in ?? () #103 0x00000000 in ?? () #104 0x00000000 in ?? () #105 0x00000000 in ?? () #106 0x00000000 in ?? () #107 0xc561b800 in ?? () #108 0x00000000 in ?? () #109 0xc4a65840 in ?? () #110 0xe76e5d24 in ?? () #111 0xc0734479 in fork_exit (callout=0x20000, arg=0x2, frame=0xe76e5bd4) at /usr/src/sys/kern/kern_fork.c:781 Previous frame inner to this frame (corrupt stack?) Please let me know if you need any additional information from the dump file. Give me commands and I shall be your terminal :P keyhole# zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT tank 374G 180G 194G 48% ONLINE - keyhole# zpool status pool: tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 ad2 ONLINE 0 0 0 ad3 ONLINE 0 0 0 ad4 ONLINE 0 0 0 ad6 ONLINE 0 0 0 errors: No known data errors keyhole# zfs list NAME USED AVAIL REFER MOUNTPOINT tank 180G 188G 18K /tank tank/archive 33.3G 188G 33.3G /usr/archive tank/media 146G 188G 146G /usr/media Bert JW Regeer --Apple-Mail-1-460532599--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB3FE976-9726-4F15-8F30-05E1E54A1610>