問題1, 使用jffs2文件系統:
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "fonts" (ino #13) of dir ino #4 appears to be a hard link
VFS: Mounted root (jffs2 filesystem).
Freeing unused kernel memory: 304k freed
Warning: unable to open an initial console.
Failed to execute /linuxrc. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
原因: Flash沒有erase徹底.
問題2, 使用cramfs時出錯:
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 304k freed
Error -3 while decomPRessing!
804878c4(1884)->81200000(16384)
Failed to execute /linuxrc. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
原因: 沒有仔細看 mkfs.cramfs 的手冊, 需要指定-b參數, 大小與PAGE_SIZE一樣 (查看.config文件 CONFIG_PAGE_SIZE_16KB=y).
問題3 :
Kernel panic - not syncing: Attempted to kill init!
原因: 應該是/etc/fstab 之類的文件沒有,重做文件系統后OK
問題4, 一直提示找不到/dev/tty2-4, 按下[Enter]后死機:
VFS: Mounted root (jffs2 filesystem).
Freeing unused kernel memory: 304k freed
init started: BusyBox v1.12.1 (2008-10-13 13:37:42 CST)
starting pid 696, tty '': '/etc/init.d/rcS'
cannot run '/etc/init.d/rcS': No such file or directory
can't open /dev/tty2: No such file or directory
can't open /dev/tty3: No such file or directory
can't open /dev/tty4: No such file or directory
process '-/bin/sh' (pid 698) exited. Scheduling for restart.
process '-/bin/sh' (pid 699) exited. Scheduling for restart.
新聞熱點
疑難解答