LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-23-2021, 10:09 AM   #1
jopema
LQ Newbie
 
Registered: Sep 2018
Posts: 14

Rep: Reputation: Disabled
Rmmod module still active although removed.


Dear forum.
Main reason I'm not using Linux is because of CPU fan. Most Linux distributions spins up cpu fan max and most people withstand that but not me. In windows you just download any CPU fan controller and shut off the fan, done. Burning a cpu is ridiculous exagerated, I have never been able burning a cpu how hard I tried, even when I forgot to activate fan when compiling over night the damn computer is still alive and I don't get a new one.

Now I have to use a Linux for different reasons and fan is driving me crazy, all though the fan module is removed with rmmod or modprobe -r the module is removed when doing a lsmod but the CPU fan is still making noise so somehow it is still active. Is there anyway I can kill a module completely, just make the CPU fan dead, done, gone. I will not use Linux if I can't have a silent computer like it is in quiet cool and efficient windows. Yes I can cut the wire but I want to use fan when compiling big files over night to avoid thermal throttling.

Out of experience I know there will be discussion if I should be allowed switching off fan but let me message that any computer not adhering to my requirements will be broken over my knee, I have done it before because I have good backup hygiene and I will do it again but that does not solve the issue with bad software.

Please have mercy.
 
Old 02-23-2021, 10:22 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
Main reason I'm not using Linux is because of CPU fan. Most Linux distributions spins up cpu fan max
not quite true

i have been using fedora and RHEL ( cent,scientificLinux) and opensuse for YEARS!!!!
and on the old boxs and my new one this has NOT been a issue
the fan works just fine


please post your hardware specs .
 
Old 02-23-2021, 12:58 PM   #3
jopema
LQ Newbie
 
Registered: Sep 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
Nope.
The CPU fan function shall be removed, either with Linux or by removing linux. I will not spend days tinkering in terminal or posting hardware specs, I was tricked into this before and wasted hours on nothing, will not do it again. If you don't know how to remove the CPU fan function please don't post in this thread.
 
Old 02-23-2021, 02:39 PM   #4
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
You should have a /etc/modprobe.d directory.
Create a file in there with .conf extension as root or sudo, something like "10-fanoffatboot.conf"
In that file put your rmmod command, no need to fuss with permissions or anything.
But generally, this is the purpose of this directory and the action you specify should be applied at bootup.
When you want to run the fan, load the module, this file only applies at bootup.
 
1 members found this post helpful.
Old 02-23-2021, 02:51 PM   #5
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Sometimes, there's another loaded module preventing the unloading of another. This is where you need to investigate which modules are linked to the one you want to remove and remove them at the same time.

Other than that, you'll have to resort to installing adequate software, and/or enabling proper features in the kernel.

Last edited by Brains; 02-23-2021 at 02:52 PM.
 
1 members found this post helpful.
Old 02-23-2021, 05:08 PM   #6
jopema
LQ Newbie
 
Registered: Sep 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
[QUOTE=Brains;6223743]Sometimes, there's another loaded module preventing the unloading of another. This is where you need to investigate which modules are linked to the one you want to remove and remove them at the same time.

Thank you for tips. When I check with lsmod the module I zoomed into (fan) is unloaded with rmmod and loaded back in again on modprobe. Im confused the fan can work allthough module is unloaded so obviosly Iam doing wrong but how can I check what is controlling the cpufan ? I browsed the kernel docs and according to documentation it should be the "fan" module (fan.ko). I always gets stressed using linux because I have to invest more time in get the tool (computer) function properly than using the tool for the actual work. Is there any other way to check if module is active than lsmod ? If I understand you right your strategy is to blacklist module allready at boot instead of unload when running ?...so many questions =0)

After reading this thread that sounds like me Im tempted unloading the acpi but I always believed acpi does more than just the fan.

https://www.linuxquestions.org/quest...ensors-853460/
 
Old 02-23-2021, 05:33 PM   #7
jopema
LQ Newbie
 
Registered: Sep 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
I went wild and unloaded everything. Some modules wasn't allowed being unloaded because they where in use but I was able killing USB ports, keyboard, wifi card, most functions except that fan. I'm starting suspect the CPU fan will still spin if I smash the computer to pieces with a hammer and I'm tempted to find out.
 
Old 02-23-2021, 11:58 PM   #8
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
I know where you're coming from, my old Dell XPS was a high end unit in it's day and came with a lot of fans and the CPU fan was big and noisy. Didn't seem to be a problem when I had it in the storage room next to the desk with cables running through the wall, that's how I fixed that, got to open the door to power on the computer but I survived.

I imagine a computer with Linux preinstalled, everything works as it should just like everything works in Windows on a computer that came with Windows preinstalled.

If your computer is anything like my old XPS, fiddling with kernel modules likely won't stop it. You say it's quieter in Windows, Windows was likely designed around the computer and has support for the thermal sensors which would govern the fan speed. Linux can probably do the same if thermal settings appropriate for your computer are enabled in the kernel (most mainline Linux enable "some" thermal support), and appropriate software to work with those sensors is installed.

Since my solution is to put the computer in another room, leaves me with little else without hardware specs.
 
1 members found this post helpful.
Old 02-24-2021, 02:05 AM   #9
jopema
LQ Newbie
 
Registered: Sep 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
I'm unsure if I realize difference how windows - linux regulates the fan, it is just that in windows there are small fixes like speed fan I can download that let me shut off / control the fan manually.
 
Old 02-24-2021, 02:29 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Just a rehash of these:
https://www.linuxquestions.org/quest...ux-4175669205/
https://www.linuxquestions.org/quest...ck-4175639310/

Anyhow, if your fan is spinning wildly on Linux but not on Windows (on the same machine), I suspect the problem is elsewhere, and fixable. Serious troubleshooting and a willingness to accept different explanations would be required. But you haven't done any of that in your previous threads, either...

And if you're really so sure it's OK, why don't you just remove the fan completely? Or snip the wires?
 
Old 02-24-2021, 03:44 PM   #11
jopema
LQ Newbie
 
Registered: Sep 2018
Posts: 14

Original Poster
Rep: Reputation: Disabled
@ondoho.

Do not interfere in this thread if you have difficulties reading and understanding. As I written here I have no interest tuning cpufreq or cpufan, I want the possibility to disable CPU fan exact same way windows offer.
 
Old 02-24-2021, 04:20 PM   #12
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,605

Rep: Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548Reputation: 2548
Quote:
Originally Posted by jopema View Post
... I will not spend days tinkering in terminal or posting hardware specs ...
Easiest way to stop a fan running without worrying about settings is to not have a fan at all.

https://www.quietpc.com/silent-home-office-pcs

 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rmmod not deleting module from /proc/devices zman2245 Linux - Newbie 1 09-14-2012 05:55 AM
Linux 2.6 PCI driver module causing kernel panic on remove (rmmod) briek Linux - Software 2 09-18-2006 10:04 AM
making sys call ex:insmod,rmmod from function in user module shashishankar_h Linux - General 1 09-01-2005 12:36 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:36 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