[Bug 236659] kernel page fault panic when chelsio cxgbei iscsi offload engine is enabled in ctld

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 20 11:51:07 UTC 2019


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

            Bug ID: 236659
           Summary: kernel page fault panic when chelsio cxgbei iscsi
                    offload engine is enabled in ctld
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: freebsd-bugs at virtualtec.ch

Created attachment 203000
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203000&action=edit
core.txt

I'm setting up an HP DL380 G7 with a Chelsio T520-CR card as a zfs iscsi
storage server. The server is connected
multipath with a vsphere 5.5 test server. After a while with iSCSI traffic, the
freebsd server panics. It seems
to be caused by a certain time of operation, not primarily by the amount of
traffic, since I can frequently finish
one run of CrystalMark on a VM on the vsphere server before I get the panic.
Also, just keeping the server idle (but
with the vsphere server reconnecting after the crash) can cause the panic after
20-30min of uptime. 

I'm only seeing the panic when I enable "offload cxgbei" in the ctl.conf
portal-group, just having toe enabled on the
interfaces will not cause the panic (at least not in the timeframe I monitored
the server). The server crashes whether
I have dev.t5nex.0.toe.ddp enabled or not (it's currently enabled, it was
originally not).

These are configuration settings:
/etc/rc.conf:
ifconfig_cxl0="mtu 9000 toe up"
ifconfig_cxl1="mtu 9000 toe up"
cloned_interfaces="vlan1513 vlan1514"

# scsi-a
ifconfig_vlan1513="inet 10.140.3.2/24 vlan 1513 vlandev cxl0 up"
# iscsi-b
ifconfig_vlan1514="inet 10.140.4.2/24 vlan 1514 vlandev cxl1 up"

ctld_enable="YES"                # CAM Target Layer / iSCSI target daemon.

kld_list="t5fw_cfg if_cxl t4_tom cxgbei"

/etc/ctl.conf:
portal-group pg0 {
        discovery-auth-group no-authentication
        listen 10.140.3.2
        listen 10.140.4.2

        offload cxgbei
}

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


More information about the freebsd-bugs mailing list