[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-12-08 Thread Austin Domino
I found a patch applied in Linux kernel 5.15.0-91.101 that fixes this
bug

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency-hwe-5.15 package in Ubuntu:
  Confirmed

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda kernel: [437064.977587] RAX: 000c0101 RBX: 
9737c026c2ac RCX: 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-12-08 Thread Austin Domino
The commit that fixed that bug for that kernel release was
0896f0e476bf58ad0fbc1ede1cb9e19d7eb89da6.

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency-hwe-5.15 package in Ubuntu:
  Confirmed

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda kernel: [437064.977587] RAX: 000c0101 RBX: 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-09-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-signed-lowlatency-hwe-5.15 (Ubuntu)
   Status: New => Confirmed

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency-hwe-5.15 package in Ubuntu:
  Confirmed

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-09-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-signed-hwe-5.19 (Ubuntu)
   Status: New => Confirmed

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency-hwe-5.15 package in Ubuntu:
  Confirmed

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-09-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-signed-hwe-5.13 (Ubuntu)
   Status: New => Confirmed

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency-hwe-5.15 package in Ubuntu:
  Confirmed

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-09-06 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-signed-lowlatency (Ubuntu)
   Status: New => Confirmed

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency package in Ubuntu:
  Confirmed
Status in linux-signed-lowlatency-hwe-5.15 package in Ubuntu:
  Confirmed

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-06-08 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  New
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  New
Status in linux-signed-lowlatency package in Ubuntu:
  New
Status in linux-signed-lowlatency-hwe-5.15 package in Ubuntu:
  New

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda kernel: [437064.977587] RAX: 000c0101 RBX: 
9737c026c2ac RCX: 0017
  Mar 21 15:35:59 LattePanda kernel: [437064.977589] RDX: 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-06-08 Thread Austin Domino
Here's the final patch from
https://bugzilla.kernel.org/show_bug.cgi?id=217242. I've applied, built
and tested it on the master-next branch of the Ubuntu Jammy repository
and it fixes this bug.

** Patch added: 
"0001-xhci-Fix-incorrect-tracking-of-free-space-on-transfe.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-5.15/+bug/2013390/+attachment/5678672/+files/0001-xhci-Fix-incorrect-tracking-of-free-space-on-transfe.patch

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  New
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  New
Status in linux-signed-lowlatency package in Ubuntu:
  New
Status in linux-signed-lowlatency-hwe-5.15 package in Ubuntu:
  New

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-05-31 Thread Austin Domino
Hello? Has anyone worked on this bug? It's a simple patch:
https://bugzilla.kernel.org/show_bug.cgi?id=217242

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  New
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  New
Status in linux-signed-lowlatency package in Ubuntu:
  New
Status in linux-signed-lowlatency-hwe-5.15 package in Ubuntu:
  New

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda kernel: [437064.977587] RAX: 000c0101 RBX: 
9737c026c2ac 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-04-26 Thread Austin Domino
This bug applies to all kernels 5.12 and newer.  Will be patched 6.4
onward.

** Package changed: linux (Ubuntu) => linux-signed-hwe-5.15 (Ubuntu)

** Also affects: linux-signed-hwe-5.13 (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux-signed-hwe-5.19 (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux-signed-lowlatency (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux-signed-lowlatency-hwe-5.15 (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  New
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  New
Status in linux-signed-lowlatency package in Ubuntu:
  New
Status in linux-signed-lowlatency-hwe-5.15 package in Ubuntu:
  New

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-04-26 Thread Austin Domino
There's a patch available for this bug that can be applied to kernel
releases 5.12-6.4 on the kernel.org bugzilla page.

** Attachment added: "Bug patch"
   https://bugzilla.kernel.org/attachment.cgi?id=304188=diff

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux-signed-hwe-5.13 package in Ubuntu:
  New
Status in linux-signed-hwe-5.15 package in Ubuntu:
  Confirmed
Status in linux-signed-hwe-5.19 package in Ubuntu:
  New

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda kernel: [437064.977587] RAX: 000c0101 RBX: 
9737c026c2ac RCX: 0017
  Mar 21 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-04-01 Thread Austin Domino
And here's a related post on Ubuntu forums:
https://ubuntuforums.org/showthread.php?t=2485480=14136903#post14136903

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda kernel: [437064.977587] RAX: 000c0101 RBX: 
9737c026c2ac RCX: 0017
  Mar 21 15:35:59 LattePanda kernel: [437064.977589] RDX:  RSI: 
 RDI: 9737c026c2ac
  Mar 21 15:35:59 LattePanda kernel: [437064.977590] RBP: b42d4007cea8 R08: 
 R09: 
  

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-04-01 Thread Austin Domino
It's been verified that this bug is present in kernel version 6.2 on a
system running Arch Linux.

Here are links to other posts in regards to this:
Kernel.org Bugzilla -> https://bugzilla.kernel.org/show_bug.cgi?id=217242
archlinux Forums -> https://bbs.archlinux.org/viewtopic.php?pid=2092955#p2092955

** Bug watch added: Linux Kernel Bug Tracker #217242
   https://bugzilla.kernel.org/show_bug.cgi?id=217242

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda kernel: [437064.977587] RAX: 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-04-01 Thread Austin Domino
Log file from a lockup that lasted almost 5 minutes until the computer
was hard reset due to unresponsiveness.

** Attachment added: "LattePanda_5_minute_lockup.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2013390/+attachment/5659878/+files/LattePanda_5_minute_lockup.log

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

Title:
  CPU Lockup related to xhci/DMA

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda kernel: [437064.977587] RAX: 000c0101 RBX: 
9737c026c2ac RCX: 0017
  Mar 21 15:35:59 LattePanda kernel: [437064.977589] RDX: 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-03-30 Thread Austin Domino
** Changed in: linux (Ubuntu)
   Status: Incomplete => 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/2013390

Title:
  CPU Lockup related to xhci/DMA

Status in linux package in Ubuntu:
  New

Bug description:
  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been
  introduced in an earlier version. Three of these systems are running a
  light weight version of Ubuntu. The kernels that have been tested are
  4.19, 5.15, 5.18, 5.19, 6.0, and 6.1. The basic setup that's running
  and causing problems is a program that starts several (4+) distinct
  processes and communicates with different ACM/USB concurrently. This
  problem can be encountered a few minutes after starting this program
  up to about a week later, but it generally happens after ~1-3 days.
  When the lock up occurs, if there are the same number or fewer CPU
  cores than the running number of running processes doing ACM/USB
  device communication, nothing else will execute due to all of the CPU
  cores being locked up until the watchdog frees things up. The longest
  lockup that has been encountered was over 20 minutes! The computers
  that this problem has been tested and verified to be present on are
  the NUC7i5BNK, the ASRock NUC BOX-1260P, and the LattePanda Delta 3.
  Although, this problem appears to be system agnostic; if kernel
  version ~5.15 or later is being used, it'll likely happen if this
  program is setup and run on any system when enough known ACM/USB
  devices are connected to it and communicated with concurrently from
  different processes. The main reason "this program" is being stated in
  a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.

  Here's a short snippet from the LattePanda Delta 3's syslog:

  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda kernel: [437064.977587] RAX: 000c0101 RBX: 
9737c026c2ac RCX: 0017
  Mar 21 15:35:59 LattePanda kernel: [437064.977589] RDX:  RSI: 
 RDI: 9737c026c2ac
  Mar 21 15:35:59 LattePanda kernel: [437064.977590] RBP: b42d4007cea8 R08: 
 R09: 
  Mar 21 15:35:59 LattePanda kernel: [437064.977591] R10: 

[Kernel-packages] [Bug 2013390] Re: CPU Lockup related to xhci/DMA

2023-03-30 Thread Austin Domino
apport information

** Tags added: apport-collected jammy

** Description changed:

  CPU lockup problems have been encountered on a number of computers
  running kernel 5.15 or later, but this problem could've been introduced
  in an earlier version. Three of these systems are running a light weight
  version of Ubuntu. The kernels that have been tested are 4.19, 5.15,
  5.18, 5.19, 6.0, and 6.1. The basic setup that's running and causing
  problems is a program that starts several (4+) distinct processes and
  communicates with different ACM/USB concurrently. This problem can be
  encountered a few minutes after starting this program up to about a week
  later, but it generally happens after ~1-3 days. When the lock up
  occurs, if there are the same number or fewer CPU cores than the running
  number of running processes doing ACM/USB device communication, nothing
  else will execute due to all of the CPU cores being locked up until the
  watchdog frees things up. The longest lockup that has been encountered
  was over 20 minutes! The computers that this problem has been tested and
  verified to be present on are the NUC7i5BNK, the ASRock NUC BOX-1260P,
  and the LattePanda Delta 3. Although, this problem appears to be system
  agnostic; if kernel version ~5.15 or later is being used, it'll likely
  happen if this program is setup and run on any system when enough known
  ACM/USB devices are connected to it and communicated with concurrently
  from different processes. The main reason "this program" is being stated
  in a broad sense is because multiple different setups fitting that
  description have been tested trying to get around encountered problems
  in various clever ways and this problem has persisted regardless of
  what's been done.
  
  Here's a short snippet from the LattePanda Delta 3's syslog:
  
  Mar 21 15:35:59 LattePanda kernel: [437064.977491] NMI watchdog: Watchdog 
detected hard LOCKUP on cpu 1
  Mar 21 15:35:59 LattePanda kernel: [437064.977496] Modules linked in: tls 
binfmt_misc snd_sof_pci_intel_icl snd_sof_intel_hda_common soundwire_intel 
soundwire_generic_allocation soundwire_cadence intel_rapl_msr snd_sof_intel_hda 
mei_hdcp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda 
snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi intel_rapl_common 
soundwire_bus x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic coretemp ledtrig_audio snd_soc_core 
nls_iso8859_1 snd_compress ac97_bus kvm_intel snd_pcm_dmaengine snd_hda_intel 
snd_intel_dspcfg kvm snd_intel_sdw_acpi intel_cstate snd_hda_codec snd_hda_core 
btusb rtsx_usb_ms btrtl btbcm snd_hwdep btintel bluetooth memstick iwlmvm 
snd_pcm ecdh_generic snd_timer ecc wmi_bmof mac80211 snd libarc4 soundcore 
8250_dw mei_me mei iwlwifi ftdi_sio pl2303 cp210x cdc_acm usbserial cfg80211 
goodix acpi_tad mac_hid acpi_pad dm_multipath scsi_dh_rdac scsi_dh_emc 
scsi_dh_alua sch_fq_cod
 el ramoops efi_pstore reed_solomon
  Mar 21 15:35:59 LattePanda kernel: [437064.977544] pstore_blk pstore_zone 
ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq 
libcrc32c rtsx_usb_sdmmc rtsx_usb mmc_block i915 ttm drm_kms_helper syscopyarea 
sysfillrect igb sysimgblt fb_sys_fops spi_pxa2xx_platform cec dca 
crct10dif_pclmul rc_core dw_dmac i2c_i801 crc32_pclmul dw_dmac_core 
ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_smbus i2c_algo_bit 
sdhci_pci ahci cqhci drm libahci intel_lpss_pci sdhci intel_lpss xhci_pci 
idma64 xhci_pci_renesas wmi video pinctrl_jasperlake
  Mar 21 15:35:59 LattePanda kernel: [437064.977572] CPU: 1 PID: 0 Comm: 
swapper/1 Tainted: G L 5.15.0-67-lowlatency #74-Ubuntu
  Mar 21 15:35:59 LattePanda kernel: [437064.977575] Hardware name: LattePanda 
LattePanda 3 Delta/LattePanda 3 Delta, BIOS LP-BS-7-S70JR120-CN51G-D 08/15/2022
  Mar 21 15:35:59 LattePanda kernel: [437064.977576] RIP: 
0010:native_queued_spin_lock_slowpath.part.0+0x4f/0x200
  Mar 21 15:35:59 LattePanda kernel: [437064.977584] Code: 0f ba 2b 08 0f 92 c2 
8b 03 0f b6 d2 c1 e2 08 30 e4 09 d0 a9 00 01 ff ff 0f 85 2a 01 00 00 85 c0 74 
0e 8b 03 84 c0 74 08 f3 90 <8b> 03 84 c0 75 f8 b8 01 00 00 00 66 89 03 5b 41 5c 
41 5d 41 5e 41
  Mar 21 15:35:59 LattePanda kernel: [437064.977586] RSP: 0018:b42d4007ce80 
EFLAGS: 0002
  Mar 21 15:35:59 LattePanda kernel: [437064.977587] RAX: 000c0101 RBX: 
9737c026c2ac RCX: 0017
  Mar 21 15:35:59 LattePanda kernel: [437064.977589] RDX:  RSI: 
 RDI: 9737c026c2ac
  Mar 21 15:35:59 LattePanda kernel: [437064.977590] RBP: b42d4007cea8 R08: 
 R09: 
  Mar 21 15:35:59 LattePanda kernel: [437064.977591] R10:  R11: 
b42d4007cff8 R12: 9737c026c000
  Mar 21 15:35:59 LattePanda kernel: [437064.977592] R13: 9737c026c260 R14: 
0079 R15: 9737c026c2ac
  Mar 21 15:35:59 LattePanda kernel: [437064.977594] FS: