zfs + ggate testing

From: Mike Wolman <mike_at_nux.co.uk>
Date: Mon, 2 Apr 2007 11:20:54 +0100 (BST)
Hi,

I have continued to test zfs and ggated and have managed to panic the 
machine a few times i have a number of saved vmcores however i am not too 
familiar with kgdb but from following the handbook i have produced a 
backtrace - please let me know if there is any other info i can provide or 
if there is any testing i can do.

Before any panics i am getting a lot of message on the console like:

zfs_lowmem:2681[0]: 2596 ENTER
zfs_lowmem:2686[0]: 2596 EXIT
zfs_lowmem:2681[0]: 2593 ENTER
zfs_lowmem:2686[0]: 2593 EXIT
zfs_lowmem:2681[0]: 2598 ENTER
zfs_lowmem:2686[0]: 2598 EXIT
zfs_lowmem:2681[0]: 2598 ENTER
zfs_lowmem:2686[0]: 2598 EXIT

f7# kgdb kernel.debug /var/crash/vmcore.0
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined s
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:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0686bda
stack pointer           = 0x28:0xe6572b28
frame pointer           = 0x28:0xe6572b3c
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         = 1085 (solthread 0xc41f633)
panic: from debugger
cpuid = 0
Uptime: 7m15s
Physical memory: 999 MB
Dumping 58 MB: 43 27 11

#0  doadump () at pcpu.h:147
147             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) list 0xc0686bda
Function "0xc0686bda" not defined.
(kgdb) list *0xc0686bda
0xc0686bda is in g_io_request (/usr/src/sys/geom/geom_io.c:364).
359                     KASSERT(bp->bio_length % cp->provider->sectorsize == 0,
360                         ("wrong length %jd for sectorsize %u",
361                         bp->bio_length, cp->provider->sectorsize));
362             }
363
364             g_trace(G_T_BIO, "bio_request(%p) from %p(%s) to %p(%s) cmd %d",
365                 bp, cp, cp->geom->name, pp, pp->name, bp->bio_cmd);
366
367             bp->bio_from = cp;
368             bp->bio_to = pp;
(kgdb) backtrace
#0  doadump () at pcpu.h:147
#1  0xc06c6232 in boot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:409
#2  0xc06c6573 in panic (fmt=0xc091a5f6 "from debugger") at 
/usr/src/sys/kern/kern_shut
#3  0xc0476b8a in db_panic (addr=-1066898470, have_addr=0, count=-1, 
modif=0xe65728f8 "
#4  0xc0476b23 in db_command (last_cmdp=0xc0a23dc4, cmd_table=0x0) at 
/usr/src/sys/ddb/
#5  0xc0476bde in db_command_loop () at /usr/src/sys/ddb/db_command.c:453
#6  0xc0478835 in db_trap (type=12, code=0) at 
/usr/src/sys/ddb/db_main.c:222
#7  0xc06e5ebc in kdb_trap (type=12, code=0, tf=0xe6572ae8) at 
/usr/src/sys/kern/subr_k
#8  0xc08d3bdd in trap_fatal (frame=0xe6572ae8, eva=0) at 
/usr/src/sys/i386/i386/trap.c
#9  0xc08d3917 in trap_pfault (frame=0xe6572ae8, usermode=0, eva=0) at 
/usr/src/sys/i38
#10 0xc08d3502 in trap (frame=0xe6572ae8) at 
/usr/src/sys/i386/i386/trap.c:462
#11 0xc08bd23b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#12 0xc0686bda in g_io_request (bp=0xc411739c, cp=0xc4111540) at 
/usr/src/sys/geom/geom
#13 0xc4227cd2 in ?? ()
#14 0xc411739c in ?? ()
#15 0xc4111540 in ?? ()
#16 0xc3c0e000 in ?? ()
#17 0xc400c800 in ?? ()
#18 0xc44f0400 in ?? ()
#19 0xe6572b64 in ?? ()
#20 0xc41fe46f in ?? ()
#21 0xc44f0400 in ?? ()
#22 0xe6572b84 in ?? ()
#23 0xc42129d8 in ?? ()
#24 0xc44f0400 in ?? ()
#25 0x00000200 in ?? ()
---Type <return> to continue, or q <return> to quit---
#26 0x00000000 in ?? ()
#27 0xc44f0400 in ?? ()
#28 0xc44f2400 in ?? ()
#29 0xc44f0400 in ?? ()
#30 0xe6572b94 in ?? ()
#31 0xc4212e66 in ?? ()
#32 0xc44f0400 in ?? ()
#33 0xc44f0400 in ?? ()
#34 0xe6572ba8 in ?? ()
#35 0xc421159e in ?? ()
#36 0xc44f0400 in ?? ()
#37 0xc44f0400 in ?? ()
#38 0xc44f0600 in ?? ()
#39 0xe6572bb8 in ?? ()
#40 0xc4212e66 in ?? ()
#41 0xc44f0400 in ?? ()
#42 0xc44f05ec in ?? ()
#43 0xe6572bd0 in ?? ()
#44 0xc4211443 in ?? ()
#45 0xc44f0400 in ?? ()
#46 0xc44f0400 in ?? ()
#47 0x00000000 in ?? ()
#48 0xc4599000 in ?? ()
#49 0xe6572be4 in ?? ()
#50 0xc421152d in ?? ()
#51 0xc44f0400 in ?? ()
---Type <return> to continue, or q <return> to quit---
#52 0x00000001 in ?? ()
#53 0xc44f05ec in ?? ()
#54 0xe6572bf4 in ?? ()
#55 0xc4212f12 in ?? ()
#56 0xc44f0400 in ?? ()
#57 0xc3c0e000 in ?? ()
#58 0xe6572c00 in ?? ()
#59 0xc42113ff in ?? ()
#60 0xc44f0400 in ?? ()
#61 0xe6572c10 in ?? ()
#62 0xc41ffb5a in ?? ()
#63 0xc44f0400 in ?? ()
#64 0xc44f2400 in ?? ()
#65 0xe6572c64 in ?? ()
#66 0xc42001b4 in ?? ()
#67 0xc44f2400 in ?? ()
#68 0xc3c0e000 in ?? ()
#69 0x00000000 in ?? ()
#70 0xc4599000 in ?? ()
#71 0x00004000 in ?? ()
#72 0x00000000 in ?? ()
#73 0x0001c000 in ?? ()
#74 0x00000000 in ?? ()
#75 0x00000000 in ?? ()
#76 0x00000000 in ?? ()
#77 0xc3fef800 in ?? ()
---Type <return> to continue, or q <return> to quit---
#78 0x00000000 in ?? ()
#79 0x00000000 in ?? ()
#80 0x00000805 in ?? ()
#81 0xc3fef800 in ?? ()
#82 0x00000000 in ?? ()
#83 0x00000000 in ?? ()
#84 0xc3c0e000 in ?? ()
#85 0xc3fef800 in ?? ()
#86 0xe6572c8c in ?? ()
#87 0xc41fd852 in ?? ()
#88 0xc3c0e000 in ?? ()
#89 0x00000000 in ?? ()
#90 0x00000000 in ?? ()
#91 0xe6572cb8 in ?? ()
#92 0xc41fd7b9 in ?? ()
#93 0x00000000 in ?? ()
#94 0xc400c800 in ?? ()
#95 0xc3fef800 in ?? ()
#96 0xe6572cb4 in ?? ()
#97 0xc41fd813 in ?? ()
#98 0xc3c0e000 in ?? ()
#99 0xc400c800 in ?? ()
#100 0x37040000 in ?? ()
#101 0x00000001 in ?? ()
#102 0x00000009 in ?? ()
#103 0xc400c800 in ?? ()
---Type <return> to continue, or q <return> to quit---
#104 0xc3fef800 in ?? ()
#105 0xc3fef800 in ?? ()
#106 0xe6572cd0 in ?? ()
#107 0xc41fda25 in ?? ()
#108 0xc400c800 in ?? ()
#109 0xc400c800 in ?? ()
#110 0xc400c800 in ?? ()
#111 0xc3eee800 in ?? ()
#112 0x00000000 in ?? ()
#113 0xe6572ce8 in ?? ()
#114 0xc41f630c in ?? ()
#115 0xc400c800 in ?? ()
#116 0xc3fefbb0 in ?? ()
#117 0xc3fef800 in ?? ()
#118 0x00000001 in ?? ()
#119 0xe6572d00 in ?? ()
#120 0xc41f63be in ?? ()
#121 0xc3fef800 in ?? ()
#122 0xc3fef800 in ?? ()
#123 0xc41f6334 in ?? ()
#124 0x00000000 in ?? ()
#125 0xe6572d24 in ?? ()
#126 0xc06af7d3 in fork_exit (callout=0xc44f0400, arg=0xe6572b84, 
frame=0xc42129d8) at
Previous frame inner to this frame (corrupt stack?)
(kgdb)
Received on Mon Apr 02 2007 - 08:20:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC