Re: Error While Connecting Pendrive

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

 



On Wed, 24 Feb 2016, Anil Nair wrote:

> >> [ 3793.220454] scsi 5:0:0:0: Direct-Access     Kingston DataTraveler
> >> 2.0 1.00 PQ: 0 ANSI: 4
> >> [ 3793.220543] device: 'target5:0:0': device_add
> > ...
> >> [ 3922.968041] usb 1-3: reset high-speed USB device number 5 using ehci-pci
> >> [ 3923.100302] usb 1-3: device firmware changed
> >
> > That's the problem right there.  Notice that there's a two-minute delay
> > after the device is plugged in before the error occurs.  What happened
> > during that delay?
> >
> >> I am unable to mount it.What could be the issue?  Can I recover it?
> >
> > More information is needed.  Please capture a usbmon trace and post the
> > result (see Documentation/usb/usbmon.txt in the kernel source for
> > instructions).
> 
> As requested I am posting the usbmon trace, I am attaching the usbmon
> trace as i don't want to clog the email.
> 
> Also this occured while creating partition using fdisk and formatting
> it using mke2fs command,
> 
> [  473.037204] Buffer I/O error on dev sdc1, logical block 0, lost
> async page write
> [  473.037215] Buffer I/O error on dev sdc1, logical block 1, lost
> async page write
> [  473.037220] Buffer I/O error on dev sdc1, logical block 2, lost
> async page write
> [  473.037225] Buffer I/O error on dev sdc1, logical block 3, lost
> async page write
> [  473.037230] Buffer I/O error on dev sdc1, logical block 4, lost
> async page write
> [  473.037235] Buffer I/O error on dev sdc1, logical block 5, lost
> async page write
> [  473.037245] Buffer I/O error on dev sdc1, logical block 6, lost
> async page write
> [  473.037248] Buffer I/O error on dev sdc1, logical block 7, lost
> async page write
> [  473.037250] Buffer I/O error on dev sdc1, logical block 8, lost
> async page write
> [  473.037253] Buffer I/O error on dev sdc1, logical block 9, lost
> async page write
> [  479.588081] usb 1-3: reset high-speed USB device number 5 using ehci-pci
> [  486.276063] usb 1-3: reset high-speed USB device number 5 using ehci-pci
> [  492.964036] usb 1-3: reset high-speed USB device number 5 using ehci-pci
> [  499.652044] usb 1-3: reset high-speed USB device number 5 using ehci-pci
> [  506.340045] usb 1-3: reset high-speed USB device number 5 using ehci-pci
> [  513.028049] usb 1-3: reset high-speed USB device number 5 using ehci-pci
> [  513.161249] sd 5:0:0:0: [sdc] FAILED Result: hostbyte=DID_ERROR
> driverbyte=DRIVER_OK
> [  513.161257] sd 5:0:0:0: [sdc] CDB: Write(10) 2a 00 00 00 08 f0 00 00 f0 00
> [  513.161260] blk_update_request: I/O error, dev sdc, sector 2288
> [  513.161265] buffer_io_error: 20 callbacks suppressed

The usbmon trace shows the problem here:

ffff8800da6c59c0 3935367775 S Bo:1:006:2 -115 31 = 55534243 ed020000 00080000 00000a2a 00000000 00000004 00000000 000000
ffff8800da6c59c0 3935367918 C Bo:1:006:2 0 31 >
ffff8800b226ef00 3935367974 S Bo:1:006:2 -115 2048 = 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffff8800b226ef00 3941733001 C Bo:1:006:2 -71 1024 >

This is a WRITE(16) command trying to transfer 2048 bytes to the flash
drive.  The command failed with error -71 after only 1024 bytes were
sent.  This happened consistently, every time the computer tried to
write to the drive.

-71 is a low-level hardware error.  It means the flash drive isn't 
working right.  You can try formatting it on a different computer, to 
rule out the possibility of a problem in your computer's USB 
controller.  But if that doesn't work either then I think the drive is 
hopeless -- it can be read but not written.

Alan Stern

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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux