Bug 12197 - System freeze with Speedstep enabled - ASRock 775dual-880Pro - VIA PT880 Pro
Summary: System freeze with Speedstep enabled - ASRock 775dual-880Pro - VIA PT880 Pro
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Processor (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-11 01:05 UTC by Dome
Modified: 2009-08-29 18:26 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.27.5
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
log of acpidump and Speedstep enabled (73.07 KB, application/octet-stream)
2008-12-11 11:53 UTC, Dome
Details
cpuinfo (1.19 KB, text/plain)
2008-12-13 02:13 UTC, Dome
Details
dmesg (32.32 KB, application/octet-stream)
2008-12-13 02:14 UTC, Dome
Details
grep cpufreq (1.06 KB, application/octet-stream)
2008-12-13 02:15 UTC, Dome
Details
lspci (1.89 KB, text/plain)
2008-12-13 02:15 UTC, Dome
Details
acpidump stbl0 (739 bytes, application/octet-stream)
2008-12-15 11:40 UTC, Dome
Details
acpidump stbl1 (730 bytes, application/octet-stream)
2008-12-15 11:40 UTC, Dome
Details

Description Dome 2008-12-11 01:05:09 UTC
Latest working kernel version: 2.6.18
Earliest failing kernel version:
Distribution: Fedora 10
Hardware Environment: ASRock 775dual-880Pro - VIA PT880 Pro
Software Environment:
Problem Description:
After a few minutes the system freezes. With acpi=off the system behaves as normal but without scaling cpu frequency. I can use it with ACPI but disabling Speedstep on my BIOS (again, no scaling).
With kernel 2.6.18 I have no freezes but the frequency doesn't scale down.
I've the same problem with Ubuntu, with or without the NVidia modules.

Steps to reproduce: Boot a system with kernel > 2.6.18, after a few minutes (varying) the system freezes
Comment 1 ykzhao 2008-12-11 01:59:29 UTC
will you please boot the syste with acpi disabled and attach the output of acpidump? (The speedstep should be enabled in BIOS).
    Will you please try the following boot options with ACPI enabled and see whether the system still freezes? (The speedstep should be enabled in BIOS).
    a. idle=poll
    b. processor.max_cstate=1
    
    Thanks.
Comment 2 Dome 2008-12-11 11:53:15 UTC
Created attachment 19254 [details]
log of acpidump and Speedstep enabled

BIOS Speedstep enabled.
kernel option: acpi=off
command: acpidump -o acpidump.log

now i try with idle=off and the processor.max_cstate=1 options
Comment 3 Dome 2008-12-11 13:21:49 UTC
a. idle=poll               ---> system freeze
b. processor.max_cstate=1  ---> system freeze
Comment 4 Zhang Rui 2008-12-11 18:39:21 UTC
please attach the result of "grep . /sys/devices/system/cpu/cpu0/cpufreq/*"
please attach the lspci and acpidump output.
please clear CONFIG_CPU_FREQ, rebuild the kernel and see if it helps.
Comment 5 Dome 2008-12-12 00:06:42 UTC
log of acpidump already posted: kernel boot command acpi=off, BIOS with speedstep enabled
Comment 6 Len Brown 2008-12-12 13:25:20 UTC
With ACPI and cpufreq enabled,
please paste the output of this command sequence:

# cd /sys/devices/system/cpu
# grep . */cpufreq/*

also. please attach the output from 
$ dmesg -s64000

and paste the output from
$ cat /proc/cpuinfo
Comment 7 Dome 2008-12-13 02:13:42 UTC
Created attachment 19272 [details]
cpuinfo
Comment 8 Dome 2008-12-13 02:14:31 UTC
Created attachment 19273 [details]
dmesg
Comment 9 Dome 2008-12-13 02:15:01 UTC
Created attachment 19274 [details]
grep cpufreq
Comment 10 Dome 2008-12-13 02:15:18 UTC
Created attachment 19275 [details]
lspci
Comment 11 Zhang Rui 2008-12-14 18:10:11 UTC
what will happen if you set the cpu frequency manually?
i.e. does the system freeze if you "echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"?

please run
"acpidump --addr 0x3ffb4130 --length 0x2e3 -o stbl0"
"acpidump --addr 0x3ffb4420 --length 0x2da -o stbl1"
and attach the stbl0 and stbl1 here.
Comment 12 Dome 2008-12-15 11:40:21 UTC
Created attachment 19312 [details]
acpidump stbl0
Comment 13 Dome 2008-12-15 11:40:40 UTC
Created attachment 19313 [details]
acpidump stbl1
Comment 14 Dome 2008-12-15 11:42:50 UTC
I've put cpu0 and cpu1 on "performance" (e.g. 3GHz) and the system is still alive.
Comment 15 Zhang Rui 2008-12-15 22:31:18 UTC
does it freeze after a few minutes?
what if you put the cpus to "userspace" and set the frequency to 2.8G?
does it freeze after a few minutes?
if both of them freeze, please clear CONFIG_CPU_FREQ, rebuild the kernel and see if it can be reproduced.
Comment 16 Dome 2008-12-19 06:26:34 UTC
no freeze with performance or userspace
I've put it on userspace and "echo 2800000" on all cpus and the system is still usable.
Comment 17 ykzhao 2008-12-29 00:11:12 UTC
Hi, Dome
    Does the system still freeze if the system is booted with "maxcpus=1"?
    Thanks.
Comment 18 Dome 2009-01-12 05:34:26 UTC
Hi.
with maxcpus=1 the system is usable.
Comment 19 Zhang Rui 2009-05-25 08:21:19 UTC
does the problem still exist in the latest git kernel?
say 2.6.30-rc7

If yes, would you please use the usespace governor and set one cpu to 2800000 and another to 3000000 and see if the problem can be reproduced?
Comment 20 Zhang Rui 2009-06-19 03:45:37 UTC
no response from the bug reporter.
please re-open this bug if the problem still exists in the latest git kernel.

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