Unix Technical Forum

FAT signature error

This is a discussion on FAT signature error within the comp.unix.solaris forums, part of the Solaris Operating System category; --> One of my CF cards has a FAT16 filesystem that my Solaris 10 SPARC refuses to mount. Any tips ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-07-2008, 09:28 AM
John F. Carr
 
Posts: n/a
Default FAT signature error

One of my CF cards has a FAT16 filesystem that my Solaris 10
SPARC refuses to mount. Any tips on diagnosing this? The card
has some pictures taken with my digital camera that I really
don't want to lose.

I mount my camera (Nikon D300) as a filesystem using a USB
cable. The results are the same, positive or negative, if
I use a card reader instead of the camera. When I go to
mount /dev/dsk/c3t0d0s2:c as type pcfs the kernel logs an
error

NOTICE: pcfs: FAT signature error
NOTICE: pcfs: illegal disk format

My other cards mount fine. The bad card is 2GB; the good
cards are 2GB and 8GB.

Google leads me to a problem with 2K sectors. I looked
at the bits in the first sector of the partition on my
card and found sector size 512.

I know the pictures are on the card because I can view them
in my camera; "strings" on a copy of the card also shows
plausible text timestamps. (In fact, a user-mode tool to
extract the files from the copy I made of the card would
suit me just fine.)

My kernel boot version string:
SunOS Release 5.10 Version Generic_118833-33 64-bit

(When I went to review Sunsolve's used-to-be-free patch
clusters to get up to date the site told me I couldn't
get them without paying.)

--
John Carr (jfc@mit.edu)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2008, 09:28 AM
John F. Carr
 
Posts: n/a
Default Re: FAT signature error

In article <47f9958a$0$297$b45e6eb0@senator-bedfellow.mit.edu>,
I wrote:
>(In fact, a user-mode tool to extract the files from the copy
>I made of the card would suit me just fine.)


After I wrote this I remembered mtools, which I hadn't
used since kernel FAT support was added oh so many years
ago. mtools also failed, but I could step through with
a debugger and find out why. The third byte of the FAT
is expected to be FF. It isn't. Setting the flag to
skip sanity checks allowed me to recover my files.
But I'd still like a solution for mounting as a filesystem,
as using mtools would require copying 2GB-epsilon every
time I want to look at the card. mtools wants the partition,
not the whole disk, and as far as I know Solaris SPARC's ":c"
suffix only works when mounting a filesystem.

--
John Carr (jfc@mit.edu)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2008, 06:10 PM
Reginald Beardsley
 
Posts: n/a
Default Re: FAT signature error

John F. Carr wrote:
> In article <47f9958a$0$297$b45e6eb0@senator-bedfellow.mit.edu>,
> I wrote:
>
>>(In fact, a user-mode tool to extract the files from the copy
>>I made of the card would suit me just fine.)

>
>
> After I wrote this I remembered mtools, which I hadn't
> used since kernel FAT support was added oh so many years
> ago. mtools also failed, but I could step through with
> a debugger and find out why. The third byte of the FAT
> is expected to be FF. It isn't. Setting the flag to
> skip sanity checks allowed me to recover my files.
> But I'd still like a solution for mounting as a filesystem,
> as using mtools would require copying 2GB-epsilon every
> time I want to look at the card. mtools wants the partition,
> not the whole disk, and as far as I know Solaris SPARC's ":c"
> suffix only works when mounting a filesystem.
>


I've had similar problems w/ some of my cards on my Ultra 20. Creating
a filesystem using Solaris solves the problem. Apparently some of the
cameras and/or card vendors are a bit liberal in their implementation of
the filesystem.

Have Fun!
Reg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com