Re: [CSL ] filesystem

作者: LogicLab (202TA)   2007-05-22 08:52:19
感謝。
※ 引述《JAMES299 ()》之銘言:
: 今天做實驗問的兩個小問題,幫助教po上,希望能成為大家的faq
: 1.run linux kernel時顯示can't open console。
: 在解新華提供的filesystem時,忘了使用root權限,會使得一些在filesystem重要的file
: 沒解出來。所以在filesystem的資料夾會少很多檔案。
unable to open initial console是因為 kernel 在開機時
會使用到 /dev/console 這個檔案,而因為它是一個 character special file,
因此解壓縮時若沒有 root 權限將會看到以下的 error:
tar: Error exit delayed from previous errors
有關 kernel 開機流程大家可以參考 (linux source)/init/main.c 這個檔案,
init console 的部份大約在720行左右的地方,
底下還有一些之後的 init process。
: 2.compile arm 的code(hello.c or apps.c)沒加上

Links booklink

Contact Us: admin [ a t ] ucptt.com