NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dk for z/lvm volumes?
On Thu, 27 Feb 2020 at 20:41, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
>
> mlelstv%serpens.de@localhost (Michael van Elst) writes:
>
> >mlelstv%serpens.de@localhost (Michael van Elst) writes:
> >>ci4ic4%gmail.com@localhost (Chavdar Ivanov) writes:
> >>># ccdconfig -c ccd0 0 /dev/zvol/dsk/pail/nbsd1
> >>>ccdconfig: ioctl (CCDIOCSET): /dev/ccd0d: Inappropriate ioctl for device
>
> >That's a bug in the zfs driver.
>
> I've prepared a patch for -current that fixes this issue.
>
> http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/zvol.patch
After applying the patch, rebuilding and upgrading the whole system,
now net/istgt reliably crashes the whole system:
...
fatal integer divide fault in supervisor mode
trap type 8 code 0 rip 0xffffffff80abd3bf cs 0x8 rflags 0x10246 cr2
0x7931f26ff000 ilevel 0 rsp 0xffffbf8197b93db0
curlwp 0xfffffc63585568c0 pid 718.1 lowest kstack 0xffffbf8197b902c0
panic: trap
cpu0: Begin traceback...
vpanic() at netbsd:vpanic+0x178
snprintf() at netbsd:snprintf
startlwp() at netbsd:startlwp
alltraps() at netbsd:alltraps+0xc3
VOP_READ() at netbsd:VOP_READ+0x53
vn_read() at netbsd:vn_read+0x88
dofileread() at netbsd:dofileread+0x8c
sys_read() at netbsd:sys_read+0x49
syscall() at netbsd:syscall+0x299
--- syscall (number 3) ---
7931f1642b7a:
cpu0: End traceback...
The target exposes two zvols, all that worked fine before.
>
> --
> --
> Michael van Elst
> Internet: mlelstv%serpens.de@localhost
> "A potential Snark may lurk in every tree."
--
----
Home |
Main Index |
Thread Index |
Old Index