I've started noticing getting random "Illegal instruction" when running various
commands. I first started noticing it with an rsync/make combination, but can
replicate it with a simple shell script and while loop.
The board is a ts7800. uname -a reports:
Linux lsr 2.6.21-ts #1 PREEMPT Fri Oct 10 10:20:42 MST 2008 armv5tejl GNU/Linux
The sample code is:
cat /tmp/test_inst.sh
#!/bin/sh
HID=3
HST=lsr
echo $HID $HST
exit 0
##########
I ran the test from the cmdline: /usr/bin/tcsh
lsr 21:25:30 649% while ( 1 ) ;
while? /tmp/test_inst.sh -m
while? end
3 lsr
3 lsr
3 lsr
3 lsr
3 lsr
3 lsr
3 lsr
3 lsr
3 lsr
3 lsr
3 lsr
3 lsr
3 lsr
3 lsr
Illegal instruction
Exit 132
3 lsr
Illegal instruction
Exit 132
Illegal instruction
Exit 132
3 lsr
3 lsr
###########
The above is the output from an actual run of the listed test code.
Any ideas on how to debug the problem? I've ran the test on 3 different
systems. The error happened the quickest on this system, took slightly longer
on the second system and I didn't see it at all on the third for the minute or
so I ran the test.
Is the error message and result code being triggered in the kernel?
------------------------------------
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/
|