Hello,
I use VN2VN mode and tried to create the following topology:
eth2.569 (ixgbe) tap0.569------ fcoe target
| |
--------------- virbr1---------------
I attached my script including output and the syslog at the end.
Why does the call dcbtool fail with this message: Device not found, link
down or DCB not enabled???
-------------------------
ifconfig virbr1 up
ifconfig tap0.569 up
ifconfig eth2.569 up
sleep 1
iptables -A FORWARD -i tap0.569 -o eth2.569 -j ACCEPT
iptables -A FORWARD -o tap0.569 -i eth2.569 -j ACCEPT
sleep 1
service fcoe restart
echo tap0.569 > /sys/module/libfcoe/parameters/create_vn2vn
echo tap0.569 > /sys/module/libfcoe/parameters/enable
sleep 1
lldpad -d
sleep 1
dcbtool sc dcbx v:cee
sleep 1
ifconfig tap0 up
sleep 1
dcbtool sc tap0 dcb on
sleep 1
dcbtool sc tap0 pfc a:1 w:0 e:1 pfcup:00010000
sleep 1
dcbtool sc tap0 app:fcoe a:1 w:1 e:1
sleep 1
service lldpad restart
sleep 1
-------------------------
Here the complete output:
Stopping FCoE initiator service: [ OK ]
Starting FCoE initiator service: [ OK ]
lldpad is already running
pid of existing lldpad is 11791
Command: Set Config
Feature: DCBX Version
Status: Successful
Command: Set Config
Feature: DCB State
Port: tap0
Status: Device not found, link down or DCB not enabled
Command: Set Config
Feature: Priority Flow Control
Port: tap0
Status: Device not found, link down or DCB not enabled
Command: Set Config
Feature: Application FCoE
Port: tap0
Status: Device not found, link down or DCB not enabled
Stopping lldpad: [ OK ]
Starting lldpad: [ OK ]
-------------------------
Here the syslog:
Aug 26 10:45:06 hcp11 kernel: host55: libfc: Link down on port (00e98c)
Aug 26 10:45:06 hcp11 dnsmasq[2516]: reading /etc/resolv.conf
Aug 26 10:45:06 hcp11 dnsmasq[2516]: using nameserver 10.20.147.2#53
Aug 26 10:45:06 hcp11 dnsmasq[2516]: using nameserver 10.20.147.1#53
Aug 26 10:45:06 hcp11 dnsmasq[2516]: using local addresses only for
unqualified names
Aug 26 10:45:06 hcp11 fcoemon: FC_HOST_EVENT 100 at 1377539106 secs on
host55:code 4=lip_reset datalen 4 data=0
Aug 26 10:45:06 hcp11 kernel: virbr1: port 2(tap0.569) entering disabled
state
Aug 26 10:45:06 hcp11 kernel: virbr1: port 2(tap0.569) entering disabled
state
Aug 26 10:45:06 hcp11 kernel: __dev_addr_discard: address leakage!
da_users=1
Aug 26 10:45:06 hcp11 kernel: __dev_addr_discard: address leakage!
da_users=1
Aug 26 10:45:07 hcp11 kernel: virbr1: port 1(eth2.569) entering disabled
state
Aug 26 10:45:07 hcp11 kernel: device eth2.569 left promiscuous mode
Aug 26 10:45:07 hcp11 kernel: virbr1: port 1(eth2.569) entering disabled
state
Aug 26 10:45:07 hcp11 NetworkManager[1972]: <warn>
/sys/devices/virtual/net/tap0: couldn't determine device driver;
ignoring...
Aug 26 10:45:07 hcp11 kernel: device eth2.569 entered promiscuous mode
Aug 26 10:45:07 hcp11 kernel: device tap0.569 entered promiscuous mode
Aug 26 10:45:08 hcp11 kernel: virbr1: port 1(eth2.569) entering forwarding
state
Aug 26 10:45:10 hcp11 kernel: bnx2fc: adapter_lookup: hba NULL
Aug 26 10:45:10 hcp11 kernel: scsi56 : FCoE Driver
Aug 26 10:45:10 hcp11 fcoemon: FC_HOST_EVENT 101 at 1377539110 secs on
host56:code 4=lip_reset datalen 4 data=0
Aug 26 10:45:10 hcp11 kernel: fcoe: No FDMI support.
Aug 26 10:45:10 hcp11 kernel: netlink: 12 bytes leftover after parsing
attributes.
Aug 26 10:45:10 hcp11 kernel: netlink: 12 bytes leftover after parsing
attributes.
Aug 26 10:45:10 hcp11 kernel: netlink: 12 bytes leftover after parsing
attributes.
Aug 26 10:45:10 hcp11 kernel: netlink: 12 bytes leftover after parsing
attributes.
Aug 26 10:45:10 hcp11 kernel: host56: libfc: Link up on port (000000)
Aug 26 10:45:10 hcp11 kernel: host56: libfc: Link up on port (000000)
Aug 26 10:45:10 hcp11 kernel: host56: Assigned Port ID 00ac5c
Aug 26 10:45:11 hcp11 dhclient[15073]: DHCPDISCOVER on eth2 to
255.255.255.255 port 67 interval 15 (xid=0x15d711a0)
Aug 26 10:45:11 hcp11 lldpad: lldpad already running
Aug 26 10:45:11 hcp11 kernel: [drm] nouveau 0000:01:00.0: DDC responded,
but no EDID for DVI-I-1
Aug 26 10:45:12 hcp11 kernel: [drm] nouveau 0000:01:00.0: DDC responded,
but no EDID for DVI-I-1
Aug 26 10:45:13 hcp11 kernel: device tap0 entered promiscuous mode
Aug 26 10:45:13 hcp11 kernel: virbr1: port 2(tap0.569) entering forwarding
state
Aug 26 10:45:17 hcp11 kernel: ixgbe 0000:03:00.0: Multiqueue Enabled: Rx
Queue count = 16, Tx Queue count = 16
Aug 26 10:45:17 hcp11 NetworkManager[1972]: <info> (eth2): carrier now OFF
(device state 7, deferring action for 4 seconds)
Aug 26 10:45:17 hcp11 kernel: ixgbe 0000:03:00.0: eth2: detected SFP+: 5
Aug 26 10:45:18 hcp11 kernel: ixgbe 0000:03:00.0: eth2: NIC Link is Up 10
Gbps, Flow Control: RX/TX
Aug 26 10:45:18 hcp11 NetworkManager[1972]: <info> (eth2): carrier now ON
(device state 7)
Aug 26 10:45:18 hcp11 lldpad: bound ctrl iface to /com/intel/lldpad
Aug 26 10:45:22 hcp11 kernel: [drm] nouveau 0000:01:00.0: DDC responded,
but no EDID for DVI-I-1
Aug 26 10:45:22 hcp11 kernel: [drm] nouveau 0000:01:00.0: DDC responded,
but no EDID for DVI-I-1
Aug 26 10:45:23 hcp11 kernel: virbr1: port 1(eth2.569) entering forwarding
state
_______________________________________________
fcoe-devel mailing list
[email protected]
http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel