public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Pramod P K <pra.engr@gmail.com>
Cc: linux-mips@linux-mips.org, linux-mtd@lists.infradead.org
Subject: Re: OOPS with JFFS2, MIPS
Date: Thu, 19 Oct 2006 13:56:23 +0100	[thread overview]
Message-ID: <20061019125623.GA24108@linux-mips.org> (raw)
In-Reply-To: <417f1b740610190242h2a39da81l7f2763e79e457736@mail.gmail.com>

On Thu, Oct 19, 2006 at 03:12:49PM +0530, Pramod P K wrote:
> Date:	Thu, 19 Oct 2006 15:12:49 +0530
> From:	"Pramod P K" <pra.engr@gmail.com>
> To:	linux-mtd@lists.infradead.org, linux-mips@linux-mips.org
> Subject: OOPS with JFFS2, MIPS
> Content-Type: multipart/alternative; 
> 	boundary="----=_Part_217232_6585938.1161250969461"
> 
> Iam using MIPS, Big Endian, with AMD/Fujitsu Spansion CFI flash.
> 
> I have Rootfs(jffs2) in flash, Linux-2.6.15 in RAM. Trying to mount Rootfs
> (jffs2). but gives OOPS, and then kernel panic !!
> I have traced the disassembled part of it. Got the location of OOPS but dont
> know why
> 
> Please .. help me out.
> 
> 
> MSP flash device "flash0": 0x00800000 at 0x1f800000
> flash0: Found 1 x16 devices at 0x0 in 8-bit bank
> Amd/Fujitsu Extended Query Table at 0x0040
> Using buffer write method
> flash0: CFI does not contain boot bank location. Assuming top.
> number of CFI chips: 1
> cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
> Creating 6 MTD partitions on "flash0":
> 0x00480000-0x007f0000 : " General partition"
> mtd: Giving out device 0 to  General partition
> 0x00400000-0x00470000 : " pmon"
> mtd: Giving out device 1 to  pmon
> 0x00470000-0x00480000 : " pmon script"
> mtd: Giving out device 2 to  pmon script
> 0x00010000-0x00400000 : " Linux"
> mtd: Giving out device 3 to  Linux
> 0x007f0000-0x00800000 : " Copyprotected space end"
> mtd: Giving out device 4 to  Copyprotected space end
> 0x00000000-0x00010000 : " Copyprotected space start"
> mtd: Giving out device 5 to  Copyprotected space start
> MSP flash device "flash1": 0x00bf0000 at 0x1e000000
> flash1: Found 1 x16 devices at 0x0 in 8-bit bank
> Amd/Fujitsu Extended Query Table at 0x0040
> Using buffer write method
> flash1: CFI does not contain boot bank location. Assuming top.
> number of CFI chips: 1
> cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
> Creating 1 MTD partitions on "flash1":
> 0x00000000-0x00bf0000 : " Root Filesystem jffs2"
> mtd: Giving out device 6 to  Root Filesystem jffs2
> 
> ...........
> ..........
> <skipped some statements here>
> ..........
> ..........
> 
> CPU 0 Unable to handle kernel paging request at virtual address 00000000,
> epc == 80121f30, ra == 80121fe0
> Oops[#1]:
> Cpu 0
> $ 0   : 00000000 00000000 00000003 00000000
> $ 4   : 80490554 00000003 00000001 00000000
> $ 8   : ffffffff 87e02488 00000000 00000008
> $12   : 8048bb80 87e02480 ffffffff 00000010
> $16   : 00000001 0000fff8 00000001 80490554
> $20   : 00000000 00000000 00000003 80490500
> $24   : 00000000 80298d08
> $28   : 8048a000 8048ba98 8048ba98 80121fe0
> Hi    : 00000000
> Lo    : 000000bf
> epc   : 80121f30 __wake_up_common+0x44/0xb8     Not tainted
> ra    : 80121fe0 __wake_up+0x3c/0x98

A good old NULL pointer dereferenced by a generic kernel function which
almost certainly itself is not the culprit, so probably was passed bad
arguments.

  Ralf

      reply	other threads:[~2006-10-19 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-19  9:42 OOPS with JFFS2, MIPS Pramod P K
2006-10-19 12:56 ` Ralf Baechle [this message]

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=20061019125623.GA24108@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=pra.engr@gmail.com \
    /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