Re: [PATCH 2.6.28-rc6] ACPICA: don't cond_resched() when irqs_disabled()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wu Fengguang wrote:
On Fri, Dec 19, 2008 at 10:38:18AM +0200, Len Brown wrote:
    The issue on Fengguang's laptop is different with that on the box of
T61.  On Fengguang's laptop after evaluating one ACPI object(GPE
_L18object), the irq is disabled mystically. After some investigations
we find that it is caused by SMI(The SMI will be triggered while
evaluating the ACPI object. And this issue is also related with Video).
Interesting.
I hadn't realized you root-caused that failure.
This is good to know, but the fact that SMM can
leave interrupts disabled is frightening.

If the BIOS SMM on that box disables interrupts when
random AML is run, then it is going to run into
all kinds of other problems in addition to this one...

Exactly. This is another warning:

[ 6559.754331] irq status before SMI: enable
[ 6559.757388] irq status after SMI: disable, value: 0xF3
[ 6599.816127] Corrupted low memory at ffff88000000fe08 (fe08 phys) = 01007062
[ 6599.816253] Corrupted low memory at ffff88000000fe10 (fe10 phys) = 7ba83066
[ 6599.816376] Corrupted low memory at ffff88000000fe18 (fe18 phys) = 00010062
[ 6599.816492] Corrupted low memory at ffff88000000fe20 (fe20 phys) = 01006062
[ 6599.816608] Corrupted low memory at ffff88000000fe28 (fe28 phys) = 1000000000
[ 6599.816724] Corrupted low memory at ffff88000000fe38 (fe38 phys) = 00000ff0
[ 6599.816840] Corrupted low memory at ffff88000000fe40 (fe40 phys) = 000006e0
[ 6599.816955] Corrupted low memory at ffff88000000fe48 (fe48 phys) = 880000000000
[ 6599.817102] Corrupted low memory at ffff88000000fe50 (fe50 phys) = fffffcf930018

(snip)

There is a blacklist at arch/x86/kernel/setup.c for BIOS identifiers that may corrupt low memory, in this case the low memory usage is minimized. This machine should likely be added to that list.

Might be that Linux and the BIOS stomping on this memory in combination is related to some of the other problems seen as well..

These BIOS authors really need to be beaten with a stick though.. they can't be using this memory without properly marking it as reserved in E820 tables.

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux