Skip to contentSkip to conversation

JFFS2, 2.4.16, CVS-mtd -- mount, free memory, then hang

DISCUSSION Michael Rothwell 2 participants 2 messages Dec 1, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

For a change of pace, and maybe fewer filesystem corruptions and oopses, I upgraded to 2.4.16 plus the mtd from today's cvs. I ran the patchin.sh and copied the cvs jffs2 code into the kernel tree. It compiled file, and boots. But once JFFS2 is finished complaining about empty blocks, etc and the filesystem is mounted readonly, 224k of memory is freed, then the machine hangs. Pressing <enter> produces newlines on the console, but init is never run. There's no complaints, though -- just nothing.

alt-sysrq-t shows that init is the current task.

call trace shows:
init
keventd
ksoftirq_CPU
kswapd
bdflush
kupdated
blkmtdd
mtdblockd
khubd

khubd appears to be the child of init, which seems strange.

-Michael

#1 lore raw
Quoted 4 lines · Michael Rothwell

alt-sysrq-t shows that init is the current task.

call trace shows:
init

Hmmm. What's its PC? Also what's the PC of these three:

Quoted 3 lines

kupdated
blkmtdd
mtdblockd

Backtrace would be good too - I think 2.4.16 should be giving you that.

Quoted 1 line

khubd appears to be the child of init, which seems strange.

That's normal. All kernel threads are supposed to reparent themselves to init.

Signature · 1 line
dwmw2