GithubHelp home page GithubHelp logo

bd_prochot_disable_module's People

Contributors

systemofapwne avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bd_prochot_disable_module's Issues

Help needed

Hi, thanks for this repo.
I am using ubuntu 20.04 LTS with dell optiplex 3050 SFF that is throttled due to using non-genuine power adapter.

I managed to build kernel module, and when I load it I see value changed, but still cpu speed is locked to 800mhz and I cant find a way to set it to higher values.

cpufreq-info output:
$ cpufreq-info cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to [email protected], please. analyzing CPU 0: driver: intel_pstate CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 4294.55 ms. hardware limits: 800 MHz - 800 MHz available cpufreq governors: performance, powersave current policy: frequency should be within 800 MHz and 800 MHz. The governor "perfomance" may decide which speed to use within this range. current CPU frequency is 800 MHz.
0x1FC value after module ran:

$ sudo rdmsr -a -d 0x1FC 2883676 2883676 2883676 2883676
journalctl after module load:

lis 01 09:13:50 nix kernel: intel_msr: loading out-of-tree module taints kernel. lis 01 09:13:50 nix kernel: intel_msr: module verification failed: signature and/or required key missing - tainting kernel lis 01 09:13:50 nix kernel: intel_msr: Current value is: 0x2c005d. Writing new value 0x2c005c on 0x1fc msr... lis 01 09:13:50 nix kernel: intel_msr: Done. New value is: 0x2c005c
Am I wrong thinking cpu speed would unlock from 800mhz by itself?

Even tried without any luck

sudo cpufreq-set -c 0 -d 3GHz

Of course I have msr writes enabled:

msr.allow_writes=on

I even tried blacklisting intel_rapl_msr and intel_rapl_common modules. Currently this is lsmod at boot time:
$ lsmod | grep msr intel_msr 16384 0 msr 16384 0

And also did disable intel_pstate, so now cpufreq driver is acpi-cpufreq, but again, no luck with getting higher speeds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.