it seems like removing the "cdc_mbim" kernel module fixes the issue

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

Title:
  Sierra cellular modem keeps resetting

Status in linux package in Ubuntu:
  New

Bug description:
  In Ubuntu 24.04 on Panasonic Toughpad FZG2-3 with Sierra EM7595 the Sierra 
modem seems to reset infinitely. I've found that running those 2 commands 
succeed about 90% of the time:
  sudo modprobe -r ucsi_acpi
  sudo mbimcli -d /dev/cdc-wdm* --query-device-caps --no-close --verbose

  Also checked on Ubuntu 22.04 - same issue but the issue is not fixed
  after running the lines above.

  I tried returning the module to the factory defaults, re-installing it's FW, 
and changing multiple settings using AT commands.
  I saw some issues in the dmesg and journalctl - see below.

  Looking forward for your reply, Asaf.
  -------------------------------------------------------------------

  /etc/lsb-release:
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=24.04
  DISTRIB_CODENAME=noble
  DISTRIB_DESCRIPTION="Ubuntu 24.04.2 LTS"
  -------------------------------------------------------------------

  lsusb:
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 002: ID 8564:4100 Transcend Information, Inc. USB2.1 Hub
  Bus 001 Device 003: ID 1199:c081 Sierra Wireless, Inc. Sierra Wireless EM7595 
Mobile Broadband Adapter
  Bus 001 Device 004: ID 5986:11a0 Bison Electronics Inc. USB FHD Camera
  Bus 001 Device 005: ID 1546:01a9 U-Blox AG u-blox GNSS receiver
  Bus 001 Device 006: ID 2d1f:010f Wacom Taiwan Information Co. Ltd. ISD-V4
  Bus 001 Device 007: ID 8087:0033 Intel Corp. AX211 Bluetooth
  Bus 001 Device 011: ID 046d:c534 Logitech, Inc. Unifying Receiver
  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Bus 002 Device 002: ID 8564:4100 Transcend Information, Inc. USB3.1 Hub
  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  -------------------------------------------------------------------

  journalctl:
  May 04 12:28:19 ubuntu NetworkManager[2105]: <info>  [1746361699.5757] 
manager: (cdc-wdm2): new Broadband device 
(/org/freedesktop/NetworkManager/Devices/168)
  May 04 12:28:19 ubuntu NetworkManager[2105]: <info>  [1746361699.5759] device 
(cdc-wdm2): state change: unmanaged -> unavailable (reason 'managed', 
sys-iface-state: 'external')
  May 04 12:28:19 ubuntu NetworkManager[2105]: <info>  [1746361699.5761] device 
(cdc-wdm2): modem state 'enabling'
  May 04 12:28:19 ubuntu NetworkManager[2105]: <info>  [1746361699.5763] device 
(cdc-wdm2): state change: unavailable -> disconnected (reason 'none', 
sys-iface-state: 'managed')
  May 04 12:28:19 ubuntu ModemManager[2154]: <msg> [modem164] state changed 
(disabled -> enabling)
  May 04 12:28:19 ubuntu ModemManager[2154]: <msg> [modem164] power state 
updated: on
  May 04 12:28:19 ubuntu ModemManager[2154]: <msg> [modem164] SIM identifier 
has changed: '###' -> '###'
  May 04 12:28:19 ubuntu ModemManager[2154]: <msg> [modem164] 3GPP packet 
service state changed (unknown -> attached)
  May 04 12:28:19 ubuntu ModemManager[2154]: <msg> [modem164] state changed 
(enabling -> enabled)
  May 04 12:28:19 ubuntu ModemManager[2154]: <msg> [modem164] state changed 
(enabled -> disabling)
  May 04 12:28:19 ubuntu ModemManager[2154]: <wrn> [modem164] couldn't reload 
extended signal information: No signal details given
  May 04 12:28:20 ubuntu ModemManager[2154]: <msg> [modem164] 3GPP packet 
service state changed (attached -> unknown)
  May 04 12:28:20 ubuntu NetworkManager[2105]: <info>  [1746361700.0209] device 
(cdc-wdm2): state change: disconnected -> unmanaged (reason 'removed', 
sys-iface-state: 'removed')
  May 04 12:28:22 ubuntu ModemManager[2154]: <msg> [device 
/sys/devices/pci0000:00/0000:00:14.0/usb3/3-5] creating modem with plugin 
'sierra' and '5' ports
  May 04 12:28:22 ubuntu ModemManager[2154]: <wrn> [plugin/sierra] could not 
