Problem on Linux NAND root filesystem
I'm have a JFFS2 root filesystem running on a large NAND device. Every once in a while, when I restart the computer, I get error messages about invalid ELF headers when /sbin/init or /bin/login try to load shared libraries like /lib/libpam.so.0
The errors cause a kernel panic and I'm stuck reflashing the NAND to get the computer up and running again.
Does anyone have any idea what might be causing this? Is the NAND being corrupted when it's running and then unable to restart? Is JFFS2 unreliable?
/sbin/init: error while loading shared libraries: /lib/libc.so.6: invalid ELF header Kernel panic - not syncing: Attempted to kill init!
[dffc1d20] [c0007c74] (unreliable)