https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222898

--- Comment #2 from e...@norma.perm.ru ---
This very system, being boot up with debug kernel, built with

crashes somewhere withing 30 seconds after the ctld is started:

WARNING: 10.0.3.211 (iqn.1991-05.com.microsoft:worker379): no ping reply
(NOP-Out) after 5 seconds; dropping connection
WARNING: 10.0.3.211 (iqn.1991-05.com.microsoft:worker379): no ping reply
(NOP-Out) after 5 seconds; dropping connection
WARNING: 10.0.3.201 (iqn.1991-05.com.microsoft:worker369): no ping reply
(NOP-Out) after 5 seconds; dropping connection
WARNING: 213.152.134.47 (iqn.1991-05.com.microsoft:worker18): no ping reply
(NOP-Out) after 5 seconds; dropping connecti
on
WARNING: 213.152.134.51 (iqn.1991-05.com.microsoft:worker22): no ping reply
(NOP-Out) after 5 seconds; dropping connecti
on
WARNING: 10.0.3.219 (iqn.1991-05.com.microsoft:worker387): no ping reply
(NOP-Out) after 5 seconds; dropping connection
WARNING: 213.152.138.2 (iqn.2016-04.net.playkey.iscsi:esx11): no ping reply
(NOP-Out) after 5 seconds; dropping connecti
on
panic: destroying session with 4 outstanding PDUs
cpuid = 5
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe10555e48f0
vpanic() at vpanic+0x186/frame 0xfffffe10555e4970
kassert_panic() at kassert_panic+0x126/frame 0xfffffe10555e49e0
icl_soft_conn_close() at icl_soft_conn_close+0x1f5/frame 0xfffffe10555e4a10
cfiscsi_maintenance_thread() at cfiscsi_maintenance_thread+0x100/frame
0xfffffe10555e4a70
fork_exit() at fork_exit+0x84/frame 0xfffffe10555e4ab0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe10555e4ab0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
Uptime: 2m11s
Dumping 8422 out of 65386 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%

Reading symbols from /boot/kernel/zfs.ko...Reading symbols from
/usr/lib/debug//boot/kernel/zfs.ko.debug...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from
/usr/lib/debug//boot/kernel/opensolaris.ko.debug
...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from
/usr/lib/debug//boot/kernel/geom_mirror.ko.debug
...done.
done.
Loaded symbols for /boot/kernel/geom_mirror.ko
Reading symbols from /boot/kernel/pf.ko...Reading symbols from
/usr/lib/debug//boot/kernel/pf.ko.debug...done.
done.
Loaded symbols for /boot/kernel/pf.ko
Reading symbols from /boot/kernel/ichwd.ko...Reading symbols from
/usr/lib/debug//boot/kernel/ichwd.ko.debug...done.
done.
Loaded symbols for /boot/kernel/ichwd.ko
Reading symbols from /boot/kernel/ctl.ko...Reading symbols from
/usr/lib/debug//boot/kernel/ctl.ko.debug...done.
done.
Loaded symbols for /boot/kernel/ctl.ko
Reading symbols from /boot/kernel/iscsi.ko...Reading symbols from
/usr/lib/debug//boot/kernel/iscsi.ko.debug...done.
done.
Loaded symbols for /boot/kernel/iscsi.ko
#0  doadump (textdump=1) at pcpu.h:222
222     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) #0  doadump (textdump=1) at pcpu.h:222
#1  0xffffffff80a2e725 in kern_reboot (howto=<value optimized out>)
    at /usr/src-11-r310734/sys/kern/kern_shutdown.c:366
#2  0xffffffff80a2ed00 in vpanic (fmt=<value optimized out>, 
    ap=<value optimized out>)
    at /usr/src-11-r310734/sys/kern/kern_shutdown.c:759
#3  0xffffffff80a2eb36 in kassert_panic (fmt=<value optimized out>)
    at /usr/src-11-r310734/sys/kern/kern_shutdown.c:649
#4  0xffffffff82875f05 in icl_soft_conn_close (ic=<value optimized out>)
    at /usr/src-11-r310734/sys/modules/iscsi/../../dev/iscsi/icl_soft.c:1443
#5  0xffffffff82845560 in cfiscsi_maintenance_thread (
    arg=<value optimized out>) at icl_conn_if.h:135
#6  0xffffffff809f2064 in fork_exit (
    callout=0xffffffff82845460 <cfiscsi_maintenance_thread>, 
    arg=0xfffff8033e06cc00, frame=0xfffffe10555e4ac0)
    at /usr/src-11-r310734/sys/kern/kern_fork.c:1040
#7  0xffffffff80e7432e in fork_trampoline ()
    at /usr/src-11-r310734/sys/amd64/amd64/exception.S:611
#8  0x0000000000000000 in ?? ()
Current language:  auto; currently minimal
(kgdb)

This is reproducible, it crashed 3 times in a row from 3 attempts to run the
debug kernel. I spoke with mav@, he told me (as far as I undertood) that with
is unintended behaviour, and it is probably the possible reason why the target
system crashes when running non-debug kernel.

I collected a crashdump from one of the attempts, it's available here along
with the kernel and modules binaries, along with non-stripped ones:

http://files2.enaza.ru/ctld-stuck/debug/

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to