Date: Thu, 24 Oct 2002 23:11:18 +0200 From: Wilko Bulte <wkb@freebie.xs4all.nl> To: John Baldwin <jhb@FreeBSD.org> Cc: hackers@FreeBSD.org Subject: Re: Getting ACPI to work on -stable Message-ID: <20021024231118.A5705@freebie.xs4all.nl> In-Reply-To: <XFMail.20021024163650.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Thu, Oct 24, 2002 at 04:36:50PM -0400 References: <20021024223256.A5488@freebie.xs4all.nl> <XFMail.20021024163650.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 24, 2002 at 04:36:50PM -0400, John Baldwin wrote: > > On 24-Oct-2002 Wilko Bulte wrote: > > On Thu, Oct 24, 2002 at 04:29:20PM -0400, John Baldwin wrote: > >> > >> 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: > Hmm, what does 'l *0xc01a5084' and 'l *0xc0160fe5' show? I did not trust this kernel.debug, built a new one and crashed it giving me: #0 dumpsys () at ../../kern/kern_shutdown.c:487 #1 0xc015a5dd in db_fncall (dummy1=0, dummy2=0, dummy3=0, dummy4=0xc03431ec "à´9À@f8ÀÿÿÿÿÍ&,Àñ%,Àÿÿÿÿà´9À\r") at ../../ddb/db_command.c:534 #2 0xc015a401 in db_command (last_cmdp=0xc0349118, cmd_table=0xc0348f58, aux_cmd_tablep=0xc0383bf8) at ../../ddb/db_command.c:333 #3 0xc015a4c6 in db_command_loop () at ../../ddb/db_command.c:457 #4 0xc015c603 in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 #5 0xc02d26c6 in kdb_trap (type=12, code=0, regs=0xc0343340) at ../../i386/i386/db_interface.c:158 #6 0xc02e0080 in trap_fatal (frame=0xc0343340, eva=112) at ../../i386/i386/trap.c:969 #7 0xc02dfd59 in trap_pfault (frame=0xc0343340, usermode=0, eva=112) at ../../i386/i386/trap.c:867 #8 0xc02df8d3 in trap (frame={tf_fs = -1056636912, tf_es = -1070333936, tf_ds = -1072562160, tf_edi = 0, tf_esi = -1057262088, tf_ebp = -1070320732, tf_isp = -1070320788, tf_ebx = 0, tf_edx = 102, tf_ecx = -1069934008, tf_eax = -1, tf_trapno = 12, tf_err = 0, tf_eip = -1072017264, tf_cs = 8, tf_eflags = 66118, tf_esp = -1057262144, tf_ss = 0}) at ../../i386/i386/trap.c:466 #9 0xc01a5090 in tsleep (ident=0xc0fb75f8, priority=22, wmesg=0xc0303989 "EcWait", timo=1) at ../../kern/kern_synch.c:436 #10 0xc0160fe9 in EcWaitEventIntr (sc=0xc0fb75c0, Event=2 '\002') at ../../dev/acpica/acpi_ec.c:644 #11 0xc0161353 in EcRead (sc=0xc0fb75c0, Address=137 '\211', Data=0xc0343426 "") at ../../dev/acpica/acpi_ec.c:790 #12 0xc01611e7 in EcTransaction (sc=0xc0fb75c0, EcRequest=0xc0343424) at ../../dev/acpica/acpi_ec.c:734 #13 0xc0160f26 in EcSpaceHandler (Function=0, Address=137, width=8, Value=0xc03434e8, Context=0xc0fb75c0, RegionContext=0xc0fb75c0) at ../../dev/acpica/acpi_ec.c:600 #14 0xc01438a6 in AcpiEvAddressSpaceDispatch (RegionObj=0xc0fa3ac0, Function=0, Address=137, BitWidth=8, Value=0xc03434e8) at ../../contrib/dev/acpica/evregion.c:424 #15 0xc0145b5a in AcpiExAccessRegion (ObjDesc=0xc0fac300, FieldDatumByteOffset=0, Value=0xc03434e8, ReadWrite=0) at ../../contrib/dev/acpica/exfldio.c:284 #16 0xc0145ca9 in AcpiExFieldDatumIo (ObjDesc=0xc0fac300, FieldDatumByteOffset=0, Value=0xc03434e8, ReadWrite=0) at ../../contrib/dev/acpica/exfldio.c:494 #17 0xc0145f2c in AcpiExExtractFromField (ObjDesc=0xc0fac300, Buffer=0xc0f9db0c, BufferLength=4) at ../../contrib/dev/acpica/exfldio.c:839 #18 0xc0145992 in AcpiExReadDataFromField (WalkState=0xc0fb1800, ObjDesc=0xc0fac300, RetBufferDesc=0xc0343538) at ../../contrib/dev/acpica/exfield.c:247 #19 0xc014882d in AcpiExResolveNodeToValue (ObjectPtr=0xc0fb19b0, WalkState=0xc0fb1800) at ../../contrib/dev/acpica/exresnte.c:297 #20 0xc014889f in AcpiExResolveToValue (StackPtr=0xc0fb19b0, WalkState=0xc0fb1800) at ../../contrib/dev/acpica/exresolv.c:183 #21 0xc0148c85 in AcpiExResolveOperands (Opcode=112, StackPtr=0xc0fb19b4, WalkState=0xc0fb1800) at ../../contrib/dev/acpica/exresop.c:429 #22 0xc0141889 in AcpiDsExecEndOp (WalkState=0xc0fb1800) at ../../contrib/dev/acpica/dswexec.c:503 #23 0xc014de99 in AcpiPsParseLoop (WalkState=0xc0fb1800) at ../../contrib/dev/acpica/psparse.c:990 #24 0xc014e213 in AcpiPsParseAml (WalkState=0xc0fb1400) at ../../contrib/dev/acpica/psparse.c:1263 #25 0xc014ebd1 in AcpiPsxExecute (MethodNode=0xc0fa7860, Params=0xc0fd1750, ReturnObjDesc=0xc03436c0) at ../../contrib/dev/acpica/psxface.c:281 #26 0xc014b1e7 in AcpiNsExecuteControlMethod (MethodNode=0xc0fa7860, Params=0xc0fd1750, ReturnObjDesc=0xc03436c0) at ../../contrib/dev/acpica/nseval.c:527 #27 0xc014b173 in AcpiNsEvaluateByHandle (Handle=0xc0fa7860, Params=0xc0fd1750, ReturnObject=0xc034370c) at ../../contrib/dev/acpica/nseval.c:409 #28 0xc014b0d3 in AcpiNsEvaluateByName (Pathname=0xc02f99e0 "\\_PTS", Params=0xc0fd1750, ReturnObject=0xc034370c) at ../../contrib/dev/acpica/nseval.c:307 #29 0xc014c59d in AcpiEvaluateObject (Handle=0x0, Pathname=0xc02f99e0 "\\_PTS", ExternalParams=0xc034372c, ReturnBuffer=0x0) at ../../contrib/dev/acpica/nsxfeval.c:313 #30 0xc014a48b in AcpiEnterSleepStatePrep (SleepState=1) at ../../contrib/dev/acpica/hwsleep.c:253 #31 0xc015dee9 in acpi_SetSleepState (sc=0xc0f9f600, state=1) at ../../dev/acpica/acpi.c:1343 #32 0xc015e051 in acpi_system_eventhandler_sleep (arg=0xc0f9f600, state=1) at ../../dev/acpica/acpi.c:1452 #33 0xc0161737 in acpi_lid_notify_status_changed (arg=0xc0fa13e0) at ../../dev/acpica/acpi_lid.c:154 #34 0xc0163a1f in AcpiOsExecuteQueue (arg=0xc106a7e0, pending=1) at ../../dev/acpica/Osd/OsdSchedule.c:238 #35 0xc01b0b85 in taskqueue_run (queue=0xc0b27600) at ../../kern/subr_taskqueue.c:183 #36 0xc01b0bbe in taskqueue_swi_run () at ../../kern/subr_taskqueue.c:199 #37 0xc02d4a70 in splz_swi () #38 0xc02e56ed in intr_mux (arg=0xc0fa7100) at ../../i386/isa/intr_machdep.c:601 #39 0xc02d95c6 in cpu_idle () at ../../i386/i386/machdep.c:1024 does this help? -- | / 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021024231118.A5705>