[Yaffs-archive] RE: kernel BUG at slab.c:1112! -->NAND issue…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: 'velipekka.ylonen@teleste.com', yaffs
Subject: [Yaffs-archive] RE: kernel BUG at slab.c:1112! -->NAND issue?
This looks to me like it is happeing in the NAND mtd.

You might try mounting yaffsram instead

mount -t yaffsram none /mnt/yaffs

This does not use mtd, so should help isoalte the problem.

-- CHarles


-----Original Message-----
From: [mailto:velipekka.ylonen@teleste.com]
Sent: Friday, 10 January 2003 9:01 p.m.
To:
Subject: kernel BUG at slab.c:1112!


I am using yaffs version from CVS dated December the 16th 2002 in Motorola
PowerPC 8260 and linux kernel 2.4.17. I have update the latest mtd drivers
also. NAND chip is 64 MB Samsung K9D1208V0M.

I am running the test script:

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

I=0
while [ 1 ]; do
        mount -t yaffs /dev/mtdblock/8 /mnt/nand0
        umount /mnt/nand0
        echo $I
        let I=$I+1
done


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


After around 1-1000 rounds I get kernel panic message. This happens always
when I am running the test. After mounting reading and writing works fine.

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

Kernel BUG at slab.c:1112!
Oops: Exception in kernel mode, sig: 4
NIP: C002BF7C XER: 00000000 LR: C002BF7C SP: C42477C0 REGS: c4247710 TRAP:
0700d
Using defaults from ksymoops -t elf32-little -a unknown
MSR: 00081032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c4246000[872] 'mount' Last syscall: 21
last math c4246000 last altivec 00000000
GPR00: C002BF7C C42477C0 C4246000 0000001B 00001032 00000001 00000001
C0480060
GPR08: 0001CAD9 C0172B8C C017BFB0 C42476E0 0000000D 100558E8 00000000
00000000
GPR16: 00000000 00000000 00000000 00000000 00001032 042479A0 C013B158
C01C47F0
GPR24: C01C0000 C01C0000 C0010010 C0010000 000001F0 C02050A8 C4247808
C02050A0
Call backtrace:
C002BF7C C002C500 C002AFA8 C000D624 C000D56C C907509C C90753A0
C9076F74 C001C36C C0017D94 C0017C54 C0017894 C0005A64 C000414C
C0480D24 C00C4D54 C00C6E8C C008CB18 C0088088 C008BA40 C008BB48
C008C888 C0087AF8 C0087BF8 C003BC34 C003C398 C0050248 C005061C
C00506DC C0003F1C 3002ABD0 10014E90 10015340
Kernel panic: Aiee, killing interrupt handler!
Warning (Oops_read): Code line not seen, dumping what data is available

>>???; c002bf7c <__kmem_cache_shrink+c0/e4> <=====

Trace; c002bf7c <__kmem_cache_shrink+c0/e4>
Trace; c002c500 <kmem_cache_grow+364/418>
Trace; c002afa8 <get_vm_area+24/f0>
Trace; c000d624 <__ioremap+a8/188>
Trace; c000d56c <ioremap+14/24>
Trace; c907509c <END_OF_CODE+8e8fc40/???
Trace; c90753a0 <END_OF_CODE+8e8ff44/???
Trace; c9076f74 <END_OF_CODE+8e91b18/???
Trace; c001c36c <timer_bh+290/2d8>
Trace; c0017d94 <bh_action+3c/84>
Trace; c0017c54 <tasklet_hi_action+a0/e0>
Trace; c0017894 <do_softirq+88/100>
Trace; c0005a64 <timer_interrupt+23c/254>
Trace; c000414c <ret_from_intercept+0/8>
Trace; c0480d24 <END_OF_CODE+29b8c8/???
Trace; c00c4d54 <nand_write_page+27c/58c>
Trace; c00c6e8c <nand_trans_result+7c/98>
Trace; c008cb18 <yaffs_Scan+508/598>
Trace; c0088088 <yaffs_rename+7c/8c>
Trace; c008ba40 <yaffs_WriteChunkDataToObject+10/100>
Trace; c008bb48 <yaffs_UpdateObjectHeader+18/254>
Trace; c008c888 <yaffs_Scan+278/598>
Trace; c0087af8 <yaffs_mknod+d8/250>
Trace; c0087bf8 <yaffs_mknod+1d8/250>
Trace; c003bc34 <drop_super+1c/70>
Trace; c003c398 <get_unnamed_dev+14/5c>
Trace; c0050248 <show_vfsmnt+138/390>
Trace; c005061c <do_umount+5c/174>
Trace; c00506dc <do_umount+11c/174>
Trace; c0003f1c <ret_from_syscall_1+0/b4>
Trace; 3002abd0 Before first symbol
Trace; 10014e90 Before first symbol
Trace; 10015340 Before first symbol

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

Veli-Pekka Ylönen


----------------------------------------------------------------------------
-----------
This mailing list is hosted by Toby Churchill open software
(www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from
the list by
sending an email to with the text
"unsubscribe"
(without the quotes) as the subject.

---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to with the text "unsubscribe"
(without the quotes) as the subject.