The WWAN - Huawei Technologies Co., Ltd. [12d1:15c1] does not work after install Ubuntu Hirsute.

Bug #1940377 reported by Gabriel Zhi Chen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
New
Wishlist
Unassigned
linux (Ubuntu)
Invalid
Undecided
AaronMa
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned
usb-modeswitch (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

u@u-ThinkPad-L460:~$ uname -a
Linux u-ThinkPad-L460 Kernel 5.11.0-16-generic #17-Ubuntu SMP Wed Apr 14 20:12:43 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

u@u-ThinkPad-L460:~$ cat /etc/issue
Ubuntu 21.04 \n \l

CPU : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
WWAN : 12d1:15c1 Huawei Technologies Co., Ltd. ME906s LTE M.2 Module

[Steps]
1. Make a Live CD for Ubuntu Hirsute
2. Plug in the Live CD
3. Boot ThinkPad L460
4. Install Ubuntu Hirsute and completed all configurations
5. Make sure the installation done
6. Boot the system and log in
7. Enable the proposed channel
8. Do the update and upgrade
9. Reboot the system and check mmcli is upgraded to 1.16.6
7. Verify the WWAN working or not.

[Actual result]
The WWAN can not be detected.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: ubuntu-release-upgrader-core 1:21.04.16
ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
Uname: Linux 5.11.0-16-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
Date: Wed Aug 18 01:32:17 2021
InstallationDate: Installed on 2021-08-18 (0 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: No upgrade log present (probably fresh install)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 21.04
InstallationDate: Installed on 2021-08-18 (0 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
IpRoute:
 default via 10.1.1.1 dev wlp3s0 proto dhcp metric 600
 10.1.1.0/24 dev wlp3s0 proto kernel scope link src 10.1.1.106 metric 600
 169.254.0.0/16 dev wlp3s0 scope link metric 1000
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
Package: network-manager 1.30.0-1ubuntu3
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
Tags: hirsute
Uname: Linux 5.11.0-16-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.30.0 connected started full enabled enabled enabled enabled enabled

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :
affects: ubuntu-release-upgrader (Ubuntu) → network-manager (Ubuntu)
tags: added: apport-collected
description: updated
Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : CRDA.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : Dependencies.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : IpAddr.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : IwConfig.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : NetDevice.enp0s31f6.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : NetDevice.lo.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : NetDevice.wlp3s0.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : NetworkManager.conf.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : PciNetwork.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : RfKill.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : WifiSyslog.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : nmcli-con.txt

apport information

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote : nmcli-dev.txt

apport information

Revision history for this message
Jerry Lee (jerry-lee-tpe) wrote :

Can we get the results fro the following commands:

$ lspci
$ sudo mmcli --list-modems
$ sudo mmcli --modem 0

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :

u@u-ThinkPad-L460:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [8086:1904] (rev 08)
00:02.0 VGA compatible controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 [8086:9d10] (rev f1)
00:1c.2 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 [8086:9d12] (rev f1)
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 [8086:9d18] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d48] (rev 21)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection I219-V [8086:1570] (rev 21)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)
03:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
04:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] [1002:6660] (rev 83)

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :

u@u-ThinkPad-L460:~$ sudo mmcli --list-modems
[sudo] password for u:
No modems were found

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :

u@u-ThinkPad-L460:~$ sudo mmcli --modem 0
error: couldn't find modem

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :

u@u-ThinkPad-L460:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 12d1:15c1 Huawei Technologies Co., Ltd. ME906s LTE M.2 Module
Bus 001 Device 004: ID 5986:0708 Acer, Inc Integrated Camera
Bus 001 Device 006: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 002: ID 138a:0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Revision history for this message
Jerry Lee (jerry-lee-tpe) wrote :

@Gabriel

Because this modem passed the test using Focal,
can you help to test the following cases for comparison?

(1) Using Hirsute
    The ModemManager is replaced from the -proposed channel
    The default kernel in Hirsute is replaced with Focal’s kernel
(2) Using Focal
    The ModemManager is replaced from the -proposed channel
    The default kernel in Focal is replaced with Hirsute’s kernel

If (1) passed, no need to test (2)

Revision history for this message
Gabriel Zhi Chen (gabrielzchen) wrote :

@Jerry-lee-tpe,

Following your steps:

Hirsute is installed on L460 , the kernel is replaced with Focal's kernel (5.8.0-63-generic)

(1) is passed.

The initial kernel of Hirsute is 5.11.0-16-generic, the issue reproduces;

Upgrade kernel to 5.11.0-31-generic, the issue reproduces.

Revision history for this message
Tim Chen (timchen119) wrote (last edit ):

@Gabriel

Can you also check linux-image-generic-hwe-20.04 on focal ? it's 5.11 as well.

linux-image-generic-hwe-20.04
5.11.0.27.29~20.04.11

Changed in linux (Ubuntu):
assignee: nobody → AaronMa (mapengyu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1940377

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Bin Li (binli) wrote :

After debug, this issue is not related to kernel. cdc_ether was unregistered by usb-modeswitch.
After I installed the old verison of usb-modeswitch, this issue is fixed, it looks like a regression.

Aug 30 05:54:32 u-ThinkPad-L460 kernel: cdc_ether 1-9:2.0 wwan0: register 'cdc_ether' at usb-0000:00:14.0-9, Mobile Broadband Network Device, 02:1e:10:1f:00:00
Aug 30 05:54:32 u-ThinkPad-L460 kernel: usbcore: registered new interface driver cdc_ether
Aug 30 05:54:32 u-ThinkPad-L460 kernel: cdc_ether 1-9:2.0 wwx021e101f0000: renamed from wwan0
Aug 30 05:54:33 u-ThinkPad-L460 kernel: cdc_ether 1-9:2.0 wwx021e101f0000: unregister 'cdc_ether' usb-0000:00:14.0-9, Mobile Broadband Network Device

Revision history for this message
AaronMa (mapengyu) wrote :

Thanks BinLi,

Also confirmed cdc_mbim with Quectel modem OK.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Changed in usb-modeswitch (Ubuntu):
status: New → Confirmed
Rex Tsai (chihchun)
Changed in oem-priority:
importance: Undecided → Low
importance: Low → Wishlist
Rex Tsai (chihchun)
tags: added: oem-priority
Revision history for this message
Lars Melin (larsm17) wrote :

There are 2 usable configurations in 12d1:15c1, cfg#2 which is cdc_ether and cfg#3 which is cdc_mbim , usb_modeswitch will select the linux preferred mbim configuration if mbim drivers are present in the kernel. This is by design and not a bug.

A user who prefers cdc_ether can disable the the automagic mbim switch by changing the line DisableMBIMGlobal=0 to DisableMBIMGlobal=1 in /etc/usb_modeswitch.conf, there is really no need to revert to an older usb_modeswitch version in order to disable the mbim auto selection.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.