public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Gordon J Milne <gordon@bluewatersys.com>
To: linux-mtd@lists.infradead.org
Subject: Re: "Read-only file system" error while writing
Date: Fri, 23 May 2003 09:57:46 +1200	[thread overview]
Message-ID: <3ECD47DA.7000503@bluewatersys.com> (raw)
In-Reply-To: <3ECB640C.5040305@bluewatersys.com>

 > I am having exactly the same problem with the same ST part (M28W320CB).
 > I am running uClinux (based on Linux 2.4.20). I modified the
 > do_write_buffer() code to print out the status value that was read back.
 > The value is 0xffff. It seems a bit strange to me that ALL the bist
 > should be 1s.
 >
 > I have tried using "unlock" to unlock the device (/dev/mtd3) but I get
 > the same result.
 >
 > The device (1f:03) is the root device and it has been remounted rw. I
 > verified this by checking /proc/mounts - everything was rw, as expected.
 > My system successfully boots and I can execute commands. It is just the
 > filesystem writes that are not working for me.

I received an e-mail from Guillaume Gourat who pointed out to me that this 
problem has already been discussed in August 2002 and a patch was listed in 
the e-mail message.

See http://lists.infradead.org/pipermail/linux-mtd/2002-August/005579.html

I grabbed the CVS head code for MTD around January 2003 so this patch has 
clearly not made it into the mainstream source yet.

The patch works but is slightly unsightly. Basically it over-rides some of 
the information coming back from the CFI query. Is this sort of patching of 
cfp_chip_setup() common? If so, we need a standardised way of implementing 
these patches - probably a table-driven one. If not, then point patches like 
this are probably the best way to proceed on a case by case basis.

Thanks for listening.

Gordon

  parent reply	other threads:[~2003-05-22 21:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-30 21:27 "Read-only file system" error while writing Stephen Hui
2002-07-30 22:25 ` David Woodhouse
2002-07-31 11:53   ` Jörn Engel
2003-05-21 11:33   ` Gordon J Milne
2003-05-21 14:18     ` Thayne Harbaugh
2003-05-22 21:57     ` Gordon J Milne [this message]
2002-07-31 15:35 ` Stuart Menefy
2002-07-31 20:24   ` Stephen Hui
2002-08-01 10:31     ` David Woodhouse
2002-08-01 18:05       ` Stuart Menefy
2002-08-01 18:26         ` Stuart Menefy
2002-08-01 19:45           ` Stephen Hui
2002-08-01 22:37             ` Stuart Menefy
2002-08-02 14:46               ` Stephen Hui
2002-08-01 10:35   ` 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=3ECD47DA.7000503@bluewatersys.com \
    --to=gordon@bluewatersys.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