NetBSD-Users archive

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

Re: dk for z/lvm volumes?



One more attempt rebuilding zfs.kmod with the patch; now the ccd
device comes as expected:
...
ccd0: Concatenating 1 components
ccd0: /dev/zvol/dsk/tank/testu (4194304 blocks)
ccd0: total 4194304 blocks
...

but istgt still panics the system in exactly the same way.

On Sat, 29 Feb 2020 at 09:58, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> On Sat, 29 Feb 2020 at 06:47, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> >
> > On Fri, Feb 28, 2020 at 02:12:29PM +0000, Chavdar Ivanov wrote:
> > > On Thu, 27 Feb 2020 at 20:41, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> > > > 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:
> >
> > With lots of things changed it is difficult to identify the reason.
> > Does it still crash when you now remove that patch (only that patch) ?
>
> No, istgt works after reverting.
>
> >
> > > fatal integer divide fault in supervisor mode
> > >  trap type 8 code 0 rip 0xffffffff80abd3bf cs 0x8 rflags 0x10246 cr2
> > > 0x7931f26ff000 ilevel 0 rsp 0xffffbf8197b93db0
> >
> > Please use the addr2line tool to find out what source line the
> > address 0xffffffff80abd3bf corresponds to.
>
> addr2line didn't return anything (most likely I was invoking it wrong,
> I don't know).
>
> gdb points to spec_read:
>
> (gdb) target kvm netbsd.12.core
> 0xffffffff80224225 in cpu_reboot ()
> (gdb) bt
> #0  0xffffffff80224225 in cpu_reboot ()
> #1  0xffffffff809fde2f in kern_reboot ()
> #2  0xffffffff80a40299 in vpanic ()
> #3  0xffffffff80a4035d in panic ()
> #4  0xffffffff8022669d in trap ()
> #5  0xffffffff8021ed43 in alltraps ()
> #6  0xffffffff80abd3bf in spec_read ()
> #7  0xffffffff80ab0d6e in VOP_READ ()
> #8  0xffffffff80aa8025 in vn_read ()
> #9  0xffffffff80a4df87 in dofileread ()
> #10 0xffffffff80a4e04f in sys_read ()
> #11 0xffffffff80255cb9 in syscall ()
> #12 0xffffffff802096ad in handle_syscall ()
>
>
>
> >
> >
> > Greetings,
> > --
> >                                 Michael van Elst
> > Internet: mlelstv%serpens.de@localhost
> >                                 "A potential Snark may lurk in every tree."
>
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index