近期Linux问题汇总
1.VirtualBox报错
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
解决方法:
下载另一替换版本安装:
8.学校源:
如上图,已实现串口的在linux下的全双工通信。
10.cpu频率设置下载CPU频率控制模块:
cpufreq-set -g {powersave, userspace, ondemand, conservative, performance}对应于{最省电(最低频率),用户控制,最高或最低,正常,最大性能}
选择 2 时,使用 cpufreq-set -f {600~1500}(设置你的频率,使用cpufreq-info可以查看你的cpu支持哪些)
选择 1,3,4,5 的时候在以下范围内自动控制:使用 cpufred-set -d 600M (最低) ,cpufreq-set -u 1.5G (最高)
还有参数 -c 对于多核cpu,c就是cpu的序号,使用cpufreq-info可以查询到。
我的虚拟机一般只使用IE,所以我使用的时候,都是设置最低频率,可以有效的控制cpu温度。
不用这个软件的时候,温度经常超过60, 我限制最低频率后,温度保持39,设置 600M-1.2G的时候,温度控制再50左右,感觉还是不错的。