Hi guys. I have a really strange one here. I have a 7250 I have been doing
development
on for a few months now. I use a RAMFS for /tmp as a temporary area for log
files, to
avoid wearing out Flash.
I have my programs in /root which is the normal yaffs filesystem. When I
reboot, some of
my programs are corrupted. The size and date (ls -l) is unchanged, but the
md5sum has
changed. And the programs immediately abort with Segmentation Violation.
It affects SOME of my programs, and none of the other ones in /bin (which are
pretty much
all links to busybox, anyway).
Has anyone seen anything like this? I even typed 'sync' a few times, which
surely shouldn't
be necessary.
I have done strings on programs before and after, and there are loads of
symbols missing.
For example:
$ strings victron > victron.corrupt
$ md5sum victron
0455e39fbe1230794ad58305872ff95b victron
[ replace with fresh copy]
$ strings victron > victron.ok
$ md5sum victron
2e50460a86c459cd61e18daa7e43d3da /root/victron
$ wc -l victron.*
368 victron.ok
332 victron.corrupt
$ diff victron.corrupt victron.ok
333,368d332
< __libc_csu_init
< __bss_end__
< printf@@GLIBC_2.0
< ctime@@GLIBC_2.0
< logmsg
< atoi@@GLIBC_2.0
< strcasecmp@@GLIBC_2.0
< openSerial
< select@@GLIBC_2.0
< close@@GLIBC_2.0
< fprintf@@GLIBC_2.0
< time@@GLIBC_2.0
< __bss_start
< staticInfo
< _bss_end__
< sleep@@GLIBC_2.0
< strcat@@GLIBC_2.0
< _end
< puts@@GLIBC_2.0
< tcsetattr@@GLIBC_2.0
< closeSerial
< bzero@@GLIBC_2.0
< usage
< sscanf@@GLIBC_2.0
< opterr@@GLIBC_2.0
< processComm
< optarg@@GLIBC_2.0
< _edata
< gethostbyname@@GLIBC_2.0
< exit@@GLIBC_2.0
< serialbuf
< main
< _DYNAMIC
< _init
< SequenceName
< setting
I hope someone can shed some light on this as I am baffled!
Martin
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|