Bug 114648 - Suspend to Disk broken for SATA hard drives with kotd-20050831104926
Summary: Suspend to Disk broken for SATA hard drives with kotd-20050831104926
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Beta 4
Hardware: Other All
: P5 - None : Blocker
Target Milestone: ---
Assignee: Jens Axboe
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 08:29 UTC by Stefan Behlert
Modified: 2005-09-02 10:11 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
photo of crash (192.62 KB, image/jpeg)
2005-09-01 08:30 UTC, Stefan Behlert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Behlert 2005-09-01 08:29:12 UTC
I tested the kotd-20050831104926 as mentioned in bug 104647 
and had a kerneloops during suspend to disk.  
I'll append a jpeg from the crash, it says "kernel BUG at 
drivers/scsi/libata-core.c:3742!" at first line.
Comment 1 Stefan Behlert 2005-09-01 08:30:02 UTC
Created attachment 48420 [details]
photo of crash
Comment 2 Stefan Behlert 2005-09-01 08:32:11 UTC
The Acer used for the test is the one described in bug 104647 
Comment 3 Jens Axboe 2005-09-01 10:22:06 UTC
Lovely! I'll add a work-around.
Comment 4 Jens Axboe 2005-09-01 10:27:43 UTC
Committed, please test the next kotd that shows up. It should have this in the
changelog:

Thu Sep  1 12:26:49 CEST 2005 - axboe@suse.de

- patches.drivers/libata-do-simple-command-sleep-hack: Wait for
  current command to finish in ata_do_simple_cmd() (114648).
- series.conf:

Just grep for the bug number, that should work.
Comment 5 Stefan Behlert 2005-09-02 10:11:56 UTC
Ok, tested with kotd-20050831104926 (which contains the mentioned patch):    
suspend2disk: suspend works, I get more warnings than in the past,     
              but the 'pause' mentioned in bug 113335 was gone!    
suspend2ram:  init=/bin/bash acpi_sleep=s3_bios,s3_mode looks good, resumes.   
                 Even a ls was successful.   
              'normal init 5'-state with acpi_sleep=s3_bios,s3_mode:    
               the machine resumes, but display stays black. Looks not   
               connected to SATA and this bug, so I would say 'FIXED'.   
               (And I even saw the black display only once, afterwards  
               it worked perfectly)    
Thanks, good work.