Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2021 18:21:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 256305] ocs_fc - panic: ffs_blkfree_cg: freeing free block
Message-ID:  <bug-256305-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 256305
           Summary: ocs_fc - panic: ffs_blkfree_cg: freeing free block
           Product: Base System
           Version: 12.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: dave@jetcafe.org

I am running FreeBSD 12.2-STABLE r368820 amd64.

We are getting this panic on our storage SAN which we access via the ocs_fc
driver. It appears to be triggered by high I/O rates; specifically if we run
between 5 and 10 dd commands reading and writing to this unit OR if we try =
to
backup large files to this SAN.

If we repeat our tests on 11.3, it's fine and no crashes happen.=20

The driver is identified by the kernel as:

ocs_fc0: <Emulex LightPulse FC Adapter> mem
0xab088000-0xab08ffff,0xab110000-0xab110fff at device 0.0 numa-domain 0 on =
pci8

The card has the most recent firmware available, and the SAN also has the m=
ost
recent software. Here's a sysctl dump of the device.=20

dev.ocs_fc.0.port_state: online
dev.ocs_fc.0.fcid: 0x043480
dev.ocs_fc.0.businfo: 3B:00:00
dev.ocs_fc.0.configured_speed: 0
dev.ocs_fc.0.configured_topology: 0
dev.ocs_fc.0.current_speed: 16000
dev.ocs_fc.0.current_topology: 1
dev.ocs_fc.0.wwpn: 0x100000109b4ab93b
dev.ocs_fc.0.wwnn: 0x200000109b4ab93b
dev.ocs_fc.0.fw_upgrade:=20
dev.ocs_fc.0.sli_intf: c0022c40
dev.ocs_fc.0.fwrev: 12.8.351.32, sli-4:2:c
dev.ocs_fc.0.sn: FC82553901
dev.ocs_fc.0.modeldesc: Emulex LightPulse LPe31002-M6 2-Port 16Gb Fibre Cha=
nnel
Adapter
dev.ocs_fc.0.devid: 3808432351
dev.ocs_fc.0.%domain: 0
dev.ocs_fc.0.%parent: pci8
dev.ocs_fc.0.%pnpinfo: vendor=3D0x10df device=3D0xe300 subvendor=3D0x10df
subdevice=3D0xe310 class=3D0x0c0400
dev.ocs_fc.0.%location: slot=3D0 function=3D0 dbsf=3Dpci0:59:0:0
handle=3D\_SB_.PC02.BR2A.UPS_
dev.ocs_fc.0.%driver: ocs_fc
dev.ocs_fc.0.%desc: Emulex LightPulse FC Adapter

pciconf has this:

ocs_fc0@pci0:59:0:0:    class=3D0x0c0400 card=3D0xe31010df chip=3D0xe30010d=
f rev=3D0x01
hdr=3D0x00
    vendor     =3D 'Emulex Corporation'
    device     =3D 'LPe31000/LPe32000 Series 16Gb/32Gb Fibre Channel Adapte=
r'
    class      =3D serial bus
    subclass   =3D Fibre Channel

If there is any other information you need, let me know. Thanks in advance.

--=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-256305-227>