Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2009 15:21:42 +0100
From:      Christian Nygaard <christiannygaard@gmail.com>
To:        bugbusters@FreeBSD.org
Subject:   I was unable to report a zfs bug, incorrect confirmation code
Message-ID:  <4d4321660911260621k1154c84cy17670dd5e7688ced@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d4321660911260621k1154c84cy17670dd5e7688ced>