[Kernel-packages] [Bug 1896482] Re: acpi event detection crashes

2021-06-02 Thread Devin Bayer
I have had this same issue for at least a year. It's still an issue with
kernel 5.11.0. The following lines in the stack trace looks almost
identical:

[292156.350702] ACPI: EC: interrupt blocked
[292180.635315] [ cut here ]
[292180.635318] WARNING: CPU: 1 PID: 297907 at kernel/workqueue.c:1419 
__queue_work+0x2ce/0x340
[292180.635429] CPU: 1 PID: 297907 Comm: kworker/1:1 Tainted: P   O 
 5.11.0-17-
generic #18-Ubuntu
...
[292180.635431] Hardware name: LENOVO 20QDCTO1WW/20QDCTO1WW, BIOS N2HET58W 
(1.41 ) 10/27/2020
[292180.635432] Workqueue: kec_query acpi_ec_event_processor
[292180.635436] RIP: 0010:__queue_work+0x2ce/0x340
...
[292180.635450] Call Trace:
[292180.635454]  queue_work_on+0x3e/0x50
[292180.635455]  acpi_ec_submit_query+0x69/0xa0
[292180.635457]  advance_transaction+0x18b/0x4a0

Is there any workaround besides rebooting?

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

Title:
  acpi event detection crashes

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Released

Bug description:
  = SRU Justification =

  [Impact]

  The bug causes the EC driver to fail and ACPI events are no longer
  handled by Linux kernel, i.e lid close no longer triggers suspends.

  [Fix]

  Upstream commit 03e9a0e05739cf reworks ec_install_handlers to avoid
  initialisation failures.

  The other three patches are prerequisite to apply 03e9a0e05739cf on
  focal kernel.

  [Test]

  Tested with Lenovo ThinkPad X1 Carbon Gen 8

  [Regression Potential]

  Low. The patches were cherry-picked from mainline kernel (two since 5.5
  and two since 5.7)

  = Original Bug Report =

  Right after booting, acpi lid open/close is detected as it should be
  by the kernel, but some time later it crashes, so I have to manually
  suspend the system.  The traceback is here:

  Sep 20 11:35:33 laxmi kernel: [232492.303557] [ cut here 
]
  Sep 20 11:35:33 laxmi kernel: [232492.303564] WARNING: CPU: 0 PID: 8302 at 
kernel/workqueue.c:1416 __queue_work+0x337/0x3f0
  Sep 20 11:35:33 laxmi kernel: [232492.303565] Modules linked in: ccm rfcomm 
cmac algif_hash algif_skcipher af_alg bnep nls_iso8859_1 snd_soc_skl_hda_dsp 
snd_hda_codec_hdmi snd_soc_hdac_hdmi snd_hda_codec_realtek snd_soc_dmic 
snd_hda_codec_generic snd_sof_pci mei_hdcp x86_pkg_temp_thermal 
intel_powerclamp intel_rapl_msr coretemp snd_sof_intel_hda_common 
snd_soc_hdac_hda snd_sof_intel_hda kvm_intel snd_sof_intel_byt 
snd_sof_intel_ipc kvm snd_sof snd_sof_xtensa_dsp snd_hda_ext_core 
snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress ac97_bus 
snd_pcm_dmaengine joydev crct10dif_pclmul ghash_clmulni_intel snd_hda_intel 
aesni_intel snd_intel_dspcfg crypto_simd iwlmvm cryptd snd_hda_codec 
glue_helper rapl mac80211 snd_hda_core snd_seq_midi snd_hwdep 
snd_seq_midi_event libarc4 intel_cstate uvcvideo snd_rawmidi i915 snd_pcm 
videobuf2_vmalloc input_leds thinkpad_acpi btusb videobuf2_memops serio_raw 
btrtl videobuf2_v4l2 snd_seq btbcm btintel nvram videobuf2_common iwlwifi 
processor_thermal_device bluetooth videodev
  Sep 20 11:35:33 laxmi kernel: [232492.303600]  drm_kms_helper mc wmi_bmof 
i2c_algo_bit intel_rapl_common fb_sys_fops ucsi_acpi intel_wmi_thunderbolt 
ecdh_generic ledtrig_audio typec_ucsi mei_me syscopyarea hid_multitouch 
snd_seq_device sysfillrect cfg80211 ecc sysimgblt mei intel_soc_dts_iosf typec 
snd_timer snd soundcore int3403_thermal int340x_thermal_zone acpi_pad intel_hid 
int3400_thermal acpi_thermal_rel sparse_keymap mac_hid sch_fq_codel parport_pc 
ppdev lp parport drm ip_tables x_tables autofs4 hid_generic crc32_pclmul nvme 
psmouse e1000e i2c_i801 thunderbolt intel_lpss_pci intel_lpss nvme_core idma64 
virt_dma i2c_hid hid wmi video pinctrl_cannonlake pinctrl_intel
  Sep 20 11:35:33 laxmi kernel: [232492.303628] CPU: 0 PID: 8302 Comm: 
kworker/0:0 Not tainted 5.4.0-47-generic #51-Ubuntu
  Sep 20 11:35:33 laxmi kernel: [232492.303629] Hardware name: LENOVO 
20U9001NUS/20U9001NUS, BIOS N2WET19W (1.09 ) 07/01/2020
  Sep 20 11:35:33 laxmi kernel: [232492.303632] Workqueue: kec_query 
acpi_ec_event_processor
  Sep 20 11:35:33 laxmi kernel: [232492.303635] RIP: 
0010:__queue_work+0x337/0x3f0
  Sep 20 11:35:33 laxmi kernel: [232492.303637] Code: ff 49 8b 9d a0 00 00 00 
e9 aa fd ff ff 65 8b 05 e7 59 15 6d a9 00 01 1f 00 75 0f 65 48 8b 3c 25 c0 6b 
01 00 f6 47 24 20 75 25 <0f> 0b 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 
0b e9 fd fd
  Sep 20 11:35:33 laxmi kernel: [232492.303638] RSP: 0018:b16bc0ebb8f8 
EFLAGS: 00010087
  Sep 20 11:35:33 laxmi kernel: [232492.303640] RAX: 9a2477432600 RBX: 
0002 RCX: 0004
  Sep 20 11:35:33 laxmi kernel: [232492.303641] RDX: 9a2475af4a90 RSI: 
9a2475b03200 RDI: 9a2430215f00
  Sep 20 11:35:33 laxmi kernel: [232492.303642] RBP: 

[Kernel-packages] [Bug 1859754] Re: add ucm to make alsa/sof driver work under PA (variants of Lenovo X1 Carbon 7th, Dell cnl and cml machines)

2020-03-17 Thread Devin Bayer
Hello. I am wondering why this only applies to certain models of the
X1C7. I had to make an additional file to get my Mic working:

 LENOVO-20QDCTO1WW-ThinkPadX1Carbon7th-20QDCTO1WW.conf

Is this something I should report upstream?

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

Title:
  add ucm to make alsa/sof driver work under PA (variants of Lenovo X1
  Carbon 7th, Dell cnl and cml machines)

Status in HWE Next:
  New
Status in alsa-lib package in Ubuntu:
  Fix Committed
Status in alsa-lib source package in Bionic:
  Fix Committed
Status in alsa-lib source package in Eoan:
  Fix Committed

Bug description:
  This ucm is only for Eoan and Bionic, for focal and future versions,
  we plan to integrate the ucm2 instead of this ucm, and the ucm2
  depends on the alsa-lib-1.2.1 and pluseaudio-v14, the ucm2 is under
  developing by the community, is not ready yet.

  [Impact]
  In the oem project, we have a couple of Lenovo and Dell machines which
  connect the digital mic to PCH directly, this design needs the new
  sound driver soc/sof, and this driver can't work under pulseaudio
  automatically, we need to integrate the ucm for the driver, then the
  sof dirver could work under pulseaudio and gnome.

  This ucm is maintained by intel audio team, and it is not upstreamed
  and will not be upstreamed, since the community is developing the ucm2
  which is based on at least alsa-lib-1.2.1 and pulseaudio-v14.0 (still
  under developing), for bionic and eoan, we have to integrate this ucm
  since the alsa-lib version is too low. For focal and future version, we
  are going to integrate the ucm2 after the ucm2 is ready.

  This ucm is already verified in the oem project, now it is time to put it
  into the stock ubuntu. 

  [Fix]
  These ucm files are backported from sof_ucm1 branch of
  https://github.com/thesofproject/alsa-ucm-conf.git

  [Test Case]
  Boot the eoan kernel or oem-osp1-bionic kernel, then check the log of
  pulseaudio, the ucm files are loaded successfully, then check the
  gnome-sound-setting, both output and input devices work well.

  [Regression Risk]
  Low, just add some new ucm files, and this will not affect other machines,
  and those new added ucm files are only used by specific machines which enable
  the sof driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1859754/+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