public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@imc-berlin.de>
To: linux-mtd@lists.infradead.org
Subject: do_write_oneword(): software timeout
Date: Thu, 19 Aug 2004 17:59:22 +0200	[thread overview]
Message-ID: <4124CE5A.5080508@imc-berlin.de> (raw)

Hi there,

I am facing these messages

MTD do_write_oneword(): software timeout
MTD do_write_oneword(): software timeout
MTD do_write_oneword(): software timeout
MTD do_write_oneword(): software timeout
Write of 2577 bytes at 0x00167098 failed. returned -5, retlen 2576

when writing to my JFFS2 root fs.

A simple "cat bla > /dev/mtd/3" to a flash partition (seems to) works.

I am using linux-2.6.8.1 on a custom ARM9 board.
Flash is a spanion 29GL064M90 (8MB, 16bit Data bus):

HRDisplay: probing flash at 0x10000000
imc HRDisplay Flash: Found 1 x16 devices at 0x0 in 16-bit bank
  Amd/Fujitsu Extended Query Table at 0x0040
imc HRDisplay Flash: 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.
Using static partition definition
Creating 5 MTD partitions on "imc HRDisplay Flash":
0x00120000-0x00740000 : "JFFS2"
0x00000000-0x00030000 : "U-Boot"
0x00030000-0x00040000 : "Environment"
0x00040000-0x00050000 : "FPGA"
0x00050000-0x00120000 : "Kernel"

Increasing the timeouts in do_write_oneword() in 
drivers/mtd/chips/cfi_cmdset_0002.c does not help.

Any idea how I could chase that down?

linux-2.6.8.1 does contain a recent version of the MTD/JFFS code, right?

Thanks a million!

-- 
Steven Scholz

                 reply	other threads:[~2004-08-19 15:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4124CE5A.5080508@imc-berlin.de \
    --to=steven.scholz@imc-berlin.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox