Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2002 16:29:20 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Wilko Bulte <wkb@freebie.xs4all.nl>
Cc:        hackers@FreeBSD.org
Subject:   Re: Getting ACPI to work on -stable
Message-ID:  <XFMail.20021024162920.jhb@FreeBSD.org>
In-Reply-To: <20021024214702.A5209@freebie.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

On 24-Oct-2002 Wilko Bulte wrote:
> On Thu, Oct 24, 2002 at 03:22:19PM -0400, John Baldwin wrote:
>> 
>> On 24-Oct-2002 Wilko Bulte wrote:
>> > On Thu, Oct 24, 2002 at 02:25:57PM -0400, John Baldwin wrote:
>> >> 
>> >> On 24-Oct-2002 Wilko Bulte wrote:
>> >> > On Wed, Oct 23, 2002 at 04:20:17PM -0400, John Baldwin wrote:
>> >> >> Ok, here are the instructions on getting ACPI going on 4-stable for
>> >> >> those of you who are foolish^H^H^H^H^H^H^Hbrave:
>> >> >> 
> 
>> > - pressing the lid switch results in an immediate reboot
>> > - apm gives me:
>> 
>> Well, it is experimental for a reason. :)  I do know that soft
>> power-off does work on Intel 845 boards but suspend doesn't
>> seem to, which consitutes the extent of my testing. :)
> 
> It is a panic (I was in X before) like:

Erm, ok.  I forgot to put that on the list of non-tested things. :(
The machine I have here does not have an embedded controller, so none
of the acpi_ec0 stuff has been tested by me.  I do have at least one
report of the thermal stuff working on another machine.  Not sure if
that machine has an ec0 though.
 
> (kgdb) bt
>#0  dumpsys () at ../../kern/kern_shutdown.c:487
>#1  0xc015a5d9 in db_fncall (dummy1=0, dummy2=0, dummy3=0, 
>     dummy4=0xc03431ac "_´9À") at ../../ddb/db_command.c:534
>#2  0xc015a3fd in db_command (last_cmdp=0xc03490d8, cmd_table=0xc0348f18, 
>     aux_cmd_tablep=0xc0383bb8) at ../../ddb/db_command.c:333
>#3  0xc015a4c2 in db_command_loop () at ../../ddb/db_command.c:457
>#4  0xc015c5ff in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
>#5  0xc02d269e in kdb_trap (type=12, code=0, regs=0xc0343300)
>     at ../../i386/i386/db_interface.c:158
>#6  0xc02e0050 in trap_fatal (frame=0xc0343300, eva=112)
>     at ../../i386/i386/trap.c:969
>#7  0xc02dfd29 in trap_pfault (frame=0xc0343300, usermode=0, eva=112)
>     at ../../i386/i386/trap.c:867
>#8  0xc02df8a3 in trap (frame={tf_fs = -1056767984, tf_es = -1070333936, 
>       tf_ds = -1072562160, tf_edi = 0, tf_esi = -1057262088, 
>       tf_ebp = -1070320796, tf_isp = -1070320852, tf_ebx = 0, tf_edx = 102, 
>       tf_ecx = -1069934072, tf_eax = -1, tf_trapno = 12, tf_err = 0, 
>       tf_eip = -1072017276, tf_cs = 8, tf_eflags = 66118, 
>       tf_esp = -1057262144, tf_ss = 0}) at ../../i386/i386/trap.c:466
>#9  0xc01a5084 in tsleep ()
>#10 0xc0160fe5 in EcWaitEventIntr ()

Can you get a bit more detail about these two frames?  Just the line numbers
and filenames would help.  Thanks.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20021024162920.jhb>