OESF Portables Forum

General Forums => General Discussion => Topic started by: Meanie on October 17, 2005, 06:55:30 am

Title: Jffs2 Kernel Parameter
Post by: Meanie on October 17, 2005, 06:55:30 am
a crc error creeped up on the jffs2 partition of my c3100 and i could not find a way to get rid of it so i got desperate and restored from backup.
this got rid of the crc error but created many inode errors instead.
then i discovered  the kernel command line:

console=ttyS0 root=/dev/mtdblock2 mtdparts=sharpsl-nand:7168k@(smf),32768@7168k(root),-(home) jffs2_orphaned_inodes=delete EQUIPMENT=4 LOGOLANG=1 DEFYEAR=2006 LOGO=1 LAUNCH=q

this appears to have fixed the many hundreds of inode errors i had after restoring the backup, except for 3 of them. there is still 3 of them left and no matter how many times i reboot it, they dont want to go away. is there any other kernel options regarding the inodes?
i used to have about 20 of them after flashing testsu's special kernel (but maybe they had always been there but just weren't visible due to the ugly sharp screen covering them up) but now its only 3 left. it definately is an improvement but i want to get rid of all of them.  anyone know how?
Title: Jffs2 Kernel Parameter
Post by: Hrw on October 17, 2005, 08:24:37 am
check flash for badblocks - maybe you have 3 which appear as jffs2 errors?
Title: Jffs2 Kernel Parameter
Post by: Meanie on October 17, 2005, 10:15:40 am
Quote
check flash for badblocks - maybe you have 3 which appear as jffs2 errors?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99707\"][{POST_SNAPBACK}][/a][/div]

how do you check the flash for bad blocks and if you find some, how to fix them? there doesn't seem to be a fsck.jffs2    what would be an alternate command to check a jffs2 filesystem/partition?
Title: Jffs2 Kernel Parameter
Post by: Hrw on October 18, 2005, 06:02:42 am
Service menus have an option to find badblocks.

And they are not fixable.
Title: Jffs2 Kernel Parameter
Post by: bam on November 22, 2005, 09:09:09 pm
tried this and gave me a syntax error around mtdparts...? any ideas?