Hi all,
I am looking for a reliable way to store logfiles in flash. The logfiles are
written by syslogd.
The problem is that I am running on a MPC8xx processor, and kernel 2.6 is not
quite there yet for that processor, so I have to stick with 2.4.
Kernel of choice seems to be denx linuxppc_2_4_devel, but I cannot trust the
version of jffs2 used in that kernel anymore. Somtimes gc.c crashes with a
BUG() in line 139, and sometimes processes are frozen for a looong time
waiting for GC. I have debugged that problem a little bit, and definitely,
the FLASH access works ok, and the chip is new. No CRC- or read-errors, but
still gc.c crashes.
The version of mtd/jffs2 drivers in that kernel seem to be from march/2005 cvs
code, but when I read the following, I get even more scared:
http://www.linux-mtd.infradead.org/source.html#kernelversions
So, I need something different. jffs (1) maybe ?
This must be a very common task (to store logfiles in flash), but I just can't
seem to find the right way to do it.
Any advice is highly appreciated.
Sincerely,
--
David Jander
Protonic Holland.
--- David JandJandervidaviddjandertprotonic nlote:
Hi all,
I am looking for a reliable way to store logflogfilesflash.
The logflogfiles
written by syslsyslogd The problem is that I am running on a
MPC8MPCprocessor, and
kernel 2.6 is not
quite there yet for that processor, so I have to stick with
2.4.
Kernel of choice seems to be denxdenxulinuxppc_devedevelt I
cannot trust the
version of jffsjffsed in that kernel anymore. SomtSomtimescgc>
crashes with a
BUG() in line 139, and sometimes processes are frozen for a
looolooonge
waiting for GC. GChave debugged that problem a little bit, and
definitely,
the FLASH access works ok, okd the chip is new. No CRC-CRC
read-errors, but
still gc.cgcrashes.
The version of mtd/mtdsjffsivers in that kernel seem to be
from march/2005 cvs cvs code, but when I read the following, I
get even more scared:
httphttpww.wwwulinux.mtdrinfradead/source.htmlhtmlnkernelversions
So, I need something different. jffsjffs maybe ?
This must be a very common task (to store logflogfilesflash),
but I just can't
seem to find the right way to do it.
Any advice is highly appreciated.
Sincerely,
--
David JandJanderProtProtonicland.
I'm using JFFSJFFS a 860 based board (to store log files
amonamongster things) and haven't seen any of the problems
you're expeexperiencing I were you, I would double check my
configuration settings...
_______________________________________________
LinuLinuxppcedded mailing list
LinuLinuxppcedded@ozlaozlabs
httphttpszlaozlabs/mailman/listlistinfoulinuxppcedded
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com