Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 570956

Summary: sys-apps/lm_sensors-3.4.0: /usr/sbin/fancontrol: line 552: echo: write error: Device or resource busy
Product: Gentoo Linux Reporter: Dimitrios Semitsoglou-Tsiapos <kmhzsem>
Component: Current packagesAssignee: Thomas Deutschmann (RETIRED) <whissi>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /etc/fancontrol
fancontrol output

Description Dimitrios Semitsoglou-Tsiapos 2016-01-05 12:59:07 UTC
sys-apps/lm_sensors-3.4.0 and sys-apps/lm_sensors-3.3.5 both crash when the system goes into suspend.

It appears that this happens because my pwm device becomes temporarily unavailable.

--

Motherboard: Gigabyte H97M-D3H
BIOS Version: F6


Reproducible: Always

Steps to Reproduce:
1. Start fancontrol
2. echo mem > /sys/power/state
3. Resume the system
Comment 1 Dimitrios Semitsoglou-Tsiapos 2016-01-05 12:59:21 UTC
Created attachment 421954 [details]
/etc/fancontrol
Comment 2 Dimitrios Semitsoglou-Tsiapos 2016-01-05 12:59:51 UTC
Created attachment 421956 [details]
fancontrol output
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2016-08-09 14:10:33 UTC
Well, this is probably a "it87" driver issue (at least in 2015 no support for suspend/resume was implemented). Fancontrol is just a Bash script...

Have you tried to reproduce the issue with a recent kernel? Workaround:

1. Stop fancontrol service on suspend

2. On resume reload it87 module and start fancontrol again
Comment 4 Dimitrios Semitsoglou-Tsiapos 2017-08-09 15:23:00 UTC
Apologies for the late reply. I no longer have access to the problematic hardware, so it may be best to close this.