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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 2 Jul 2007 15:59:12 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	"Ni@m" <niam.niam@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	linux-usb-devel@...ts.sourceforge.net
Subject: Re: NIKON D50 problem

On Mon, 2 Jul 2007 22:17:20 +0300
"Ni@m" <niam.niam@...il.com> wrote:

> Hi! Recently I've found out that my camera NIKON D50 can't mount any more.
> uname -a: "Linux niam 2.6.22-rc6-cfs-v18 #6 Mon Jul 2 20:19:25 EEST
> 2007 i686 Intel(R) Celeron(R) M processor 1.50GHz GenuineIntel
> GNU/Linux"
> 
> dmesg:
> scsi 2:0:0:0: Direct-Access     NIKON    D50              1.00 PQ: 0 ANSI: 2
> sd 2:0:0:0: [sdb] 1984001 512-byte hardware sectors (1016 MB)
> sd 2:0:0:0: [sdb] Write Protect is off
> sd 2:0:0:0: [sdb] Mode Sense: 0f 00 00 00
> sd 2:0:0:0: [sdb] Assuming drive cache: write through
> sd 2:0:0:0: [sdb] 1984001 512-byte hardware sectors (1016 MB)
> sd 2:0:0:0: [sdb] Write Protect is off
> sd 2:0:0:0: [sdb] Mode Sense: 0f 00 00 00
> sd 2:0:0:0: [sdb] Assuming drive cache: write through
>  sdb: sdb1
> sd 2:0:0:0: [sdb] Attached SCSI removable disk
> sd 2:0:0:0: Attached scsi generic sg2 type 0
> usb-storage: device scan complete
> end_request: I/O error, dev sdb, sector 1984000
> Buffer I/O error on device sdb, logical block 1984000
> end_request: I/O error, dev sdb, sector 1984000
> Buffer I/O error on device sdb, logical block 1984000
> end_request: I/O error, dev sdb, sector 1983992
> Buffer I/O error on device sdb, logical block 1983992
> end_request: I/O error, dev sdb, sector 1983993
> Buffer I/O error on device sdb, logical block 1983993
> Buffer I/O error on device sdb, logical block 1983994
> Buffer I/O error on device sdb, logical block 1983995
> Buffer I/O error on device sdb, logical block 1983996
> Buffer I/O error on device sdb, logical block 1983997
> Buffer I/O error on device sdb, logical block 1983998
> Buffer I/O error on device sdb, logical block 1983999
> end_request: I/O error, dev sdb, sector 1983992
> ...................
> 
> 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.



-
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