Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2016 11:54:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211990] iscsi fails to reconnect and does not release devices
Message-ID:  <bug-211990-8-OaDivfsFDv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211990-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211990-8@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #12 from Julien Cigar <julien@perdition.city> ---
Some more info:

on filer2:

root@filer2:/home/jcigar # cat /etc/ctl.conf=20

auth-group ag0 {
    chap xxx xxx
}

portal-group pg0 {
    discovery-auth-group no-authentication
    listen 10.20.30.32
}

target iqn.2016-08.lan.prod:target0 {
    auth-group ag0
    portal-group pg0

    lun 0 {
        blocksize 4096
        path /dev/gpt/f2data0
    }
}

target iqn.2016-08.lan.prod:target1 {
    auth-group ag0
    portal-group pg0

    lun 0 {
        blocksize 4096
        path /dev/gpt/f2data1
    }
}

root@filer2:/home/jcigar # ifconfig bge1
bge1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
=20=20=20=20=20=20=20
options=3Dc019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN=
_HWTSO,LINKSTATE>
        ether d0:bf:9c:3a:b7:25
        inet 10.20.30.32 netmask 0xffffff00 broadcast 10.20.30.255=20
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

root@filer2:/home/jcigar # pciconf -lv bge1
bge1@pci0:2:0:1:        class=3D0x020000 card=3D0x22e8103c chip=3D0x165f14e=
4 rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Broadcom Corporation'
    device     =3D 'NetXtreme BCM5720 Gigabit Ethernet PCIe'
    class      =3D network
    subclass   =3D ethernet

root@filer2:/home/jcigar # grep 'bge1' /var/run/dmesg.boot=20
bge1: <Broadcom BCM5720 A0, ASIC rev. 0x5720000> mem
0x92b00000-0x92b0ffff,0x92b10000-0x92b1ffff,0x92b20000-0x92b2ffff at device=
 0.1
on pci2
bge1: APE FW version: NCSI v1.3.12.0
bge1: CHIP ID 0x05720000; ASIC REV 0x5720; CHIP REV 0x57200; PCI-E
miibus1: <MII bus> on bge1
bge1: Using defaults for TSO: 65518/35/2048
bge1: Ethernet address: d0:bf:9c:3a:b7:25
bge1: link state changed to DOWN
bge1: link state changed to UP

on filer1.prod.lan:

root@filer1:/home/jcigar # cat /etc/iscsi.conf=20

t0 {
    TargetAddress   =3D 10.20.30.32
    TargetName      =3D iqn.2016-08.lan.prod:target0
    AuthMethod      =3D CHAP
    chapIName       =3D xxx
    chapSecret      =3D xxx
}

t1 {
    TargetAddress   =3D 10.20.30.32
    TargetName      =3D iqn.2016-08.lan.prod:target1
    AuthMethod      =3D CHAP
    chapIName       =3D xxx
    chapSecret      =3D xxx
}

root@filer1:/home/jcigar # ifconfig bge1
bge1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
=20=20=20=20=20=20=20
options=3Dc019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN=
_HWTSO,LINKSTATE>
        ether d0:bf:9c:3a:c6:e1
        inet 10.20.30.31 netmask 0xffffff00 broadcast 10.20.30.255=20
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex,master>)
        status: active

root@filer1:/home/jcigar # pciconf -lv bge1
bge1@pci0:2:0:1:        class=3D0x020000 card=3D0x22e8103c chip=3D0x165f14e=
4 rev=3D0x00
hdr=3D0x00
    vendor     =3D 'Broadcom Corporation'
    device     =3D 'NetXtreme BCM5720 Gigabit Ethernet PCIe'
    class      =3D network
    subclass   =3D ethernet

root@filer1:/home/jcigar # grep 'bge1' /var/run/dmesg.boot=20
bge1: <Broadcom BCM5720 A0, ASIC rev. 0x5720000> mem
0x92b00000-0x92b0ffff,0x92b10000-0x92b1ffff,0x92b20000-0x92b2ffff at device=
 0.1
on pci2
bge1: APE FW version: NCSI v1.3.12.0
bge1: CHIP ID 0x05720000; ASIC REV 0x5720; CHIP REV 0x57200; PCI-E
miibus1: <MII bus> on bge1
bge1: Using defaults for TSO: 65518/35/2048
bge1: Ethernet address: d0:bf:9c:3a:c6:e1
bge1: link state changed to DOWN
bge1: link state changed to UP

--=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-211990-8-OaDivfsFDv>