Re: [SCSI] can't plug Nokia 5300 anymore (bisected)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 25 Jul 2008, Cédric Godin wrote:

> resending because wrong address of lkml and cc scsi list
> 
> Hello,
> 
> since 2 or 3 -git kernels (Linus tree)  I have a problem with my laptop 
> and its connection through USB to a nokia 5300 gsm.
> 
> The logs show me a endless loop (until i unplug my USB cable) of 
> following messages :
> 
> Jul 25 15:19:14 enea sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> Jul 25 15:19:14 enea sd 2:0:0:0: [sdb] Sense Key : 0x0 [current]
> Jul 25 15:19:14 enea sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> Jul 25 15:19:14 enea sd 2:0:0:0: [sdb] Sense Key : 0x0 [current]
> Jul 25 15:19:14 enea sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> Jul 25 15:19:14 enea sd 2:0:0:0: [sdb] Sense Key : 0x0 [current]
> Jul 25 15:19:14 enea sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> Jul 25 15:19:14 enea sd 2:0:0:0: [sdb] Sense Key : 0x0 [current]
> Jul 25 15:19:14 enea sd 2:0:0:0: [sdb] ASC=0x0 ASCQ=0x0
> Jul 25 15:19:14 enea sd 2:0:0:0: [sdb] Sense Key : 0x0 [current]
> 
> I bisected the kernel and found the following commit as result :
> 
> 427e59f09fdba387547106de7bab980b7fff77be is first bad commit
> commit 427e59f09fdba387547106de7bab980b7fff77be
> Author: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
> Date:   Sat Mar 8 18:24:17 2008 -0600
> 
>    [SCSI] make use of the residue value
> 
>    USB sometimes doesn't return an error but instead returns a residue
>    value indicating part (or all) of the command wasn't completed.  So if
>    the driver _done() error processing indicates the command was fully
>    processed, subtract off the residue so that this USB error gets
>    propagated.
> 
>    Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
>    Signed-off-by: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
> 
> :040000 040000 d3bad84ebe1bc231e8e7d6267907ca62fd4d0dcd 
> c85f8cb8bd4910724f0101e41054555980727e16 M      drivers
> 
> 
> When reverting it with 2.6.26-06077-gc010b2f , everything is back to normal.

Can you post the corresponding dmesg log from a system built with 
CONFIG_USB_STORAGE_DEBUG enabled?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux