public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Ralph Stickley <rstickley@datalux.com>
Cc: MTD mailing list <mtd@infradead.org>
Subject: Re: IDE-like SanDisk
Date: Thu, 16 Mar 2000 09:39:37 -0500	[thread overview]
Message-ID: <38D0F229.29DE5664@datalux.com> (raw)
In-Reply-To: 8384.953198169@devel2.axiom.internal



David Woodhouse wrote:
> 
> marius_bogoevici@electronic.cores.ro said:
> > Is there any way to use MTD (maybe just an idea) on an IDE-like
> > SanDisk PC-Card ? Or, at least, the FFS2 ?
> 
> As far as I'm aware, no. CompactFlash presents itself as an IDE drive, 

As an IDE drive, there are some problems here. The cards I've received
are initially formatted in DOS format.  Some have suggested that this 
can be used for storage with no problem, plug and play. Ok, I haven't
tried that..

However, most suggest that formatting the device with ext2 presents
problems.  I've spent a couple of days on this and found several things:

1. The BIOS does not fully recognize the CF 
A CF jumpered as a master device will not lock up the BIOS, the
HDD will boot then proceed to get completely trashed - dueling
masters-ahhhhh!

2. Linux does not recognize the CHS properly
The BIOS (Award, AMI and General Software tested here) has to be 
setup for fdisk to even get close to the correct CHS...(still off
by one cylinder, even after setting up the BIOS).

3. fdisk will render a CF unusable if you select the default CHS
The cylinder count is off by one, I guess formatting the device
with the wrong number of cylinders overwrites the cards internal 
software.

4. Lilo works best using "linear" option.
I have been able to get one to boot...but I think the CF file
system then gets trashed when the booting process writes files 
back to the device - boot once mode ?:)

5. Some CF adaptors don't seem to work
Ok, I've tested with 2 adaptors. One worked....

My next attempt is to 
a) tell the BIOS what the CHS are manually
b) tell fdisk what the CHS are 
c) tell Lilo what the CHS are. 
(I finally got a description from PQI for the CHS...no response
from Sandisk yet)

If this doesn't work, I'm not sure what else to try...

> and
> has its own flash filing system internally (probably FTL). You can't access
> the flash directly.

Although I suspect you can overwrite it by formatting with the wrong
number of Cylinders :-O

Good luck
Ralph


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

  reply	other threads:[~2000-03-16 14:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-16  8:48 IDE-like SanDisk Marius Bogoevici
2000-03-16  9:16 ` David Woodhouse
2000-03-16 14:39   ` Ralph Stickley [this message]
2000-03-16 16:44     ` Kyle Harris

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=38D0F229.29DE5664@datalux.com \
    --to=rstickley@datalux.com \
    --cc=mtd@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