NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-xen/54273 ("zpool create pool xbd2" panics DOMU kernel)



The following reply was made to PR port-xen/54273; it has been noted by GNATS.

From: Jarle Greipsland <jarle.greipsland%norid.no@localhost>
To: gnats-bugs%netbsd.org@localhost, hannken%NetBSD.org@localhost
Cc: 
Subject: Re: port-xen/54273 ("zpool create pool xbd2" panics DOMU kernel)
Date: Wed, 12 Jun 2019 08:21:37 +0200 (CEST)

 hannken%NetBSD.org@localhost writes:
 > Synopsis: "zpool create pool xbd2" panics DOMU kernel
 [ ... ]
 > Please try again with:
 > 
 > external/cddl/osnet/dist/uts/common/fs/zfs/vdev_disk.c 1.10
 > external/cddl/osnet/dist/uts/common/fs/zfs/sys/vdev_disk.h 1.4
 > external/cddl/osnet/sys/kern/taskq.c 1.10
 
 The zpool I/O problems seems to be gone.  Thank you!
 
 However, zfs doesn't seem to be fully stable.  I tried the following:
 
 vm-2129# zpool list
 no pools available
 vm-2129# ls /etc/zfs/
 vm-2129# zpool create pool xbd2
 vm-2129# zpool list
 NAME   SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
 pool  31.8G   520K  31.7G         -     0%     0%  1.00x  ONLINE  -
 vm-2129# zfs create pool/test
 vm-2129# dd if=/dev/zero of=/pool/test/f1 bs=1m count=32
 32+0 records in
 32+0 records out
 33554432 bytes transferred in 0.052 secs (645277538 bytes/sec)
 vm-2129# ls -l /pool/test/
 total 32776
 -rw-r--r--  1 root  wheel  33554432 Jun 12 08:13 f1
 vm-2129# zfs snapshot pool/test@secondsago
 vm-2129# touch /pool/test/f2
 vm-2129# ls /pool/test/
 f1 f2
 vm-2129# zfs rollback pool/test@secondsago
 vm-2129# ls /pool/test
 f1
 vm-2129# touch /pool/test/f2
 
 and here the system panicked.
 
 Console log:
 [ 33217.0900893] panic: kernel diagnostic assertion "error == ENOENT" failed: file "/build/current/src/sys/kern/vfs_vnode.c", line 1422 
 [ 33217.0900893] cpu0: Begin traceback...
 [ 33217.0900893] vpanic() at netbsd:vpanic+0x143
 [ 33217.0900893] kern_assert() at netbsd:kern_assert+0x48
 [ 33217.1000454] vcache_new() at netbsd:vcache_new+0x35a
 [ 33217.1000454] zfs_mknode() at zfs:zfs_mknode+0x40
 [ 33217.1000454] zfs_create.isra.17() at zfs:zfs_create.isra.17+0x37d
 [ 33217.1000454] zfs_netbsd_create() at zfs:zfs_netbsd_create+0xed
 [ 33217.1000454] VOP_CREATE() at netbsd:VOP_CREATE+0x3d
 [ 33217.1000454] vn_open() at netbsd:vn_open+0x29b
 [ 33217.1000454] do_open() at netbsd:do_open+0x103
 [ 33217.1000454] do_sys_openat() at netbsd:do_sys_openat+0x8b
 [ 33217.1000454] sys_open() at netbsd:sys_open+0x24
 [ 33217.1000454] syscall() at netbsd:syscall+0x9c
 [ 33217.1000454] --- syscall (number 5) ---
 [ 33217.1000454] 71bc530429fa:
 [ 33217.1000454] cpu0: End traceback...
 
 [ 33217.1000454] dumping to dev 142,17 (offset=4194303, size=0): not possible
 [ 33217.1000454] rebooting...
 
 This looks not related to the zpool I/O problems.
 
 					-jarle
 



Home | Main Index | Thread Index | Old Index