RetroBSD

2.11BSD operating system for microcontrollers
It is currently Tue Oct 15, 2019 11:39 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Sep 10, 2011 4:32 pm 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
I am running a simple test: printing 2 calenders in background:
# cat cal20
while true
do
cal 2020 >> 2020.txt
done
# cat cal50
while true
do
cal 2050 >> 2050.txt
done
# sh cal20 &
# sh cal50 &
I'm trying to see it works rock stable until fs on sdcard is full. Basically it works. Fresh formatted fs (256-512MB) and unix work typicaly for 30min-5hours with this two bg tasks running, and always finishes with panic:stack overflow. How to track the cause? The amount the data written is far below the root fs capacity.
#
ke t0 = 0 s0 = 7f01458c t8 = 0 lo = 2
at = 0 t1 = 35 s1 = 6 t9 = 0 hi = 8
v0 = 2 t2 = 2f s2 = 7f013e40 status = 18005302
v1 = 0 t3 = 5d s3 = ffffffff cause = 10800420
a0 = 6 t4 = 0 s4 = 7f014a98 gp = 7f01bc60 epc = 7f012ab0
a1 = 7f01fe14 t5 = 0 s5 = 0 sp = 7f01fe04
a2 = 7f01fe20 t6 = 0 s6 = 0 fp = ffffffff
a3 = 7f012ac4 t7 = 0 s7 = 0 ra = 7f012920
panic: stack overflow
syncing disks... done
halted

# df -i
Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on
root 516095 131971 384124 25% 178 130894 0% /

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission