On Thu, 2020-04-16 at 20:18 +0000, Anton Keks wrote: > I have traced it to int3403_thermal module. > If I do rmmod int3403_thermal - the thermal_zone3 goes away an no > thermal shutdown is happening. > I can use it as a workaround - but is it dangerous for the HW? > > https://github.com/torvalds/linux/blob/master/drivers/thermal/intel/int340x_thermal/int3403_thermal.c > > > From what I see in the source, it is probably related to battery or > charger or both. > > So I guess thermald should take this sensor into acccount when > throttling? > > When I quickly modprobe int3403_thermal back, the full output is here > (it is seen that temp is 79C, which is really close to the critical > 80C):
Correct. So this will shutdown the system. Is that sensor temperature always in that range? If it is then sensor may be faulty. Thanks, Srinivas > > thermal_zone3$ grep . * > available_policies:power_allocator user_space step_wise bang_bang > fair_share > grep: emul_temp: Permission denied > integral_cutoff:0 > k_d:0 > k_i:0 > k_po:0 > k_pu:0 > offset:0 > policy:user_space > grep: power: Is a directory > slope:0 > grep: subsystem: Is a directory > sustainable_power:0 > temp:79000 > trip_point_0_hyst:2000 > trip_point_0_temp:0 > trip_point_0_type:passive > trip_point_1_hyst:2000 > trip_point_1_temp:0 > trip_point_1_type:passive > trip_point_2_hyst:2000 > trip_point_2_temp:80000 > trip_point_2_type:critical > trip_point_3_hyst:2000 > trip_point_3_temp:75000 > trip_point_3_type:hot > trip_point_4_hyst:2000 > trip_point_4_temp:65000 > trip_point_4_type:passive > trip_point_5_hyst:2000 > trip_point_5_temp:60000 > trip_point_5_type:active > trip_point_6_hyst:2000 > trip_point_6_temp:50000 > trip_point_6_type:active > trip_point_7_hyst:2000 > trip_point_7_temp:40000 > trip_point_7_type:active > type:SEN4 > -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to thermald in Ubuntu. https://bugs.launchpad.net/bugs/1873083 Title: Lenovo Yoga C940 frequently does thermal shutdown Status in linux package in Ubuntu: Incomplete Status in thermald package in Ubuntu: New Bug description: On a bit higher load and especially if Laptop is charging, very often Kernel does an emergency thermal shutdown. thermal thermal_zone3: critical temperature reached (80 C), shutting down It says 80 C, but sensors command shows that temperatures hovering close to 100C before the shutdown happens. dmesg is often also full of these (for each core): mce: CPU2: Core temperature above threshold, cpu clock throttled (total events = 246766) When I boot to Windows, it seems that CPU is throttled more aggressively on load and thermal shutdown doesn't happen with a similar load, but CPU frequencies drop to 1600 range, while in Ubuntu they are 2800 range. I would rather have more throttling that computer shutting down randomly without the ability to save work. Is there a workaround? ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-image-5.4.0-21-generic 5.4.0-21.25 ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27 Uname: Linux 5.4.0-21-generic x86_64 ApportVersion: 2.20.11-0ubuntu24 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: anton 1874 F.... pulseaudio /dev/snd/pcmC0D0p: anton 1874 F...m pulseaudio /dev/snd/pcmC0D6c: anton 1874 F...m pulseaudio CurrentDesktop: ubuntu:GNOME Date: Wed Apr 15 23:54:21 2020 InstallationDate: Installed on 2019-11-29 (137 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416) MachineType: LENOVO 81Q9 ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-21-generic root=UUID=24af2874-e109-44f9-a5b9-8a9ce34b3f0f ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-5.4.0-21-generic N/A linux-backports-modules-5.4.0-21-generic N/A linux-firmware 1.187 SourcePackage: linux UpgradeStatus: Upgraded to focal on 2020-04-04 (11 days ago) dmi.bios.date: 01/09/2020 dmi.bios.vendor: LENOVO dmi.bios.version: AUCN54WW dmi.board.asset.tag: NO Asset Tag dmi.board.name: LNVNB161216 dmi.board.vendor: LENOVO dmi.board.version: SDK0R32862 WIN dmi.chassis.asset.tag: NO Asset Tag dmi.chassis.type: 31 dmi.chassis.vendor: LENOVO dmi.chassis.version: Lenovo Yoga C940-14IIL dmi.modalias: dmi:bvnLENOVO:bvrAUCN54WW:bd01/09/2020:svnLENOVO:pn81Q9:pvrLenovoYogaC940-14IIL:rvnLENOVO:rnLNVNB161216:rvrSDK0R32862WIN:cvnLENOVO:ct31:cvrLenovoYogaC940-14IIL: dmi.product.family: Yoga C940-14IIL dmi.product.name: 81Q9 dmi.product.sku: LENOVO_MT_81Q9_BU_idea_FM_Yoga C940-14IIL dmi.product.version: Lenovo Yoga C940-14IIL dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873083/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp