On Thursday 04 October 2007 11:48:41 Alan Stern wrote:
> On Thu, 4 Oct 2007, Paul Check wrote:
> > On Tuesday 02 October 2007 14:47:55 you wrote:
> > > On Tue, 2 Oct 2007, Paul Check wrote:
> > > > > If you run "fdisk -l /dev/sdh" before trying to mount the camera,
> > > > > what is the output?
> > > >
> > > > The device doesn't exist before the camera is plugged in, thanks to
> > > > udev. So, the output is nothing.
> > >
> > > That's what you get if you run fdisk before the camera is plugged in.
> > > But what do you get if you run fdisk after the camera is plugged in and
> > > before you try to mount it?
> >
> > Interestingly enough, the output is still nothing, even though the
> > devices /dev/sdh and /dev/sdh1 are created.
> >
> > > > > What shows up in the "dmesg" log after you plug in the camera and
> > > > > try to mount it?
> >
> > The output seems to be longer than dmesg gets, so here is my
> > edited /var/log/messages file with the relevant sections:
>
> Okay, the log is clear enough.  The camera tells the computer that it
> has 16007041 sectors, and an unrecoverable error occurs when the
> computer tries to read sector 16007040.  Evidently the camera really
> has one less sector than it claims.  This is a very common bug.
>
> A blacklist entry should fix the problem.  To create I will need to see
> the contents of /proc/bus/usb/devices with the camera plugged in.
> Alternatively, the same information is present in the output from
> "lsusb -v".

Ok, I'll just cut and paste it below (I take it you just want the Nikon 
section, which in this case is the second block, but I'll paste the whole 
thing.  Where does your blacklist entry go: in or out of kernel? Or, more 
generally, how will the change get propagated to me?

I had seen you discussing a similar error with someone else (I believe it was 
Alan Cox w a D70), so I figured it was a similar problem. The D2Xs is not 
such a common camera, so not surprising it didn't come up before. But why 
would this happen now? It was working earlier with the same kernel version 
[2.6.22]. Is there something outside of the kernel that changed? Or did I 
pick up some small kernel change?

Regards, Paul

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.22 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:1d.7
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04b0 ProdID=0415 Rev= 1.00
S:  Manufacturer=NIKON
S:  Product=NIKON DSC D2Xs
S:  SerialNumber=6010215
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.22 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.22 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.22 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:1d.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms



Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to