ubuntu如何更新kernel時加入自訂的module? - Linux

Margaret avatar
By Margaret
at 2008-07-05T00:25

Table of Contents

※ 引述《mosquito520 ( )》之銘言:
: 又因為建議的更新裡面包含了新的kernel,
: 如果裝上去手動安裝的module又要重新安裝=.=
: 所以來問問,
: 有其他比較好的作法可以讓我參考或是指點一下嗎?

用 dkms
然後你的module source裝在 /usr/src 底下
裡頭放個 dkms.conf,選項寫好
再用dkms add的指令把source加入dkms的管理
這樣每次開機時,dkms偵測到新核心沒包含你的module時
它就會馬上編譯好並掛載

--
The 4400 ~ A Place In Time ~ [Amanda Abizaid]

So long ago, another life, I can feel your heartbeat.
It's not a dream, remember us. I can see it in your eyes.
We'll find our place in time, a place in time beyond the sun.
We'll find our place in time, a place in time to call our own.

--
Tags: Linux

All Comments

Mary avatar
By Mary
at 2008-07-07T14:37
哦哦 感謝你的答覆:)

有關.XXXXX.rc 檔的問題

Victoria avatar
By Victoria
at 2008-07-04T23:52
# This is an example resource file for rTorrent. Copy to # ~/.rtorrent.rc and enable/modify the options as needed. Remember to # uncomment the options you ...

rpc error 101

Ursula avatar
By Ursula
at 2008-07-04T23:06
請問在cluster關機時 出現多個rpc error 101訊息 接著關機程序停止 這樣子的話,是跟nfs的設定有關嗎? 該去檢查什麼呢? 謝謝! - ...

Wine下最佳的N64模擬器

Hardy avatar
By Hardy
at 2008-07-04T22:29
Wine下最佳的N64模擬器 Project64k 0.13+ http://www.twbbs.net.tw/1698319.html 這一款N64模擬器有針對Wine稍微修改了一下 稍微修正了遊戲運行時的介面的問題 除了 遊戲運行時無法正常顯示狀態列 及全螢幕的切換有問題 這兩點以外 其他方面都沒什麼 ...

Bibus文獻軟體無法與Openoffice關聯

Hardy avatar
By Hardy
at 2008-07-04T21:45
我在Ubuntu 8.04裡安裝了Bibus軟體準備來跟專題奮鬥 有用Lazybuntu調教過、更新管理員所提示的更新也都安裝了 確定已有正確activate過 但是只要使用Bibus裡Openoffice Tab裏面所有的功能 都會出現couldnand#39;t connect to pipe OOo_p ...

Ubuntu in EeePc? MSI windPC?

Puput avatar
By Puput
at 2008-07-04T21:26
各位前輩大家好, 小弟我剛入手ubuntu 8.04才一個多月。 我是把os安裝在我原本的notebook上, 是一臺2002年買的presarion 2800 CPU intel 1.6GHz Ram 768MB Video card: ATI radeon-M 7500 在跑Ubuntu時,跑ope ...