Re: Strange behaviour with SATA disks. Light always ON

From: Paulo da Silva
Date: Wed Sep 28 2005 - 15:14:46 EST


Jens Axboe wrote:

On Mon, Sep 26 2005, Paulo da Silva wrote:


Hi!
I don't know if this is the right place to ask
about this, or even if this is a problem at all.

Anyway I didn't find relevant information on
this ...

I have just bought a new PC with two SATA drives.
I had no problems to have them working,
apparently fine except for one thing:
After reading the kernel, the driver access light (led?)
is always on!
Is this normal? Why?



It's a bug in the ahci driver in the kernel, if you upgrade to a newer
kernel it is fixed there. The changeset of interest is:

http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=c0b34ad2956036cdba87792d6c46d8f491539df1;hp=9309049544935f804b745aa4dea043fb39b2bf2a



I patched it by hand (just deleting 2 lines).
I works fine now!!!
I searched for a solution using "access light "
keywords, but should have used "LED" instead :-(

Thank you.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/