Date: Thu, 15 May 2014 12:40:01 GMT From: Radim Kolar <hsn@sendmail.cz> To: freebsd-fs@FreeBSD.org Subject: Re: kern/189355: zfs panic on 10-stable Message-ID: <201405151240.s4FCe1Hw087808@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/189355; it has been noted by GNATS. From: Radim Kolar <hsn@sendmail.cz> To: "bug-followup@FreeBSD.org" <bug-followup@freebsd.org>, "killing@multiplay.co.uk" <killing@multiplay.co.uk> Cc: Subject: Re: kern/189355: zfs panic on 10-stable Date: Thu, 15 May 2014 12:38:20 +0000 --_a717f13e-e8ab-4cae-9f7f-5ec14329a6c1_ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable With your path=2C i was able to capture crash dump. This patch should be ad= ded to mainstream bsd to help people with capture boot panics. Here is beginning of core.txt file. Let me know if you need more info. Trying to mount root from zfs:root []... Fatal double fault: eip =3D 0xc0cb801e esp =3D 0xd93eff98 ebp =3D 0xd93f0300 cpuid =3D 0=3B apic id =3D 00 panic: double fault cpuid =3D 0 KDB: enter: panic Reading symbols from /boot/kernel/zfs.ko.symbols...done. Loaded symbols for /boot/kernel/zfs.ko.symbols Reading symbols from /boot/kernel/krpc.ko.symbols...done. Loaded symbols for /boot/kernel/krpc.ko.symbols Reading symbols from /boot/kernel/opensolaris.ko.symbols...done. Loaded symbols for /boot/kernel/opensolaris.ko.symbols Reading symbols from /boot/kernel/if_vmx.ko.symbols...done. Loaded symbols for /boot/kernel/if_vmx.ko.symbols Reading symbols from /boot/kernel/cc_hd.ko.symbols...done. Loaded symbols for /boot/kernel/cc_hd.ko.symbols Reading symbols from /boot/kernel/h_ertt.ko.symbols...done. Loaded symbols for /boot/kernel/h_ertt.ko.symbols #0 doadump (textdump=3D0) at pcpu.h:233 233 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=3D0) at pcpu.h:233 #1 0xc04c87d1 in db_dump (dummy=3D-1066847139=2C dummy2=3D0=2C dummy3=3D-1= =2C dummy4=3D0xc0a808b4 "") at /usr/src/sys/ddb/db_command.c:543 #2 0xc04c82cb in db_command (cmd_table=3D<value optimized out>) at /usr/src/sys/ddb/db_command.c:449 #3 0xc04c8010 in db_command_loop () at /usr/src/sys/ddb/db_command.c:502 #4 0xc04ca8a1 in db_trap (type=3D<value optimized out>=2C code=3D<value optimized out>) at /usr/src/sys/ddb/db_main.c:231 #5 0xc0693bd4 in kdb_trap (type=3D<value optimized out>=2C code=3D<value optimized out>=2C tf=3D<value optimized out>) at /usr/src/sys/kern/subr_kdb.c:656 #6 0xc093918f in trap (frame=3D<value optimized out>) at /usr/src/sys/i386/i386/trap.c:712 #7 0xc092336c in calltrap () at /usr/src/sys/i386/i386/exception.s:170 #8 0xc069345d in kdb_enter (why=3D0xc09a7ef8 "panic"=2C msg=3D<value optimized out>) at cpufunc.h:71 #9 0xc065710f in panic (fmt=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:823 #10 0xc0939acb in dblfault_handler () at /usr/src/sys/i386/i386/trap.c:1072 #11 0xc0cb801e in vdev_queue_io_to_issue (vq=3D0xc46a4b00) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/vdev_queue.c:471 #12 0xc0cb7fb8 in vdev_queue_io (zio=3D0xc4855000) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/vdev_queue.c:744 #13 0xc0cd84ee in zio_vdev_io_start (ziop=3D<value optimized out>) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/zio.c:2607 #14 0xc0cd4c18 in zio_execute (zio=3D0xc4855000) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/zio.c:1350 #15 0xc0cb74e4 in vdev_mirror_io_start (zio=3D0xc4823894) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f= s/zfs/vdev_mirror.c:284 = --_a717f13e-e8ab-4cae-9f7f-5ec14329a6c1_ Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>With your path=2C i was able to = capture crash dump. This patch should be added to mainstream bsd to help pe= ople with capture boot panics.<br><br>Here is beginning of core.txt file. L= et me know if you need more info.<br><br>Trying to mount root from zfs:root= []...<br><br>Fatal double fault:<br>eip =3D 0xc0cb801e<br>esp =3D 0xd93eff= 98<br>ebp =3D 0xd93f0300<br>cpuid =3D 0=3B apic id =3D 00<br>panic: double = fault<br>cpuid =3D 0<br>KDB: enter: panic<br><br>Reading symbols from /boot= /kernel/zfs.ko.symbols...done.<br>Loaded symbols for /boot/kernel/zfs.ko.sy= mbols<br>Reading symbols from /boot/kernel/krpc.ko.symbols...done.<br>Loade= d symbols for /boot/kernel/krpc.ko.symbols<br>Reading symbols from /boot/ke= rnel/opensolaris.ko.symbols...done.<br>Loaded symbols for /boot/kernel/open= solaris.ko.symbols<br>Reading symbols from /boot/kernel/if_vmx.ko.symbols..= .done.<br>Loaded symbols for /boot/kernel/if_vmx.ko.symbols<br>Reading symb= ols from /boot/kernel/cc_hd.ko.symbols...done.<br>Loaded symbols for /boot/= kernel/cc_hd.ko.symbols<br>Reading symbols from /boot/kernel/h_ertt.ko.symb= ols...done.<br>Loaded symbols for /boot/kernel/h_ertt.ko.symbols<br>#0 = =3B doadump (textdump=3D0) at pcpu.h:233<br>233 =3B =3B =3B&nbs= p=3B pcpu.h: No such file or directory.<br> =3B =3B =3B =3B=  =3B =3B =3B in pcpu.h<br>(kgdb) #0 =3B doadump (textdump= =3D0) at pcpu.h:233<br>#1 =3B 0xc04c87d1 in db_dump (dummy=3D-106684713= 9=2C dummy2=3D0=2C dummy3=3D-1=2C<br> =3B =3B =3B dummy4=3D0xc0= a808b4 "") at /usr/src/sys/ddb/db_command.c:543<br>#2 =3B 0xc04c82cb in= db_command (cmd_table=3D<=3Bvalue optimized out>=3B)<br> =3B = =3B =3B at /usr/src/sys/ddb/db_command.c:449<br>#3 =3B 0xc04c8010 i= n db_command_loop () at /usr/src/sys/ddb/db_command.c:502<br>#4 =3B 0xc= 04ca8a1 in db_trap (type=3D<=3Bvalue optimized out>=3B=2C<br> =3B&n= bsp=3B =3B code=3D<=3Bvalue optimized out>=3B) at /usr/src/sys/ddb/= db_main.c:231<br>#5 =3B 0xc0693bd4 in kdb_trap (type=3D<=3Bvalue opti= mized out>=3B=2C<br> =3B =3B =3B code=3D<=3Bvalue optimized= out>=3B=2C tf=3D<=3Bvalue optimized out>=3B)<br> =3B =3B&nbs= p=3B at /usr/src/sys/kern/subr_kdb.c:656<br>#6 =3B 0xc093918f in trap (= frame=3D<=3Bvalue optimized out>=3B)<br> =3B =3B =3B at /us= r/src/sys/i386/i386/trap.c:712<br>#7 =3B 0xc092336c in calltrap () at /= usr/src/sys/i386/i386/exception.s:170<br>#8 =3B 0xc069345d in kdb_enter= (why=3D0xc09a7ef8 "panic"=2C<br> =3B =3B =3B msg=3D<=3Bvalue= optimized out>=3B) at cpufunc.h:71<br>#9 =3B 0xc065710f in panic (fm= t=3D<=3Bvalue optimized out>=3B)<br> =3B =3B =3B at /usr/sr= c/sys/kern/kern_shutdown.c:823<br>#10 0xc0939acb in dblfault_handler () at = /usr/src/sys/i386/i386/trap.c:1072<br>#11 0xc0cb801e in vdev_queue_io_to_is= sue (vq=3D0xc46a4b00)<br> =3B =3B =3B at /usr/src/sys/modules/z= fs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c:471<br>#12= 0xc0cb7fb8 in vdev_queue_io (zio=3D0xc4855000)<br> =3B =3B =3B= at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/z= fs/vdev_queue.c:744<br>#13 0xc0cd84ee in zio_vdev_io_start (ziop=3D<=3Bva= lue optimized out>=3B)<br> =3B =3B =3B at /usr/src/sys/module= s/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c:2607<br>#14 0x= c0cd4c18 in zio_execute (zio=3D0xc4855000)<br> =3B =3B =3B at /= usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zi= o.c:1350<br>#15 0xc0cb74e4 in vdev_mirror_io_start (zio=3D0xc4823894)<br>&n= bsp=3B =3B =3B at /usr/src/sys/modules/zfs/../../cddl/contrib/opens= olaris/uts/common/fs/zfs/vdev_mirror.c:284<br><br> </div></body> </html>= --_a717f13e-e8ab-4cae-9f7f-5ec14329a6c1_--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405151240.s4FCe1Hw087808>