From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 27 09:22:34 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 BE51A16A4CE; Tue, 27 Apr 2004 09:22:34 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 491CD43D5C; Tue, 27 Apr 2004 09:22:34 -0700 (PDT) (envelope-from dan@langille.org) Received: from xeon (xeon.unixathome.org [192.168.0.18]) by bast.unixathome.org (Postfix) with ESMTP id 2B4D13D3D; Tue, 27 Apr 2004 12:22:33 -0400 (EDT) Date: Tue, 27 Apr 2004 12:22:33 -0400 (EDT) From: Dan Langille X-X-Sender: dan@xeon.unixathome.org To: John Baldwin In-Reply-To: <200404271002.02680.jhb@FreeBSD.org> Message-ID: <20040427121958.S44673@xeon.unixathome.org> References: <20040425171142.GA23825@teardrop.org> <200404270921.39774.jhb@FreeBSD.org> <200404271002.02680.jhb@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-mobile@FreeBSD.org 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 16:22:34 -0000 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. David: can you explain how this helps analyze the problem? (i.e disabling SMP versus removing it from the kernel) -- Dan Langille - BSDCan: http://www.bsdcan.org/