Description of problem:
This happens during resume from sleep.
It happened at least twice since an upgrade two days ago to kernel 4.6.4-201.fc23.x86_64
Apart from the warnings (several per resume?), I don't see anything go wrong. (I made this report before rebooting :).
CONFESSION: The multiple backtraces appear to confuse ABRT. The first backtrace is untainted, but obviouslly later ones are not. ABRT refused to let me report the bug. Therefore I hacked the report - just removing the taint files. I haven't touched dmesg - it still shows backtraces after the first as tainted.
WARNING: CPU: 0 PID: 5075 at drivers/cpufreq/cpufreq.c:2173 cpufreq_update_policy+0x102/0x150
Modules linked in: vfat fat fuse ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_security ip6table_mangle ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_raw ip6table_filter ip6_tables iptable_security iptable_mangle iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_raw coretemp kvm_intel kvm iTCO_wdt arc4 iTCO_vendor_support mei_wdt iwldvm irqbypass mac80211 crct10dif_pclmul crc32_pclmul crc32c_intel snd_hda_codec_hdmi ghash_clmulni_intel snd_hda_codec_conexant snd_hda_codec_generic iwlwifi uvcvideo snd_hda_intel snd_hda_codec videobuf2_vmalloc
snd_hda_core cfg80211 videobuf2_memops videobuf2_v4l2 videobuf2_core snd_hwdep snd_seq videodev joydev snd_seq_device media snd_pcm intel_ips i2c_i801 lpc_ich mei_me snd_timer mei shpchp acpi_cpufreq thinkpad_acpi wmi snd soundcore rfkill tpm_tis tpm i915 i2c_algo_bit drm_kms_helper serio_raw ums_realtek uas usb_storage drm e1000e ptp pps_core fjes video
CPU: 0 PID: 5075 Comm: kworker/0:2 Tainted: G W 4.6.4-201.fc23.x86_64 #1
Hardware name: LENOVO 3680FZ2/3680FZ2, BIOS 6QET70WW (1.40 ) 10/11/2012
Workqueue: kacpi_notify acpi_os_execute_deferred
0000000000000286 0000000051767350 ffff880094d37b98 ffffffff813d90de
0000000000000000 0000000000000000 ffff880094d37bd8 ffffffff810a732b
0000087d00000001 ffff880131846000 00000000fffffffb ffff880131846110
[<ffffffff8166aaf0>] ? cpufreq_update_policy+0x150/0x150
[<ffffffff817d5dbd>] ? __schedule+0x2ed/0x790
[<ffffffff810c0e10>] ? process_one_work+0x430/0x430
[<ffffffff810c0e10>] ? process_one_work+0x430/0x430
[<ffffffff810cf0fa>] ? finish_task_switch+0x7a/0x260
[<ffffffff810c6bc0>] ? kthread_worker_fn+0x170/0x170
Potential duplicate: bug 1357917
Created attachment 1184601 [details]
same here happens in all resumes from sleep , also found in ask a similar problem , I think, https://ask.fedoraproject.org/en/question/29705/how-to-fix-temperature-threshold-cpu-throttled-errors/?answer=91650#post-id-91650
After downgrade to microcode_ctl-2.1-10.fc23.x86_64 run "dracut --kver 4.6.5-200.fc23.x86_64 --force " for all kernels and reboot again , I was able to fix this kernels oops .
Suggested fix/workaround does not work for me.
My working hypothesis was the WARNING happened due to recent cpufreq rewrite, and hence would not be related to microcode. So it's quite frustrating to have the issue I reported re-assigned to microcode, without an explanation of why that was considered a candidate cause :-(.
Note the cpufreq changes would be consistent with it being in kernel version 4.6 and not 4.5. See https://lwn.net/Articles/682391/
Note for me, I'm finding the WARNING does _not_ happen every suspend. I have to follow the sequence below to get it. _Then_ it triggers reliably, I believe. (I have... some experience with reproducing annoying ACPI bugs :). My hope is something similar (not necessarily exactly the same) led to you thinking microcode was responsible. It would be great if you could think about your testing, and whether that's a possibility in your case.
- thinkpad running on AC power
- enter suspend *specifically* by closing the lid
- unplug from AC power
- re-open lid, triggering resume from suspend
 Downgraded to microcode_ctl-2:2.1-9.1.fc23.x86_64, ran "dracut --force" to regenerate current initrd, which mentions my current kernel version 4.6.4-201.fc23.x86_64. Rebooted. WARNING message still occurred.
