I was trying to install an innocent little ipk, but got
mkdir: Cannot create directory `//home/tmp/ipkg/jgps/data': Input/output error
This occurs while ipkg is unpacking the ipk file. From inspection of the ipkg script, it creates the control directory (which is there), and then creates the data directory.
However, if I first create a directory /home/tmp/junk, then try the install again, I get the same failure but this time on the control directory. So I assume there's a problem with the file system, which is in the flash.
I tried rebooting and then resetting, in the hope that one of them would cause a check to be run, but it didn't help. If I run df on /dev/mtdblock3, it says it's only 47% full so I assume it's not a space issue.
There's no fsck.jffs2 in /sbin, so I'm not sure what to try next. Does anyone have any ideas?
TIA