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

2021-05-21 Thread Jim Cline
Hi Alex, just to make sure that I reinstalled one of the kernels that was 
supposed to be good (perhaps by accident I reinstalled a bad one), could 
you direct me to a good kernel on your ftp site?  best, Jim

-- 
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: b16bc0ebb938 R08: 
 R09: 0007
  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
 R12: 9a2475af4a00
  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
2000 R15: 9a2475af4a90
  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
GS:9a247740() knlGS:
  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
CR0: 80050033
  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
00018520a003 CR4: 003606f0
  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call 

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

2021-05-20 Thread Jim Cline
Hi Alex,
unfortunately that bug has come back.  It just took longer to manifest 
itself after booting.  It also affects recognition of the power state and 
the brightness buttons, which I hadn't noticed before.  --Jim

-- 
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: b16bc0ebb938 R08: 
 R09: 0007
  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
 R12: 9a2475af4a00
  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
2000 R15: 9a2475af4a90
  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
GS:9a247740() knlGS:
  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
CR0: 80050033
  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
00018520a003 CR4: 003606f0
  Sep 20 11:35:33 laxmi kernel: 

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

2020-11-03 Thread Jim Cline
Hi Alex,
I see that I am currently running 5.4.0-48-generic, which I think is the 
same version that you originally sent me.  But livepatch alters the 
running kernel without changing its version number, doesn't it?
That's what makes me still wonder if it is the culprit.
thanks--Jim


On Tue, 3 Nov 2020, Jim Cline wrote:

>
>
>
> -- Forwarded message --
> Date: Mon, 02 Nov 2020 23:24:48 -
> From: Alex Hung <1896...@bugs.launchpad.net>
> To: gxgilt...@gmail.com
> Subject: [Bug 1896482] Re: acpi event detection crashes
>
> @jim,
>
> You can check your kernel version by "uname -r".
>
> I also built a rebased one:
> https://people.canonical.com/~alexhung/LP1896482/Ubuntu-5.4.0-52.57/

-- 
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 Committed

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: b16bc0ebb938 R08: 
 R09: 0007
  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: fff

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

2020-10-27 Thread Jim Cline
Hi Alex,
my problem came back.  Is it possible that livepatch has replaced my 
working kernel with the broken one again?   --Jim

On Thu, 24 Sep 2020, Alex Hung wrote:

> A test kernel with target patches ready for SRU is available @
> https://people.canonical.com/~alexhung/LP1896482/fixes/
>
> The patch in #23 requires three precedent patches. See SRU.log file for
> more details.
>
> Note it is rebased Ubuntu-5.4.0-48.52 now.
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  In Progress
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  queue_work_on+0x3b/0x50
>  Sep 20 11:35:33 laxmi kernel: [232492.303659]  
> advance_transaction+0x2b9/0x620
>  Sep 20 11:35:33 laxmi kernel: [232492.303661]  
> 

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

2020-09-25 Thread Jim Cline
last one you sent with the commit?  It is working.


On Fri, 25 Sep 2020, Alex Hung wrote:

> @jcline-physics,
>
> can you give kernel in #24 a try?
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  In Progress
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  queue_work_on+0x3b/0x50
>  Sep 20 11:35:33 laxmi kernel: [232492.303659]  
> advance_transaction+0x2b9/0x620
>  Sep 20 11:35:33 laxmi kernel: [232492.303661]  
> acpi_ec_transaction+0x16c/0x3c0
>  Sep 20 11:35:33 laxmi kernel: [232492.303663]  
> acpi_ec_space_handler+0xd4/0x280
>  Sep 20 11:35:33 laxmi kernel: [232492.303666]  
> acpi_ev_address_space_dispatch+0x2f7/0x39f
>  Sep 20 11:35:33 laxmi kernel: [232492.303668]  ? ec_transaction+0x70/0x70
>  Sep 20 

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

2020-09-25 Thread Jim Cline
thanks a lot Alex


On Thu, 24 Sep 2020, Alex Hung wrote:

> A test kernel with target patches ready for SRU is available @
> https://people.canonical.com/~alexhung/LP1896482/fixes/
>
> The patch in #23 requires three precedent patches. See SRU.log file for
> more details.
>
> Note it is rebased Ubuntu-5.4.0-48.52 now.
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  In Progress
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  queue_work_on+0x3b/0x50
>  Sep 20 11:35:33 laxmi kernel: [232492.303659]  
> advance_transaction+0x2b9/0x620
>  Sep 20 11:35:33 laxmi kernel: [232492.303661]  
> acpi_ec_transaction+0x16c/0x3c0
>  Sep 20 11:35:33 laxmi kernel: [232492.303663]  
> acpi_ec_space_handler+0xd4/0x280
>  Sep 20 

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

2020-09-24 Thread Jim Cline
that one seems to be fine.


On Thu, 24 Sep 2020, Alex Hung wrote:

> Next one:
> https://people.canonical.com/~alexhung/LP1896482/937d1d5d752513b8/
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  In Progress
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  queue_work_on+0x3b/0x50
>  Sep 20 11:35:33 laxmi kernel: [232492.303659]  
> advance_transaction+0x2b9/0x620
>  Sep 20 11:35:33 laxmi kernel: [232492.303661]  
> acpi_ec_transaction+0x16c/0x3c0
>  Sep 20 11:35:33 laxmi kernel: [232492.303663]  
> acpi_ec_space_handler+0xd4/0x280
>  Sep 20 11:35:33 laxmi kernel: [232492.303666]  
> acpi_ev_address_space_dispatch+0x2f7/0x39f
>  Sep 20 11:35:33 laxmi kernel: [232492.303668]  ? ec_transaction+0x70/0x70
>  Sep 20 

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

2020-09-23 Thread Jim Cline
that one also seems to be good.


On Wed, 23 Sep 2020, Alex Hung wrote:

> Next one is @
> https://people.canonical.com/~alexhung/LP1896482/c271d18b523bb58e/
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  In Progress
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  queue_work_on+0x3b/0x50
>  Sep 20 11:35:33 laxmi kernel: [232492.303659]  
> advance_transaction+0x2b9/0x620
>  Sep 20 11:35:33 laxmi kernel: [232492.303661]  
> acpi_ec_transaction+0x16c/0x3c0
>  Sep 20 11:35:33 laxmi kernel: [232492.303663]  
> acpi_ec_space_handler+0xd4/0x280
>  Sep 20 11:35:33 laxmi kernel: [232492.303666]  
> acpi_ev_address_space_dispatch+0x2f7/0x39f
>  Sep 20 11:35:33 laxmi kernel: [232492.303668]  ? ec_transaction+0x70/0x70
>  

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

2020-09-23 Thread Jim Cline
this one seems to be good


On Wed, 23 Sep 2020, Alex Hung wrote:

> @jcline-physics,
>
> Thanks for testing. The next is available @
> https://people.canonical.com/~alexhung/LP1896482/31be3e3551d09f20/
>
> ** Changed in: linux (Ubuntu)
>   Status: Confirmed => In Progress
>
> ** Changed in: linux (Ubuntu)
> Assignee: (unassigned) => Alex Hung (alexhung)
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  In Progress
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  queue_work_on+0x3b/0x50
>  Sep 20 11:35:33 laxmi kernel: [232492.303659]  
> advance_transaction+0x2b9/0x620
>  Sep 20 11:35:33 laxmi kernel: [232492.303661]  
> acpi_ec_transaction+0x16c/0x3c0
>  Sep 20 11:35:33 laxmi kernel: [232492.303663]  
> 

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

2020-09-23 Thread Jim Cline
okay, so that kernel has the problem again.


On Wed, 23 Sep 2020, Alex Hung wrote:

> Thanks mfo for helping out how to disable secure boot and install kernel
>
> I uploaded a test kernel @
> https://people.canonical.com/~alexhung/LP1896482/0a8c35897f60b202/
>
> There are 17 patches so it requires 4 times to identify the fixing
> kernel patch. The included patches are listed in ec_bisect1.log in the
> above link.
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  Confirmed
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  queue_work_on+0x3b/0x50
>  Sep 20 11:35:33 laxmi kernel: [232492.303659]  
> advance_transaction+0x2b9/0x620
>  Sep 20 11:35:33 laxmi kernel: [232492.303661]  
> acpi_ec_transaction+0x16c/0x3c0
>  Sep 

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

2020-09-23 Thread Jim Cline
ok, that's not such a big problem.  I'll keep all the versions' deb 
packages in separate directories so I can easily switch back to one of 
them if needed.


On Wed, 23 Sep 2020, Mauricio Faria de Oliveira wrote:

> Hi Jim,
>
> You can install on top of the previous ones without removing them first.
>
> The versioning of the test packages used the same 5.4.0-47 number,
> so unfortunately they will keep overwriting themselves (including
> the original/non-test 5.4.0-47 kernel.)
>
> I'd think this is why you only see two entries in grub boot list
> (e.g., since your installation is recent there may be one other
> kernel installed, and 5.4.0-47 which is being overwritten.)
>
> Maybe Alex can change that to a fake non-published version number
> in the next steps, so that all test versions are kept installed/
> listed in grub config.
>
> cheers,
> Mauricio
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  Confirmed
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 

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

2020-09-23 Thread Jim Cline
Hi, if I install this on top of the previous one using dpkg -i * will that 
be sufficient?  Or do I have to remove the previous packages first?

It seems like my grub configuration is somehow set to keeping only two 
kernels in the boot list.  It would be nice if it would keep them all so I 
don't have to keep reinstalling kernels to retest them.


On Wed, 23 Sep 2020, Alex Hung wrote:

> Thanks mfo for helping out how to disable secure boot and install kernel
>
> I uploaded a test kernel @
> https://people.canonical.com/~alexhung/LP1896482/0a8c35897f60b202/
>
> There are 17 patches so it requires 4 times to identify the fixing
> kernel patch. The included patches are listed in ec_bisect1.log in the
> above link.
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  Confirmed
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi 

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

2020-09-22 Thread Jim Cline
ok, I can do that


On Tue, 22 Sep 2020, Mauricio Faria de Oliveira wrote:

> Hey Jim,
>
> That's very good news!
>
> I believe Alex should send you more test kernels,
> with different sets of patches included/removed,
> so to bisect/identify which specific patch(es)
> resolve the problem.
>
> If you could help with testing that as well,
> that would be great, so a smaller patch(set)
> can be put into the Ubuntu stable release(s).
>
> cheers,
> Mauricio
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  Confirmed
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  queue_work_on+0x3b/0x50
>  Sep 20 11:35:33 laxmi kernel: [232492.303659]  
> advance_transaction+0x2b9/0x620
>  Sep 20 11:35:33 laxmi kernel: [232492.303661]  

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

2020-09-22 Thread Jim Cline
Looks like it is working!  At any rate the old kernel started having the 
problem much sooner while this one is still fine.  Thanks very much for 
your help with this!

> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  Confirmed
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  queue_work_on+0x3b/0x50
>  Sep 20 11:35:33 laxmi kernel: [232492.303659]  
> advance_transaction+0x2b9/0x620
>  Sep 20 11:35:33 laxmi kernel: [232492.303661]  
> acpi_ec_transaction+0x16c/0x3c0
>  Sep 20 11:35:33 laxmi kernel: [232492.303663]  
> acpi_ec_space_handler+0xd4/0x280
>  Sep 20 11:35:33 laxmi kernel: [232492.303666]  
> acpi_ev_address_space_dispatch+0x2f7/0x39f
>  Sep 20 11:35:33 laxmi kernel: [232492.303668]  ? 

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

2020-09-22 Thread Jim Cline
thanks, I fixed that and will start testing


On Tue, 22 Sep 2020, Mauricio Faria de Oliveira wrote:

> It looks like you have secure boot enabled.
> Unfortunately test kernels are unsigned and thus require it to be disabled in 
> your BIOS/EFI menu.
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  Confirmed
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  queue_work_on+0x3b/0x50
>  Sep 20 11:35:33 laxmi kernel: [232492.303659]  
> advance_transaction+0x2b9/0x620
>  Sep 20 11:35:33 laxmi kernel: [232492.303661]  
> acpi_ec_transaction+0x16c/0x3c0
>  Sep 20 11:35:33 laxmi kernel: [232492.303663]  
> acpi_ec_space_handler+0xd4/0x280
>  Sep 20 11:35:33 laxmi kernel: [232492.303666]  
> 

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

2020-09-22 Thread Jim Cline
Hi Maricio, I did as you suggested, but cannot boot,

error:/boot/vmlinuz-5.4.0-47-generic has invalid signature
loading initial ramdisk
error: you need to load the kernel first

--Jim


On Tue, 22 Sep 2020, Mauricio Faria de Oliveira wrote:

> Hi Jim,
>
> This is a conflict between the (un)signed kernel packages; but it's easy
> to solve:
>
> Please remove the linux-image-5.4.0-47-generic package and try
> installing again; e.g.,
>
> $ sudo apt purge linux-image-5.4.0-47-generic # confirm to remove the running 
> kernel if asked.
> $ sudo dpkg -i *.deb # from alex hung
>
> cheers,
> Mauricio
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  Confirmed
>
> Bug description:
>  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 iwlwif!
 i 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: b16bc0ebb938 R08: 
>  R09: 0007
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R10: 9a24755ad678 R11: 
>  R12: 9a2475af4a00
>  Sep 20 11:35:33 laxmi kernel: [232492.303643] R13: 9a2475b03200 R14: 
> 2000 R15: 9a2475af4a90
>  Sep 20 11:35:33 laxmi kernel: [232492.303645] FS:  () 
> GS:9a247740() knlGS:
>  Sep 20 11:35:33 laxmi kernel: [232492.303646] CS:  0010 DS:  ES:  
> CR0: 80050033
>  Sep 20 11:35:33 laxmi kernel: [232492.303647] CR2: 00c42098b000 CR3: 
> 00018520a003 CR4: 003606f0
>  Sep 20 11:35:33 laxmi kernel: [232492.303648] Call Trace:
>  Sep 20 11:35:33 laxmi kernel: [232492.303654]  ? 
> acpi_os_release_lock+0xe/0x10
>  Sep 20 11:35:33 laxmi kernel: [232492.303657]  

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

2020-09-22 Thread Jim Cline
Hi Alex, thanks for that.  I got this error message while installing,
dpkg: regarding 
linux-image-unsigned-5.4.0-47-generic_5.4.0-47.51_amd64.deb contntaining 
linux-image-unsigned-5.4.0-47-generic:
  linux-image-unsigned-5.4.0-47-generic conflicts with 
linux-image-5.4.0-47-genereric
   linux-image-5.4.0-47-generic (version 5.4.0-47.51) is present and 
installed.

dpkg: error processing archive 
linux-image-unsigned-5.4.0-47-generic_5.4.0-47.5151_amd64.deb (--install):
  conflicting packages - not installing 
linux-image-unsigned-5.4.0-47-generic

The others,
linux-headers-5.4.0-47_5.4.0-47.51_all.deb
linux-headers-5.4.0-47-generic_5.4.0-47.51_amd64.deb
linux-modules-5.4.0-47-generic_5.4.0-47.51_amd64.deb
linux-modules-extra-5.4.0-47-generic_5.4.0-47.51_amd64.deb
seem to have installed properly.

Should I go ahead and reboot?  regards, Jim


On Tue, 22 Sep 2020, Jim Cline wrote:

>
>
>
> -- Forwarded message --
> Date: Mon, 21 Sep 2020 21:19:04 -
> From: Alex Hung <1896...@bugs.launchpad.net>
> To: gxgilt...@gmail.com
> Subject: [Bug 1896482] Re: acpi event detection crashes
>
> The warning messages occurred between "ACPI: EC: interrupt blocked" and
> "ACPI: EC: interrupt unblocked". Let's try to apply all (17) mainline
> patches to ACPI EC to Ubuntu-5.4.0-47.51.
>
> If this solves the problems we can then bi-select to identify which
> patches are the solution and then backport to 5.4 kernel.
>
> The test kernel is available @
> https://people.canonical.com/~alexhung/LP1896482/ and the applied
> patches are listed in ec_patches.log
>
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1896482
>
> Title:
>  acpi event detection crashes
>
> Status in linux package in Ubuntu:
>  Confirmed
>
> Bug description:
>  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 iwlwif!
> i 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
>