From owner-freebsd-hackers Thu Oct 24 12:47:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4502837B408; Thu, 24 Oct 2002 12:47:08 -0700 (PDT) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FBFD43E65; Thu, 24 Oct 2002 12:47:07 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.6/8.12.6) with ESMTP id g9OJl21e005235; Thu, 24 Oct 2002 21:47:03 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.6/8.12.6/Submit) id g9OJl2a4005234; Thu, 24 Oct 2002 21:47:02 +0200 (CEST) Date: Thu, 24 Oct 2002 21:47:02 +0200 From: Wilko Bulte To: John Baldwin Cc: hackers@FreeBSD.org Subject: Re: Getting ACPI to work on -stable Message-ID: <20021024214702.A5209@freebie.xs4all.nl> References: <20021024210829.B4981@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Thu, Oct 24, 2002 at 03:22:19PM -0400 X-OS: FreeBSD 4.7-RC X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: (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 () #11 0xc016134f in EcRead () #12 0xc01611e3 in EcTransaction () #13 0xc0160f22 in EcSpaceHandler () #14 0xc01438a2 in AcpiEvAddressSpaceDispatch () #15 0xc0145b56 in AcpiExAccessRegion () #16 0xc0145ca5 in AcpiExFieldDatumIo () #17 0xc0145f28 in AcpiExExtractFromField () #18 0xc014598e in AcpiExReadDataFromField () #19 0xc0148829 in AcpiExResolveNodeToValue () #20 0xc014889b in AcpiExResolveToValue () #21 0xc0148c81 in AcpiExResolveOperands () #22 0xc0141885 in AcpiDsExecEndOp () #23 0xc014de95 in AcpiPsParseLoop () #24 0xc014e20f in AcpiPsParseAml () #25 0xc014ebcd in AcpiPsxExecute () #26 0xc014b1e3 in AcpiNsExecuteControlMethod () #27 0xc014b16f in AcpiNsEvaluateByHandle () #28 0xc014b0cf in AcpiNsEvaluateByName () #29 0xc014c599 in AcpiEvaluateObject () #30 0xc014a487 in AcpiEnterSleepStatePrep () #31 0xc015dee5 in acpi_SetSleepState () #32 0xc015e04d in acpi_system_eventhandler_sleep () #33 0xc0161733 in acpi_lid_notify_status_changed () #34 0xc0163a1b in AcpiOsExecuteQueue () #35 0xc01b0b89 in taskqueue_run () #36 0xc01b0bc2 in taskqueue_swi_run () #37 0xc02d4a40 in splz_swi () #38 0xc02e56bd in intr_mux () #39 0xc02d9596 in cpu_idle () at ../../i386/i386/machdep.c:1024 (kgdb) -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message