Bug 11166 - system freeze unless processor.max_cstate=1 - Clevo M720S
Summary: system freeze unless processor.max_cstate=1 - Clevo M720S
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Processor (show other bugs)
Hardware: All Linux
: P1 blocking
Assignee: Venkatesh Pallipadi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-26 06:31 UTC by yannis
Modified: 2008-11-21 02:18 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.24-19-generic, 2.6.27
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
DSDT (130.47 KB, application/octet-stream)
2008-07-26 06:36 UTC, yannis
Details
acpidump (103.31 KB, application/octet-stream)
2008-07-27 08:19 UTC, yannis
Details
no options --> freeze (492.25 KB, image/jpeg)
2008-07-27 15:19 UTC, yannis
Details
noapic --> freeze (452.90 KB, image/jpeg)
2008-07-27 15:20 UTC, yannis
Details
dmesg with option nosmp (1 cpu detected) (29.77 KB, text/plain)
2008-07-27 15:21 UTC, yannis
Details
dmesg with option nmi_watchdog=1 (2 cpu detected) (29.99 KB, text/plain)
2008-07-27 15:22 UTC, yannis
Details
crash with option nmi_watchdog=2 (403.44 KB, image/jpeg)
2008-07-27 15:23 UTC, yannis
Details
dmesg with nmi_watchdog=0 noapic maxcpus=1 (28.55 KB, text/plain)
2008-08-05 10:31 UTC, yannis
Details
dmesg with nolapic_timer maxcpus=1 (27.53 KB, text/plain)
2008-08-05 10:32 UTC, yannis
Details
dmesg with nolapic_timer (28.32 KB, text/plain)
2008-08-05 10:33 UTC, yannis
Details
dmesg with idle=poll (28.23 KB, application/octet-stream)
2008-08-05 23:55 UTC, yannis
Details
here is the screen when using acpi=off (341.75 KB, image/jpeg)
2008-08-07 11:47 UTC, yannis
Details
dmesg of last kernel (32.46 KB, text/plain)
2008-08-14 16:08 UTC, yannis
Details
acpidump output (949 bytes, application/x-gzip)
2008-08-14 16:14 UTC, yannis
Details
Hi , processor.max_cstate=2 WORKS (34.10 KB, text/plain)
2008-08-29 00:13 UTC, yannis
Details

Description yannis 2008-07-26 06:31:55 UTC
Latest working kernel version:?
Earliest failing kernel version:?
Distribution: UBUNTU 8.04
Hardware Environment: Laptop Clevo M720S
Software Environment:
Problem Description:

Kernel freeze without nosmp option


Steps to reproduce: boot with live CD
Comment 1 yannis 2008-07-26 06:36:50 UTC
Created attachment 16989 [details]
DSDT

i put some trace in the DSDT and found that kernel was freezing when calling \_SB.PCI0.LPC.EC.ECOK .

but what does it have to do with SMP ?
Comment 2 ykzhao 2008-07-27 05:45:49 UTC
Will you please attach the output of acpidump?
Will you please try the boot option of "noapic" and see whether the system can be booted?

It will be great if you can capture the picture of the screen and attach it when the system freezes.
Comment 3 yannis 2008-07-27 08:19:50 UTC
Created attachment 17000 [details]
acpidump
Comment 4 yannis 2008-07-27 15:19:19 UTC
Created attachment 17004 [details]
no options  --> freeze
Comment 5 yannis 2008-07-27 15:20:11 UTC
Created attachment 17005 [details]
noapic --> freeze
Comment 6 yannis 2008-07-27 15:21:19 UTC
Created attachment 17006 [details]
dmesg  with option nosmp  (1 cpu detected)
Comment 7 yannis 2008-07-27 15:22:15 UTC
Created attachment 17007 [details]
dmesg  with option nmi_watchdog=1  (2 cpu detected)
Comment 8 yannis 2008-07-27 15:23:17 UTC
Created attachment 17008 [details]
crash with option nmi_watchdog=2
Comment 9 Zhang Rui 2008-07-27 18:48:59 UTC
could you please try boot option "processor.max_cstate=1"?
Comment 10 yannis 2008-07-27 23:46:56 UTC
processor.max_cstate=1  had no effect (same screen when no option)

Thanks for your support.
Comment 11 yannis 2008-08-01 23:34:35 UTC
what can i do now ?
Comment 12 ykzhao 2008-08-03 22:40:48 UTC
Will you please try the boot option of "noapic nmi_watchdog=0 maxcpus=1" ?

