public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Frederic Giasson <fgiasson@mediatrix.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Kernel oops after sync command in jffs2
Date: Sat, 18 May 2002 08:43:23 +0100	[thread overview]
Message-ID: <11464.1021707803@redhat.com> (raw)
In-Reply-To: <F1BED55F35F4D3118C0F00E0295CFF4D014ECF40@mail.mediatrix.com>

fgiasson@mediatrix.com said:
>  When the oops happen, the do_erase_oneblock() function if
> cfi_cmdset_0002.c complains that DQ5 has been asserted to "1" while
> the flash was still erasing, meaning that a program command has been
> attempted.  

> So I examined the chip driver to see if there were a gap in the mutual
> exclusion of the chip access.  I found that function
> cfi_amdstd_write() send unlock bypass command to the flash without
> verifying if the flash is ready first, if cfi->fast_prog is true.  I
> tryied to disable fast_prog in cfi_probe.c, and the oops did not
> happen again.  It sound like it were the problem, although I am not
> 100% sure yet.

Thanks. I've disabled fast programming mode completely, until the code gets 
fixed. 

That should have just caused an I/O error though; not an oops.


--
dwmw2

  reply	other threads:[~2002-05-18  7:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-17 18:04 Kernel oops after sync command in jffs2 Frederic Giasson
2002-05-18  7:43 ` David Woodhouse [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-23 15:36 Frederic Giasson
2002-05-22 14:52 Frederic Giasson
2002-05-23 15:34 ` Ales Makarov
2002-05-22  2:03 Frederic Giasson
2002-05-22  6:27 ` David Woodhouse
2002-05-22 10:51   ` Ales Makarov
2002-05-21 18:54 Frederic Giasson
2002-05-21 21:07 ` David Woodhouse
2002-05-16 16:04 Frederic Giasson
2002-05-16 17:34 ` 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=11464.1021707803@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=fgiasson@mediatrix.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox