Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265018AbTFCOIV (ORCPT ); Tue, 3 Jun 2003 10:08:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265019AbTFCOIV (ORCPT ); Tue, 3 Jun 2003 10:08:21 -0400 Received: from pc2-cwma1-4-cust86.swan.cable.ntl.com ([213.105.254.86]:41962 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S265018AbTFCOIV (ORCPT ); Tue, 3 Jun 2003 10:08:21 -0400 Subject: Re: software suspend in 2.5.70-mm3. From: Alan Cox To: hugang Cc: Pavel Machek , Linux Kernel Mailing List In-Reply-To: <20030603211156.726366e7.hugang@soulinfo.com> References: <20030603211156.726366e7.hugang@soulinfo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1054646566.9234.20.camel@dhcp22.swansea.linux.org.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 03 Jun 2003 14:22:48 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 819 Lines: 19 On Maw, 2003-06-03 at 14:11, hugang wrote: > Hi Pavel Machek: > > I try the 2.5.70-mm3 with software suspend function. When suspend it will oops at ide-disk.c 1526 line > BUG_ON (HWGROUP(drive)->handler); > > I'm disable this check, The software suspend can work, and also can resumed. But this fix is not best way. I found in ide-io.c 1196 > hwgroup->handler = NULL; > is the problem. The only way to make the suspend work properly is to queue the suspend sequence wit the other requests. Ben was doing some playing with this but I'm not sure what happened to it. - 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/