From owner-cvs-all@FreeBSD.ORG Wed Sep 28 19:38:57 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BF9116A41F; Wed, 28 Sep 2005 19:38:57 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C72843D6B; Wed, 28 Sep 2005 19:38:50 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AAB0152CD0; Wed, 28 Sep 2005 21:38:48 +0200 (CEST) Received: from localhost (dkl11.neoplus.adsl.tpnet.pl [83.24.15.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 20CF152CA8; Wed, 28 Sep 2005 21:38:39 +0200 (CEST) Date: Wed, 28 Sep 2005 21:38:33 +0200 From: Pawel Jakub Dawidek To: Nate Lawson Message-ID: <20050928193833.GA1235@garage.freebsd.pl> References: <20050928192056.B7E6D16A42B@hub.freebsd.org> <433AEF82.5070007@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <433AEF82.5070007@root.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng devel (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/bge if_bge.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 19:38:57 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 28, 2005 at 12:31:14PM -0700, Nate Lawson wrote: +> Pawel Jakub Dawidek wrote: +> >pjd 2005-09-28 19:20:49 UTC +> > FreeBSD src repository +> > Modified files: +> > sys/dev/bge if_bge.c Log: +> > Implement suspend/resume methods to be more ACPI friendly. +> > I'm able to suspend/resume my laptop without this change, but then I = need +> > to wait for the watchdog to reset the card. +> > With this change, it is ready immediately. +> > Glanced at by: glebius +> > Revision Changes Path +> > 1.96 +36 -0 src/sys/dev/bge/if_bge.c +>=20 +> Great, thanks! To other developers with hardware that doesn't work for = suspend/resume, this is the area that needs the most improvement. There ar= e known cases of at least=20 +> agp and apic breaking resume. On my ThinkPad t43 suspend/resume works just fine in most cases, but sometimes (once every ~20 suspends) it stops before turning off LCD - the moon-led is turned on, but LCD is on as well and system freeze hard. What kind of debug can I add to track down the problem? Can we printf some steps done on suspend (which device's suspend method is called, etc.)? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDOvE5ForvXbEpPzQRAsokAJ4iEccS/7W7oQE0+Yp2ix4mmz+PmACgviqw SVTcVTEEQRASpSXzyxvl+2U= =Gqlu -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--