From: "??" <kevin@gv.com.tw>
To: "David Woodhouse" <dwmw2@infradead.org>
Cc: <tglx@linutronix.de>, <linux-mtd@lists.infradead.org>,
"? ??" <djh@gv.com.tw>, <cms@gv.com.tw>
Subject: Re: error when writing to jffs2 (success in another evb)
Date: Tue, 6 Aug 2002 12:06:23 +0800 [thread overview]
Message-ID: <000701c23cfe$a1542040$1b0448c0@gv.com.tw> (raw)
In-Reply-To: 31970.1028543113@redhat.com
by enabling CONFIG_JFFS2_FS_DEBUG=1
i discover a typo buggy in fs/jffs2/gc.c:
fs/fs.o: In function `jffs2_garbage_collect_hole':
gc.c(.text+0x45c9c): undefined reference to `unlikely'
gc.c(.text+0x45c9c): relocation truncated to fit: R_MIPS_26 unlikely
fixed it by add:
#include <linux/compiler.h>
to fs/jffs2/gc.c for macro<"unlikely">
---success
story----------------------------------------------------------------------
success story: in our evb241x, jffs2 is ported ok
# mount
/dev/root on / type jffs2 (rw)
none on /proc type proc (rw)
/dev/ram1 on /var type minix (rw)
# df -h
Filesystem Size Used Available Use% Mounted on
/dev/mtdblock1 6.7M 2.3M 4.4M 34% /
/dev/ram1 1009.0k 23.0k 986.0k 2% /var
#
--- faulting
log---------------------------------------------------------------------
the faulting kernel in our evb13x can't boot today, so log can't send :<
log show: "kernel BUG at traps.c:623!"
(probably hw problem or buggy mips 2.4.17 kernel)
POSIX conformance testing by UNIFIX
kernel BUG at traps.c:623!
Unable to handle kernel paging request at virtual address 00000000, epc ==
8000e
d0c, ra == 8000ed0c
Oops in fault.c:do_page_fault, line 204:
$0 : 00000000 1000fc00 0000001b 00000001 801a77d0 00000001 00000001 000003ec
$8 : 80a04478 801ab45c 0000001b fffffee0 0000000d 80a04478 0000000a 80a04478
$16: 00000000 810bbea0 00000000 8000a2bc 0000000a 00000017 00000000 00000200
$24: 00000000 810bbd32 810ba000 810bbe80 81f0dc10 8000ed0c
Hi : 00000000
Lo : 00000080
epc : 8000ed0c Not tainted
Status: 1000fc04
Cause : 3000000c
Process swapper (pid: 1, stackpage=810ba000)
Stack: 80157870 80157c24 0000026f 00000cff 00010f00 00000040 00000000
8000db6c
8015b3a0 00000000 8006d164 00000005 801fb284 801fb298 00000000
ffff0000
18000000 fc000000 ffff0000 00000000 0001869e 00000cff 00000cfc
8014c9d4
00000004 80018e40 1000fc01 00000001 0000000a 810b7f30 00010f00
00000040
00000000 8000a2bc 0000000a 00000017 00000000 00000200 00000001
80009e14
8001fd50 ...
Call Trace: [<80157870>] [<80157c24>] [<8000db6c>] [<8015b3a0>] [<8006d164>]
[<8
014c9d4>]
[<80018e40>] [<8000a2bc>] [<80009e14>] [<8001fd50>] [<8000a2bc>]
[<8000a2bc>]
[<80018e40>] [<8000a2bc>] [<8000a2cc>] [<80019518>] [<80009e14>]
[<8000abec>]
[<8000a020>] [<80019298>] [<8000abdc>]
Code: 24a57c24 0c006415 2406026f <ae000000> 8e2200ac 8e2400a0 04410002
0000
0000 24840004
Kernel panic: Attempted to kill init!
----- Original Message -----
From: "David Woodhouse" <dwmw2@infradead.org>
To: "??" <kevin@gv.com.tw>
Cc: <tglx@linutronix.de>; <linux-mtd@lists.infradead.org>; "? ??"
<djh@gv.com.tw>; <cms@gv.com.tw>
Sent: Monday, August 05, 2002 6:25 PM
Subject: Re: error when writing to jffs2 (scan.c v1.79 20020725)
>
> kevin@gv.com.tw said:
> > scan.c v 1.79 20020725
>
> OK, then I don't know -- could you get full logs with
> CONFIG_JFFS2_FS_DEBUG=1 from mounting the file system to the oops? Make
> sure you are logging over a serial console so you catch _all_ the
messages,
> and remember they're at level KERN_DEBUG so echo 9 >
/proc/sys/kernel/printk
>
>
>
> --
> dwmw2
>
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2002-08-06 4:06 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <010c01c2388d$05af1660$1b0448c0@gv.com.tw>
2002-07-31 8:06 ` can i use jffs2 directly on /dev/mtdblock? ??
2002-07-31 8:15 ` David Woodhouse
[not found] ` <6562.1028118221@redhat.com>
2002-07-31 12:41 ` do i have to "eraseall" first? ??
2002-07-31 13:00 ` how to init and mount jffs2? ??
2002-07-31 13:04 ` do i have to "eraseall" first? David Woodhouse
2002-07-31 18:33 ` Thomas Gleixner
2002-08-01 3:23 ` ??
2002-08-01 9:28 ` Thomas Gleixner
2002-08-01 12:30 ` thanks , after this patch , i mount jffs2 successfully ??
2002-08-02 2:50 ` error when writing to jffs2 ??
2002-08-05 9:54 ` David Woodhouse
2002-08-05 10:18 ` error when writing to jffs2 (scan.c v1.79 20020725) ??
2002-08-05 10:25 ` David Woodhouse
2002-08-06 4:06 ` ?? [this message]
2002-08-06 6:13 ` what't the max partition(single file size) jffs2/mtd can support?(64MB? or 2GB? or 8GB?) ??
2002-08-06 8:26 ` David Woodhouse
2002-08-06 11:43 ` fail to rm files when jffs2 is full ??
2002-08-06 12:26 ` David Woodhouse
2002-08-06 13:03 ` No free space left for GC(test2 with log) ??
2002-08-06 13:07 ` David Woodhouse
2002-08-06 14:08 ` Thomas Gleixner
2002-08-07 10:05 ` David Woodhouse
2002-08-06 9:46 ` error when writing to jffs2 (success in another evb) Thomas Gleixner
2002-10-24 10:31 ` does mtd support both toshiba and samsung 128MBytes (1GBits) nand flash? ??
2002-10-24 12:28 ` Thomas Gleixner
2002-09-09 9:42 ` any function/ioctl to get compression ratio of a single file in jffs2? ??
2002-09-13 1:59 ` any comment about following news at http://www.handhelds.org/ ? ??
2002-09-13 7:23 ` David Woodhouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000701c23cfe$a1542040$1b0448c0@gv.com.tw' \
--to=kevin@gv.com.tw \
--cc=cms@gv.com.tw \
--cc=djh@gv.com.tw \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox