From owner-freebsd-hackers Thu Oct 24 13:36:52 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 0875737B401 for ; Thu, 24 Oct 2002 13:36:51 -0700 (PDT) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FAB343E77 for ; Thu, 24 Oct 2002 13:36:50 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 27710 invoked from network); 24 Oct 2002 20:36:56 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 24 Oct 2002 20:36:56 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id g9OKaln5072325; Thu, 24 Oct 2002 16:36:47 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021024223256.A5488@freebie.xs4all.nl> Date: Thu, 24 Oct 2002 16:36:50 -0400 (EDT) From: John Baldwin To: Wilko Bulte Subject: Re: Getting ACPI to work on -stable Cc: hackers@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 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: > >> > 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. > > I must be missing something because: > > (kgdb) up >#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 > 466 (void) trap_pfault(&frame, FALSE, eva); > (kgdb) up >#9 0xc01a5084 in tsleep () > (kgdb) up >#10 0xc0160fe5 in EcWaitEventIntr () > (kgdb) > > ? Hmm, what does 'l *0xc01a5084' and 'l *0xc0160fe5' show? -- John Baldwin <>< 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