Wow... rarely do I make a mistake this big.  1000 lashes with a wet noodle
for me.

Looking at this log... you've got a /dev/sda, which I'm guessing is non-USB
(but that's just a guess), and the two memory banks with the camera are
around 1MB and 33MB.  Is that correct?

Here's the interesting part.  It looks just fine, until the very last line.
We try a 4K read, and it craps out on us.  Here's the really wierd part:
There is supposed to be a command timeout that should have fired (from the
SCSI layer) which should have tried to unjam this -- but it didn't fire.

My advice: 
(1) Try the other UHCI driver
(2) Try to narrow down exactly what kernel this died in.  usb-storage has
some 2.4.15-pre2 changes, but it hasn't changed for a while previous to
that.


Matt

On Sun, Nov 11, 2001 at 12:41:42AM +0100, [EMAIL PROTECTED] wrote:
> On Sun, Nov 11, 2001 at 12:22:52AM +0100, [EMAIL PROTECTED] wrote:
> > On Sat, Nov 10, 2001 at 02:53:06PM -0800, Matthew Dharm wrote:
> > > 
> > > Turn off Probe All LUNs.
> > 
> > Hmm, this is the short version I guess?   ;-)
> > 
> > Thanks for your reply.
> > But I'm a little puzzled because I've always used the probe-all-luns option.
> > The reason is that this camera has an internal memory bank
> > as well as a SmartMedia memory card.
> > They present themselves as two separate "SCSI" drives.
> > With the probe-all-luns option turned off, only the internal
> > memory bank will show up (and I don't really use that one).
> > 
> > The probe-all-luns thing has always worked for me.
> 
> Oh, please find attached a piece of logging from kernel 2.4.6pre3,
> the last kernel I used which worked for me. Just to illustrate my claim.
> Sorry, no debug logging. It wasn't activated in that particular kernel.
> 
> Regards,
> Toon.
> -- 
>  /"\                             |   Windows XP:
>  \ /     ASCII RIBBON CAMPAIGN   |        "Sorry Dave...
>   X        AGAINST HTML MAIL     |         I'm afraid I can't do that."
>  / \

> Nov  9 18:55:48 vdpas kernel: hub.c: USB new device connect on bus1/1, assigned 
>device number 3
> Nov  9 18:55:48 vdpas kernel: usb.c: USB device 3 (vend/prod 0x5ca/0x101) is not 
>claimed by any active driver.
> Nov  9 18:55:48 vdpas kernel: Initializing USB Mass Storage driver...
> Nov  9 18:55:48 vdpas kernel: usb.c: registered new driver usb-storage
> Nov  9 18:55:48 vdpas kernel: scsi2 : SCSI emulation for USB Mass Storage devices
> Nov  9 18:55:48 vdpas kernel:   Vendor: RICOH     Model: USB CAMERA DRIVE  Rev: 1.21
> Nov  9 18:55:48 vdpas kernel:   Type:   Direct-Access                      ANSI SCSI 
>revision: 02
> Nov  9 18:55:48 vdpas kernel: Detected scsi removable disk sdb at scsi2, channel 0, 
>id 0, lun 0
> Nov  9 18:55:48 vdpas kernel:   Vendor: RICOH     Model: USB CAMERA DRIVE  Rev: 1.21
> Nov  9 18:55:48 vdpas kernel:   Type:   Direct-Access                      ANSI SCSI 
>revision: 02
> Nov  9 18:55:48 vdpas kernel: Detected scsi removable disk sdc at scsi2, channel 0, 
>id 0, lun 1
> Nov  9 18:55:48 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1686
> Nov  9 18:55:49 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1690
> Nov  9 18:55:49 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1695
> Nov  9 18:55:49 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1698
> Nov  9 18:55:49 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1704
> Nov  9 18:55:49 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1710
> Nov  9 18:55:49 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1714
> Nov  9 18:55:49 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1719
> Nov  9 18:55:49 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1726
> Nov  9 18:55:49 vdpas kernel: SCSI device sdb: 1441 512-byte hdwr sectors (1 MB)
> Nov  9 18:55:49 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1747
> Nov  9 18:55:49 vdpas kernel: sdb: Write Protect is off
> Nov  9 18:55:49 vdpas kernel:  sdb: sdb1
> Nov  9 18:55:49 vdpas kernel: SCSI device sdc: 64000 512-byte hdwr sectors (33 MB)
> Nov  9 18:55:49 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1789
> Nov  9 18:55:49 vdpas kernel: sdc: Write Protect is off
> Nov  9 18:55:49 vdpas kernel:  sdc: sdc1
> Nov  9 18:55:49 vdpas kernel: WARNING: USB Mass Storage data integrity not assured
> Nov  9 18:55:49 vdpas kernel: USB Mass Storage device found at 3
> Nov  9 18:55:49 vdpas kernel: USB Mass Storage support registered.
> Nov  9 18:56:25 vdpas kernel: usb-uhci.c: interrupt, status 3, frame# 1112
> Nov  9 18:59:57 vdpas kernel: usb.c: USB disconnect on device 3
> 


-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

E:  You run this ship with Windows?!  YOU IDIOT!
L:  Give me a break, it came bundled with the computer!
                                        -- ESR and Lan Solaris
User Friendly, 12/8/1998

PGP signature

Reply via email to