BUG in JFFS2

Artem B. Bityuckiy abityuckiy at yandex.ru
Mon Nov 15 04:41:31 EST 2004



David Woodhouse wrote:
> On Mon, 2004-11-15 at 11:27 +0300, Artem B. Bityuckiy wrote:
> 
>>Hello,
>>
>>I've hit on bug in JFFS2, but I can not reproduce it easilly yet. I have 
>>  stess test which in general creates files, deletes them, creates 
>>directories and deletes them, and so on so on. When I run this test 
>>nightly, I see the following error when I come at work in the morning:
>>
>>kernel BUG at 
>>/tester/linux/linux-2.6.8-1.521up-custom-nopreempt/fs/jffs2/gc.c:1164!
> 
> 
> In my copy of v1.137 there's three instances of BUG_ON() around there,
> but none at line 1164. They're at lines 116[123]. 
I have the lastest MTD snapshot, v1.140. This is BUG_ON(end > 
JFFS2_F_I_SIZE(f));

> 
> Start by changing it from a simple BUG_ON() to a printk saying precisely
> what went wrong and giving all the other information which might be
> relevant. If you can just trap into a debugger when it happens, that's
> even better.
I'll do this as soos as I have done other pending JFFS2 tasks :-) I 
think I'll insert useful printkeyss there since now I have no configured 
environment to use debugger.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.




More information about the linux-mtd mailing list