← Back to team overview

kernel-packages team mailing list archive

[Bug 1184240] Re: ip route doesn't show Virtual Functions in kernel 3.8.0-22

 

I wanted to further add I was able to successfully see and manipulate
all the virtual functions with a newer kernel source.

I used iproute2-3.10.0 from
https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-3.10.0.tar.bz

ip utility, iproute2-ss130716

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

Title:
  ip route doesn't show Virtual Functions in kernel 3.8.0-22

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  In the latest kernel 3.8.0-22, on ubuntu 13.04  I am seeing that ip
  route doesn't show the virtual functions properly for igb driver.

  Kernel 3.8.0-22

  root@captain:~# uname -a
  Linux captain 3.8.0-22-generic #33-Ubuntu SMP Thu May 16 15:17:14 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
  root@captain:~# ip link
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  2: p9p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
      link/ether bc:ae:c5:09:aa:56 brd ff:ff:ff:ff:ff:ff
  3: igb0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
      link/ether 00:1b:21:36:52:80 brd ff:ff:ff:ff:ff:ff
  4: p10p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
      link/ether bc:ae:c5:09:a9:af brd ff:ff:ff:ff:ff:ff
  5: igb1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
      link/ether 00:1b:21:36:52:81 brd ff:ff:ff:ff:ff:ff
  6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT
      link/ether 82:ad:e7:9a:40:ff brd ff:ff:ff:ff:ff:ff
  root@captain:~# ip -V
  ip utility, iproute2-ss121211

  Kernel 3.8.0-21

  root@captain:~# uname -a
  Linux captain 3.8.0-21-generic #32-Ubuntu SMP Tue May 14 22:16:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
  root@captain:~# ip link
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  2: p9p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
      link/ether bc:ae:c5:09:aa:56 brd ff:ff:ff:ff:ff:ff
  3: igb0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
      link/ether 00:1b:21:36:52:80 brd ff:ff:ff:ff:ff:ff
      vf 0 MAC 36:ce:75:8d:a3:8f
      vf 1 MAC 72:b9:90:05:be:f7
  4: p10p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
      link/ether bc:ae:c5:09:a9:af brd ff:ff:ff:ff:ff:ff
  5: igb1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
      link/ether 00:1b:21:36:52:81 brd ff:ff:ff:ff:ff:ff
      vf 0 MAC 46:2b:ef:b2:2d:3b
      vf 1 MAC 5e:70:2a:48:99:0d
  6: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT
      link/ether 06:89:e8:61:9e:23 brd ff:ff:ff:ff:ff:ff
  root@captain:~# ip -V
  ip utility, iproute2-ss121211

  lspci output

  04:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
  04:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
  04:10.0 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01)
  04:10.1 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01)
  04:10.2 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01)
  04:10.3 Ethernet controller: Intel Corporation 82576 Virtual Function (rev 01)

  dmesg output, unload and reload driver

  [  191.051841] igb 0000:04:00.1: removed PHC on igb1
  [  192.672593] igb 0000:04:00.1: IOV Disabled
  [  192.672903] igb 0000:04:00.0: removed PHC on igb0
  [  194.293117] igb 0000:04:00.0: IOV Disabled
  [  199.341568] dca service started, version 1.12.1
  [  199.346099] pps_core: LinuxPPS API ver. 1 registered
  [  199.346105] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx>
  [  199.350565] PTP clock support registered
  [  199.353579] igb: Intel(R) Gigabit Ethernet Network Driver - version 4.1.2-k
  [  199.353582] igb: Copyright (c) 2007-2012 Intel Corporation.
  [  199.354107] igb 0000:04:00.0: irq 76 for MSI/MSI-X
  [  199.354138] igb 0000:04:00.0: irq 77 for MSI/MSI-X
  [  199.354207] igb 0000:04:00.0: irq 78 for MSI/MSI-X
  [  199.457994] pci 0000:04:10.0: [8086:10ca] type 00 class 0x020000
  [  199.458381] pci 0000:04:10.2: [8086:10ca] type 00 class 0x020000
  [  199.458659] igb 0000:04:00.0: 2 VFs allocated
  [  199.650502] igb 0000:04:00.0: added PHC on eth0
  [  199.650511] igb 0000:04:00.0: Intel(R) Gigabit Ethernet Network Connection
  [  199.650519] igb 0000:04:00.0: eth0: (PCIe:2.5Gb/s:Width x4) 00:1b:21:36:52:80
  [  199.650602] igb 0000:04:00.0: eth0: PBA No: E43709-003
  [  199.650608] igb 0000:04:00.0: Using MSI-X interrupts. 2 rx queue(s), 1 tx queue(s)
  [  199.651061] igb 0000:04:00.1: irq 82 for MSI/MSI-X
  [  199.651087] igb 0000:04:00.1: irq 83 for MSI/MSI-X
  [  199.651111] igb 0000:04:00.1: irq 84 for MSI/MSI-X
  [  199.753323] pci 0000:04:10.1: [8086:10ca] type 00 class 0x020000
  [  199.753538] pci 0000:04:10.3: [8086:10ca] type 00 class 0x020000
  [  199.753672] igb 0000:04:00.1: 2 VFs allocated
  [  199.945839] igb 0000:04:00.1: added PHC on eth0
  [  199.945848] igb 0000:04:00.1: Intel(R) Gigabit Ethernet Network Connection
  [  199.945855] igb 0000:04:00.1: eth0: (PCIe:2.5Gb/s:Width x4) 00:1b:21:36:52:81
  [  199.945939] igb 0000:04:00.1: eth0: PBA No: E43709-003
  [  199.945945] igb 0000:04:00.1: Using MSI-X interrupts. 2 rx queue(s), 1 tx queue(s)
  --- 
  AlsaDevices:
   total 0
   crw-rw---T 1 root audio 116,  1 May 25 22:49 seq
   crw-rw---T 1 root audio 116, 33 May 25 22:49 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  DistroRelease: Ubuntu 13.04
  HibernationDevice: RESUME=UUID=4f5f3902-04e1-40f9-a446-8e05d7985702
  InstallationDate: Installed on 2013-02-16 (98 days ago)
  InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Release amd64 (20121017.2)
  MachineType: System manufacturer System Product Name
  MarkForUpload: True
  Package: linux (not installed)
  PciMultimedia:
   
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 astdrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-22-generic root=/dev/mapper/hostname-root ro
  ProcVersionSignature: Ubuntu 3.8.0-22.33-generic 3.8.11
  RelatedPackageVersions:
   linux-restricted-modules-3.8.0-22-generic N/A
   linux-backports-modules-3.8.0-22-generic  N/A
   linux-firmware                            1.106
  RfKill: Error: [Errno 2] No such file or directory
  Tags:  raring
  Uname: Linux 3.8.0-22-generic x86_64
  UpgradeStatus: Upgraded to raring on 2013-05-08 (18 days ago)
  UserGroups:
   
  dmi.bios.date: 10/01/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 3001
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: KCMA-D8
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 1.xxG
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3001:bd10/01/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnKCMA-D8:rvrRev1.xxG:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer
  --- 
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  DistroRelease: Ubuntu 13.04
  InstallationDate: Installed on 2013-02-16 (100 days ago)
  InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Release amd64 (20121017.2)
  MarkForUpload: True
  Package: linux (not installed)
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  Tags:  raring
  Uname: Linux 3.10.0-999-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to raring on 2013-05-08 (20 days ago)
  UserGroups:

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