S3 Resume working, but IDE disk hung

From: Faraoni, Michael <hidden>
Date: 2002-10-04 15:02:52

Hi,

 I have been able to get S3 mode to come back to prompt, but the IDE disk is
hung (drive light constantly on).  Running an app that isn't in disk cache
or that accesses the disk causes the app to hang, presumably blocked on I/O.
This indicates that the IDE drivers are not yet S3 suspend/resume capable
(the IDE controller/devices are not being restored properly), which I
expected at this stage.

 I am using an Intel Motherboard with an i810 chipset (using piix IDE PCI
driver), and 2.5.40 kernel with ACPI 20021002 diff applied.

 The IDE drivers seem to have some suspend/resume infrastructure. Does any
one know the direction that is being taken?  I am willing to help
implement/test, but want to know bigger picture/plan before starting (if
known?).

 I have looked into the present IDE suspend/resume, but they don't appear to
be called in S3 mode (my printk in ide-disk.c do_idedisk_resume() didn't
happen).  I kludged the piix.c file, adding a suspend and resume routine to
PCI device structure (which gets called).  In the resume I forced a call to
piix_config_drive_xfer_rate(), which does get the disk back to being useable
again, but I know this is in NO way the correct method :)

 Any info on direction or other help would be appreciated.


  Mike Faraoni



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help