Bug#1009018: linux-image-5.16.0-5-amd64: Shutdown, reboot, and suspend broken on chromebook when module cros_ec_typec is loaded.
Version: 5.17.3-1 Hi, Le 2022-04-05 18:23, Dan Bassett a écrit : > Package: src:linux > Version: 5.16.14-1 > Severity: normal > Tags: upstream > X-Debbugs-Cc: b...@fizix.org > > Dear Maintainer, > >* What led up to the situation? > >I upgraded my system from Stable (5.10 kernel) to Testing in order >to get sound working, however, upon upgrade, my system was no longer >able to shutdown, reboot, or suspend properly. All of these actions >would result in the system hanging, requiring a hard reset. > > >* What exactly did you do (or not do) that was effective (or > ineffective)? > >I manually built a series of kernels to try to narrow down where >the issue was occuring and found that when I disabled the building of >chromebook related platform drivers, my system would happily reboot >and suspend. I also noticed that the kernel was throwing an error >at boot when attempting to load the cros_ec_typec module. Given this >information, I attempted to boot the stock debian kernel >(5.16.0-5-amd64) with the option module_blacklist=cros_ec_typec, >which resulted in a system that rebooted and suspended as expected. >I am unaware of any functionality that I may be losing by not loading >the cros_ec_typec module. > > >* What was the outcome of this action? > >I have a working system, though ideally this module would properly >load on boot (as my hardware configuration seems to want it), and not >break shutdown/reboot/suspend. > > >* What outcome did you expect instead? > >The system should work without disabling relevant kernel modules. Dan confirmed to me privately that this issue has been fixed in Linux 5.17.3. Closing! Cheers, Vincent signature.asc Description: PGP signature
Bug#1009018: linux-image-5.16.0-5-amd64: Shutdown, reboot, and suspend broken on chromebook when module cros_ec_typec is loaded.
Le 2022-04-06 14:02, Vincent Blut a écrit : > Hi Dan, > > Le 2022-04-05 18:23, Dan Bassett a écrit : > > Package: src:linux > > Version: 5.16.14-1 > > Severity: normal > > Tags: upstream > > X-Debbugs-Cc: b...@fizix.org > > > > Dear Maintainer, > > > >* What led up to the situation? > > > >I upgraded my system from Stable (5.10 kernel) to Testing in order > >to get sound working, however, upon upgrade, my system was no longer > >able to shutdown, reboot, or suspend properly. All of these actions > >would result in the system hanging, requiring a hard reset. > > > > > >* What exactly did you do (or not do) that was effective (or > > ineffective)? > > > >I manually built a series of kernels to try to narrow down where > >the issue was occuring and found that when I disabled the building of > >chromebook related platform drivers, my system would happily reboot > >and suspend. I also noticed that the kernel was throwing an error > >at boot when attempting to load the cros_ec_typec module. Given this > >information, I attempted to boot the stock debian kernel > >(5.16.0-5-amd64) with the option module_blacklist=cros_ec_typec, > >which resulted in a system that rebooted and suspended as expected. > >I am unaware of any functionality that I may be losing by not loading > >the cros_ec_typec module. > > > > > >* What was the outcome of this action? > > > >I have a working system, though ideally this module would properly > >load on boot (as my hardware configuration seems to want it), and not > >break shutdown/reboot/suspend. > > > > > >* What outcome did you expect instead? > > > >The system should work without disabling relevant kernel modules. > > I think [1], currently applied to Linux 5.18-rc1, will fix this issue. > > Prashant, Benson, should this patch be applied to Linux 5.7+? I just noticed that it has been commited to the relevant stable trees. Sorry for the noise! signature.asc Description: PGP signature
Bug#1009018: linux-image-5.16.0-5-amd64: Shutdown, reboot, and suspend broken on chromebook when module cros_ec_typec is loaded.
Hi Dan, Le 2022-04-05 18:23, Dan Bassett a écrit : > Package: src:linux > Version: 5.16.14-1 > Severity: normal > Tags: upstream > X-Debbugs-Cc: b...@fizix.org > > Dear Maintainer, > >* What led up to the situation? > >I upgraded my system from Stable (5.10 kernel) to Testing in order >to get sound working, however, upon upgrade, my system was no longer >able to shutdown, reboot, or suspend properly. All of these actions >would result in the system hanging, requiring a hard reset. > > >* What exactly did you do (or not do) that was effective (or > ineffective)? > >I manually built a series of kernels to try to narrow down where >the issue was occuring and found that when I disabled the building of >chromebook related platform drivers, my system would happily reboot >and suspend. I also noticed that the kernel was throwing an error >at boot when attempting to load the cros_ec_typec module. Given this >information, I attempted to boot the stock debian kernel >(5.16.0-5-amd64) with the option module_blacklist=cros_ec_typec, >which resulted in a system that rebooted and suspended as expected. >I am unaware of any functionality that I may be losing by not loading >the cros_ec_typec module. > > >* What was the outcome of this action? > >I have a working system, though ideally this module would properly >load on boot (as my hardware configuration seems to want it), and not >break shutdown/reboot/suspend. > > >* What outcome did you expect instead? > >The system should work without disabling relevant kernel modules. I think [1], currently applied to Linux 5.18-rc1, will fix this issue. Prashant, Benson, should this patch be applied to Linux 5.7+? Cheers, Vincent [1] https://lore.kernel.org/all/20220126190219.3095419-1-pmal...@chromium.org/ signature.asc Description: PGP signature
Bug#1009018: linux-image-5.16.0-5-amd64: Shutdown, reboot, and suspend broken on chromebook when module cros_ec_typec is loaded.
Package: src:linux Version: 5.16.14-1 Severity: normal Tags: upstream X-Debbugs-Cc: b...@fizix.org Dear Maintainer, * What led up to the situation? I upgraded my system from Stable (5.10 kernel) to Testing in order to get sound working, however, upon upgrade, my system was no longer able to shutdown, reboot, or suspend properly. All of these actions would result in the system hanging, requiring a hard reset. * What exactly did you do (or not do) that was effective (or ineffective)? I manually built a series of kernels to try to narrow down where the issue was occuring and found that when I disabled the building of chromebook related platform drivers, my system would happily reboot and suspend. I also noticed that the kernel was throwing an error at boot when attempting to load the cros_ec_typec module. Given this information, I attempted to boot the stock debian kernel (5.16.0-5-amd64) with the option module_blacklist=cros_ec_typec, which resulted in a system that rebooted and suspended as expected. I am unaware of any functionality that I may be losing by not loading the cros_ec_typec module. * What was the outcome of this action? I have a working system, though ideally this module would properly load on boot (as my hardware configuration seems to want it), and not break shutdown/reboot/suspend. * What outcome did you expect instead? The system should work without disabling relevant kernel modules. -- Package-specific info: ** Version: Linux version 5.16.0-5-amd64 (debian-ker...@lists.debian.org) (gcc-11 (Debian 11.2.0-18) 11.2.0, GNU ld (GNU Binutils for Debian) 2.38) #1 SMP PREEMPT Debian 5.16.14-1 (2022-03-15) ** Command line: BOOT_IMAGE=linux initrd=initrd root=LABEL=root net.ifnames=0 snd_intel_dspcfg.dsp_driver=3 i915.enable_guc=3 ** Tainted: UD (192) * taint requested by userspace application * kernel died recently, i.e. there was an OOPS or BUG ** Kernel log: [4.970325] i2c_hid_acpi i2c_hid hid battery video i2c_algo_bit ttm drm_kms_helper xhci_pci xhci_hcd usbcore cec sdhci_pci rc_core cqhci sdhci drm button intel_lpss_pci intel_lpss pinctrl_jasperlake mmc_core idma64 usb_common [4.970335] CR2: 0070 [4.970337] ---[ end trace b75001be1263bffa ]--- [4.976732] RIP: 0010:mutex_lock+0x19/0x30 [5.043109] Code: 00 0f 1f 44 00 00 be 02 00 00 00 e9 11 fb ff ff 90 0f 1f 44 00 00 55 48 89 fd e8 82 e8 ff ff 31 c0 65 48 8b 14 25 c0 fb 01 00 48 0f b1 55 00 75 02 5d c3 48 89 ef 5d eb c7 0f 1f 80 00 00 00 [5.043112] RSP: 0018:ad7c005bbbe8 EFLAGS: 00010246 [5.043114] RAX: RBX: RCX: [5.043116] RDX: 95344dcc1840 RSI: 9534421503e0 RDI: 0070 [5.043117] RBP: 0070 R08: 0002 R09: 9534421503e0 [5.043118] R10: 9534badaa000 R11: R12: [5.043118] R13: 0070 R14: 0001 R15: ad7c005bbc7c [5.043120] FS: 7ff3123db8c0() GS:9534bbf0() knlGS: [5.043121] CS: 0010 DS: ES: CR0: 80050033 [5.043122] CR2: 0070 CR3: 00010d542000 CR4: 00350ee0 [5.049424] alg: No test for fips(ansi_cprng) (fips_ansi_cprng) [5.085084] XFS (mmcblk1p3): Mounting V5 Filesystem [5.359289] intel_rapl_common: Found RAPL domain package [5.360833] intel_rapl_common: Found RAPL domain core [5.362277] intel_rapl_common: Found RAPL domain uncore [5.363948] intel_rapl_common: Found RAPL domain psys [5.386279] XFS (mmcblk1p3): Ending clean mount [5.396452] xfs filesystem being mounted at /home/dbassett supports timestamps until 2038 (0x7fff) [5.555928] cryptd: max_cpu_qlen set to 1000 [5.608899] SSE version of gcm_enc/dec engaged. [5.659945] usb 1-6: Found UVC 1.00 device HP Wide Vision HD Camera (30c9:004d) [5.671680] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [5.682965] input: HP Wide Vision HD Camera: HP Wi as /devices/pci:00/:00:14.0/usb1/1-6/1-6:1.0/input/input5 [5.683111] usbcore: registered new interface driver uvcvideo [5.728985] rtw_8822ce :01:00.0: firmware: direct-loading firmware rtw88/rtw8822c_fw.bin [5.728994] rtw_8822ce :01:00.0: Firmware version 9.9.10, H2C version 15 [5.732851] rtw_8822ce :01:00.0: firmware: direct-loading firmware rtw88/rtw8822c_wow_fw.bin [5.732860] rtw_8822ce :01:00.0: Firmware version 9.9.4, H2C version 15 [5.759507] sof-audio-pci-intel-icl :00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 [5.759670] sof-audio-pci-intel-icl :00:1f.3: bound :00:02.0 (ops i915_audio_component_bind_ops [i915]) [5.766920] sof-audio-pci-intel-icl :00:1f.3: use msi interrupt mode [5.808203] sof-audio-pci-intel-icl :00:1f.3: hda codecs