Date: 09 May 2003 18:10:28 +1200 From: Andrew Thompson <andy@fud.org.nz> To: Magnus B{ckstr|m <b@etek.chalmers.se> Cc: current@freebsd.org Subject: Re: [acpi-jp 2190] Re: Outstanding ACPI issues for 5.1-RELEASE Message-ID: <1052460627.16411.21.camel@localhost> In-Reply-To: <03May9.163429nzst.119063@homer.fire.org.nz> References: <Pine.BSF.4.44.0305080930410.2828-100000@knase19.etek.chalmers.se> <03May9.163429nzst.119063@homer.fire.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2003-05-09 at 16:34, Andrew Thompson wrote: > On Thu, 2003-05-08 at 20:28, Magnus B{ckstr|m wrote: > > I'm afraid this may not be the end of it. An N800c I encountered a few > > weeks ago consistently had _HIDs with asterisks. If I may contribute > > an untested general workaround (untested because I don't currently have > > access to the hardware): > > > > Index: src/sys/dev/acpica/acpi.c > > diff -u src/sys/dev/acpica/acpi.c:1.1.1.6.2.1 src/sys/dev/acpica/acpi.c:1.1.1.6.2.2 > > [snip] > > Furthermore, the laptop used idioms that were a bit too modern for > > our ACPI implementation. CIDs are allowed to be not only integers, > > but also buffers (think `char *') with images of ACPI_INTEGERs, and > > packages with multiple integer objects in them (for multiple possible > > CIDs). The below -should- fix this but is also untested. > > > > Index: src/sys/dev/acpica/acpi.c > > diff -u src/sys/dev/acpica/acpi.c:1.1.1.6.2.2 src/sys/dev/acpica/acpi.c:1.1.1.6.2.3 > > [snip] > > Amazing, she works now. :-D > > I applied these two patches and recompiled. Attached is my dmesg and > sysctl output. > But I did just get this panic while doing a buildworld (hand copied), it looks like it was trying to turn on the fan due to heat?? Fatal trap 12: page fault while in kernel mode fault virtual address = 0x1 fault code = supervisor read, page not present instruction pointer = 0x8:0xc05834d0 stack pointer = 0x10:0xd6784bf0 frame pointer = 0x10:0xd6784bf0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 5 (acpi_task0) kernel: type 12 tap, code=0 Stopped at AcpiNsMapHandleToNode+0x20: cmpb $0xaa,0(%edx) db>tr AcpiNsMapHandleToNode(1,1,d6874c18,c05964db,0) at AcpiNsMapHandleToNode+0x20 AcpiGetHandle(1,c05a0dea,d6874c3c,d6874c40,0) at AcpiGetHandle+0x4d acpi_pwr_switch_consumer(1,0,c404ef00,c05a105c,0) at acpi_pwr_switch_consumer+0xe3 acpi_tz_switch_cooler_on(c432f1a0,c150b600,0,c150b600,3) at acpi_tz_switch_cooler_on+0x38 acpi_ForeachPackageObject(c432f140,c0597e50,c150b600,10,c0476320) at acpi_ForeachPackageObject+0x3d acpi_tz_monitor(c150b600,0,c05a17c9,7b,0) at acpi_tz_monitor+0x29b acpi_task_thread(0,d6874d48,c03f3f93,310,2) at acpi_task_thread+0x100 fork_exit(c059a750,0,d6874d48) at fork_exit+0xc0 fork_trampoline() at fork_trampoline+0x1a --- trap 0x1, eip = 0, esp = 0xd6874d7c, epb = 0 --- db>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1052460627.16411.21.camel>