Hi Robert --
--- In "Robert" <> wrote:
> I am experiencing a lockup after several hours of running the board
> with our application. By lockup, I mean, cannot login through console,
> ssh, does not respond to our TCP client app. I have a script which
> runs once a minute and logs out several performance indicators (mem
> usage, cpu, open file handles, context switch delta, file system
> usage, etc.).
Yes, this has been reported a few times on this list. One app was
almost identical to yours, and was traced to a JFS bug. The lockup
went away when the SD card used ext2, ext3 or FAT instead of JFS. (If
you don't use JFS, you can stop reading here :)
A fix went upstream in kernel 2.6.22, but I don't know if it ever made
it into the TS 2.6.21 kernel. Perhaps you can check and report back?
See the thread starting here:
http://tech.groups.yahoo.com/group/ts-7000/message/11881
(In particular messages 12027 and 12180)
Below is the patch:
http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=05ec9e26be1f668ccba4ca54d9a4966c6208c611
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c
index ff7f1be..16c6268 100644 (file)
--- a/fs/jfs/jfs_logmgr.c
+++ b/fs/jfs/jfs_logmgr.c
@@ -2354,12 +2354,13 @@ int jfsIOWait(void *arg)
lbmStartIO(bp);
spin_lock_irq(&log_redrive_lock);
}
- spin_unlock_irq(&log_redrive_lock);
if (freezing(current)) {
+ spin_unlock_irq(&log_redrive_lock);
refrigerator();
} else {
set_current_state(TASK_INTERRUPTIBLE);
+ spin_unlock_irq(&log_redrive_lock);
schedule();
__set_current_state(TASK_RUNNING);
}
regards, .......... Charlie
>
> Thanks!
> Rob
>
------------------------------------
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/
|