Re: not mountable digital camera (Sony Cybershot DSC-S40)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 30 Aug 2009, Maciej Pilichowski wrote:

> Hello,
> 
> > You should start the traces before plugging in the camera, not just
> > before trying to mount it.  
> 
> OK. I figured out that without plugging it it, I won't be able to find 
> out which port it is (usbmon documentation). So now I traced all USB 
> devices (0u).
> 
> > Also, it helps to remove clutter from 
> > the traces by first unplugging all other USB devices, or as many as
> > possible.
> 
> In case of 10.3 I had to use pendrive because there was the system. 
> 
> opensuse 11.1 trace:
> https://bugzilla.novell.com/attachment.cgi?id=315858
> 
> opensuse 10.3 trace:
> https://bugzilla.novell.com/attachment.cgi?id=315859

Okay, this shows the source of the problem.  In fact it's a combination
of things: a bug in the camera and changes in udev and hal -- which
explains why OpenSuSE 10.3 worked and 11.3 doesn't.

The camera reports initially that it has 63424 sectors of storage (31.7
MB).  Although old versions of udev and hal didn't do this, newer
versions try reading the sectors near the end to check for a RAID
signature.  In your case, udev tried to read 8 sectors starting at
sector 63408.  Although this should have worked, it didn't -- the
camera reported a Medium Error (unrecoverable read error) and then
basically stopped working.  Every attempted read after that got a Not
Ready (medium not present) error; even reads for sectors nowhere near
the end.  Presumably the same thing would have happened with the older
OS if it had tried to read sectors so close to the end.

That's the reason the mount failed.  You'd think by now Sony could use
properly-designed USB interfaces for their cameras, but apparently they
can't.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux