Author Topic: Jffs2 Kernel Parameter  (Read 2240 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Jffs2 Kernel Parameter
« 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?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Jffs2 Kernel Parameter
« Reply #1 on: October 17, 2005, 08:24:37 am »
check flash for badblocks - maybe you have 3 which appear as jffs2 errors?
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Jffs2 Kernel Parameter
« Reply #2 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?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
Jffs2 Kernel Parameter
« Reply #3 on: October 18, 2005, 06:02:42 am »
Service menus have an option to find badblocks.

And they are not fixable.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Jffs2 Kernel Parameter
« Reply #4 on: November 22, 2005, 09:09:09 pm »
tried this and gave me a syntax error around mtdparts...? any ideas?
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder