On Wed, 28 Jul 2004, Grant Grundler wrote:

> > According to your log file, the camera claims to have 494081 512-byte
> > sectors (253 MB).  Do you know whether this is correct?
> 
> The camera has 32MB built-in and a 256MB SD/MMC card.
> 253MB is probably what's available to the FAT filesystem.

The value in the log should be the total capacity, not just what's
available in the filesystem.  If the camera reserves some of that memory
for its own use then the capacity might show up as less than 256 MB;  
otherwise I don't know why it should be any smaller.  On the other hand,
since the camera crashes when the computer tries to read the last sector,
maybe the capacity should really be reported as 494080 sectors.

> > The problem 
> > occurs when the computer tries to read sector 494080, which should be the 
> > last one.
> 
> only knows about 1K blocks. Maybe the block layer isn't involved here.

_What_ only knows about 1K blocks?  Not the camera -- it's reporting that 
it uses 512-byte sectors.  And you're right that the block layer isn't 
involved at this point; the error occurs while the general disk driver is 
trying to read the partition table.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to