do_write_oneword(): software timeout

Steven Scholz steven.scholz at imc-berlin.de
Thu Aug 19 11:59:22 EDT 2004


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





More information about the linux-mtd mailing list