Skip to contentSkip to conversation

patch file for ahci.c

DISCUSSION Cyber Source 2 participants 2 messages Sep 9, 2009 libata

lore
Share & tools
lore
#0 lore raw

Hello Jeff,
I was hoping you could help me with a patch that I need for the ahci.c
file. I am specifically referring to this, it appears to be the fix that I need. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bd17243a84632465f5403bc9eb8b4831bd67e582
I am having a hard time implementing this change. I don't see where this patch can be download and or what kernel it's been patched against. I see the diffs but again, don't know what the original file is from. I have downloaded the full 2.6.30 kernel and then applied the full kernel patch 2.6.31-rc9 in hopes that the patch/change would have been included, but it wasn't, still had the soft-reset error. I then tried to download the b/drivers/ata/ahci.c file from the git.kernel link above and did a diff against the one from the above kernel and patch and then it failed upon compile when it hit that file saying error on lines 1604 and 1605 expecting a ";'" before "if". Could you please help me with this. This is for a laptop and I cannot change out the controller. Thanks for any help, Peter* *

Signature · 4 lines
cybersource.us
115 Richfield Road
Williamsville, New York 14221
716-553-8525
#1 lore raw
Quoted 7 lines · Cyber Source

Hello Jeff,
 I was hoping you could help me with a patch that I need for the ahci.c file. I am specifically referring to this, it appears to be the fix that I need.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bd17243a84632465f5403bc9eb8b4831bd67e582
I am having a hard time implementing this change. I don't see where this patch can be download and or what kernel it's been patched against.

I just checked. This patch is included in the 2.6.30 kernel:

    http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.6.tar.bz2

and the latest 2.6.31-rc9 tree.

Quoted 5 lines

I see
the diffs but again, don't know what the original file is from. I have downloaded the full 2.6.30 kernel and then applied the full kernel patch 2.6.31-rc9 in hopes that the patch/change would have been included, but it wasn't,

It definitely is.

Quoted 1 line

still had the soft-reset error.

Can you test the 2.6.31-rc9 *OR* 2.6.30.6 kernel and include the full console output when reproducing the problem?
I expect you are having a different problem than this patch fixes.

Quoted 6 lines

I then tried to download the
b/drivers/ata/ahci.c file from the git.kernel link above and did a diff against the one from the above kernel and patch and then it failed upon compile when it hit that file saying error on lines 1604 and 1605 expecting a ";'" before "if". Could you please help me with this. This is for a laptop and I cannot change out the controller. Thanks for any help, Peter*

Please just grab either of the above source trees and post the "dmesg" output after you've reproduced the problem.

hth,
grant