도와주세요!!
글 수 15,339
2002.11.14 18:24:13 (*.195.21.129)
11605
잘 안되네요...ㅜㅜ
커널 컴파일 오류 나던거 오늘 겨우.. 원상태로 돌려 놨꾸...
강좌보면서 따라하는데.. 잘 안되네요...
[root@ezboard /root]$ cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "Load+Kernel"
mtd1: 00400000 00020000 "Initrd"
mtd2: 00b00000 00020000 "file System"
[root@ezboard /root]$
이렇게 되어 있습니다...
글구.. 강좌에는
[root@ezboard /root]$ ./eraseall /dev/mtd2
이렇게 하라고 되어 있는데 mtd2가 없지요..
그래서.
[root@ezboard /root]$ mount -t nfs -o nolock 192.168.0.103:/nfs /mnt/nfs
nfs warning: mount version older than kernel
[root@ezboard /root]$ mknod /dev/mtd2 c 90 2
[root@ezboard /root]$ cd /mnt/nfs/
[root@ezboard nfs]$ ./eraseall /dev/mtd2
Erased 4096 Kibyte @ 0 -- 100% complete.
이렇게 했습니다...
mtd0, mtd1은 없는 상태구요..
c 90 2 --> 이거는 예전 답변에서 mtd0, mtd1 만들때 뒤에 붙던건데 걍 붙였
습니다..
혹시 틀렸나요>??
일단 Erased는 100%완료 되구요...
그담 마운트 시키는건데..
여기서 에러가 난단말입니다....
[root@ezboard nfs]$ mkdir /rootdisk
[root@ezboard nfs]$ mount -t jffs2 /dev/mtdblock2 /rootdisk
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000:
0x4897 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004:
0x537c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008:
0x4e95 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c:
0x37e8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010:
0x5496 instead
:
:
:
JFFS2: Erase block at 0x000c0000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b28:
0x6e00 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b2c:
0x2065 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b30:
0x2020 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b34:
0x2020 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b38:
0x2020 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b3c:
0x2020 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b40:
0x2f20 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b44:
0x2f76 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b48:
0x6e00 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b4c:
0x2065 instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x000efc18
You cannot use older JFFS2 filesystems with newer kernels
Old JFFS2 bitmask found at 0x000f8418
You cannot use older JFFS2 filesystems with newer kernels
JFFS2: Erase block at 0x000e0000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101800:
0x3062 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101804:
0x204d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101808:
0x0037 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010180c:
0x1000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101818:
0x6246 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010181c:
0x6f72 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101844:
0x6f6c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101848:
0x686c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010184c:
0x2e74 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101850:
0x6163 instead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00100000 is not formatted. It will be erased
JFFS2: Erase block at 0x00120000 is not formatted. It will be erased
JFFS2: Erase block at 0x00140000 is not formatted. It will be erased
JFFS2: Erase block at 0x00160000 is not formatted. It will be erased
JFFS2: Erase block at 0x00180000 is not formatted. It will be erased
JFFS2: Erase block at 0x001a0000 is not formatted. It will be erased
JFFS2: Erase block at 0x001c0000 is not formatted. It will be erased
JFFS2: Erase block at 0x001e0000 is not formatted. It will be erased
JFFS2: Erase block at 0x00200000 is not formatted. It will be erased
JFFS2: Erase block at 0x00220000 is not formatted. It will be erased
JFFS2: Erase block at 0x00240000 is not formatted. It will be erased
JFFS2: Erase block at 0x00260000 is not formatted. It will be erased
JFFS2: Erase block at 0x00280000 is not formatted. It will be erased
JFFS2: Erase block at 0x002a0000 is not formatted. It will be erased
JFFS2: Erase block at 0x002c0000 is not formatted. It will be erased
JFFS2: Erase block at 0x002e0000 is not formatted. It will be erased
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
mount: wrong fs type, bad option, bad superblock on /dev/mtdblock2,
일부만 카피해 왔습니다.. (끝이 짤린거 같은 찜찜함..ㅡㅡ+)
jffs2에서 절케 에러가 남은 erase가 제대로 안된것이라 하던데...
mknod를 잘못한건가요???
직접 만들라고는 하시면서(게시판에서...) 어떻게 만들라는 말씀이 엄쓰니깐..
그리구 mtd0, mtd1은 필요치 않은가요?
커널 컴파일 오류 나던거 오늘 겨우.. 원상태로 돌려 놨꾸...
강좌보면서 따라하는데.. 잘 안되네요...
[root@ezboard /root]$ cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "Load+Kernel"
mtd1: 00400000 00020000 "Initrd"
mtd2: 00b00000 00020000 "file System"
[root@ezboard /root]$
이렇게 되어 있습니다...
글구.. 강좌에는
[root@ezboard /root]$ ./eraseall /dev/mtd2
이렇게 하라고 되어 있는데 mtd2가 없지요..
그래서.
[root@ezboard /root]$ mount -t nfs -o nolock 192.168.0.103:/nfs /mnt/nfs
nfs warning: mount version older than kernel
[root@ezboard /root]$ mknod /dev/mtd2 c 90 2
[root@ezboard /root]$ cd /mnt/nfs/
[root@ezboard nfs]$ ./eraseall /dev/mtd2
Erased 4096 Kibyte @ 0 -- 100% complete.
이렇게 했습니다...
mtd0, mtd1은 없는 상태구요..
c 90 2 --> 이거는 예전 답변에서 mtd0, mtd1 만들때 뒤에 붙던건데 걍 붙였
습니다..
혹시 틀렸나요>??
일단 Erased는 100%완료 되구요...
그담 마운트 시키는건데..
여기서 에러가 난단말입니다....
[root@ezboard nfs]$ mkdir /rootdisk
[root@ezboard nfs]$ mount -t jffs2 /dev/mtdblock2 /rootdisk
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000:
0x4897 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004:
0x537c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008:
0x4e95 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c:
0x37e8 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010:
0x5496 instead
:
:
:
JFFS2: Erase block at 0x000c0000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b28:
0x6e00 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b2c:
0x2065 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b30:
0x2020 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b34:
0x2020 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b38:
0x2020 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b3c:
0x2020 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b40:
0x2f20 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b44:
0x2f76 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b48:
0x6e00 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0b4c:
0x2065 instead
Further such events for this erase block will not be printed
Old JFFS2 bitmask found at 0x000efc18
You cannot use older JFFS2 filesystems with newer kernels
Old JFFS2 bitmask found at 0x000f8418
You cannot use older JFFS2 filesystems with newer kernels
JFFS2: Erase block at 0x000e0000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101800:
0x3062 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101804:
0x204d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101808:
0x0037 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010180c:
0x1000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101818:
0x6246 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010181c:
0x6f72 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101844:
0x6f6c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101848:
0x686c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010184c:
0x2e74 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00101850:
0x6163 instead
Further such events for this erase block will not be printed
JFFS2: Erase block at 0x00100000 is not formatted. It will be erased
JFFS2: Erase block at 0x00120000 is not formatted. It will be erased
JFFS2: Erase block at 0x00140000 is not formatted. It will be erased
JFFS2: Erase block at 0x00160000 is not formatted. It will be erased
JFFS2: Erase block at 0x00180000 is not formatted. It will be erased
JFFS2: Erase block at 0x001a0000 is not formatted. It will be erased
JFFS2: Erase block at 0x001c0000 is not formatted. It will be erased
JFFS2: Erase block at 0x001e0000 is not formatted. It will be erased
JFFS2: Erase block at 0x00200000 is not formatted. It will be erased
JFFS2: Erase block at 0x00220000 is not formatted. It will be erased
JFFS2: Erase block at 0x00240000 is not formatted. It will be erased
JFFS2: Erase block at 0x00260000 is not formatted. It will be erased
JFFS2: Erase block at 0x00280000 is not formatted. It will be erased
JFFS2: Erase block at 0x002a0000 is not formatted. It will be erased
JFFS2: Erase block at 0x002c0000 is not formatted. It will be erased
JFFS2: Erase block at 0x002e0000 is not formatted. It will be erased
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
mount: wrong fs type, bad option, bad superblock on /dev/mtdblock2,
일부만 카피해 왔습니다.. (끝이 짤린거 같은 찜찜함..ㅡㅡ+)
jffs2에서 절케 에러가 남은 erase가 제대로 안된것이라 하던데...
mknod를 잘못한건가요???
직접 만들라고는 하시면서(게시판에서...) 어떻게 만들라는 말씀이 엄쓰니깐..
그리구 mtd0, mtd1은 필요치 않은가요?