AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@lsi.com
RQ:
SSV:mhbs.lsil.com
NSV:
SSH:
R:<Patrick.Haverty@lsi.com>,<Brian.Stark@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/LSI/INBOX	0	08A1E1BF683B9844B320294C380BF34C04256AA0@cosmail03.lsi.com
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 2 Dec 2009 16:32:47 -0800
From: Andrew Sharp <andy.sharp@lsi.com>
To: "Haverty, Patrick" <Patrick.Haverty@lsi.com>
Cc: "Stark, Brian" <Brian.Stark@lsi.com>
Subject: Re: Compact Flash
Message-ID: <20091202163247.6418e3f7@ripper.onstor.net>
In-Reply-To: <08A1E1BF683B9844B320294C380BF34C04256AA0@cosmail03.lsi.com>
References: <08A1E1BF683B9844B320294C380BF34C04256AA0@cosmail03.lsi.com>
Organization: LSI
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I can answer all your questions in one sentence.  Oops, no I can't.

Anyway, the first series of errors is because you popped out/in CF
card(s) in a bad way.  Bad Pattie.
<slap-don't-slap-do-slap-that-slap-again-slap>

Be nice to your kernel, and it will be nice to you ~:^)  Always make
sure you unmount any mounted partitions *before* pulling a CF card.
Ignore the LEDs, I've seen the code that controls those ~:^)

As for the second message, yes, "system copy init" has a minimum
size requirement.  That card is too small.  I think there's a secret
hidden option to ignore that, but I don't remember.  There's also
flash-install.sh, which you should remember.  That's documented in the
wiki somewhere.  And that doc is probably not more than 3 years out
of date.  flash-install very likely has a way to override the min size
limit, because I wrote it and that's the way I roll; it's a shell
script, so it might be "easy" to look at it and see if you can figure
out what the secret option is for that.

I think that's it.  Good!  Time for my nap.



On Wed, 2 Dec 2009 16:13:04 -0700 "Haverty, Patrick"
<Patrick.Haverty@lsi.com> wrote:

> And I meant to ask if you had a method to test the read/write
> throughput of CF modules which I might use?
> 
> Thanks,
> 
> Pat
> 
> ________________________________
> From: Haverty, Patrick
> Sent: Wednesday, December 02, 2009 2:51 PM
> To: Sharp, Andy
> Cc: Stark, Brian
> Subject: Compact Flash
> 
> Hello Andy,
> 
> Brian and I are trying out some new Compact Flash modules to try and
> find an alternate part.  Below I'll paste some of the console
> messages seen when trying the new modules.  Do you know if the size
> error could be caused by a mismatch between the CF module
> configurations (different vendors in each slot), and if so can you
> tell me how I can create a new CF rather than copy an existing one?
> 
> Brian could probably speak more intelligently about what we are
> seeing, but he's tied up in a phone meeting right now.
> 
> Thanks,
> 
> Pat
> 
> Stec CF Module
> 
> (Insert module)
> 
> ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in Buffer I/O error on device sdb, logical block 0
> ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in Buffer I/O error on device sdb, logical block 0
> 
> 
> (Try copy init)
> 
> pleasanton diag> system copy init
> ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:20:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 16384 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:20:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 16384 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:20:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 16384 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:20:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 16384 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:20:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 16384 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:20:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 16384 in Buffer I/O error on device sdb, logical block 0
> Buffer I/O error on device sdb, logical block 1
> Buffer I/O error on device sdb, logical block 2
> Buffer I/O error on device sdb, logical block 3
> ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata3.00: cmd c4/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data
> 4096 in Buffer I/O error on device sdb, logical block 0
> Secondary CF card is 977 MiB
> Disk size 1024966656 bytes is not supported
> Problem initializing CF card /dev/sdb
> % Command failure.
> ******************
> 
> Unmarked CF Module
> 
> (No console messages upon insertion)
> 
> (Try copy init)
> 
> pleasanton diag> system copy init
> Secondary CF card is 977 MiB
> Disk size 1024966656 bytes is not supported
> Problem initializing CF card /dev/sdb
> % Command failure.
> 
> ******************
> 
> Viking CF Module
> 
> (No console messages upon insertion)
> 
> (Try copy init)
> 
> 
> pleasanton diag> system copy init
> Secondary CF card is 955 MiB
> Disk size 1002258432 bytes is not supported
> Problem initializing CF card /dev/sdb
> % Command failure.
> 
