Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2007 16:57:07 -0800
From:      Nate Lawson <nate@root.org>
To:        Pietro Cerutti <pietro.cerutti@gmail.com>
Cc:        rodrigc@crodrigues.org, freebsd-acpi@freebsd.org, "Moore, Robert" <robert.moore@intel.com>, freebsd-hackers@freebsd.org
Subject:   Re: Laptop won't power off
Message-ID:  <45DE3BE3.7070007@root.org>
In-Reply-To: <e572718c0702221600k4f03e1f6y9a1f7ebbb2924665@mail.gmail.com>
References:  <e572718c0702221546q19be82dif7abae6f2d8a68c9@mail.gmail.com>	 <B28E9812BAF6E2498B7EC5C427F293A401F477DD@orsmsx415.amr.corp.intel.com> <e572718c0702221600k4f03e1f6y9a1f7ebbb2924665@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Pietro Cerutti wrote:
> On 2/23/07, Moore, Robert <robert.moore@intel.com> wrote:
>> On linux, the compiler must be generated with the "flex-old" package, I
>> don't know if there is anything like it for bsd. We are looking at
>> making changes to support newer versions of flex/bison.
> 
> Bob,
> we don't have a flex-old package, so we'll have to wait till the new
> version becomes available. By the way, the asl code compiles without
> warning using the iasl apt package on Ubuntu, so the problem is
> definitely not with the asl.

We take care of the lex issue when we import acpi-ca.  Please wait until
we've done the import and use the iasl in the base system.

Your issue is definitely not ASL-related.

> 
>> Power problems: sorry, not the expert in this area.
> For everyone else:
> By disabling SMP I could get to a stage where, at the end of the
> shutdown process, this message is displayed (with SMP enabled, the
> screen turns black and I can't read messages):
> 
> AcpiEnterSleepStatePrep failed - AE_NOT_FOUND
> 
> So, any ideas on that?

The \_S5 object is missing?  Can you and the reboot failure people try:
sysctl debug.acpi.do_powerstate=0

-Nate

>> > -----Original Message-----
>> > From: Pietro Cerutti [mailto:pietro.cerutti@gmail.com]
>> > Sent: Thursday, February 22, 2007 3:46 PM
>> > To: Moore, Robert
>> > Cc: Nate Lawson; rodrigc@crodrigues.org; freebsd-hackers@freebsd.org;
>> > freebsd-acpi@freebsd.org
>> > Subject: Re: Laptop won't power off
>> >
>> > On 2/23/07, Moore, Robert <robert.moore@intel.com> wrote:
>> > > Not likely to be cause of power off problems
>> > Ok, any other ideas?
>> >
>> > >
>> > > Compiler runs on linux, should run on bsd.
>> > If you're talking about this one:
>> > http://www.intel.com/technology/iapc/acpi/downloads/acpica-unix-
>> > 20061109.tar.gz
>> > it doesn't compile neither on Debian (Kernel 2.6.12) nor on FreeBSD
>> > (6.2)....
>> >
>> > > make
>> > bison -v -d -y -pAslCompiler aslcompiler.y
>> > aslcompiler.y:3083.37-48: warning: rule never reduced because of
>> > conflicts: OptionalResourceType: /* empty */
>> >
>> > cp y.tab.c aslcompilerparse.c
>> > cp y.tab.h aslcompiler.y.h
>> > cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER
>> > -I../include    -c -o aslcompilerparse.o aslcompilerparse.c
>> > flex -i -PAslCompiler -oaslcompilerlex.c aslcompiler.l
>> > cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER
>> > -I../include    -c -o aslcompilerlex.o aslcompilerlex.c
>> > aslcompiler.l: In function 'comment':
>> > aslcompiler.l:847: error: 'yytext_ptr' undeclared (first use in this
>> > function)
>> > aslcompiler.l:847: error: (Each undeclared identifier is reported only
>> > once
>> > aslcompiler.l:847: error: for each function it appears in.)
>> > make: *** [aslcompilerlex.o] Error 1
>> >
>


-- 
Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45DE3BE3.7070007>