kernel oops during "reboot" due to jffs2/mtd write

rolf liu rolfliu at gmail.com
Tue Jul 19 14:12:08 EDT 2005


I am using mtdblock0 as the root with jffs2 f/s. It boots up. But when
I type "reboot",
the kernel gives me the oops information.

bash-2.05b# reboot

Broadcast message from root (ttyS0) (Fri Dec 31 19:01:54 1999):

The system is going down for reboot NOW!CPU 0 Unable to handle kernel
paging request at virtual address 00000000, epc == 803b6a94, ra ==
80231014

Oops in arch/mips/mm/fault.c::do_page_fault, line 167[#1]:
Cpu 0
$ 0   : 00000000 1000fc00 8b781e78 00000000
$ 4   : 00000002 813a0714 804bfe80 ffff00fe
$ 8   : 8b781fe0 0000fc00 00000000 812e4000
$12   : 80706924 00000002 80706820 00000006
$16   : 8be4abf0 813a0710 813a062c 00000001
$20   : 80490000 00000001 00000000 00000000
$24   : 00000000 00000000                  
$28   : 8b780000 8b781e68 00000000 80231014
Hi    : 00000000
Lo    : 00000000
epc   : 803b6a94 __down_write+0xcc/0x164     Not tainted
ra    : 80231014 jffs2_flush_wbuf_pad+0x20/0x50
Status: 1000fc02    KERNEL EXL 
Cause : 0080000c
BadVA : 00000000
PrId  : 03030200
Modules linked in:
Process shutdown (pid: 947, threadinfo=8b780000, task=8be4abf0)
Stack : 00000000 804bfe00 00000000 00000003 813a0714 00000001 8be4abf0 00000002
        813a0600 813a0710 80231014 00000000 00000000 00000003 00000000 00000002
        813a0600 80490000 8022f3a0 80400000 8018b2ac 00000000 8018b2ac 00000000
        813a0400 80400000 80400000 8018b60c 801b51dc 801b51d4 d1c454da 00000007
        00000001 00404554 00000000 00000003 7f8e4d94 801811f4 811c0520 00000003
        ...
Call Trace:
 [<80231014>] jffs2_flush_wbuf_pad+0x20/0x50
 [<8022f3a0>] jffs2_sync_fs+0x60/0x180
 [<8018b2ac>] drop_super+0x18/0x2c
 [<8018b2ac>] drop_super+0x18/0x2c
 [<8018b60c>] sync_filesystems+0x148/0x288
 [<801b51dc>] sync_inodes+0x44/0xc0
 [<801b51d4>] sync_inodes+0x3c/0xc0
 [<801811f4>] do_sync+0x38/0x84
 [<80181250>] sys_sync+0x10/0x20
 [<8010d6e0>] stack_done+0x20/0x3c
 [<8010d6e0>] stack_done+0x20/0x3c


Code: 27a20010  afa50010  aca20004 <ac620000> afa30014  40016000 
3421001f  3821001e  40816000
Segmentation fault

What could be wrong with the system?

thanks




More information about the linux-mtd mailing list