grab port ttyUSB1: Cannot add port 'tty/ttyUSB1', unhandled port type
  May 04 12:28:22 ubuntu ModemManager[2154]: <wrn> [plugin/sierra] could not 
grab port ttyUSB0: Cannot add port 'tty/ttyUSB0', unhandled port type
  May 04 12:28:22 ubuntu ModemManager[2154]: <msg> [modem165/cdc-wdm2/mbim] 
MBIM device is QMI capable
  May 04 12:28:24 ubuntu ModemManager[2154]: <wrn> [/dev/cdc-wdm2] MBIM error: 
Transaction timed out
  May 04 12:28:24 ubuntu ModemManager[2154]: <wrn> [/dev/cdc-wdm2] MBIM error: 
Transaction timed out
  May 04 12:28:24 ubuntu ModemManager[2154]: <wrn> [/dev/cdc-wdm2] MBIM error: 
Transaction timed out
  May 04 12:28:24 ubuntu ModemManager[2154]: <wrn> [/dev/cdc-wdm2] MBIM error: 
Transaction timed out
  May 04 12:28:24 ubuntu ModemManager[2154]: <wrn> [/dev/cdc-wdm2] MBIM error: 
Transaction timed out
  May 04 12:28:24 ubuntu ModemManager[2154]: <msg> [modem165] state changed 
(unknown -> disabled)
  -------------------------------------------------------------------

  I found some error messages in dmesg:

  [    5.820163] WARNING: CPU: 1 PID: 119 at drivers/usb/typec/ucsi/ucsi.c:1390 
ucsi_reset_ppm+0x1ba/0x1d0 [typec_ucsi]
  <snip>
  [    5.820306] Call Trace:
  [    5.820307]  <TASK>
  [    5.820309]  ? show_regs+0x6c/0x80
  [    5.820313]  ? __warn+0x88/0x140
  [    5.820316]  ? ucsi_reset_ppm+0x1ba/0x1d0 [typec_ucsi]
  [    5.820320]  ? report_bug+0x182/0x1b0

  
  Here are some additional part of the dmesg I think might be relevant:

  [    0.092992] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
  [    0.093070] PCI: ECAM [mem 0xc0000000-0xcfffffff] (base 0xc0000000) for 
domain 0000 [bus 00-ff]
  [    0.093082] PCI: Using configuration type 1 for base access
  [    0.093164] kprobes: kprobe jump-optimization is enabled. All kprobes are 
optimized if possible.
  [    0.093168] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
  [    0.093168] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
  [    0.093168] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
  [    0.093168] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
  [    0.093168] ACPI: Added _OSI(Module Device)
  [    0.093168] ACPI: Added _OSI(Processor Device)
  [    0.093168] ACPI: Added _OSI(3.0 _SCP Extensions)
  [    0.093168] ACPI: Added _OSI(Processor Aggregator Device)
  [    0.165473] ACPI Error: No pointer back to namespace node in package 
(____ptrval____) (20240322/dsargs-301)
  [    0.165479] ACPI Error: AE_AML_INTERNAL, While resolving operands for 
[Index] (20240322/dswexec-433)
  [    0.165488] Initialized Local Variables for Method [GCMP]:
  [    0.165489]   Local0: (____ptrval____) <Obj>           Package 
(____ptrval____)
  [    0.165493] Initialized Arguments for Method [GCMP]:  (1 arguments defined 
for method invocation)
  [    0.165494]   Arg0:   (____ptrval____) <Obj>           Integer 
0000000000000003
  [    0.165498] ACPI Error: Aborting method \_SB.GCMP due to previous error 
(AE_AML_INTERNAL) (20240322/psparse-529)
  [    0.165512] ACPI Error: Aborting method \_SB.GADR due to previous error 
(AE_AML_INTERNAL) (20240322/psparse-529)
  [    0.165516] ACPI Error: Aborting method \_SB.GGIV due to previous error 
(AE_AML_INTERNAL) (20240322/psparse-529)
  [    0.165519] ACPI Error: Aborting method \_SB.GSID due to previous error 
(AE_AML_INTERNAL) (20240322/psparse-529)
  [    0.165521] ACPI Error: Aborting method \_SB.GSRM due to previous error 
(AE_AML_INTERNAL) (20240322/psparse-529)
  [    0.165524] ACPI Error: Aborting method \_SB.UINI due to previous error 
