9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: lucio@proxima.alt.za
To: 9fans@9fans.net
Subject: [9fans] IDE socketed FLASH memory
Date: Sat, 23 Aug 2008 16:27:35 +0200	[thread overview]
Message-ID: <cf37f5885109efee1cf89ebaaf270915@proxima.alt.za> (raw)

I have been trying without success to configure a 32MB IDE flash
module to operate under Plan 9.  The geometry is one of two options,
c=489, h=4, s=32 or c=31, h=32, s=32, the sector size is the normal
512 bytes and the full capacity is 62592 sectors.  I can't convince
Plan 9 to accept the latter geometry and, in my rather ignorant state,
I believe that accessing parts (partitions) of the flash using the
former geometry is responsible for the I/O errors that occur.

I can read and write the entire image using dd(1), irrespective of
geometry and I have used disksim to build an image using the second
geometry, but installing this on the flash has not made it possible to
boot a Plan 9 kernel.

I'm not sure what I should try next, I would like to force a different
geometry on the sd(3) driver, but writing a new geometry to the ctl
file, in keeping with the documentation, just triggers an error.

++L




             reply	other threads:[~2008-08-23 14:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-23 14:27 lucio [this message]
2008-08-23 19:04 erik quanstrom
2008-08-23 19:36 ` ron minnich

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=cf37f5885109efee1cf89ebaaf270915@proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@9fans.net \
    /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;
as well as URLs for NNTP newsgroup(s).