There are a few steps that need to happen:
1) determine which kernel modules are required for that hardware
2) check if those kernel modules are build and available from the regular 
userspace package
3) check if those kernel modules are included in the udeb kernel package for 
the installer
4) check that installer correctly detects and loads those missing modules 
and/or said udebs are included in the d-i built itself.

If I am reading the provided debug output right, "cxgb4" driver is
required. I see that there is

kernel/drivers/net/ethernet/chelsio/cxgb4/cxgb4.ko

built in the regular kernel build, and shipped in the -extra package.
(there are a few others as well e.g. iw_cxgb4, cxgb4i, cxgb4vf)

However, I do not see net/ethernet/chelsio/* included in the nic-
modules-4.13.0-32-generic-di_4.13.0-32.35_ppc64el.udeb package as used
by the installer.

Therefore I believe the scope of this bug is to make sure that
net/ethernet/chelsio/* is shipped in the nic-modules udeb package.

Then a d-i rebuild will be needed.

Then the bug reporter can re-validate if this issue becomes resolved.


** Also affects: debian-installer (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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/1745927

Title:
  Driver not found in Ubuntu kernel does not detect interface

Status in The Ubuntu-power-systems project:
  Triaged
Status in debian-installer package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Triaged

Bug description:
  == Comment: #0 - Harish Sriram 
  --Problem Description---
  kernel does not detect interface in Ubuntu, driver missing in kernel

  Contact Information = hasri...@in.ibm.com

  ---Issue observed---
  While installing Ubuntu on a machine with Chelsio card, ubuntu-installer 
fails to show the interface name - probable cause would be due to missing 
driver in Ubuntu kernel. 

  Machine Type = Tuleta/Power 8 BML

  ----Additional Info-----
  Installer Shell
  -------------------
  BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3) built-in shell (ash)
  Enter 'help' for a list of built-in commands.

  ~ # ip a
  1: lo: <LOOPBACK> mtu 65536 qdisc noop qlen 1000
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  2: enP5p9s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq qlen 1000
      link/ether 98:be:94:02:09:7c brd ff:ff:ff:ff:ff:ff
  3: enP5p9s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq qlen 1000
      link/ether 98:be:94:02:09:7d brd ff:ff:ff:ff:ff:ff
  4: enP5p9s0f2: <BROADCAST,MULTICAST> mtu 1500 qdisc mq qlen 1000
      link/ether 98:be:94:02:09:7e brd ff:ff:ff:ff:ff:ff
  5: enP5p9s0f3: <BROADCAST,MULTICAST> mtu 1500 qdisc mq qlen 1000
      link/ether 98:be:94:02:09:7f brd ff:ff:ff:ff:ff:ff

  ~ # lspci -k
  0000:00:00.0 PCI bridge: IBM Device 03dc
  0001:00:00.0 PCI bridge: IBM Device 03dc
  0001:01:00.0 PCI bridge: PLX Technology, Inc. PEX 8732 32-lane, 8-Port PCI 
Express Gen 3 (8.0 GT/s) Switch (rev ca)
  0001:02:01.0 PCI bridge: PLX Technology, Inc. PEX 8732 32-lane, 8-Port PCI 
Express Gen 3 (8.0 GT/s) Switch (rev ca)
  0001:02:08.0 PCI bridge: PLX Technology, Inc. PEX 8732 32-lane, 8-Port PCI 
Express Gen 3 (8.0 GT/s) Switch (rev ca)
  0001:02:09.0 PCI bridge: PLX Technology, Inc. PEX 8732 32-lane, 8-Port PCI 
Express Gen 3 (8.0 GT/s) Switch (rev ca)
  0001:03:00.0 Ethernet controller: Chelsio Communications Inc T422-CR Unified 
Wire Ethernet Controller
        Subsystem: IBM Device 03e5
  0001:03:00.1 Ethernet controller: Chelsio Communications Inc T422-CR Unified 
Wire Ethernet Controller
        Subsystem: IBM Device 03e5
  0001:03:00.2 Ethernet controller: Chelsio Communications Inc Device 4102
        Subsystem: IBM Device 03e5
  0001:03:00.3 Ethernet controller: Chelsio Communications Inc Device 4102
        Subsystem: IBM Device 03e5
  0001:03:00.4 Ethernet controller: Chelsio Communications Inc T422-CR Unified 
Wire Ethernet Controller
        Subsystem: IBM Device 03e5
  0001:03:00.5 SCSI storage controller: Chelsio Communications Inc T422-CR 
Unified Wire Storage Controller
        Subsystem: IBM Device 03e5
  0001:03:00.6 Fibre Channel: Chelsio Communications Inc T422-CR Unified Wire 
Storage Controller
        Subsystem: IBM Device 03e5
  0001:03:00.7 Ethernet controller: Chelsio Communications Inc Device 0000
        Subsystem: IBM Device 03e5
  0001:04:00.0 RAID bus controller: IBM PCI-E IPR SAS Adapter (ASIC) (rev 02)
        Subsystem: IBM Device 03ff
  0004:00:00.0 PCI bridge: IBM Device 03dc
  0004:01:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] 
PES16T4A/4T4G2 PCI Express Gen2 Switch (rev 02)
  0004:02:02.0 PCI bridge: Integrated Device Technology, Inc. [IDT] 
PES16T4A/4T4G2 PCI Express Gen2 Switch (rev 02)
  0004:02:03.0 PCI bridge: Integrated Device Technology, Inc. [IDT] 
PES16T4A/4T4G2 PCI Express Gen2 Switch (rev 02)
  0004:03:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to 
PCI Express HBA (rev 02)
        Subsystem: IBM Device 041e
  0004:03:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to 
PCI Express HBA (rev 02)
        Subsystem: IBM Device 041e
  0004:04:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to 
PCI Express HBA (rev 02)
        Subsystem: IBM Device 041e
  0004:04:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to 
PCI Express HBA (rev 02)
        Subsystem: IBM Device 041e
  0005:00:00.0 PCI bridge: IBM Device 03dc
  0005:01:00.0 PCI bridge: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI 
Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA (rev ca)
  0005:02:01.0 PCI bridge: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI 
Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA (rev ca)
  0005:02:08.0 PCI bridge: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI 
Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA (rev ca)
  0005:02:09.0 PCI bridge: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI 
Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA (rev ca)
  0005:02:10.0 PCI bridge: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI 
Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA (rev ca)
  0005:02:11.0 PCI bridge: PLX Technology, Inc. PEX 8748 48-Lane, 12-Port PCI 
Express Gen 3 (8 GT/s) Switch, 27 x 27mm FCBGA (rev ca)
  0005:03:00.0 USB controller: Texas Instruments TUSB73x0 SuperSpeed USB 3.0 
xHCI Host Controller (rev 02)
        Subsystem: IBM Device 04b2
        Kernel driver in use: xhci_hcd
  0005:09:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5719 Gigabit 
Ethernet PCIe (rev 01)
        Subsystem: IBM Device 0420
        Kernel driver in use: tg3
        Kernel modules: tg3
  0005:09:00.1 Ethernet controller: Broadcom Limited NetXtreme BCM5719 Gigabit 
Ethernet PCIe (rev 01)
        Subsystem: IBM Device 0420
        Kernel driver in use: tg3
        Kernel modules: tg3
  0005:09:00.2 Ethernet controller: Broadcom Limited NetXtreme BCM5719 Gigabit 
Ethernet PCIe (rev 01)
        Subsystem: IBM Device 0420
        Kernel driver in use: tg3
        Kernel modules: tg3
  0005:09:00.3 Ethernet controller: Broadcom Limited NetXtreme BCM5719 Gigabit 
Ethernet PCIe (rev 01)
        Subsystem: IBM Device 0420
        Kernel driver in use: tg3
        Kernel modules: tg3
  0040:00:00.0 PCI bridge: IBM Device 03dc
  0044:00:00.0 PCI bridge: IBM Device 03dc
  0045:00:00.0 PCI bridge: IBM Device 03dc

  Interface up in petitboot
  ----------------------------
  / # ip a
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
         valid_lft forever preferred_lft forever
  2: enP3p9s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
      link/ether 98:be:94:02:09:7c brd ff:ff:ff:ff:ff:ff
  3: enP3p9s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
      link/ether 98:be:94:02:09:7d brd ff:ff:ff:ff:ff:ff
  4: enP3p9s0f2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
      link/ether 98:be:94:02:09:7e brd ff:ff:ff:ff:ff:ff
  5: enP3p9s0f3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
      link/ether 98:be:94:02:09:7f brd ff:ff:ff:ff:ff:ff
  6: tunl0@NONE: <NOARP> mtu 1480 qdisc noop qlen 1
      link/ipip 0.0.0.0 brd 0.0.0.0
  7: enP1p3s0f4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
      link/ether 5c:f3:fc:ee:75:80 brd ff:ff:ff:ff:ff:ff
  8: enP1p3s0f4d1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
      link/ether 5c:f3:fc:ee:75:88 brd ff:ff:ff:ff:ff:ff
  9: enP1p3s0f4d2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq qlen 1000
      link/ether 5c:f3:fc:ee:75:90 brd ff:ff:ff:ff:ff:ff
      inet 9.114.12.193/22 scope global enP1p3s0f4d2
         valid_lft forever preferred_lft forever
  10: enP1p3s0f4d3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
      link/ether 5c:f3:fc:ee:75:98 brd ff:ff:ff:ff:ff:ff

  # ethtool -i enP1p3s0f4d2
  driver: cxgb4
  version: 2.0.0-ko
  firmware-version: 1.16.63.0, TP 0.1.9.4
  expansion-rom-version: 0.0.0.0
  bus-info: 0001:03:00.4
  supports-statistics: yes
  supports-test: no
  supports-eeprom-access: yes
  supports-register-dump: yes
  supports-priv-flags: no

  Which corresponds to

  0001:03:00.0 Ethernet controller [0200]: Chelsio Communications Inc T422-CR 
Unified Wire Ethernet Controller [1425:4002]
  0001:03:00.1 Ethernet controller [0200]: Chelsio Communications Inc T422-CR 
Unified Wire Ethernet Controller [1425:4002]
  0001:03:00.2 Ethernet controller [0200]: Chelsio Communications Inc Device 
[1425:4102]
  0001:03:00.3 Ethernet controller [0200]: Chelsio Communications Inc Device 
[1425:4102]
  0001:03:00.4 Ethernet controller [0200]: Chelsio Communications Inc T422-CR 
Unified Wire Ethernet Controller [1425:4402]

  Step to reproduce: Install Ubuntu 18.04 on a BML with Chelsio card
  interface UP.

  ---Expected---
  Kernel to detect the interface.

  ---Actual---
  Installation fails as interface is not detected from the card.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1745927/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to