Bugzilla – Bug 7504
Text files inside SD card became read only. Unable to chomd at all.
Last modified: 2008-03-13 15:49:27 UTC
Jive FW Version: 7 r2100 Steps to Reproduce: 1. Have an SD card inside the jive. 2. Use Putty to conect to Jive's OS. 3. Create a few txt files inside SD card and write something into them. 4. Update to 7 r2100. 5. Perform factory reset on Jive. 6. Go into SD card again, and try to write something on those text files. 7. Notice the files are read only - -rwxr-xr-x. 8. Try chmod 777 on these files. 9. Notice the files do not take it. 10. Try sudo chmod 777. 11. Notice jive does not know about sudo.
This user was running tests scripts to wrote to test logs inside the SD card. Now, those io commands need to be commented out before the scripts can be run.
Just updated the FW to 7.0.1 r2106. Still unable to write to those log files. In fact, unable to create and save a new text file using vi. Something like: vi NewFile.txt Esc, i Johny Johny Esc, :, w Get a warning this is a read only file system. Just checked. SD card is not physically locked.
try formatting the sdcard as a workaround. I've had a few show up as corrupt over time, and I have to reformat.
These lines are the only ones found concerning SD card during reboot: Mounting MMC/SD card (partition 1) Starting syslogd (to mmc) Enabling core files (to mmc) These lines are from mount command: rootfs on / type rootfs (rw) /dev/root on / type cramfs (ro) none on /proc type proc (rw) none on /sys type sysfs (rw) mdev on /dev type ramfs (rw) devpts on /dev/pts type devpts (rw) /dev/mtdblock/2 on /mnt/storage type jffs2 (rw,noatime) / on / type mini_fo (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) ramfs on /tmp type ramfs (rw) ramfs on /var type ramfs (rw) /dev/mmcblk0p1 on /mnt/mmc type vfat (ro,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1) These lines are from df command: # df Filesystem 1k-blocks Used Available Use% Mounted on /dev/mtdblock/2 20216 20216 0 100% /mnt/storage / 20216 20216 0 100% / /dev/mmcblk0p1 994944 13936 981008 1% /mnt/mmc
Hi, KDF, Reformatting the SD card works. Now my script is running while writting to a log file in the SD card. Thank you very much. You are very helpful. If something like this happens with customer, the work around is easy enough. Closing this bug.
Script is still running fine. Closing.