[sata_sil] Sata Drive Not Detected

Bug #81595 reported by Andrew H
2
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Fix Released
High
Kyle McMartin

Bug Description

Upon startup, my Seagate SATA 80GB harddrive is not detected. I get:

BUG: at drivers/ata/libata-core.c:4374 ata_hsm_move()
...

in my dmesg. My motherboard is an Asus A7N8X-Deluxe, and I am running Feisty with Linux 2.6.20-5-386. The drive was detected in Edgy.

Revision history for this message
Andrew H (hamiltona) wrote :
Revision history for this message
Andrew H (hamiltona) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Is this Feisty from the Herd 2 media?

Changed in linux-source-2.6.20:
status: Unconfirmed → Needs Info
Revision history for this message
Andrew H (hamiltona) wrote :

No, this is from an updated Edgy install.

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Edgy + kernel image in feisty?
kernel of www.kernel.org or package of feisty?

Revision history for this message
Andrew H (hamiltona) wrote :

I currently have 2.6.20-8-386 running with fully updated feisty packages as of yesterday 2007-02-17. I upgraded from Edgy by changing all my repos from Edgy to Feisty and using apt-get dist-upgrade.

Revision history for this message
Andrew H (hamiltona) wrote :

I was browsing the changelog for 2.6.21-rc2:
http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.21-rc2,
and saw a possible fix for this issue. Commit: e2f8fb72144a9f38d44ccf3f939e939392eda659
 says:
"sata_sil: ignore and clear spurious IRQs while executing commands by polling

    sata_sil used to trigger HSM error if IRQ occurs during polling
    command. This didn't matter because polling wasn't used in sata_sil.
    However, as of 2.6.20, all IDENTIFYs are performed by polling and
    device detection sometimes fails due to spurious IRQ. This patch
    makes sata_sil ignore and clear spurious IRQ while executing commands
    by polling."

I haven't tried this new kernel, but could if that is necessary.

Revision history for this message
Andrew H (hamiltona) wrote :

I applied the fix included in the patch above, and the problem was solved. I was able to mount my SATA drive with no problems.

Revision history for this message
Kyle McMartin (kyle) wrote :

Thanks, I'll look at including this. Good work tracking it down!

Cheers,
 Kyle

Changed in linux-source-2.6.20:
assignee: nobody → kyle
importance: Undecided → High
status: Needs Info → In Progress
Revision history for this message
Kyle McMartin (kyle) wrote :

Ok. Found the patch that fixes this. Will make sure it makes it into Herd 6.

Thanks for your hard work.
  Kyle

Kyle McMartin (kyle)
Changed in linux-source-2.6.20:
status: In Progress → Fix Committed
Revision history for this message
Kyle McMartin (kyle) wrote :

Fixed in 2.6.20-10.

Changed in linux-source-2.6.20:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.