Re: Next ZFSv28 patchset ready for testing.

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Tue, 4 Jan 2011 20:46:27 +0100
On Wed, Dec 15, 2010 at 10:15:40AM +0200, Andrei Kolu wrote:
> 2010/12/14 Pawel Jakub Dawidek <pjd_at_freebsd.org>
> >
> > On Mon, Dec 13, 2010 at 10:45:56PM +0100, Pawel Jakub Dawidek wrote:
> > > Hi.
> > >
> > > The new patchset is ready for testing:
> > >
> > >       http://people.freebsd.org/~pjd/patches/zfs_20101212.patch.bz2
> >
> > You can also download the whole source tree already patched from here:
> >
> >        http://people.freebsd.org/~pjd/zfs_20101212.tbz
> >
> 
> # uname -a
> FreeBSD freebsd9.raidon.eu 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Dec
> 14 14:37:01 EET 2010
> root_at_freebsd9.raidon.eu:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> Create files filled with zeroes:
> # mkfile 512m disk1 disk2 disk3 disk4
> # zpool create andmed raidz /home/antik/disk{1,2,3,4}
> # zpool status andmed
>   pool: andmed
>  state: ONLINE
>  scan: none requested
> config:
> 
>         NAME                   STATE     READ WRITE CKSUM
>         andmed                 ONLINE       0     0     0
>           raidz1-0             ONLINE       0     0     0
>             /home/antik/disk1  ONLINE       0     0     0
>             /home/antik/disk2  ONLINE       0     0     0
>             /home/antik/disk3  ONLINE       0     0     0
>             /home/antik/disk4  ONLINE       0     0     0
> 
> errors: No known data errors
> 
> Now let's try to scrub:
> # zpool scrub andmed
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 1; apic id = 01
> fault virtual address = 0x1fb8007b
> fault code = supervisor read data, page not present
> instruction pointer = 0x20:0xffffffff812967d2
> stack pointer = 0x20:0xffffff80ee605548
> frame pointer = 0x28:0xffffff80ee605730
> code segment = base 0x0, limit 0xfffff, type 0x1b
>  = DPL 0, pres1, long 1, def32 0, gran 1
> processor eflags = interrupt enabled, resume, IOPL = 0
> current process = 2081 (initial thread)
> [ thread pid 2081 tid 100121 ]
> Stopped at  vdev_file_open+0x92:  testb  $0x20,0x7b(%rax)

Could you verify if this patch fixes the problem for you?

	http://people.freebsd.org/~pjd/patches/vdev_file.c.2.patch

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Tue Jan 04 2011 - 18:46:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:10 UTC