From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264937AbTK3Q44 (ORCPT ); Sun, 30 Nov 2003 11:56:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264938AbTK3Q44 (ORCPT ); Sun, 30 Nov 2003 11:56:56 -0500 Received: from pop.gmx.de ([213.165.64.20]:15566 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S264937AbTK3Q4y (ORCPT ); Sun, 30 Nov 2003 11:56:54 -0500 X-Authenticated: #4512188 Message-ID: <3FCA2153.1040900@gmx.de> Date: Sun, 30 Nov 2003 17:56:51 +0100 From: "Prakash K. Cheemplavam" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031116 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Jeff Garzik CC: lkml Subject: Re: libata and pm References: <3FC9CBB8.7020108@gmx.de> <3FCA147F.4040503@pobox.com> In-Reply-To: <3FCA147F.4040503@pobox.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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