From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 27 10:37:14 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41A9516A4CE for ; Tue, 27 Apr 2004 10:37:14 -0700 (PDT) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA05843D49 for ; Tue, 27 Apr 2004 10:37:13 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 9440 invoked from network); 27 Apr 2004 17:37:13 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 27 Apr 2004 17:37:13 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i3RHb8R2008406; Tue, 27 Apr 2004 13:37:10 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-mobile@FreeBSD.org Date: Tue, 27 Apr 2004 13:21:48 -0400 User-Agent: KMail/1.6 References: <20040425171142.GA23825@teardrop.org> <20040427121958.S44673@xeon.unixathome.org> <20040427122517.W45476@xeon.unixathome.org> In-Reply-To: <20040427122517.W45476@xeon.unixathome.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404271321.48561.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Dan Langille cc: Daniel Roethlisberger Subject: Re: XFree86 & ACPI don't like each other? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 17:37:14 -0000 On Tuesday 27 April 2004 12:26 pm, Dan Langille wrote: > On Tue, 27 Apr 2004, Dan Langille wrote: > > On Tue, 27 Apr 2004, John Baldwin wrote: > > > On Tuesday 27 April 2004 09:42 am, Dan Langille wrote: > > > > Sorry, my previous message was incomplete. > > > > > > > > On Tue, 27 Apr 2004, John Baldwin wrote: > > > > > On Sunday 25 April 2004 05:08 pm, Daniel Roethlisberger wrote: > > > > > > Hans Lambermont [2004-04-25/19:47]: > > > > > > > James Snow wrote: > > > > > > > > On the other hand, X and ACPI don't seem to get along very > > > > > > > > well. If I boot with ACPI, X will sometimes hang when > > > > > > > > starting or stopping. Doesn't appear to be very consistent or > > > > > > > > predictable, but I can't get through more than 1 clean start > > > > > > > > and stop of X without it locking the machine up solid. > > > > > > > > > > > > I have the same problem. Running a non-SMP kernel fixes the > > > > > > problem for me without having to disable ACPI. Also see this open > > > > > > PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/60512 > > > > > > > > > > Did you remove 'device apic' as well? > > > > > > > > FWIW, X under 5.2.1-RELEASE would freeze on me. Creating a non-SMP > > > > kernel solved the problem for me. I'm still using ACPI but only just > > > > started using sleep/resume. I did not remove apic. > > > > > > So just removing SMP, but not removing apic? What if you boot the SMP > > > kernel with 'kern.smp.disabled=1' set from the loader? > > > > I installed an SMP kernel, added kern.smp.disabled=1 to /etc/loader.conf, > > and rebooted. I have since gone into X, quit, and back into X. No > > freezing. > > DOH! Just after sending, I left X and went back in. It froze. Had to > power cycle to get the ThinkPad T22 going again. FWIW, since moving to a > non-SMP kernel some weeks ago, I've not had that happen. Ok, so the problem is not with any code that checks smp_active (it may be that someplace should be checking smp_active and isn't for instance). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org