Hello Alan:

* Alan Stern <[EMAIL PROTECTED]> [2004-06-10 13:10:04 -0400]:
> On Wed, 9 Jun 2004, Mark M. Hoffman wrote:
> 
> > Hello everyone:
> > 
> > The kernel version is 2.6.7-rc3.  I was getting filesystem errors,
> > so I dropped back to just this:
> > 
> >     $ dd if=/dev/sda1 of=/tmp/sda1.image
> >     dd: reading `/dev/sda1': Input/output error
> >     52880+0 records in
> >     52880+0 records out
> 
> I don't see anything wrong with that.  The input/output error message 
> refers to dd trying to read past the end of /dev/sda1.  It is a device, 
> not a regular file.

Of course... I didn't mean to imply that sda1.image would be a single picture.

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.

> > This is the first time I've plugged my dig. camera into a box w/
> > any 2.6 kernel, so I don't know if it's ever worked.  I can do the
> > "rebuild kernel versions / binary search" thing to try and narrow
> > it down, but I won't have the time for that until this weekend or
> > later.
> 
> Can you mount the device and do normal file I/O?  You mentioned something 
> about filesystem errors -- what errors do you see?

Since the dd command fails in 2.6 but not 2.4, I thought that would
rule out any problems w/ the filesystem itself.  In the meantime, I
snagged all the pictures off the card using kernel 2.4 and reformatted
it, so I don't have the same filesystem available anymore.  If you
still think it might help, I'll snap a few pictures and try to recreate
the problem... but I get the I/O errors using dd even with a freshly
formatted card.

Thanks and 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

Reply via email to