JFFS2 garbage collection threads not freezing?

Pete MacKay armlinux at architechnical.net
Fri Nov 30 12:24:36 EST 2007


We've ported from 2.6.18 to 2.6.24-rc3 on a pxa270-based machine and can
no longer enter 'standby' or 'mem' states.  I've stripped down the kernel
and talked with the freezer maintainer and we believe the jffs2 garbage
collection threads may not be calling try_to_freeze() or marking
themselves properly.  (We have two mounted jffs2 file systems - mtd2 and
mtd3).  The following is some cleaned-up output:

Freezing remaining freezable tasks ...
Freezing of tasks failed after 20.00 seconds (2 tasks refusing to freeze):
  task                PC stack   pid father
init          D c0244b90     0     1      0
kthreadd      S c0244b90     0     2      0
ksoftirqd/0   S c0244b90     0     3      2
events/0      S c0244b90     0     4      2
khelper       S c0244b90     0     5      2
kblockd/0     S c0244b90     0    51      2
ksuspend_usbd D c0244b90     0    59      2
khubd         D c0244b90     0    64      2
kseriod       D c0244b90     0    67      2
pdflush       D c0244b90     0    90      2
pdflush       D c0244b90     0    91      2
kswapd0       D c0244b90     0    92      2
aio/0         S c0244b90     0    93      2
mtdblockd     S c0244b90     0   192      2
udevd         D c0244b90     0   619      1
jffs2_gcd_mtd R running      0  1533      2
jffs2_gcd_mtd R running      0  1598      2
syslogd       D c0244b90     0  2248      1
klogd         D c0244b90     0  2250      1
hcid          D c0244b90     0  2273      1
sdpd          D c0244b90     0  2277      1
hidd          D c0244b90     0  2281      1
sh            D c0244b90     0  2292      1
getty         D c0244b90     0  2293      1
echo          R running      0  2303   2292
 jffs2_gcd_mtd2
 jffs2_gcd_mtd3

Restarting tasks ... done.



More information about the linux-mtd mailing list