Re: libata and pm
From: Jeff Garzik (jgarzik_at_pobox.com)
Date: 11/30/03
- Previous message: Russell King: "Re: 2.6.0-test11 -- Failed to open /dev/ttyS0: No such device"
- In reply to: Prakash K. Cheemplavam: "libata and pm"
- Next in thread: Prakash K. Cheemplavam: "Re: libata and pm"
- Reply: Prakash K. Cheemplavam: "Re: libata and pm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Nov 2003 11:02:07 -0500 To: "Prakash K. Cheemplavam" <prakashpublic@gmx.de>
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? :)
Jeff
===== drivers/scsi/libata-core.c 1.7 vs edited =====
--- 1.7/drivers/scsi/libata-core.c Mon Nov 24 11:19:30 2003
+++ edited/drivers/scsi/libata-core.c Sun Nov 30 11:01:26 2003
@@ -2567,6 +2567,9 @@
timeout = ata_thread_iter(ap);
+ if (current->flags & PF_FREEZE)
+ refrigerator(PF_IOTHREAD);
+
if (signal_pending (current))
flush_signals(current);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Russell King: "Re: 2.6.0-test11 -- Failed to open /dev/ttyS0: No such device"
- In reply to: Prakash K. Cheemplavam: "libata and pm"
- Next in thread: Prakash K. Cheemplavam: "Re: libata and pm"
- Reply: Prakash K. Cheemplavam: "Re: libata and pm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|