NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/56709: kernel crash when using iscsi
>Number: 56709
>Category: kern
>Synopsis: kernel crash when using iscsi
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 13 18:45:00 +0000 2022
>Originator: Uwe
>Release: NetBSD-9.99.93
>Organization:
University of Leipzig
>Environment:
NetBSD 6bone.informatik.uni-leipzig.de 9.99.93 NetBSD 9.99.93 (GENERIC) #1: Sun Feb 13 18:23:40 CET 2022 root%6bone.informatik.uni-leipzig.de@localhost:/usr/src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
Using iscsi causes a kernel crash.
[ 211.414396] panic: kernel diagnostic assertion "KERNEL_LOCKED_P()" failed: file "/usr/src/sys/kern/subr_autoconf.c", line 1051
[ 211.414396] cpu3: Begin traceback...
[ 211.414396] vpanic() at netbsd:vpanic+0x156
[ 211.414396] kern_assert() at netbsd:kern_assert+0x4b
[ 211.414396] config_match() at netbsd:config_match+0x85
[ 211.414396] mapply() at netbsd:mapply+0x3f
[ 211.424518] config_search_internal() at netbsd:config_search_internal+0x16e
[ 211.424518] config_found() at netbsd:config_found+0x37
[ 211.424518] map_session() at iscsi:map_session+0xef
[ 211.424518] iscsiioctl() at iscsi:iscsiioctl+0x13e1
[ 211.424518] sys_ioctl() at netbsd:sys_ioctl+0x56d
[ 211.424518] syscall() at netbsd:syscall+0x196
[ 211.424518] --- syscall (number 54) ---
[ 211.424518] netbsd:syscall+0x196:
[ 211.424518] cpu3: End traceback...
[ 211.424518] dumping to dev 4,1 (offset=22227071, size=12581616):
[ 211.424518] dump S3C1: *** Connection Error, status=24, logout=-1, state=3
mfi0: workqueue busy: updates stopped
(gdb) target kvm netbsd.25.core
0xffffffff80226145 in cpu_reboot (howto=howto@entry=260, bootstr=bootstr@entry=0x0) at /usr/src/sys/arch/amd64/amd64/machdep.c:720
720 dumpsys();
(gdb) list *(0xffffffff80226145)
0xffffffff80226145 is in cpu_reboot (/usr/src/sys/arch/amd64/amd64/machdep.c:720).
715 /* Disable interrupts. */
716 s = splhigh();
717
718 /* Do a dump if requested. */
719 if ((howto & (RB_DUMP | RB_HALT)) == RB_DUMP)
720 dumpsys();
721
722 haltsys:
723 doshutdownhooks();
724
>How-To-Repeat:
iscsictl add_send_target -a 172.18.1.1
iscsictl add_send_target -a 172.18.1.2
iscsictl refresh_targets
iscsictl login -P 1
-> kernel crash
>Fix:
Home |
Main Index |
Thread Index |
Old Index