Re: libata and pm
From: Prakash K. Cheemplavam
Date: Sun Nov 30 2003 - 11:58:01 EST
Jeff Garzik wrote:
Prakash K. Cheemplavam wrote:
Hi,
I wonder whether libata can easily be made compatible with swsup or
pmdisk.
Currently my tries stop with the message:
PM: Preparing system for suspend
Stopping tasks:
=================================================exiting...========
stopping tasks failed (1 tasks remaining)
Restarting tasks...<6> Strange, katad-1 not stopped
done
I think that katad belongs to libata.
I'm curious if this [completely untested] patch works? :)
Well, it works as it should -I guess-,ie. swsusp proceeds, but (as
expected) after all it doesn't work with scsi and swsusp gives a kernel
panic. But that is another matter. ;-)
Nevertheless I got following wanrings on compile (second one was already
there):
drivers/scsi/libata-core.c: In function `ata_thread':
drivers/scsi/libata-core.c:2571: Warnung: implicit declaration of
function `refrigerator'
drivers/scsi/libata-core.c: At top level:
drivers/scsi/libata-core.c:2141: Warnung: `ata_qc_push' defined but not used
(Furthermore the patch didn't want to apply, so I had to do it by hand.)
Thx,
Prakash
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/