(AE_AML_INTERNAL) (20240322/psparse-529)
  [    0.165527] ACPI Error: Aborting method \ due to previous error 
(AE_AML_INTERNAL) (20240322/psparse-529)
  [    0.165532] ACPI Error: Invalid zero thread count in method 
(20240322/dsmethod-780)
  [    0.165533] ACPI Error: Invalid OwnerId: 0x000 (20240322/utownerid-156)
  [    0.165627] ACPI Error: AE_AML_INTERNAL, (SSDT:xh_mtlp3) while loading 
table (20240322/tbxfload-189)
  [    0.166846] ACPI Error: 1 table load failures, 26 successful 
(20240322/tbxfload-208)
  [    0.168409] ACPI: EC: EC started
  [    0.168410] ACPI: EC: interrupt blocked
  [    0.169111] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
  [    0.169113] ACPI: EC: Boot ECDT EC used to handle transactions
  [    0.201999] ACPI: USB4 _OSC: OS supports USB3+ DisplayPort+ PCIe+ XDomain+
  [    0.202005] ACPI: USB4 _OSC: OS controls USB3+ DisplayPort+ PCIe+ XDomain+
  [    0.208152] ACPI: Interpreter enabled
  [    0.208218] ACPI: PM: (supports S0 S4 S5)
  [    0.208219] ACPI: Using IOAPIC for interrupt routing
  [    0.209690] PCI: Using host bridge windows from ACPI; if necessary, use 
"pci=nocrs" and report a bug
  [    0.209691] PCI: Ignoring E820 reservations for host bridge windows
  [    0.213052] ACPI: Enabled 9 GPEs in block 00 to 7F
  [    0.213072] ACPI: Enabled 8 GPEs in block 80 to DF
  [    0.221234] ACPI: \_SB_.PC00.RP11.PXP_: New power resource
  [    0.224844] ACPI: \_SB_.PC00.XHCI.RHUB.HS10.BTRT: New power resource
  [    0.224895] ACPI: \_SB_.PC00.XHCI.RHUB.HS10.DBTR: New power resource
  [    0.237290] ACPI: \_SB_.PC00.CNVW.WRST: New power resource
  [    0.257026] ACPI: \_SB_.PC00.TBT0: New power resource
  [    0.257088] ACPI: \_SB_.PC00.TBT1: New power resource
  [    0.257143] ACPI: \_SB_.PC00.D3C_: New power resource
  [    0.276573] ACPI BIOS Error (bug): Could not resolve symbol 
[\_SB.BIND._STA.IUBE], AE_NOT_FOUND (20240322/psargs-332)
  [    0.276581] No Local Variables are initialized for Method [_STA]
  [    0.276583] No Arguments are initialized for method [_STA]
  [    0.276585] ACPI Error: Aborting method \_SB.BIND._STA due to previous 
error (AE_NOT_FOUND) (20240322/psparse-529)
  [    0.276633] ACPI BIOS Error (bug): Could not resolve symbol 
[\_SB.CIND._STA.IUCE], AE_NOT_FOUND (20240322/psargs-332)
  [    0.276637] No Local Variables are initialized for Method [_STA]
  [    0.276638] No Arguments are initialized for method [_STA]
  [    0.276639] ACPI Error: Aborting method \_SB.CIND._STA due to previous 
error (AE_NOT_FOUND) (20240322/psparse-529)
  [    0.276685] ACPI BIOS Error (bug): Could not resolve symbol 
[\_SB.DIND._STA.IUDE], AE_NOT_FOUND (20240322/psargs-332)
  [    0.276688] No Local Variables are initialized for Method [_STA]
  [    0.276690] No Arguments are initialized for method [_STA]
  [    0.276691] ACPI Error: Aborting method \_SB.DIND._STA due to previous 
error (AE_NOT_FOUND) (20240322/psparse-529)
  [    0.278656] ACPI: \PIN_: New power resource
  [    0.279102] ACPI: PCI Root Bridge [PC00] (domain 0000 [bus 00-fe])
  [    0.279110] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM 
ClockPM Segments MSI EDR HPX-Type3]
  [    0.280055] acpi PNP0A08:00: _OSC: platform does not support [AER]
  [    0.281884] acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug 
SHPCHotplug PME PCIeCapability LTR DPC]
  -------------------------------------------------------------------

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2110048/+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