Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2017 12:03:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 222898] [iscsi]: panic: page fault - system crashes while working as iSCSI target
Message-ID:  <bug-222898-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222898

            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@FreeBSD.org
          Reporter: emz@norma.perm.ru

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

Last panic and backtrace:

# kgdb /boot/kernel/kernel vmcore.2=20
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 condition=
s.
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   =3D 0x40
fault code      =3D supervisor read data, page not present
instruction pointer =3D 0x20:0xffffffff82641fdb
stack pointer           =3D 0x28:0xfffffe10450e0680
frame pointer           =3D 0x28:0xfffffe10450e06d0
code segment    =3D base 0x0, limit 0xfffff, type 0x1b
      =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags =3D interrupt enabled, resume, IOPL =3D 0
current process  =3D 650 (work4)
trap number     =3D 12
panic: page fault
cpuid =3D 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=3D<value optimized out>) at pcpu.h:222
222 pcpu.h: No such file or directory.
  in pcpu.h
(kgdb) bt
#0  doadump (textdump=3D<value optimized out>) at pcpu.h:222
#1  0xffffffff80ab8369 in kern_reboot (howto=3D260) at
/usr/src-11-r310734/sys/kern/kern_shutdown.c:366
#2  0xffffffff80ab8920 in vpanic (fmt=3D<value optimized out>, ap=3D<value
optimized out>)
    at /usr/src-11-r310734/sys/kern/kern_shutdown.c:759
#3  0xffffffff80ab8753 in panic (fmt=3D<value optimized out>) at
/usr/src-11-r310734/sys/kern/kern_shutdown.c:690
#4  0xffffffff80f72ce2 in trap_fatal (frame=3D0xfffffe10450e05c0, eva=3D64)
    at /usr/src-11-r310734/sys/amd64/amd64/trap.c:801
#5  0xffffffff80f72eac in trap_pfault (frame=3D0xfffffe10450e05c0, usermode=
=3D0)
    at /usr/src-11-r310734/sys/amd64/amd64/trap.c:658
#6  0xffffffff80f72560 in trap (frame=3D0xfffffe10450e05c0) 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=3D<value optimized out>) at
icl_conn_if.h:98
#9  0xffffffff8262e27a in ctl_work_thread (arg=3D0xfffffe0388516600)
    at /usr/src-11-r310734/sys/modules/ctl/../../cam/ctl/ctl.c:13373
#10 0xffffffff80a70785 in fork_exit (callout=3D0xffffffff8262d3c0
<ctl_work_thread>, arg=3D0xfffffe0388516600,=20
    frame=3D0xfffffe10450e0ac0) 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)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222898-8>