Skip to contentSkip to conversation

Random lockups, no kernel panic just a compleate hang

Bug 6382 [email protected] 1 participant 1 message Apr 17, 2006

lore
Share & tools
lore
#0 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=6382

------- Additional Comments From [email protected] 2006-04-17 05:52 ------- First of all: This bug does not depend from sata_nv (computer lockups without any ATA driver)

Steps to reproduce lockups:
1. (optional) boot to init level 1
2. modprobe cpufreq_userspace
modprobe powernow_k8
3. cd /sys/devices/system/cpu/cpu0/cpufreq
3. echo userspace > scaling_governor
4. while true; do echo 800000 > scaling_setspeed; sleep 4; echo 1800000 > scaling_setspeed; sleep 4; done

Notebook will be hang in any way after few changes of frequency.

Bug is at:
powernow-k8.c ->
Phase 3 (function core_voltage_post_transition) -> function write_new_vid -> wrmsr(MSR_FIDVID_CTL, lo, STOP_GRANT_5NS);

Switching from 800000 kHz to 1800000 kHz all time goes fine!
But in same cases switching from 1800000 kHz to 800000 kHz bring to compleate hang.

Also I mentioned strange behaviour:
If put printk("..."); right after wrmsr() no more lockups. (say: dmesg -n 9 on console).

And last:
If define STOP_GRANT_5NS as 50000 (10 msec on 500 MHz bus) computer will be locked at first switching from 1800000 kHz to 800000 kHz.

------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.