On Thu, Jul 29, 2004 at 11:46:30AM -0400, Alan Stern wrote:
> 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.
ok
> 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.
I would expect it to all be available but it's clearly not.
> 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.
Using debug with 2.4.25 kernel, sector 494081 is read when
I mount the USB disk.
I forgot to grab the book I wanted to read on the flight back
and ended up playing with the OB900 instead.
Here is syslog after booting, loading the modules, plugging in camera,
turn it on, and mount/unmount the /dev/sda1:
ftp://gsyprf10.external.hp.com/kernels/ob900/usbdebug-2.4.25-syslog
usbdebug-2.4.25-mnt.out-01 contains dmesg output but appears
to be have overflowed. The syslog above seems to have everything.
> > only knows about 1K blocks. Maybe the block layer isn't involved here.
>
> _What_ only knows about 1K blocks?
Sorry - I was thinking "the block layer".
> 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.
Ok.
thanks,
grant
>
> 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