Will you please try the boot option of "nolapic_timer maxcpus=1" and see whether the system can be booted?
Comment 13 yannis 2008-08-05 10:31:36 UTC
Created attachment 17092 [details]
dmesg with nmi_watchdog=0 noapic maxcpus=1
Comment 14 yannis 2008-08-05 10:32:47 UTC
Created attachment 17093 [details]
dmesg with nolapic_timer maxcpus=1
Comment 15 yannis 2008-08-05 10:33:55 UTC
Created attachment 17094 [details]
dmesg with nolapic_timer
Comment 16 ykzhao 2008-08-05 20:41:12 UTC
Thanks for the info.
It seems that the system can be booted normally after adding the boot option of "nolapic_timer" or "nmi_watchdog=0".
Will you please try the boot option of "idle=poll" and see whether the system can be booted? If it hangs, please capture the picture of the screen.

Will you please try the boot option of "nmi_watchdog=0"? It is unnecessary to add the option of "nolapic_timer maxcpus=1".

thanks.
Comment 17 Shaohua 2008-08-05 22:24:33 UTC
How about disabling acpi with acpi=off?
Comment 18 yannis 2008-08-05 23:55:49 UTC
Created attachment 17100 [details]
dmesg with idle=poll

can boot
Comment 19 yannis 2008-08-06 00:00:53 UTC
nmi_watchdog=0 can not boot (see the no option -> freeze picture)

acpi=off can not boot : freeze after enable TIMERS
Comment 20 yannis 2008-08-07 11:47:37 UTC
Created attachment 17129 [details]
here is the screen when using acpi=off
Comment 21 ykzhao 2008-08-13 18:32:10 UTC
Hi, Yannis
    Will you please try the boot option of "idle=nomwait" on the latest kernel(For example: 2.6.27-rc2) and see whether the problem still exists?
    As the processor driver is compiled as the module, the boot option of "processor.max_cstate=1" will have no effect. Will you please compile it as built-in module and try the boot option of "processor.max_cstate=1" again?
  
    Please attach the following output:
    acpidump --addr 0x77D961D2 --length 0x26f -o CPU0IST
    acpidump --addr 0x77D96441 --length 0x1EB -o cpu1ist
    acpidump --addr 0x77D95C35 --length 0x518 -o cpu0cst
    acpidump --addr 0x77D9614D --length 0x85  -o cpu1cst
         
    Thanks.
Comment 22 yannis 2008-08-14 16:08:41 UTC
Created attachment 17251 [details]
dmesg of last kernel

Testing With the kernel 2.6.27 RC3
idle=nomwait did not work
processor.max_cstate=1 works
Comment 23 yannis 2008-08-14 16:14:48 UTC
Created attachment 17252 [details]
acpidump output
Comment 24 Len Brown 2008-08-22 10:55:19 UTC
> processor.max_cstate=1 works

thanks, please also try processor.max_cstate=2?

nolapic_timer is also a workaround, this is likely
related to the C3 lapic timer workaround.
Comment 25 yannis 2008-08-29 00:13:50 UTC
Created attachment 17523 [details]
Hi , processor.max_cstate=2 WORKS
Comment 26 ykzhao 2008-09-04 23:52:02 UTC
Hi, Yannis
    Will you please try the latest vanila kernel(2.6.27-rc5) and see whether the problem still exists?
   Don't add the boot option of "nolapic_timer" or "processor.max_cstate".
   thanks.
Comment 27 yannis 2008-09-06 02:14:22 UTC
2.6.27-rc5 FREEZE 
Comment 28 Shaohua 2008-09-09 23:36:50 UTC
does the freeze occur in text mode (eg, not in X)?
Comment 29 yannis 2008-09-10 00:35:47 UTC
yes in text mode during boot 
Comment 30 yannis 2008-09-10 09:00:26 UTC
but something has change since 2.6.24 .
it's doing more things before freeze ...
i don't see ACPI exceptions anymore .

i also tried Mandriva 2009 RC1 , it freeze when starting udev 

do you want screenshots ?
Comment 31 Shaohua 2008-10-14 23:53:04 UTC
can you try latest kernel? there are a lot of time/c-state related changes recently.
Comment 32 Zhang Rui 2008-11-16 23:29:30 UTC
no response from the bug reporter.
yannis,
please re-open it if the problem still exists in the latest kernel release.
Comment 33 benji 2008-11-21 02:18:00 UTC
Problem still Exists on an Nexoc E622, whats an Clevo or Mitac...

No start available until i gave nolapic...but after that, one processor and no Powermanagement, sorry for the bad english...Iam not experienced in all of that error things, but tell me what to do, because the book isnt useable !

Note You need to log in before you can comment on or make changes to this bug.