4G짜리 SDHC카드를 샀습니다.

그래서 리더기에 넣고,

#!/bin/sh
if [ -d /sys/bus/mmc/devices/mmc0:0260 ]; then
        mknod /dev/mmcblk0 b 179 0
        mknod /dev/mmcblk0p1 b 179 1
        mount -t vfat /dev/mmcblk0p1 /mnt/mmc
fi
이런식으로 스크립트를 짜서 인식 시킨면,

FAT: Invalid FSINFO signature: 0xffffffff, 0xffffffff (sector = 1)

이런식의 에러를 발생하고

/mnt/mmc 에 아무 파일이나 디렉토리를 생성 하고 나면

mmcblk0: error -84 transferring data
mmc0: Unexpected interrupt 0x02000000.
mmcblk0: error -84 transferring data

라는 메시지를 발생시키고.. 수시로 발생시킵니다.

또한, umount를 시키면 맨 아래와 같은 에러 메시지를 발생 시킵니다..

다시 mount시키면 생성했던것들은 다 사라져있습니다..ㅠㅠ

왜 그런건가요..?

그리고,위에 mknod로 디바이스생성한이윤 메이저번호에맞는디바이스가 없어서 생성을 하였는데..

그것때문에 그런건가요..?ㅠㅠ

답변좀 꼭좀 부탁드립니다..

아참 그리고 df -k 해서 보면

/dev/mmcblk0p1         3947200       160   3947040   0% /mnt/mmc

이런식으로 인식은 되어있고,

fdisk -l /dev/mDisk /dev/mmcblk0: 4051 MB, 4051697664 bytes


mcblk0 로 보면 이렇습니다.
128 heads, 63 sectors/track, 981 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1               2         981     3951296   b Win95 FAT32


---------------umount 에러 발생 내용--------------

mmcblk0: error -84 transferring data                     
mmc0: Unexpected interrupt 0x02000000.                                         
end_request: I/O error, dev mmcblk0, sector 16448                              
__ratelimit: 53 callbacks suppressed                                           
Buffer I/O error on device mmcblk0p1, logical block 8256                       
lost page write due to I/O error on mmcblk0p1                                  
end_request: I/O error, dev mmcblk0, sector 16449                              
Buffer I/O error on device mmcblk0p1, logical block 8257                       
lost page write due to I/O error on mmcblk0p1                                  
end_request: I/O error, dev mmcblk0, sector 16450                              
Buffer I/O error on device mmcblk0p1, logical block 8258                       
lost page write due to I/O error on mmcblk0p1                                  
end_request: I/O error, dev mmcblk0, sector 16451                              
Buffer I/O error on device mmcblk0p1, logical block 8259                       
lost page write due to I/O error on mmcblk0p1                                  
end_request: I/O error, dev mmcblk0, sector 16452                              
Buffer I/O error on device mmcblk0p1, logical block 8260                       
lost page write due to I/O error on mmcblk0p1                                  
end_request: I/O error, dev mmcblk0, sector 16453                              
Buffer I/O error on device mmcblk0p1, logical block 8261                       
lost page write due to I/O error on mmcblk0p1                                  
end_request: I/O error, dev mmcblk0, sector 16454                              
Buffer I/O error on device mmcblk0p1, logical block 8262                       
lost page write due to I/O error on mmcblk0p1                                  
end_request: I/O error, dev mmcblk0, sector 16455                              
Buffer I/O error on device mmcblk0p1, logical block 8263                       
lost page write due to I/O error on mmcblk0p1                                  
end_request: I/O error, dev mmcblk0, sector 16456                              
Buffer I/O error on device mmcblk0p1, logical block 8264                       
lost page write due to I/O error on mmcblk0p1                                  
end_request: I/O error, dev mmcblk0, sector 16457                              
Buffer I/O error on device mmcblk0p1, logical block 8265                       
lost page write due to I/O error on mmcblk0p1                                  
end_request: I/O error, dev mmcblk0, sector 16458                              
end_request: I/O error, dev mmcblk0, sector 16459                              
end_request: I/O error, dev mmcblk0, sector 16460                              
end_request: I/O error, dev mmcblk0, sector 16461                              
end_request: I/O error, dev mmcblk0, sector 16462                              
end_request: I/O error, dev mmcblk0, sector 16463                              
end_request: I/O error, dev mmcblk0, sector 16464                              
end_request: I/O error, dev mmcblk0, sector 16465                              
end_request: I/O error, dev mmcblk0, sector 16466                              
end_request: I/O error, dev mmcblk0, sector 16467                              
end_request: I/O error, dev mmcblk0, sector 16468                              
end_request: I/O error, dev mmcblk0, sector 16469                              
end_request: I/O error, dev mmcblk0, sector 16470                              
end_request: I/O error, dev mmcblk0, sector 16471                              
end_request: I/O error, dev mmcblk0, sector 16472                              
end_request: I/O error, dev mmcblk0, sector 16473                              
end_request: I/O error, dev mmcblk0, sector 16474                              
end_request: I/O error, dev mmcblk0, sector 16475                              
end_request: I/O error, dev mmcblk0, sector 16476                              
end_request: I/O error, dev mmcblk0, sector 16477                              
end_request: I/O error, dev mmcblk0, sector 16478                              
end_request: I/O error, dev mmcblk0, sector 16479                              
end_request: I/O error, dev mmcblk0, sector 16480                              
end_request: I/O error, dev mmcblk0, sector 16481                              
end_request: I/O error, dev mmcblk0, sector 16482                              
end_request: I/O error, dev mmcblk0, sector 16483                              
end_request: I/O error, dev mmcblk0, sector 16484                              
end_request: I/O error, dev mmcblk0, sector 16485                              
end_request: I/O error, dev mmcblk0, sector 16486                              
end_request: I/O error, dev mmcblk0, sector 16487                              
end_request: I/O error, dev mmcblk0, sector 16488                              
end_request: I/O error, dev mmcblk0, sector 16489                              
end_request: I/O error, dev mmcblk0, sector 16490                              
end_request: I/O error, dev mmcblk0, sector 16491                              
end_request: I/O error, dev mmcblk0, sector 16492                              
end_request: I/O error, dev mmcblk0, sector 16493                              
end_request: I/O error, dev mmcblk0, sector 16494                              
end_request: I/O error, dev mmcblk0, sector 16495                              
end_request: I/O error, dev mmcblk0, sector 16496                              
end_request: I/O error, dev mmcblk0, sector 16497                              
end_request: I/O error, dev mmcblk0, sector 16498                              
end_request: I/O error, dev mmcblk0, sector 16499                              
end_request: I/O error, dev mmcblk0, sector 16500                              
end_request: I/O error, dev mmcblk0, sector 16501                              
end_request: I/O error, dev mmcblk0, sector 16502                              
end_request: I/O error, dev mmcblk0, sector 16503                              
end_request: I/O error, dev mmcblk0, sector 16504                              
end_request: I/O error, dev mmcblk0, sector 16505