Re: AHCI backplane errors in 2.6.27

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frank D. Cringle wrote:
Lazy <lazy404@xxxxxxxxx> writes:
When booting 2.6.27-rc1 kernel on out intel SR1530HSH ( Quad core Xeon X3320)
Sata controller is ICH9r running in AHCI mode with newest bios.

After loading ahci driver backplane leds go amber which indicates a
non fatal error according to my intel resseller.

I see the same effect on a "FUJITSU SIEMENS PRIMERGY TX150 S6" which
also has a ICH9r, running with the fake megaraid disabled in the bios.
This has 4 hotswap drive bays. When I boot from drive 0, the remaining
drives all blink their orange fault led.

ahci_sw_activity_blink should only be changing the state of
the activity led only when emp->activity has changed.

From the sata ahci spec for Byte 2-3 of the led message

The LED bit locations are:
       Bits 2:0 - Activity LED (may be driven by hardware)
       Bits 5:3 - Vendor Specific LED (e.g. locate)
       Bits 8:6 - Vendor Specific LED (e.g. fault)
       Bits 15:9 - Reserved

Does this patch (against 2.6.27) make a difference?

Thanks,
David


It is possible to suppress the blinking with the boot parameter
ahci.ahci_em_messages=0.


diff -Nurp linux-2.6.27.orig/drivers/ata/ahci.c linux-2.6.27/drivers/ata/ahci.c
--- linux-2.6.27.orig/drivers/ata/ahci.c	2008-10-09 18:13:53.000000000 -0400
+++ linux-2.6.27/drivers/ata/ahci.c	2008-11-19 12:56:04.000000000 -0500
@@ -1220,7 +1220,7 @@ static void ahci_sw_activity_blink(unsig
 	unsigned long led_message = emp->led_state;
 	u32 activity_led_state;
 
-	led_message &= 0xffff0000;
+	led_message &= 0x00070000;
 	led_message |= ap->port_no | (link->pmp << 8);
 
 	/* check to see if we've had activity.  If so,

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux