開發過程中,遇到的kernel bug彙總
-
中斷響應不及時,中斷信號丟失
使用request_threaded_irq代替request_irq
參考博文:https://blog.csdn.net/mcsbary/article/details/103728816 -
BUG: scheduling while atomic
BUG: scheduling while atomic 分析
BUG: scheduling while atomic經典bug -
延時不正確,cpu佔用率很高
Linux kernel 內核延時函數 -
Unknown symbol
加載內核模塊-Unknown symbol錯誤分析