I just check a stack of mine - all the Sandisk cards are V1.00 - All cards
give the errors you mentioned on first access.  My Apacer cards are RevB.65
whatever that means, same errors...

Good luck,
Ralph

--- Malcolm Dodds <[EMAIL PROTECTED]> wrote:
> Yes, I think this may be the problem with the SanDisk flash cards at least. I
> was told by SanDisk that firmware versions 1.00 and 1.02 are known to exhibit
> problems with the Linux IDE driver. All my cards are currently 1.00 so this
> may
> explain all the curiosities I've been encountering. I'm awaiting a newer
> firmware release and upgrade instructions. I'll keep you  posted if this
> cures
> my problems.
> 
> Malcolm
> 
> _albino wrote:
> 
> > Has anyone seem a correlation with the drive status error and the firmware
> > version?  Based on the few units I have seen it looks like certain versions
> > fail more often.  I check the version using hdparm.  I get messages like
> > this:
> >
> > kernel: hdb: drive_cmd: status=0x51 { DriveReady eekComplete Error }
> > kernel: hdb: drive_cmd: error=0x04 { DriveStatusError}
> >
> > When I run things like fdisk, hdparm, mount, etc.
> >
> > _albino
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of John Georgian
> > Sent: Tuesday, September 12, 2000 10:38 AM
> > To: Malcolm Dodds; Ralph Stickley
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: Booting from compact flash?
> >
> > I have also seen drive status error  on Apacer Compact Flash cards but
> never
> > on the SanDisk.  The error occurs here when doing a MKFS (ext2 or DOS) or
> > trying to mount the device for the first time.  When mkfs is rerun or
> > umount/remount is done the error does not reoccur.  I have yet to see any
> > data corruption, although (IMHO) it doesnt fill me with a whole lot of
> > confidence.
> >
> > John G
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Malcolm Dodds
> > Sent: Tuesday, September 12, 2000 6:51 AM
> > To: Ralph Stickley
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Booting from compact flash?
> >
> > I'm using SanDisk compact flash too, although I'm just using Red Hat's
> > mke2fs.
> >
> > However, I have been experiencing problems with my filesystems which I
> > suspect are
> > down to the compact flash. Amongst these are UncorrectableError and
> > AddrMarkNotFound. These only appear on a very small number of cards after
> > they have
> > been used for a few weeks.
> >
> > I always get a drive status error on the first access, but I assume this is
> > some
> > part of the IDE protocol which the flash cards do not support.
> >
> > Has anyone else using compact flash cards also experienced problems?
> >
> > Cheers,
> > Malcolm.
> >
> > Ralph Stickley wrote:
> >
> > > Just a quick note - not all compact flash cards are created equally.
> > > I've found that several "off-brand" compact flash cards may work in their
> > > intended target (digital cameras), but will NOT work as a "hard disk like
> > > storage device".
> > >
> > > If the card contains a sandisk controller or says Sandisk on it, I've
> > never
> > > hand a problem.  Some other cards work but give various errors. Still
> > other
> > > cards, once formatted are rendered useless forever more - you want some
> > ?:-)
> > >
> > > I use mkfs.ext2 and Lilo to make our CF cards boot...this is from the
> > PeeWee
> > > linux distribution which has scripts to do all the necessary commands
> > required
> > > to embed the system...
> > >
> > > Hope this helps
> > > Ralph Stickley
> > >
> > > --- Malcolm Dodds <[EMAIL PROTECTED]> wrote:
> > > > I'll try to help...
> > > >
> > > > > > I'm wondering if it is possible to boot into Linux from compact
> > flash.
> > > >
> > > > It's not hard at all. It only took me a morning to get it going. It all
> > > > depends whether you know a couple of tricks ( I think!).
> > > >
> > > > > > *  A direct copy using 'dd' from a boot floppy to the CF.
> > > >
> > > > The boot sector of the floppy, and all the other filesystem info is set
> > up
> > > > for
> > > > the floppy drive. LILO uses sectors, cylinders, etc. and BIOS calls so
> > must
> > > > be
> > > > run on the compact flash
> > > >
> > > > I'll try to explain what I do to produce a CF image:
> > > > 1/ Put CF as /dev/hdb for example
> > > > 2/ Create boot partition on CF, make filesystem and copy my kernel,
> etc.
> > onto
> > > > this
> > > > 3/ Make my main partition and  filesystem, copy my various distribution
> > > > contents to this (Chroot to this partition to make sure it is hunkdory)
> > > > 4/ Have a lilo2.conf with something like:
> > > >
> > > > boot=/dev/hdb
> > > > disk=/dev/hdb
> > > >    bios=0x80
> > > > map=/mnt/map
> > > > linear
> > > >
> > > > default=linux
> > > >
> > > > image=/mnt/bzImage
> > > >  label=linux
> > > >  read-only
> > > >
> > > > 5/ Mount boot partition under /mnt/
> > > > 6/ lilo -C lilo2.conf
> > > > 7/ Remove CF, move to another machine as primary master and boot up
> > > >
> > > > linear addressing is required for CFs
> > > > bios=0x80 tells lilo to write boot sector as if the disk was primary
> > master
> > > > so
> > > > that the boot sector will work with the CF as primary master
> > > >
> > > > A good tip though is to try this with a normal IDE drive. This ensures
> > you
> > > > are
> > > > confident you distribution works before blaming the Compact Flash.
> > > >
> > > > Hope this helps,
> > > > Malcolm.
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe from this list, send a message to [EMAIL PROTECTED]
> > > > with the command "unsubscribe linux-embedded" in the message body.
> > > > For more information, see <http://waste.org/mail/linux-embedded>.
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Mail - Free email you can access from anywhere!
> > > http://mail.yahoo.com/
> 
> 
> --
> To unsubscribe from this list, send a message to [EMAIL PROTECTED]
> with the command "unsubscribe linux-embedded" in the message body.
> For more information, see <http://waste.org/mail/linux-embedded>.


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to