Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 570956 - sys-apps/lm_sensors-3.4.0: /usr/sbin/fancontrol: line 552: echo: write error: Device or resource busy
Summary: sys-apps/lm_sensors-3.4.0: /usr/sbin/fancontrol: line 552: echo: write error:...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Deutschmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-05 12:59 UTC by Dimitrios Semitsoglou-Tsiapos
Modified: 2017-08-09 15:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/fancontrol (file_570956.txt,358 bytes, text/plain)
2016-01-05 12:59 UTC, Dimitrios Semitsoglou-Tsiapos
Details
fancontrol output (file_570956.txt,518 bytes, text/plain)
2016-01-05 12:59 UTC, Dimitrios Semitsoglou-Tsiapos
Details

Note You need to log in before you can comment on or make changes to this bug.
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.