From owner-freebsd-current@FreeBSD.ORG Tue Aug 24 14:07:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4F3F16A4CE for ; Tue, 24 Aug 2004 14:07:08 +0000 (GMT) Received: from kendy.up.ac.za (kendy.up.ac.za [137.215.101.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F94C43D1F for ; Tue, 24 Aug 2004 14:07:06 +0000 (GMT) (envelope-from marc@bowtie.nl) Received: from hades.cs.up.ac.za ([137.215.40.17]) by kendy.up.ac.za with esmtp (Exim 4.24) id 1Bzbwp-0005nw-NU for current@freebsd.org; Tue, 24 Aug 2004 16:06:51 +0200 Received: (qmail 6147 invoked from network); 24 Aug 2004 16:06:51 +0200 Received: from b040pc123.up.ac.za (HELO ?137.215.40.123?) (137.215.40.123) by hades.cs.up.ac.za with SMTP; 24 Aug 2004 16:06:51 +0200 Message-ID: <412B4B7B.1090804@bowtie.nl> Date: Tue, 24 Aug 2004 16:06:51 +0200 From: Marc van Kempen User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040810 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-15?Q?S=F8ren_Schmidt?= References: <4123FC71.8060308@root.org> <41245804.7060008@DeepCore.dk> <412A20A3.8060600@root.org> <412A5C40.4050100@DeepCore.dk> In-Reply-To: <412A5C40.4050100@DeepCore.dk> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Scan-Signature: 3f1c3073c3344d2b26ee08b3d0cd511a cc: current@freebsd.org cc: Nate Lawson Subject: Re: suspend/resume panic in ACPI.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 14:07:09 -0000 Søren Schmidt wrote: > Nate Lawson wrote: > >> Søren Schmidt wrote: >> >>> Nate Lawson wrote: >>> >>>> Try the attached patch. >>> >>> >>> OK, that makes the box suspend alright, but neither that nor any >>> other box or laptop I've got can get out of suspend without locking up. >>> >>> If I revert just /sys/dev/acpica and /sys/i386/acpica to aug-01 both >>> suspend and resume works (sortof, it does tend to panic later on). >>> It starts failing around aug-05 and then detoriates from that on to >>> the current state of locking up hard on resume. >>> It also fails in the exact same way on non-ATA systems, so I think >>> I'm out of the loop this time :) >> >> >> This may be fixed now in both current and releng_5. A logic >> inversion bug (= / !=) was causing pci irq link programming on resume >> to fail. It didn't impact many people since a lot of systems have >> chipsets that keep power to irq links while suspended. >> >> Please test again. > > > There is no change, the systems all lock up hard on resume, on the two > laptops (ASUS & Acer) the backlight doesn't even come on anymore.... > > Again reverting /sys/dev/acpica and /sys/i386/acpica back to aug 1st > make things work (well almost, but that might not be ACPI's fault)... > > This is a showstopper bug for 5.3 IMHO... > I don't know if I'm just lucky now and who is responsible, but after updating to RELENG_5 about an hour ago, my suspend problems seem to be fixed. The only thing that doesn't work (and I can't remember now if it has worked in before) is that using dri in XF86Config locks the display (not the machine, ctrl-alt-del will reboot it cleanly). Uncommenting dri makes suspend work ok. This is with XFree86-4.3.0 on a thinkpad r40. Cheers and thanks, Marc.