richliu's blog

Linux, 工作, 生活.

richliu's blog header image 4

Linux Kernel 不支援 Floating Pointer

四月 8th, 2010 · No Comments

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 [...]

[Read more →]

Tags: Linux

Linux kernel printk 參數.

三月 9th, 2010 · No Comments

Kernek printk 參數預設如下

Tags: linux kernel, printk

[Read more →]

Tags: Linux

Debugfs

一月 20th, 2010 · No Comments

以前都習慣用 printk 和 /proc 做輸入輸出的動作, 不過 debugfs 看起來是 User space 和 kernel space 交流更好的選擇.

Tags: debugfs, kernel, linux kernel

[Read more →]

Tags: Linux

[Linux][Kernel][Memory] smbd: page allocation failure. order:2, mode:0×20

十二月 11th, 2009 · No Comments

如果啟動了 Jumbo Frame 加上執行 Samba , 有可能會出現類似的訊息(系統抓下來似乎有點不全)

Tags: Jumbo Frame, Linux, linux kernel, memory, samba

[Read more →]

Tags: Embedded · Linux