From owner-freebsd-fs@FreeBSD.ORG Thu Jan 19 19:58:53 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3BBE106566C; Thu, 19 Jan 2012 19:58:53 +0000 (UTC) (envelope-from martin.ranne@kockumsonics.com) Received: from webmail.kockumsonics.com (mail.kockumsonics.com [194.103.55.3]) by mx1.freebsd.org (Postfix) with ESMTP id 533E58FC14; Thu, 19 Jan 2012 19:58:52 +0000 (UTC) Received: from MAILGATE.sonet.local ([192.168.12.8]) by mailgate ([192.168.12.8]) with mapi id 14.01.0355.002; Thu, 19 Jan 2012 20:58:50 +0100 From: Martin Ranne To: Andriy Gapon Thread-Topic: zpool import reboots computer Thread-Index: AczWvHf/qf1tgj/cQ3aTdT164KORYwAAxbSAAARQzcD///SRAP//zVoQ Date: Thu, 19 Jan 2012 19:58:50 +0000 Message-ID: <39C592E81AEC0B418EAD826FC1BBB09B25253F@mailgate> References: <39C592E81AEC0B418EAD826FC1BBB09B25031D@mailgate> <4F18459F.7040309@FreeBSD.org> <39C592E81AEC0B418EAD826FC1BBB09B252444@mailgate> <4F1858FE.7020509@FreeBSD.org> In-Reply-To: <4F1858FE.7020509@FreeBSD.org> Accept-Language: sv-SE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.15.18] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "freebsd-fs@freebsd.org" Subject: RE: zpool import reboots computer X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2012 19:58:54 -0000 On 2012-01-19 18:55, Andriy Gapon wrote:=20 on 19/01/2012 19:36 Martin Ranne said the following: On 2012-01-19 17:32, Andriy Gapon wrote:=20 on 19/01/2012 17:36 Martin Ranne said the following: >>>>I had a failure in one server where i try to determine if it is memory = or cpu. It shows up as memory failure in memtest86. >>The result is that it= managed to damage the zpool which is a raidz2 with 6 disks. >>>>If I boot from a FreeBSD 9.0-RELEASE usb stick and import it with zpool= -f -R /mnt/zroot zroot it will reboot the computer. >>I have also tried to= import it in another computer which is running 9-STABLE with the same resu= lt. On the second computer I >>used zpool -f -R /mnt/zroot "zpool-id" serv0= 6zroot=20 >>>>Can I get some help on how to be able to debug this and in the end be a= ble to import it to repair it. >>>>Data for the second computer can be found attached. The disks in questi= on are da0 to da5 in this. >>>And the panic message is? >>I am trying to get a crash dump but it hangs when dumping. >Alternatives: >- serial console >- digital camera >- eyes plus pen and paper Finally here it is. Is there anything i can do in the debugger to make it p= ossible to find what is crashing in there? Fatal trap 12: page fault while in kernel mode Fatal trap 12: page fault while in kernel mode cpuid =3D 0; cpuid =3D 2; apic id =3D 00 apic id =3D 02 fault virtual address =3D 0x88 fault virtual address =3D 0x38 fault code =3D supervisor read data, page not present fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff814a7ef5 instruction pointer =3D 0x20:0xffffffff814872a1 stack pointer =3D 0x28:0xffffff8c10252ad0 stack pointer =3D 0x28:0xffffff8c0d564f00 frame pointer =3D 0x28:0xffffff8c10252b40 frame pointer =3D 0x28:0xffffff8c0d564f30 code segment =3D base 0x0, limit 0xfffff, type 0x1b code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D processor eflags =3D interrupt enabl= ed, interrupt enabled, resume, resume, IOPL =3D 0 IOPL =3D 0 current process =3D current process =3D 2659 = (zpool) 0 [ thread pid 2659 tid 100592 ] stopped at zio_vdev_child_io+0x25: cmpq $0,0x88(%r10) db> ________________________________________ No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.1901 / Virus Database: 2109/4753 - Release Date: 01/19/12