Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 26 Feb 2002 10:14:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 26 Feb 2002 10:13:25 -0500 Received: from charger.oldcity.dca.net ([207.245.82.76]:16835 "EHLO charger.oldcity.dca.net") by vger.kernel.org with ESMTP id ; Tue, 26 Feb 2002 10:13:12 -0500 Date: Tue, 26 Feb 2002 10:13:04 -0500 From: christophe =?iso-8859-15?Q?barb=E9?= To: linux-kernel@vger.kernel.org Cc: Andrew Morton Subject: Re: suspend/resume and 3c59x Message-ID: <20020226151304.GA803@ufies.org> Mail-Followup-To: linux-kernel@vger.kernel.org, Andrew Morton In-Reply-To: <20020225200056.GW12719@ufies.org> <3C7A9C75.F6A4BA05@zip.com.au> <3C7A9C75.F6A4BA05@zip.com.au> <20020225233242.GA5370@ufies.org> <3C7AD0AC.13A554DA@zip.com.au> <20020227001144.328c210c.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: <20020227001144.328c210c.sfr@canb.auug.org.au> User-Agent: Mutt/1.3.27i X-Operating-System: debian SID Gnu/Linux 2.4.18 on i586 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --opJtzjQTFsWo+cga Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 27, 2002 at 12:11:44AM +1100, Stephen Rothwell wrote: > On Mon, 25 Feb 2002 16:02:52 -0800 Andrew Morton wrote: > > > > Just for the record: Both Christophe's 3c and my 3c556B > > mini-PCI NIC failed to survive APM resumes in 2.4.17. But something > > outside the 3c59x driver got fixed somewhere in the 2.4.18-pre series, > > and resume works OK in 2.4.18. >=20 > We now notify (and wait for a response from) user mode processes about > the pending suspend BEFORE we notify the drivers. We used to do this the > other way around (which was never correct - mea culpa). >=20 > This MAY have changed the behaviour of the drivers ... Unfortunately after a few experiments my 3c59x does not resume correctly with 2.4.18. I don't understand why but sometimes it takes a few seconds to return in a good state after a suspend/resume cycle and sometimes (at least one time) the card stay in a bad state. Would it be possible that the driver is never notified that the machine is going in a suspend mode ?=20 When you said 'we now notify ...' the 'we' stand for apm ? Looking in the driver, the enable_wol (now I know that wol means Wake up on Lan, and I would prefer let this option disabled but it also turn on pm stuff as Andrew told me) enables few acpi call. Andrew : Is your card back immediately after resuming ? Christophe >=20 > --=20 > Cheers, > Stephen Rothwell sfr@canb.auug.org.au > http://www.canb.auug.org.au/~sfr/ > - > 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/ --=20 Christophe Barb=E9 GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8 F67A 8F45 2F1E D72C B41E Thousands of years ago, cats were worshipped as gods. Cats have never forgotten this. --Anonymous --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Pour information voir http://www.gnupg.org iD8DBQE8e6YAj0UvHtcstB4RAvHYAJ9ZJQct3hD3FNBHaR4kDwrBjz856ACfemZd iHlJVTm6tVTuTJtYvtmaLYc= =Gn1j -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- - 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/