Skip to contentSkip to conversation

"invalid operand 0000" with recent ACPI patches

DISCUSSION Stefan Behnel 1 participant 2 messages Feb 10, 2003 – Feb 24, 2003 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi!

I'm running kernel 2.4.21-pre[34] with the latest ACPI patch(es). The problem I'm witnessing is pretty annoying:

The kernel produces rather heavy errors (invalid operand 0000), I've attached the log entries (those that look different). This happens relatively often (but not always) on specific ACPI events. It usually happens when I plug out the ac adapter, i.e. when switching to battery power. It sometimes happens when I call the BIOS driven onscreen status display (showing battery power, ac status etc.) which also produces an ACPI event (the interrupt counter increases). The symptoms are really annoying: It simply kills my keyboard. I can sync and reboot using SysRq, and when I'm running X, I can use the mouse to shut down the system. But I can't type and can't switch consoles or anything.

It is quite possible that I actually messed up my DSDT when trying to fix it (though it generally works rather fine). But I can reproduce the same (or similar) problem with the original DSDT - though it seems less likely to occur. That's maybe because the original DSDT doesn't allow the kernel to detect and use the ac and battery status properly, so maybe it simply doesn't try to react on those events. Therefore I'm perfectly willing to believe that there's still a bug hidden somewhere in the DSDT that leads to this. My DSDT is here: http://www.behnel.de/samsung-acpi.html

Since I'm not that used to kernel debugging, the syslog entries do not tell me much. I took a look at one of the functions where an error occurred, but I didn't see anything sufficiently suspicious to make me wonder. Maybe there is something like an interrupt problem? I tried 2.5.59 to see if a preemptive kernel helps, but it doesn't even boot on my machine. So I wasn't able to run any tests with it.

Any hints from anyone?

Thanks in advance,
Stefan :)

#2 lore raw

on-screen status display - Re: "invalid operand 0000" with recent ACPI patches

In reply to a message not in the archive

Hi!

Regarding the problems I reported on the list two weeks ago (Feb. 10), I found out that they are related to the on-screen status display of the Samsung P10 laptop. It only needs to be called on the screen once and the system immediately becomes unstable. With the latest patch, I can use ACPI perfectly well - if I remember not to press that "red button"...

The status overlay produces an ACPI interrupt, but I didn't find anything in the ACPI tables that relates to it. So maybe this bug is just due to the surprise factor?

Have fun,
Stefan

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf