From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Woodhouse To: "Artem B. Bityuckiy" In-Reply-To: <4198686D.8000301@yandex.ru> References: <4198686D.8000301@yandex.ru> Content-Type: text/plain Date: Mon, 15 Nov 2004 08:45:26 +0000 Message-Id: <1100508326.8015.57.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org Subject: Re: BUG in JFFS2 List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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]. 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. -- dwmw2