lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0707031659020.8010-100000@iolanthe.rowland.org>
Date:	Tue, 3 Jul 2007 17:01:55 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	"Ni@m" <niam.niam@...il.com>
cc:	Oliver Neukum <oliver@...kum.org>,
	USB development list <linux-usb-devel@...ts.sourceforge.net>,
	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [linux-usb-devel] NIKON D50 problem

On Tue, 3 Jul 2007, Oliver Neukum wrote:

> Am Dienstag, 3. Juli 2007 schrieb Andrew Morton:
> > > Some time ago(I really can't remember version of the kernel)
> > > everything was Ok. I'll try to find out the workable version of the
> > > kernel ... but I've already tried 2.6.20 - the same =(.
> > > I'm not sure, but It's possible that I've had ATA subsystem but not
> > > libata ... I haven't tested this case yet.
> > > 
> > > PS. I can see photos on my camera ... flash card is Ok. I have this
> > > problem even if I changed the flash card in this camera.
> > 
> > It's more likely a usb-storage or scsi layer problem.
> > 
> > The device reports as having 1984001 sectors and the kernel is reporting IO
> > errors around the very end of the device.  Presumably an IO is straddling
> > end-of-device and we're not handling that correctly.
> 
> Now I remember. We recently had a report about a buggy device, that close
> to the end of the medium could handle only requests for single sectors.
> I'll look into the archive.

Most likely this device just needs an unusual_devs entry with
US_FL_FIX_CAPACITY.  I could prepare a patch to add this if you send
the output from "lsusb -v" for the camera or its entry in
/proc/bus/usb/devices.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