* Alan Stern <[EMAIL PROTECTED]> [2004-06-10 16:43:39 -0400]:
> On Thu, 10 Jun 2004, Mark M. Hoffman wrote:
>
> > I.e. using kernel 2.4, dd is able to read the whole 128M without any I/O
> > errors. Then I am able to mount the image via loopback like this:
> >
> > $ mount -t vfat -o ro,loop=/dev/loop0 sda1.image /mnt/camera
> >
> > No errors, all the pictures are there, etc. Using kernel 2.6 dd won't
> > even read the whole device, as you see above from my first message.
>
> Really? Your kernel log from 2.6 shows that the device only claims to
> have 52949 512-byte sectors, which is 27 MB. Maybe it needs some sort of
> low-level reinitialization?
Yes, really. ;) The following is with a freshly reformatted (by the
camera itself) 128MB compact flash card...
[EMAIL PROTECTED] root]# uname -r
2.4.22-1.2188.nptlsmp
[EMAIL PROTECTED] root]# mount -t vfat /dev/sda1 /mnt/camera
[EMAIL PROTECTED] root]# df -h /mnt/camera
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 122M 0 122M 0% /mnt/camera
[EMAIL PROTECTED] root]# umount /mnt/camera
[EMAIL PROTECTED] root]# dd if=/dev/sda1 of=/tmp/sda1.image
250080+0 records in
250080+0 records out
[EMAIL PROTECTED] root]#
But worse, the weird kernel log message which you noticed is also
there even during the above operations using FC1 2.4.22-1.nptlsmp ?!
> Jun 10 21:57:30 jupiter kernel: SCSI device sda: 52949 512-byte hdwr sectors (27 MB)
Any suggestions? There's no indication that this camera is capable
of any other "low-level reinit" apart from just reformatting the card.
PS: Just checked HP's website to make sure I have the latest
firmware: yes. *BUT* then I also found this...
> Using the HP Photosmart 315 and 315xi digital cameras with systems
> running Windows 2000 or Microsoft Windows XP may require a card reader
> for 32 MB or larger CF cards.
I guess this is no coincidence. Maybe the H/W is screwed up and only
more recent versions of Linux seem to trip over it (like Win2K and WinXP
apparently do as well.)
Regards,
--
Mark M. Hoffman
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users