* sata driver fails to work after resume from S3
@ 2007-01-26 7:46 Zhang Rui
2007-01-30 3:09 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Rui @ 2007-01-26 7:46 UTC (permalink / raw)
To: jgarzik, forrest.zhao, kristen.c.accardi; +Cc: linux-ide, linux-acpi
Hi,
I met a problem that sata driver fails to work after resume from S3.
The kernel version is 2.6.16.33.
After resume from S3,
I got the following messages:
First, "ATA: abnormal status 0x80 on port 0x1F7" for 3 times.
Then, "sd 0:0:0(sometimes is 1):0: SCSI error: return code=0x40000
end_request: I/O error, dev sdb, sector ....
Buffer I/O error on device dm-0, logical block...
lost page write due to I/O error on device dm-0"
keeps on popping up.
Finally I got a message saying that "Remounting filesystem read-only"
and can't access the disk any more.
The problem is exactly like bug6262 in bugzilla, except for
this happens when I set SATA mode to "compatibility"(not "AHCI").
I can confirm that it is fixed in the 2.6.18.
But how to make SATA drive S3 work properly in 2.6.16.33?
I found several similar bugs, but the final conclusion I got is
"This is fixed in linux-2.6.18..." and I can not find the original patches
against this problem.
I think the patch set "ACPI support for SATA/PATA" from Forrest and
updated by Kristen may be helpful. But I can't apply them to 2.6.16.33
due to too much changes in sata driver.
Do I need to open a bug report in bugzilla?
Does the patch set really make sense to my problem?
If so, any patch I should apply first?
If not, which patches I should test?
Is there anyone who could show me what I should do please?
Any comment is appreciated. Thanks in advance.
Thanks,
Rui
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sata driver fails to work after resume from S3
2007-01-26 7:46 sata driver fails to work after resume from S3 Zhang Rui
@ 2007-01-30 3:09 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2007-01-30 3:09 UTC (permalink / raw)
To: Zhang Rui; +Cc: jgarzik, forrest.zhao, kristen.c.accardi, linux-ide, linux-acpi
Zhang Rui wrote:
> But how to make SATA drive S3 work properly in 2.6.16.33?
There is no simple patch which can fix S3 support in 2.6.16. You need
to backport whole libata EH including PM support. If you absolutely
have to keep using 2.6.16.33, consider backporting libata as a whole
from 2.6.19 (it wouldn't be easy unless you're familiar with libata and
SCSI). Otherwise, just use kernel >= 2.6.18.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-30 3:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-26 7:46 sata driver fails to work after resume from S3 Zhang Rui
2007-01-30 3:09 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).