Bug 878042

Summary: LED for the on-board SATA controllers flashes regularly despite none of the connected devices are mounted
Product: [Fedora] Fedora Reporter: hw
Component: ledmonAssignee: Michal Sekletar <msekleta>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dennis, hw, jsynacek, lukasz.dorau, michalx.sorn, msekleta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-16 11:06:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description hw 2012-11-19 14:26:07 UTC
Description of problem:

As it says in the summary, the LED for the on-board SATA controllers flashes regularly (about once per second) despite none of the connected devices are mounted.  There doesn't seem to be any way to turn that off.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Lukasz Dorau 2013-02-12 10:56:04 UTC
Does LED blink also if ledmon is not running? 
Try this:
# kill $(pidof ledmon)
# ledctl off={ /dev/sd[a-z] }
If LED still blinks it is not caused by ledmon. 

The LED can blink if hotplugs are disabled for a SATA drive in BIOS (it is disabled by default). Try enabling hotplugs for SATA drives in BIOS. It should help.

Comment 2 hw 2013-02-12 22:17:35 UTC
Thank you for the info! Running 'ps -xca |grep led' yields no results, and ledctl doesn't seem to be installed.

There is no option in the BIOS for hotplugging SATA drives that I am aware of.  The mainboard is an MSI 790FX-GD70 and may be too old to have an option for this.

I'm still suspecting udev like it was with Debian, yet there is no indication in the process list for anything monitoring SATA devices.

Comment 3 Lukasz Dorau 2013-02-13 08:34:23 UTC
ledctl is a part of ledmon package, so if you don't have ledctl installed, it means that you probably don't have the ledmon package installed. You can check it with:
# rpm -qa | grep ledmon
If you don't have the ledmon package installed, it isn't a bug of ledmon component.
I suppose it can be caused by BIOS SATA settings and/or AHCI driver.

Comment 4 hw 2013-03-20 06:17:45 UTC
The package ledmon is not installed.  The BIOS doesn't make the LED flash by itself.


[root@yun ~]# lsmod |grep ata
ata_generic            12911  0 
pata_acpi              13039  0 
pata_atiixp            13272  0 
pata_jmicron           12759  0 
[root@yun ~]# rmmod ata_generic
[root@yun ~]# rmmod pata_acpi
[root@yun ~]# rmmod pata_atiixp
[root@yun ~]# rmmod pata_jmicron
[root@yun ~]# lsmod |grep ata
[root@yun ~]# 


Uhm, the light is still flashing after this!  What might be left that could cause it?

Comment 5 Fedora End Of Life 2013-04-03 16:25:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 6 hw 2013-07-16 11:06:25 UTC
I happened to turn off one of the SATA controllers of the mainboard, and since then, the HDD LED doesn't flash anymore.

Since there hasn't been anything to find in Fedora that might cause the flashing and since apparently turning off the controller fixed it, indicating that it might be caused by the BIOS as was suspected, I think this bug can be closed.