> I've finally managed to reproduce the DMA error reliably and quickly
> using the following shell script on my dual AMD:
>
> #!/bin/sh
> cd /sys/devices/system/cpu
> echo userspace >cpu0/cpufreq/scaling_governor
> echo userspace >cpu1/cpufreq/scaling_governor
> while true; do \
>         echo 2200000 >cpu0/cpufreq/scaling_setspeed; \
>         echo 2200000 >cpu1/cpufreq/scaling_setspeed; \
>         sleep 0.3; \
>         echo 1000000 >cpu0/cpufreq/scaling_setspeed; \
>         echo 1000000 >cpu1/cpufreq/scaling_setspeed; \
>         sleep 0.3; \
> done
>
> For some reason powernowd triggers the bug only very rarely, but this
> shell script is very effective.
>
Thanks for the script. I got "dmabug.sh: line 9:
cpu0/cpufreq/scaling_setspeed: Permission denied" errors when I tried
that as root so I guess I'll have to dig a little deaper into my
kernel config to see why this is happening.

John

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to