[Bug 222898] [iscsi]: panic: page fault - system crashes while working as iSCSI target

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 10 12:03:30 UTC 2017


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

            Bug ID: 222898
           Summary: [iscsi]: panic: page fault - system crashes while
                    working as iSCSI target
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: emz at norma.perm.ru

I have a priduction system working as iSCSI target. While increasing the number
of initiators (currently over 3 hundred) in crashes more often.

Last panic and backtrace:

# kgdb /boot/kernel/kernel vmcore.2 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:
fault virtual address   = 0x40
fault code      = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff82641fdb
stack pointer           = 0x28:0xfffffe10450e0680
frame pointer           = 0x28:0xfffffe10450e06d0
code segment    = base 0x0, limit 0xfffff, type 0x1b
      = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process  = 650 (work4)
trap number     = 12
panic: page fault
cpuid = 16
KDB: stack backtrace:
#0 0xffffffff80b023a7 at kdb_backtrace+0x67
#1 0xffffffff80ab88e6 at vpanic+0x186
#2 0xffffffff80ab8753 at panic+0x43
#3 0xffffffff80f72ce2 at trap_fatal+0x322
#4 0xffffffff80f72eac at trap_pfault+0x1bc
#5 0xffffffff80f72560 at trap+0x280
#6 0xffffffff80f559f1 at calltrap+0x8
#7 0xffffffff8262e27a at ctl_work_thread+0xeba
#8 0xffffffff80a70785 at fork_exit+0x85
#9 0xffffffff80f55f2e at fork_trampoline+0xe
Uptime: 21d21h26m5s
Dumping 26603 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=<value optimized out>) at pcpu.h:222
222 pcpu.h: No such file or directory.
  in pcpu.h
(kgdb) bt
#0  doadump (textdump=<value optimized out>) at pcpu.h:222
#1  0xffffffff80ab8369 in kern_reboot (howto=260) at
/usr/src-11-r310734/sys/kern/kern_shutdown.c:366
#2  0xffffffff80ab8920 in vpanic (fmt=<value optimized out>, ap=<value
optimized out>)
    at /usr/src-11-r310734/sys/kern/kern_shutdown.c:759
#3  0xffffffff80ab8753 in panic (fmt=<value optimized out>) at
/usr/src-11-r310734/sys/kern/kern_shutdown.c:690
#4  0xffffffff80f72ce2 in trap_fatal (frame=0xfffffe10450e05c0, eva=64)
    at /usr/src-11-r310734/sys/amd64/amd64/trap.c:801
#5  0xffffffff80f72eac in trap_pfault (frame=0xfffffe10450e05c0, usermode=0)
    at /usr/src-11-r310734/sys/amd64/amd64/trap.c:658
#6  0xffffffff80f72560 in trap (frame=0xfffffe10450e05c0) at
/usr/src-11-r310734/sys/amd64/amd64/trap.c:421
#7  0xffffffff80f559f1 in calltrap () at
/usr/src-11-r310734/sys/amd64/amd64/exception.S:236
#8  0xffffffff82641fdb in cfiscsi_done (io=<value optimized out>) at
icl_conn_if.h:98
#9  0xffffffff8262e27a in ctl_work_thread (arg=0xfffffe0388516600)
    at /usr/src-11-r310734/sys/modules/ctl/../../cam/ctl/ctl.c:13373
#10 0xffffffff80a70785 in fork_exit (callout=0xffffffff8262d3c0
<ctl_work_thread>, arg=0xfffffe0388516600, 
    frame=0xfffffe10450e0ac0) at /usr/src-11-r310734/sys/kern/kern_fork.c:1040
#11 0xffffffff80f55f2e in fork_trampoline () at
/usr/src-11-r310734/sys/amd64/amd64/exception.S:611
#12 0x0000000000000000 in ?? ()
Current language:  auto; currently minimal
(kgdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list