All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Korpilla <okorpil@fh-landshut.de>
To: linux-mtd@lists.infradead.org
Subject: (interleaved chips) cfi_cmdset_0002 -> Kernel Panic
Date: Thu, 22 Apr 2004 16:53:25 +0200	[thread overview]
Message-ID: <4087DC65.7010703@fh-landshut.de> (raw)

Hello!

In recent posts it is mentioned that there is a kernel panic like this:

/ # cat tmp/rootfs.jffs2.img > /dev/mtd0
Waiting for write to complete timed out in do_write_oneword.Scheduling 
in interrupt
kernel BUG at sched.c:564! 

Oops: Exception in kernel mode, sig: 4
NIP: C0012AD8 XER: 00000000 LR: C0012AD8 SP: C1F8BF10 REGS: c1f8be60 
TRAP: 0700    Not tainted
MSR: 00089032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11 

TASK = c1f8a000[23] 'cat' Last syscall: 4
last math 00000000 last altivec 00000000
GPR00: C0012AD8 C1F8BF10 C1F8A000 0000001B 00001032 00000001 00000000 
C01D0000
GPR08: 00000DF8 00000000 00000000 C1F8BE30 44002008 00000000 7FFFFEB0 
00000000
GPR16: 30005140 30005000 00000002 000000E4 00009032 01F8BF40 00000000 
C0005E28
GPR24: C0005B80 30005154 00000004 00000001 00000001 7FFFEDF0 00000000 
C1F8BF10
Call backtrace: 

C0012AD8 C0005E44 00000488 10046E98 100451DC 1000B03C 10003C5C
10003808 30048EF4 10003590
Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing
  <0>Rebooting in 180 seconds..

It is happening because of the broken AMD command set for chips like 
mine (at least as far as I understand it from pretty recent posts to the 
list). I have the following startup with kernel.org 2.4.25:

physmap flash device: 300000 at ff000000
CFI: Found no Physically mapped flash device at location zero
Search for id:(100 100) interleave(2) type(2)
Search for id:(100 100) interleave(2) type(2)
Search for id:(100 100) interleave(2) type(2)
Search for id:(00 02) interleave(2) type(1)
Search for id:(00 02) interleave(2) type(1)
Search for id:(00 02) interleave(2) type(1)
Search for id:(01 22da) interleave(4) type(2)
Found: AMD AM29LV800BT
Physically mapped flash: Found 4 x16 devices at 0x0 in 32-bit mod

It wouldn't work with a recent patch from the CVS snaphost downloads, 
because auto detection won't work. AFAIK it is broken.

How are the chances of fixing it? Is there a working version "out there" 
that supports my flash chip, auto detection and works?? Is there a 
quickfix I could apply (increasing some timeout value, copying over 
another implementation of that do_write_oneword function)???

Thanks in advance,
Oliver Korpilla

             reply	other threads:[~2004-04-22 14:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22 14:53 Oliver Korpilla [this message]
2004-04-22 16:09 ` (interleaved chips) cfi_cmdset_0002 -> Kernel Panic Oliver Korpilla
2004-04-22 19:09   ` dkey
2004-04-22 19:17     ` Oliver Korpilla

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=4087DC65.7010703@fh-landshut.de \
    --to=okorpil@fh-landshut.de \
    --cc=linux-mtd@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.