From owner-freebsd-bugbusters@FreeBSD.ORG Thu Nov 26 14:50:59 2009 Return-Path: Delivered-To: bugbusters@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 100721065672 for ; Thu, 26 Nov 2009 14:50:59 +0000 (UTC) (envelope-from christiannygaard@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 9E62E8FC16 for ; Thu, 26 Nov 2009 14:50:58 +0000 (UTC) Received: by fxm10 with SMTP id 10so692226fxm.14 for ; Thu, 26 Nov 2009 06:50:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=hfFQ9C1naftSevqdPSbgv2f3MJ77zr2QQ8qwQ7h04A8=; b=x/BcYaLOYAiRrvwd0i8UWvziN0HRK1qsPrJCpVmYOnNOjxnIKY1BJzDWzgaPMTk4MK dMh18OEkB1rnzc8KO2T13dvTB79mK9mxyAEmudeWFcmg6nikF+LOCg6a/VVWz+5yEFVl 91/Fi+0plqMD2iimaIWvblAkB0cnMxqYOqH0c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=pNnz0P/gZqk+GXZpbF0l4ZJ7rMEJ0U8HD8JT+XBNeZof4dE2qr57iYu56hkL4NPIET 7n8NECI9SnVf6PZK5ApQowZN7DxmLvUa/hyek/QEy6OQ2M4uXv70yCmOGPE8qdqGFLM3 yRcAJ9I0QfXf+8YTBxvvNmhPlS4EYDnMoE4kA= MIME-Version: 1.0 Received: by 10.223.132.204 with SMTP id c12mr1480139fat.32.1259245302263; Thu, 26 Nov 2009 06:21:42 -0800 (PST) Date: Thu, 26 Nov 2009 15:21:42 +0100 Message-ID: <4d4321660911260621k1154c84cy17670dd5e7688ced@mail.gmail.com> From: Christian Nygaard To: bugbusters@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: I was unable to report a zfs bug, incorrect confirmation code X-BeenThere: freebsd-bugbusters@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Coordination of the Problem Report handling effort." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2009 14:50:59 -0000 Your Electronic Mail Address: christiannygaard@gmail.com Your Name: Christian Nygaard One line summary of the problem: zfs removing a zfs storage file causes kernel panic category: amd64 Which FreeBSD Release You Are Using: 8.0 Environment (output of "uname -a" on the problem machine): FreeBSD freebsd 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC= 2009 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 root@mason.cse.buffalo.edu:/usr/= obj/usr/src/sys/GENERIC=A0 amd64 Full Description: Creating a zfs test pool on file based, then removing one of the underlying files and doing a zpool scrub causes kernel panic. How to repeat the problem: To reproduce create two files, then zpool tank pool on files # dd if=3Dtest1 count=3D100k bs=3D1k # dd if=3Dtest2 count=3D100k bs=3D1k # zpool create tank mirror /root/test1 /root/test2 now remove file /root/test2, this causes a kernel panic # rm /root/test2 # zpool scrub tank Kernel Panic =A0=A0=A0 Fatal trap 12: page fault while in kernel mode =A0=A0=A0=A0=A0=A0=A0=A0=A0 cpuid =3D 1; apic id =3D 01 =A0=A0=A0=A0=A0=A0=A0=A0=A0 fault virtual address=A0=A0 =3D 0x0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 fault code=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 =3D supervisor read data, page not present =A0=A0=A0=A0=A0=A0=A0=A0=A0 instruction pointer=A0=A0=A0=A0 =3D 0x20:0xffff= ffff810735bd =A0=A0=A0=A0=A0=A0=A0=A0=A0 stack pointer=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D= 0x28:0xffffff803e778800 =A0=A0=A0=A0=A0=A0=A0=A0=A0 frame pointer=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =3D= 0x28:0xffffff803e7788c0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 code segment=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =3D base 0x0, limit 0xfffff, type 0x1b =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 =3D DPL 0, pres 1, long 1, def32 0, gran 1 =A0=A0=A0=A0=A0=A0=A0=A0=A0 processor eflags=A0=A0=A0=A0=A0=A0=A0 =3D inter= rupt enabled, resume, IOPL =3D 0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 current process=A0=A0=A0=A0=A0=A0=A0=A0 =3D 36 = (txg_thread_enter) =A0=A0=A0=A0=A0=A0=A0=A0=A0 trap number=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =3D 12 =A0=A0=A0=A0=A0=A0=A0=A0=A0 panic: page fault =A0=A0=A0=A0=A0=A0=A0=A0=A0 cpuid =3D 1 =A0=A0=A0=A0=A0=A0=A0=A0=A0 Uptime: 3m31s =A0=A0=A0=A0=A0=A0=A0=A0=A0 Cannot dump. Device not defined or unavailable. =A0=A0=A0=A0=A0=A0=A0=A0=A0 Automatic reboot in 15 seconds - press a key on= the console to abort