LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-05-2018, 08:19 PM   #1
NoniM
LQ Newbie
 
Registered: May 2018
Posts: 4

Rep: Reputation: Disabled
CPU is stuck on lowest frequency after resume from suspend


I am running xubuntu 18.04 (kernel version 4.15.0-36) on a Lenovo yoga 11e laptop. After resuming from suspend, frequency scaling works fine on cores 0 and 1 but cores 2 and 3 are stuck at 480 MHz. I have attached the output of cpufreq-info while the machine is being stressed with stress -c 4. I have also attached /proc/cpuinfo.

The same behaviour appears regardless of which cpu frequency governor is set, and using either the intel_pstate driver or the acpi-cpufreq driver. The frequency cannot be set manually with cpufreq-set. As recommended in other threads, I have tried setting /sys/module/processor/parameters/ignore_ppc to 1, but this does not help. Some other threads recommended checking the output of rdmsr -a 0x19a. Here is the output (after resuming from suspend):

rdmsr -a 0x19a
0
0
0
0

Any help would be appreciated.
Attached Files
File Type: log cpufreq-info.log (4.1 KB, 10 views)
File Type: log cpuinfo.log (3.9 KB, 10 views)
 
Old 10-06-2018, 06:07 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Lenovo and Thinkpads have many kernel options applying to them specifically. They were always non standard from the get-go. Other laptops are likewise (e.g. Sony Viao). Kernels can't always enable these quirks because a) They will break or reduce performance for the majority of bog standard chipsets or b) They will freak other non standard stuff.

From
Code:
grep -ir lenovo /usr/src/linux*/*
There's Documentation about thinkpad-acpi, there's stuff in the acpi, all input/hid/network stuff.

You could do worse than check out how the land lies there for you.
 
Old 10-06-2018, 11:21 AM   #3
NoniM
LQ Newbie
 
Registered: May 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
Attached is the output of grep -ir -A 2 lenovo/usr/src/linux*/*
Is there anything here that looks relevant?
Attached Files
File Type: log drivers.log (16.3 KB, 12 views)
 
Old 10-07-2018, 05:28 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I can grep my own kernel, but thanks. The acpi stuff looks relevant. Also the Documentation/laptops/thinkpad-acpi.txt. You need to find out if your model needs tweaks to the existing acpi settings.

I'm not a thinkpad/lenovo owner, btw.
 
Old 10-10-2018, 12:45 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Lenovo, Dell and HP are such massively huge PC manufacturers that they can compel IC manufacturers to produce ICs just for their products. Such components have no published data sheets, so no one can find out about them! Also, being behemoths in PC manufacturing, they have the resources to add custom drivers and software that also have no documentation available to the general public.

Every PC I ever owned by Dell, IBM, Lenovo or HP had proprietary hardware quirks when used with Linux. The best one can do is plead their case to the manufacturer for Linux support.
 
Old 10-10-2018, 02:09 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
It's not that the big players compel manufacturers, I thought, but that they had the turnover to invest. For about $25k up, you can get an Application Specific Integrated Circuit (ASIC) designed for a specific fab size. The model is: design -->FPGA prototype --> ASIC. That gets you tooling to build your IC. That's how things are done. All those big square chips in mobile phones & pcs are ASICs. They incorporate IP cores from many other smaller chips perhaps in many cases once sold as discrete hardware.

Now an ASIC on Samsung's 11 or 14nm fab would be pricier than an older slower design running perhaps on 40nm fab, because the resulting device would be slower, and consume more current.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU Governor defaults after resume or suspend G-Known Linux - Software 4 08-19-2013 10:00 PM
LXer: Automatically Resume from Suspend to Ram and Suspend to Disk to Save Battery in Linux LXer Syndicated Linux News 0 05-10-2013 02:40 AM
High CPU temp after resume from suspend.... STDOUBT Slackware 6 03-27-2013 05:51 PM
[SOLVED] Why do nVida drivers hose suspend/resume or hibernate/resume? taylorkh Linux - Hardware 3 06-23-2011 01:09 PM
High CPU usage after suspend/resume michal017 Linux - Software 4 03-18-2011 03:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration