XFree86 & ACPI don't like each other?

John Baldwin jhb at FreeBSD.org
Tue Apr 27 10:37:14 PDT 2004


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 <hans at lambermont.dyndns.org> [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 <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-mobile mailing list