ts-7000
[Top] [All Lists]

[ts-7000] Re: 7800 - uninterruptible sleep

To:
Subject: [ts-7000] Re: 7800 - uninterruptible sleep
From: "charliem_1216" <>
Date: Tue, 08 Jul 2008 01:41:54 -0000
Hi Jiri --

--- In  "jirimacku" <> wrote:
>
> --- In  "jirimacku" <jirimacku@> wrote:
> 
> Hi,
> 
> I have done another tests and following seems to be obvious:
> 
> - on SD card after two days get one of the two pdflush processes
> blocked (D status) by get_request_wait. Our application (miniTele) 
is
> blocked as well.
> 
> pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm
>   PID   TID CLS RTPRIO  NI PRI PSR %CPU STAT WCHAN          
COMMAND
>     1     1 TS       -   0  24   0  0.0 Ss   select         init
>     2     2 TS       -  19   5   0  0.0 SN   ksoftirqd      
ksoftirqd/0
>     3     3 TS       -  -5  29   0  0.0 S<   worker_thread  
events/0
>     4     4 TS       -  -5  26   0  0.0 S<   worker_thread  
khelper
>     5     5 TS       -  -5  26   0  0.0 S<   worker_thread  
kthread
>    26    26 TS       -  -5  29   0  0.0 S<   worker_thread  
kblockd/0
>    41    41 TS       -   0  16   0  0.0 S    pdflush        
pdflush
>    42    42 TS       -   0  24   0  0.0 D    get_request_wa 
pdflush
>    43    43 TS       -  -5  19   0  0.0 S<   kswapd         
kswapd0
>    44    44 TS       -  -5  19   0  0.0 S<   worker_thread  aio/0
>    45    45 TS       -  -5  29   0  0.0 S<   jfsIOWait      jfsIO
>    46    46 TS       -  -5  29   0  0.0 S<   jfs_lazycommit 
jfsCommit
>    47    47 TS       -  -5  19   0  0.0 S<   jfs_sync       
jfsSync
>   174   174 TS       -   0  17   0  0.0 S    mtd_blktrans_t 
mtdblockd
>   196   196 TS       -  -5  25   0  0.0 S<   hub_thread     khubd
>   320   320 TS       -  -4  24   0  0.0 S<s  select         udevd
>   652   652 TS       -  -5  28   0  0.0 S<   scsi_error_han 
scsi_eh_0
>   653   653 TS       -  -5  28   0  0.0 S<   scsi_error_han 
scsi_eh_1
>   668   668 TS       -  -5  28   0  0.0 S<   worker_thread  
zd1211rw
>   760   760 TS       -   0  22   0  0.0 Ss   sys_poll       
portmap
>   789   789 TS       -   0  22   0  0.0 Ss   select         
syslogd
>   792   792 TS       -   0  15   0  0.0 Ss   syslog         klogd
>   797   797 TS       -   0  21   0  0.0 Ss   select         inetd
>   804   804 TS       -   0  21   0  0.0 Ss   select         sshd
>   811   811 TS       -   0  16   0  0.0 Ss   select         
rpc.statd
>   816   816 TS       -   0  20   0  0.0 Ss   hrtimer_nanosl cron
>   819   819 TS       -   0  21   0  0.0 Ss+  read_chan      getty
>   820   820 TS       -   0  22   0  0.0 Ss+  read_chan      getty
>   851   851 TS       -  -5  29   0  1.7 S<   tssdcard_threa 
tssdcardb
>  1291  1291 TS       -   0  23   0  4.2 D    get_request_wa 
miniTele
>  1292  1292 TS       -   0  24   0  0.0 S    sys_poll       
miniTele
>  1295  1295 TS       -   0  24   0  0.0 S    hrtimer_nanosl 
miniTele
>  1296  1296 TS       -   0  24   0  0.0 S    hrtimer_nanosl 
miniTele
>  1297  1297 TS       -   0  23   0  1.2 S    rt_sigsuspend  
miniTele
>  2756  2756 TS       -   0  24   0  0.1 Ss   select         thttpd
> 
> The worst is that the only way out of this is hardware reset 
(power
> off) because any attempt of reboot get also locked. (The SD card 
is
> JFS formated and mounted now as /mnt/sd. I boot from on-board 
flash
> the latest sw edition).
> 
> 
> - when started from usb flash it runs without problem (now more 
then
> one week). The only difference to SD card is the file system. The 
JFS
> which is on the SD card was on the USB extremly slow. So I 
switched to
> plain ext2 (which I would like to avoid in production version). 
> 
> However I think the error is not connected to particular file 
system I
>  will run the test once more with ext2 on SD card.

This will be a good test.  My first thought too was it is not 
related to the FS, but then I saw this:

http://sourceforge.net/mailarchive/forum.php?thread_name=1206713978.1545.14.camel%40tuxpaddy&forum_name=jfs-discussion
and
http://sourceforge.net/mailarchive/forum.php?thread_name=20070608044148.GA21368%40wizard.moensrus.com&forum_name=jfs-discussion

It has been suggested a few times on the jfs mailing list, to solve 
exactly your problem, though not on a SD card.  I think the patch 
went into kernel 2.6.22.  Can you check if your jfs code has this 
patch?

(Sorry, I don't know about which FS are good for SD cards, ...)

Regards, ....... Charlie
> 
> 
> Any suggestions highly appreciated
> Jiri
>


------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU