最好的方式應該是這一篇文章
不要再用什麼 fakeroot 去編了, 失敗率超高, 尤其是在 ARM 平台
https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
Read more »
最好的方式應該是這一篇文章
不要再用什麼 fakeroot 去編了, 失敗率超高, 尤其是在 ARM 平台
https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
Read more »
Ubuntu 16.04 當 VMWARE Guest OS 時, 如果 Host 有兩個螢幕, Guest 是沒有辦法切二個螢幕的.
看起來是 Ubuntu 16.04 用的 4.4.0 Kernel 有問題, 個人測試是升級到 4.8.11 就可以了.
到 4.8.11 Mainline Kernel 下載你要的 Kernel 版本
我是用這三個
linux-headers-4.8.11-040811_4.8.11-040811.201611260431_all.deb linux-headers-4.8.11-040811-generic_4.8.11-040811.201611260431_amd64.deb linux-image-4.8.11-040811-generic_4.8.11-040811.201611260431_amd64.deb |
安裝 Kernel
$ sudo dpkg -i *.deb |
安裝完畢之後 reboot
如果第二個螢幕有滑鼠對不齊的問題(mouse alignment problem), 要到 VMware Preferences 內的 Input , Optimize mouse for games 選 Always .
這時候要切出 VMware 時就要用 Ctrl + Alt 鍵.
Ref:
Linux – Cycle Multiple Monitors doesn’t complete correctly. #74
Mouse Pointer Alignment Problem with Ubuntu on VMWare
http://lkml.indiana.edu/hypermail/linux/kernel/0405.3/1608.html
Floating point is forbidden in kernel code since the floating point
registers (and other floating point context) is not saved/restored
during system calls, for efficiency. I’m speculating here, but it
might be possible to manually save the floating point context while
doing some floating point operations. The problem arises if this code
is interrupted midway. Using a preemptive 2.6 kernel would easily
break here.
如果是這樣, 那就 Mask IRQ, 做完再 unmask 掉. 不知道可不可行.
以前都習慣用 printk 和 /proc 做輸入輸出的動作, 不過 debugfs 看起來是 User space 和 kernel space 交流更好的選擇.
Read more »
近期留言