public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* do_write_buffer(): software timeout
@ 2005-01-26 21:27 Kasturi Raghunath
  2005-01-27  9:48 ` David Vrabel
  0 siblings, 1 reply; 2+ messages in thread
From: Kasturi Raghunath @ 2005-01-26 21:27 UTC (permalink / raw)
  To: linux-mtd

Hi
  I am running 2.4.18 linux on my 8270 board with AMD29LV128ML flash chip. I
have patched May 27 2004 snapshot into my linux OS. JFFS2 and the MTD driver
works fine when there is no load on the CPU. But when I start sending wire
speed traffic on the ethernet port and simultaneously download a file to the
flash I get following error:
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x01ae5624 failed. returned -5, retlen 220
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x01aef944 failed. returned -5, retlen 68
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x01a802ec failed. returned -5, retlen 212
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x01a88898 failed. returned -5, retlen 168
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x01a8cc90 failed. returned -5, retlen 112
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x01a92dfc failed. returned -5, retlen 132
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x01a9d7e8 failed. returned -5, retlen 152
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x01524e08 failed. returned -5, retlen 184
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x0152bf50 failed. returned -5, retlen 240
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x0107259c failed. returned -5, retlen 228
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x01074e64 failed. returned -5, retlen 156
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x0107e874 failed. returned -5, retlen 140
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x00f60638 failed. returned -5, retlen 200
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x00f669e8 failed. returned -5, retlen 216
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x00f69738 failed. returned -5, retlen 136
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x00f4b0b4 failed. returned -5, retlen 76
MTD do_write_buffer(): software timeout
Write of 538 bytes at 0x00f4c078 failed. returned -5, retlen 264
MTD do_write_buffer(): software timeout
Write of 580 bytes at 0x00f50418 failed. returned -5, retlen 232
MTD do_write_buffer(): software timeout

Any idea what could be the issue. Thanks in advance

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: do_write_buffer(): software timeout
  2005-01-26 21:27 do_write_buffer(): software timeout Kasturi Raghunath
@ 2005-01-27  9:48 ` David Vrabel
  0 siblings, 0 replies; 2+ messages in thread
From: David Vrabel @ 2005-01-27  9:48 UTC (permalink / raw)
  To: Kasturi Raghunath; +Cc: linux-mtd list

Kasturi Raghunath wrote:
> Hi
>   I am running 2.4.18 linux on my 8270 board with AMD29LV128ML flash chip. I
> have patched May 27 2004 snapshot into my linux OS. JFFS2 and the MTD driver
> works fine when there is no load on the CPU. But when I start sending wire
> speed traffic on the ethernet port and simultaneously download a file to the
> flash I get following error:
> MTD do_write_buffer(): software timeout

It's possible that the ethernet driver is disabling interrupts too much 
and ticks are getting lost.  This can cause timeouts to expire too soon 
(particularly with the short 1 jiffy timeout in the do_write_buffer() code).

I posted a patch to this list a while back to work around this issue. 
You could see if it fixes the problem.

http://lists.infradead.org/pipermail/linux-mtd/2004-December/011048.html

David Vrabel
-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-27  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-26 21:27 do_write_buffer(): software timeout Kasturi Raghunath
2005-01-27  9:48 ` David Vrabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox