← Back to team overview

kernel-packages team mailing list archive

[Bug 1541907] Comment bridged from LTC Bugzilla

 

------- Comment From machihin_a@xxxxxxxxxx 2016-02-24 01:55 EDT-------
Verified. Works.

# uname -r
4.4.0-6-generic

# lsqeth encf500
Device name                  : encf500
-------------------------------------------------------------------------
card_type            : OSD_1000
cdev0                : 0.0.f500
cdev1                : 0.0.f501
cdev2                : 0.0.f502
chpid                : 76
online               : 1
portname             : no portname required
portno               : 0
state                : UP (LAN ONLINE)
priority_queueing    : always queue 0
buffer_count         : 64
layer2               : 1
isolation            : none
bridge_role          : none
bridge_state         : inactive
bridge_hostnotify    : 0
bridge_reflect_promisc : none
switch_attrs         : unknown

# cat /sys/class/net/encf500/operstate
up

# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: encf500: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 02:00:00:5f:fa:74 brd ff:ff:ff:ff:ff:ff

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-lts-utopic in Ubuntu.
https://bugs.launchpad.net/bugs/1541907

Title:
  qeth: layer2 reports unknown state to network tools.

Status in linux package in Ubuntu:
  Fix Released
Status in linux-lts-utopic package in Ubuntu:
  New
Status in linux source package in Trusty:
  Fix Committed
Status in linux-lts-utopic source package in Trusty:
  Fix Committed
Status in linux source package in Vivid:
  Fix Committed
Status in linux source package in Wily:
  Fix Committed
Status in linux source package in Xenial:
  Fix Released

Bug description:
  Please backport and integration the upstream linux commit below:

  commit e5ebe63214d44d4dcf43df02edf3613e04d671b9
  Author: Ursula Braun <ubraun@xxxxxxxxxxxxxxxxxx>
  Date:   Fri Dec 11 12:27:55 2015 +0100

      qeth: initialize net_device with carrier off
      
      /sys/class/net/<interface>/operstate for an active qeth network
      interface offen shows "unknown", which translates to "state UNKNOWN
      in output of "ip link show". It is caused by a missing initialization
      of the __LINK_STATE_NOCARRIER bit in the net_device state field.
      This patch adds a netif_carrier_off() invocation when creating the
      net_device for a qeth device.
      
      Signed-off-by: Ursula Braun <ubraun@xxxxxxxxxxxxxxxxxx>
      Acked-by: Hendrik Brueckner <brueckner@xxxxxxxxxxxxxxxxxx>
      Reference-ID: Bugzilla 133209
      Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1541907/+subscriptions