[Kernel-packages] [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes
** Tags added: ubuntu-certified -- 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/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes Status in linux package in Ubuntu: Confirmed Status in thermald package in Ubuntu: New Bug description: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu7 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC2: jak5499 F pulseaudio /dev/snd/controlC1: jak5499 F pulseaudio /dev/snd/controlC0: jak5499 F pulseaudio CurrentDesktop: GNOME DistroRelease: Ubuntu 19.10 HibernationDevice: RESUME=none InstallationDate: Installed on 2018-03-14 (520 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180313) MachineType: LENOVO 20L8S02D00 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair Package: thermald 1.9.0-1 PackageArchitecture: amd64 ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.2.0-10-generic root=/dev/mapper/ubuntu--vg-root ro rootflags=subvol=@ ProcVersionSignature: Ubuntu 5.2.0-10.11-generic 5.2.4 RelatedPackageVersions: linux-restricted-modules-5.2.0-10-generic N/A linux-backports-modules-5.2.0-10-generic N/A linux-firmware1.181 Tags: eoan third-party-packages Uname: Linux 5.2.0-10-generic x86_64 UpgradeStatus: Upgraded to eoan on 2018-11-20 (269 days ago) UserGroups: adm cdrom dip fax input kvm libvirt lpadmin lxd plugdev sambashare sbuild sudo _MarkForUpload: True dmi.bios.date: 04/22/2019 dmi.bios.vendor: LENOVO dmi.bios.version: N22ET54W (1.31 ) dmi.board.asset.tag: Not Available dmi.board.name: 20L8S02D00 dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.modalias: dmi:bvnLENOVO:bvrN22ET54W(1.31):bd04/22/2019:svnLENOVO:pn20L8S02D00:pvrThinkPadT480s:rvnLENOVO:rn20L8S02D00:rvrNotDefined:cvnLENOVO:ct10:cvrNone: dmi.product.family: ThinkPad T480s dmi.product.name: 20L8S02D00 dmi.product.sku: LENOVO_MT_20L8_BU_Think_FM_ThinkPad T480s dmi.product.version: ThinkPad T480s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1840454/+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
Re: [Kernel-packages] [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes
On Sat, 2019-08-17 at 05:24 +, Anthony Wong wrote: > On Sat, Aug 17, 2019 at 1:05 AM Srinivas Pandruvada < > srinivas.pandruv...@linux.intel.com> wrote: > > > The patch for changing TCC offset can only be in for 5.4 kernel. > > Then > > there will be no MSR access. > > > > Is it https://lkml.org/lkml/2019/7/22/1286? Should it work when > system is > locked down? Yes. > > > > So the option is to take out of mainline kernel patch to avoid this > > or > > avoid workaround option. > > > > Isn't the workaround option no longer applies to TCC offset > adjustment? TCC adjustment is required for some platform, so either we wait for kernel patch merged or live with lock down errors with MSR accesses. Thanks, Srinivas > -- 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/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes Status in linux package in Ubuntu: Confirmed Status in thermald package in Ubuntu: New Bug description: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu7 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC2: jak5499 F pulseaudio /dev/snd/controlC1: jak5499 F pulseaudio /dev/snd/controlC0: jak5499 F pulseaudio CurrentDesktop: GNOME DistroRelease: Ubuntu 19.10 HibernationDevice: RESUME=none InstallationDate: Installed on 2018-03-14 (520 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180313) MachineType: LENOVO 20L8S02D00 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair Package: thermald 1.9.0-1 PackageArchitecture: amd64 ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.2.0-10-generic root=/dev/mapper/ubuntu--vg-root ro rootflags=subvol=@ ProcVersionSignature: Ubuntu 5.2.0-10.11-generic 5.2.4 RelatedPackageVersions: linux-restricted-modules-5.2.0-10-generic N/A linux-backports-modules-5.2.0-10-generic N/A linux-firmware1.181 Tags: eoan third-party-packages Uname: Linux 5.2.0-10-generic x86_64 UpgradeStatus: Upgraded to eoan on 2018-11-20 (269 days ago) UserGroups: adm cdrom dip fax input kvm libvirt lpadmin lxd plugdev sambashare sbuild sudo _MarkForUpload: True dmi.bios.date: 04/22/2019 dmi.bios.vendor: LENOVO dmi.bios.version: N22ET54W (1.31 ) dmi.board.asset.tag: Not Available dmi.board.name: 20L8S02D00 dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.modalias: dmi:bvnLENOVO:bvrN22ET54W(1.31):bd04/22/2019:svnLENOVO:pn20L8S02D00:pvrThinkPadT480s:rvnLENOVO:rn20L8S02D00:rvrNotDefined:cvnLENOVO:ct10:cvrNone: dmi.product.family: ThinkPad T480s dmi.product.name: 20L8S02D00 dmi.product.sku: LENOVO_MT_20L8_BU_Think_FM_ThinkPad T480s dmi.product.version: ThinkPad T480s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1840454/+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
Re: [Kernel-packages] [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes
On Sat, Aug 17, 2019 at 1:05 AM Srinivas Pandruvada < srinivas.pandruv...@linux.intel.com> wrote: > The patch for changing TCC offset can only be in for 5.4 kernel. Then > there will be no MSR access. > Is it https://lkml.org/lkml/2019/7/22/1286? Should it work when system is locked down? > So the option is to take out of mainline kernel patch to avoid this or > avoid workaround option. > Isn't the workaround option no longer applies to TCC offset adjustment? -- 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/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes Status in linux package in Ubuntu: Confirmed Status in thermald package in Ubuntu: New Bug description: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu7 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC2: jak5499 F pulseaudio /dev/snd/controlC1: jak5499 F pulseaudio /dev/snd/controlC0: jak5499 F pulseaudio CurrentDesktop: GNOME DistroRelease: Ubuntu 19.10 HibernationDevice: RESUME=none InstallationDate: Installed on 2018-03-14 (520 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180313) MachineType: LENOVO 20L8S02D00 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair Package: thermald 1.9.0-1 PackageArchitecture: amd64 ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.2.0-10-generic root=/dev/mapper/ubuntu--vg-root ro rootflags=subvol=@ ProcVersionSignature: Ubuntu 5.2.0-10.11-generic 5.2.4 RelatedPackageVersions: linux-restricted-modules-5.2.0-10-generic N/A linux-backports-modules-5.2.0-10-generic N/A linux-firmware1.181 Tags: eoan third-party-packages Uname: Linux 5.2.0-10-generic x86_64 UpgradeStatus: Upgraded to eoan on 2018-11-20 (269 days ago) UserGroups: adm cdrom dip fax input kvm libvirt lpadmin lxd plugdev sambashare sbuild sudo _MarkForUpload: True dmi.bios.date: 04/22/2019 dmi.bios.vendor: LENOVO dmi.bios.version: N22ET54W (1.31 ) dmi.board.asset.tag: Not Available dmi.board.name: 20L8S02D00 dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.modalias: dmi:bvnLENOVO:bvrN22ET54W(1.31):bd04/22/2019:svnLENOVO:pn20L8S02D00:pvrThinkPadT480s:rvnLENOVO:rn20L8S02D00:rvrNotDefined:cvnLENOVO:ct10:cvrNone: dmi.product.family: ThinkPad T480s dmi.product.name: 20L8S02D00 dmi.product.sku: LENOVO_MT_20L8_BU_Think_FM_ThinkPad T480s dmi.product.version: ThinkPad T480s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1840454/+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
[Kernel-packages] [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes
Noteworthy maybe is that this did not seem to happen in 5.2.0-9, but that one complained about 1b0 Jul 27 16:44:16 jak-t480s kernel: msr: Direct access to MSR 1b0 but far less often :D ** Changed in: linux (Ubuntu) Status: Incomplete => New -- 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/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes Status in linux package in Ubuntu: New Status in thermald package in Ubuntu: New Bug description: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu7 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC2: jak5499 F pulseaudio /dev/snd/controlC1: jak5499 F pulseaudio /dev/snd/controlC0: jak5499 F pulseaudio CurrentDesktop: GNOME DistroRelease: Ubuntu 19.10 HibernationDevice: RESUME=none InstallationDate: Installed on 2018-03-14 (520 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180313) MachineType: LENOVO 20L8S02D00 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair Package: thermald 1.9.0-1 PackageArchitecture: amd64 ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.2.0-10-generic root=/dev/mapper/ubuntu--vg-root ro rootflags=subvol=@ ProcVersionSignature: Ubuntu 5.2.0-10.11-generic 5.2.4 RelatedPackageVersions: linux-restricted-modules-5.2.0-10-generic N/A linux-backports-modules-5.2.0-10-generic N/A linux-firmware1.181 Tags: eoan third-party-packages Uname: Linux 5.2.0-10-generic x86_64 UpgradeStatus: Upgraded to eoan on 2018-11-20 (269 days ago) UserGroups: adm cdrom dip fax input kvm libvirt lpadmin lxd plugdev sambashare sbuild sudo _MarkForUpload: True dmi.bios.date: 04/22/2019 dmi.bios.vendor: LENOVO dmi.bios.version: N22ET54W (1.31 ) dmi.board.asset.tag: Not Available dmi.board.name: 20L8S02D00 dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.modalias: dmi:bvnLENOVO:bvrN22ET54W(1.31):bd04/22/2019:svnLENOVO:pn20L8S02D00:pvrThinkPadT480s:rvnLENOVO:rn20L8S02D00:rvrNotDefined:cvnLENOVO:ct10:cvrNone: dmi.product.family: ThinkPad T480s dmi.product.name: 20L8S02D00 dmi.product.sku: LENOVO_MT_20L8_BU_Think_FM_ThinkPad T480s dmi.product.version: ThinkPad T480s dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1840454/+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
[Kernel-packages] [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes
apport information ** Tags added: apport-collected eoan third-party-packages ** Description changed: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr + --- + ProblemType: Bug + ApportVersion: 2.20.11-0ubuntu7 + Architecture: amd64 + AudioDevicesInUse: + USERPID ACCESS COMMAND + /dev/snd/controlC2: jak5499 F pulseaudio + /dev/snd/controlC1: jak5499 F pulseaudio + /dev/snd/controlC0: jak5499 F pulseaudio + CurrentDesktop: GNOME + DistroRelease: Ubuntu 19.10 + HibernationDevice: RESUME=none + InstallationDate: Installed on 2018-03-14 (520 days ago) + InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180313) + MachineType: LENOVO 20L8S02D00 + NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair + Package: thermald 1.9.0-1 + PackageArchitecture: amd64 + ProcFB: 0 i915drmfb + ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.2.0-10-generic root=/dev/mapper/ubuntu--vg-root ro rootflags=subvol=@ + ProcVersionSignature: Ubuntu 5.2.0-10.11-generic 5.2.4 + RelatedPackageVersions: + linux-restricted-modules-5.2.0-10-generic N/A + linux-backports-modules-5.2.0-10-generic N/A + linux-firmware1.181 + Tags: eoan third-party-packages + Uname: Linux 5.2.0-10-generic x86_64 + UpgradeStatus: Upgraded to eoan on 2018-11-20 (269 days ago) + UserGroups: adm cdrom dip fax input kvm libvirt lpadmin lxd plugdev sambashare sbuild sudo + _MarkForUpload: True + dmi.bios.date: 04/22/2019 + dmi.bios.vendor: LENOVO + dmi.bios.version: N22ET54W (1.31 ) + dmi.board.asset.tag: Not Available + dmi.board.name: 20L8S02D00 + dmi.board.vendor: LENOVO + dmi.board.version: Not Defined + dmi.chassis.asset.tag: No Asset Information + dmi.chassis.type: 10 + dmi.chassis.vendor: LENOVO + dmi.chassis.version: None + dmi.modalias: dmi:bvnLENOVO:bvrN22ET54W(1.31):bd04/22/2019:svnLENOVO:pn20L8S02D00:pvrThinkPadT480s:rvnLENOVO:rn20L8S02D00:rvrNotDefined:cvnLENOVO:ct10:cvrNone: + dmi.product.family: ThinkPad T480s + dmi.product.name: 20L8S02D00 + dmi.product.sku: LENOVO_MT_20L8_BU_Think_FM_ThinkPad T480s + dmi.product.version: ThinkPad T480s + dmi.sys.vendor: LENOVO ** Attachment added: "AlsaInfo.txt" https://bugs.launchpad.net/bugs/1840454/+attachment/5282891/+files/AlsaInfo.txt -- 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/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes Status in linux package in Ubuntu: New Status in thermald package in Ubuntu: New Bug description: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu7 Architecture: amd64 AudioDevicesInUse: USERPID ACCESS COMMAND /dev/snd/controlC2: jak5499 F pulseaudio /dev/snd/controlC1: jak5499 F pulseaudio /dev/snd/controlC0: jak5499 F pulseaudio CurrentDesktop: GNOME DistroRelease: Ubuntu 19.10 HibernationDevice: RESUME=none InstallationDate: Installed on 2018-03-14 (520 days ago)
[Kernel-packages] [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes
The patch for changing TCC offset can only be in for 5.4 kernel. Then there will be no MSR access. So the option is to take out of mainline kernel patch to avoid this or avoid workaround option. I don't know if there are any other options. -- 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/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes Status in linux package in Ubuntu: Incomplete Status in thermald package in Ubuntu: New Bug description: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1840454/+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
[Kernel-packages] [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes
Good point. -- 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/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes Status in linux package in Ubuntu: Incomplete Status in thermald package in Ubuntu: New Bug description: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1840454/+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
[Kernel-packages] [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes
No I think it's because kernel lockdown: commit 708822cdbcd3faab40e83a79b71617e1812a1b06 Author: Matthew Garrett Date: Mon Feb 18 12:44:59 2019 + UBUNTU: SAUCE: (efi-lockdown) x86/msr: Restrict MSR access when the kernel is locked down Writing to MSRs should not be allowed if the kernel is locked down, since it could lead to execution of arbitrary code in kernel mode. Based on a patch by Kees Cook. MSR accesses are logged for the purposes of building up a whitelist as per Alan Cox's suggestion. Signed-off-by: Matthew Garrett Signed-off-by: David Howells Acked-by: Kees Cook Reviewed-by: Thomas Gleixner cc: x...@kernel.org Signed-off-by: Matthew Garrett (cherry picked from commit 323bd1cb92e03558ae3f3a11dd683dcbb23eeaea git://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git) Signed-off-by: Seth Forshee ** Also affects: linux (Ubuntu) Importance: Undecided Status: New -- 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/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes Status in linux package in Ubuntu: New Status in thermald package in Ubuntu: New Bug description: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1840454/+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
[Kernel-packages] [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes
I wonder if the msr module is not loaded. Try sudo modprobe msr -- 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/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes Status in thermald package in Ubuntu: New Bug description: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/1840454/+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
[Kernel-packages] [Bug 1840454] Re: kernel 5.2 disallows thermald's direct MSR writes
Can you try 5.3rc kernel such as https://kernel.ubuntu.com/~kernel- ppa/mainline/v5.3-rc4/? I believe the patchset https://lore.kernel.org/linux- pm/1562766278-7099-1-git-send-email-rui.zh...@intel.com/T/#t is needed, which got merged in 5.3. -- 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/1840454 Title: kernel 5.2 disallows thermald's direct MSR writes Status in thermald package in Ubuntu: New Bug description: thermald/kernel are spamming dmesg now because MSR write is disallowed. jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | wc -l 8688 jak@jak-t480s:~:master$ journalctl -b --since=today | grep msr | tail Aug 16 14:48:57 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:48:57 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:05 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:05 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:13 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:13 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:49:21 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr Aug 16 14:49:21 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s kernel: msr: Direct access to MSR 1a2 Aug 16 14:50:03 jak-t480s thermald[11327]: [WARN]sysfs write failed /dev/cpu/0/msr To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/1840454/+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