PeterW 发表于 2015-3-2 21:16:37

nand magic does not match for MBR

請問我是用 CB 的 cubian 版本 , 用 sudo cubian-nandinstall 將系統安裝至 nand 中 , 再修改一下 uEnv.txt 改 root=/dev/nandb

後 reboot 使用上一切正常 , 但我用 CB2 上之 TTL port 開機觀查發現出現一段訊息怪怪的 , 雖然使用上完全沒有問題 , 但我還是上網找了一下用以下指令可以檢查出訊息

dmesg | grep -i nand

列出以下訊息
[    0.000000] Kernel command line: console=tty0 root= loglevel=8 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1920x1080p60 root=/dev/nandb rootwait panic=10 consoleblank=0
[    2.510890] nand driver version: 0x2 0x9
[    2.559542] Dev Sunxi softw311 nand magic does not match for MBR 1: softw411
[    2.572632] Dev Sunxi softw311 nand magic does not match for MBR 2:
[    2.585699] Dev Sunxi softw311 nand magic does not match for MBR 3:
[    2.598763] Dev Sunxi softw311 nand magic does not match for MBR 4:
[    2.613553] Dev Sunxi softw311 nand header bad for all MBR copies, MBR corrupted or not present.
[    2.631427] Dev Sunxi softw411 nand: part 1, start 128, size 2048
[    2.642971] Dev Sunxi softw411 nand: part 2, start 2176, size 7780224
[    2.651435]nand: nanda nandb
[    2.657427] nand driver, ok.
[   16.916846] EXT3-fs (nandb): error: couldn't mount because of unsupported optional features (240)
[   16.948350] EXT2-fs (nandb): error: couldn't mount because of unsupported optional features (240)
[   16.986523] EXT4-fs (nandb): mounted filesystem with writeback data mode. Opts: (null)
[   22.581587] EXT4-fs (nandb): re-mounted. Opts: (null)
[   30.769696] EXT4-fs (nandb): re-mounted. Opts: commit=10


有關於 Dev Sunxi softw311 nand header bad for all MBR copies, MBR corrupted or not present 是什麼意思 ,

是我的 nand 已經有損壞了嗎 ? , 如果是 ! , 在不重新安裝系統前提下 , 是否有方法修復 ? , 謝謝 !!

另外的有些 CB2 安裝完 cubian 後 , 使用一段時間發現原本用 sdcard 安裝至 nand 後 , ext4 之 journal 是 disable 的 , 為了安全起見我用 sudo tune2fs -O has_journal /dev/nandb 開啟 nandb 之 journal 功能是OK的 ,
但有些已經用了1年的 CB2 用 sudo debugfs -R features /dev/nandb 檢查是否有開啟 journal 系統一直回應Bad magic number in super-block , 所以一直無法重新啟用 journal , 有先進可以指導我一下嗎 ? , 謝謝 !!



PeterW 发表于 2015-3-6 20:14:51

1年前的 cubian 系統是安裝在 nandc , 所以 sudo debugfs -R features /dev/nandb , 改為 sudo debugfs -R features /dev/nandc 就正常了

另外1年前的 cubian 安裝完後 , 預設是有開啟 journal 的 , 不知從什麼時候改為 disable journal ?

有需要者最好用上述指令來查一下比較好 !!
页: [1]
查看完整版本: nand magic does not match for MBR