Versions seems slightly different on Sergio machine - proposed-updates?
To use the new microcode, initrd for the kernel to boot needs to be (re)created after the new microcode_ctl package is installed. This is done automatically by a new installed kernel package, or you can do it manually using dracut (see "man dracut"). For example, for the current running kernel, run
But that's what I did?
"Downgraded to microcode_ctl-2:2.1-9.1.fc23.x86_64, ran "dracut --force" to regenerate current initrd, which mentions my current kernel version 4.6.4-201.fc23.x86_64. Rebooted. WARNING message still occurred."
> For example, for the current running kernel, run
It looks like you were trying to suggest a specific command, but it got eaten somewhere?
Also my system reliably boots. Symptoms like boot failure as per #1353103 are more like what I would have thought CPU microcode issues would do.
(In reply to Alan Jenkins from comment #7)
> But that's what I did?
> "Downgraded to microcode_ctl-2:2.1-9.1.fc23.x86_64, ran "dracut --force" to
> regenerate current initrd, which mentions my current kernel version
> 4.6.4-201.fc23.x86_64. Rebooted. WARNING message still occurred."
no , Downgraded to microcode_ctl-2:2.1-9.1.fc23.x86_64 , reboot , to an old kernel preferably, that haven't this issues , after boot with old microcode_ctl run "dracut --force"
> > For example, for the current running kernel, run
> It looks like you were trying to suggest a specific command, but it got
> eaten somewhere?
Sorry. I don't believe that's needed.
Please, can you write and/or copy-paste your own issue against microcode_ctl.
If a third party decides we have the same issue, that's not a problem. Issues can always be marked as duplicates.
cpufreq was changed in kernel version 4.6. WARNING messages from cpufreq starting in version kernel 4.6, are most likely caused by this.
CPU microcode issues are unusual, and expected to have much more impact (like complete failure during boot).
Well https://paste.fedoraproject.org/396654/69672341/ line 1001  doesn't happens to me anymore , you have several bugs opened , TBH now I'm using kernel 4.6.5-200.fc23.x86_64 and not 4.6.4 ...
[ 836.906123] WARNING: CPU: 0 PID: 53 at drivers/cpufreq/cpufreq.c:2173 cpufreq_update_policy+0x102/0x150
> you have several bugs opened
I'm still struggling to understand you. But I guess I'm in the process of upgrading to Fedora 24. ABRT shows us a separate bug for Fedora 24, which is still assigned to the kernel package.
So actually I shouldn't mind, if you switch this bug back again to the microcode_ctl package. (It will at least make the assignee consistent again - my bad).
I can subscribe to the Fedora 24 bug. The reason I wanted to report this to the kernel team, was that ABRT was failing to report it automatically. It looks like ABRT has been reporting it correctly for Fedora 24, so I can be confident the message will get through to the kernel developer(s) who are rewriting cpufreq.
(In reply to Alan Jenkins from comment #12)
> > you have several bugs opened
1351943 1352700 1353061 1353586 1357317 1357862 and 1361183 and this one at least
> I'm still struggling to understand you.
Sorry , for my weak English, what I can say ? , after downgrade microcode_ctl , I boot with kernel-4.5.7-202.fc23.x86_64 , I update initramfs and this problem has gone is what I can tell you, if kernel-4.6.5 makes difference to 4.6.4, etc I don't know, I just follow the instructions ( https://www.happyassassin.net/2016/07/07/psa-failure-to-boot-after-kernel-update-on-skylake-systems/ )
The bug is yours, I'm not going to change it.
I lost more than one day with very stupid problems, just after regenerate initramfs, never understood well what happened, but now, that things are running well, I will not do more tests.
This was one hell of week, they update in F23 ! kernel, microcode_ctl and kde plasma 5.7.1 all buggy ! , without fully test in F24 or rawhide, that is what makes me mad and also I'm tired .
Sorry for any inconvenience .
I speak to early (even with microcode_ctl-2.1-10), on second resume from sleep I got again :
[12530.888028] WARNING: CPU: 0 PID: 15865 at drivers/cpufreq/cpufreq.c:2173 cpufreq_update_policy+0x102/0x150
:/ , so it is kernel your are right.
*** Bug 1364983 has been marked as a duplicate of this bug. ***
kernel 4.7.0-300.fc24 from kernel packages maintainers  fix this issue for me.
This used to happen on every single wakeup with kernels 4.6.3 to 4.6.5; since updating to kernel 4.6.6-200.fc23, I counted 26 wakeups in the logs, without any WARNING at all. I upgraded yesterday to kernel 4.6.7-200.fc23: 4 wakeups without any issues. I assume the problem was fixed?
Neat, it looks like the fix for cpufreq_update_policy() got into 4.6.6-stable.
ABRT hasn't been bugging me either lately. I think this bug could be closed.
yes, I think so , closing this bug.
FYI I'm running kernels from "official" repo "Rawhide kernels built without debugging turned on" and since kernel-4.8.0-0.rc6.git0.1.fc26.x86_64 performance of laptop, especially of thermal and fans etc looks great again on my DELL Latitude E6410 ...