public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* file copy to /dev/mtd0 hangs after write
@ 2002-06-14  7:59 Ivar Zarans
  2002-06-14  8:04 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Ivar Zarans @ 2002-06-14  7:59 UTC (permalink / raw)
  To: linux-mtd

Hello!

I am using linux kernel 2.4.18 with included MTD drivers. I got working
Intel Strataflash on our experimental board with physmap driver.

When i write something directly to flash, using "cp" command
(cp ./image /dev/mtd0), then system hangs *after* data is written.
Command returns to shell prompt, but system does not respond any more.
Debug messages from mtd do not indicate any errors.

jffs seems to be working OK.

Any ideas why this happens? Any suggestions for debugging?

-- 
Ivar

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

* Re: file copy to /dev/mtd0 hangs after write
  2002-06-14  7:59 file copy to /dev/mtd0 hangs after write Ivar Zarans
@ 2002-06-14  8:04 ` David Woodhouse
  2002-06-14 13:01   ` Ivar Zarans
  0 siblings, 1 reply; 4+ messages in thread
From: David Woodhouse @ 2002-06-14  8:04 UTC (permalink / raw)
  To: Ivar Zarans; +Cc: linux-mtd

iff@alcaron.ee said:
>  Any ideas why this happens? Any suggestions for debugging? 

SysRq-P, SysRq-T

--
dwmw2

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

* Re: file copy to /dev/mtd0 hangs after write
  2002-06-14  8:04 ` David Woodhouse
@ 2002-06-14 13:01   ` Ivar Zarans
  2002-06-14 16:10     ` Jörn Engel
  0 siblings, 1 reply; 4+ messages in thread
From: Ivar Zarans @ 2002-06-14 13:01 UTC (permalink / raw)
  To: linux-mtd

On Fri, Jun 14, 2002 at 09:04:08AM +0100, David Woodhouse wrote:

> >  Any ideas why this happens? Any suggestions for debugging? 
> 
> SysRq-P, SysRq-T

Does not respond even to this. Otherwise "magic key" is OK.

Any other suggestions? 

-- 
Ivar

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

* Re: file copy to /dev/mtd0 hangs after write
  2002-06-14 13:01   ` Ivar Zarans
@ 2002-06-14 16:10     ` Jörn Engel
  0 siblings, 0 replies; 4+ messages in thread
From: Jörn Engel @ 2002-06-14 16:10 UTC (permalink / raw)
  To: Ivar Zarans; +Cc: linux-mtd

On Fri, 14 June 2002 16:01:54 +0300, Ivar Zarans wrote:
> > >  Any ideas why this happens? Any suggestions for debugging? 
> > 
> > SysRq-P, SysRq-T
> 
> Does not respond even to this. Otherwise "magic key" is OK.
> 
> Any other suggestions? 

- use mtdblock0 instead of mtd0.
- external debugging (some jtag controller, like riscwatch)
- printk()s, if you have the time

Jörn

-- 
The cheapest, fastest and most reliable components of a computer
system are those that aren't there.
-- Gordon Bell, DEC labratories

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

end of thread, other threads:[~2002-06-14 16:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-14  7:59 file copy to /dev/mtd0 hangs after write Ivar Zarans
2002-06-14  8:04 ` David Woodhouse
2002-06-14 13:01   ` Ivar Zarans
2002-06-14 16:10     ` Jörn Engel

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