Red Hat Bugzilla – Bug 123525
[PATCH] Kernel fails with kernel parameter apm=power-off on SMP System.
Last modified: 2015-04-19 20:43:45 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.4.2)
Description of problem:
During system boot, kernel fails with kernel parameter apm=power-off
on SMP System. During boot an error message will be reported by the
-------------[ cut here ]--------------
kernel BUG at apm.c:1743!
invalid operand: 0000
EIP: 0060:[<c011b94e>] Not tainted
EIP is at apm [kernel] 0x33e (2.4.21-15-ELsmp/i686)
eax: 00000002 ebx: c179c000 ecx: c0435280 edx: ffffffff
esi: c02b09ab edi: c179c552 ebp: 00000000 esp: c179dfd0
ds: 0068 es: 0068 ss: 0068
Process kapmd (pid: 7, stackpage=c179d000)
Stack: 00000000 00000000 00000000 00000000 00000068 c011b610 00000000
c010958d 00000000 00000000 00000000
Call Trace: [<c011b610>] apm [kernel] 0x0 (0xc179dfe4)
[<c010958d>] kernel_thread_helper [kernel] 0x5 (0x179dff0)
Code: 0f 0b cf 06 fd 08 2b c0 e9 03 fd ff ff 90 8d 74 26 00 83 ec
Kernel panic: Fatal exception
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. System boot with kernel parameter apm=power-off
2. Kerlen panic
kernel panic during system boot.
No kernel panic.
P4 smp system and single Xeon(with HT) system work fine, But Dual Xeon
system with HT does not work fine.
Assigning to Ingo since his name appears inside the patch ;)
Ingo, I know that APM isn't SMP safe due to BIOS restrictions, but if
the above patch is harmless enough I guess we could merge it into
RHEL3 to fix the issue NEC is running into.
*** Bug 129498 has been marked as a duplicate of this bug. ***
A fix for this problem has just been committed to the RHEL3 U4
patch pool this evening (in kernel version 2.4.21-20.5.EL).
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.