lkml.org 
[lkml]   [2007]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NIKON D50 problem
On Mon, 2 Jul 2007 22:17:20 +0300
"Ni@m" <niam.niam@gmail.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-03 01:01    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site