Hi, On Tue, Feb 23, 2016 at 8:53 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > On Tue, 23 Feb 2016, Anil Nair wrote: > >> Hi, >> >> I am getting following error while connecting my pendrive, > > This would be easier to follow without all the extra debugging > information clogging up the log. > Sorry I thought it would be useful information. >> [ 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 After which mke2fs crashed showing me following error, [12682.315078] WARNING: CPU: 1 PID: 4839 at fs/block_dev.c:57 __blkdev_put+0x1b6/0x1f0() [12682.315080] Modules linked in: nls_utf8(E) isofs(E) snd_hrtimer(E) pci_stub(E) vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) vmnet(OE) vmw_vsock_vmci_transport(E) vsock(E) vmw_vmci(E) vmmon(OE) bnep(E) rfcomm(E) bluetooth(E) ses(E) enclosure(E) joydev(E) radeon(E) usb_storage(E) hid_generic(E) usbhid(E) hid(E) snd_hda_codec_realtek(E) gpio_ich(E) snd_hda_codec_generic(E) snd_hda_codec_hdmi(E) ttm(E) snd_hda_intel(E) drm_kms_helper(E) snd_hda_codec(E) drm(E) snd_hda_core(E) snd_hwdep(E) snd_pcm(E) snd_seq_midi(E) i2c_algo_bit(E) snd_seq_midi_event(E) snd_rawmidi(E) snd_seq(E) snd_seq_device(E) coretemp(E) snd_timer(E) snd(E) serio_raw(E) soundcore(E) lpc_ich(E) shpchp(E) mac_hid(E) binfmt_misc(E) parport_pc(E) ppdev(E) lp(E) parport(E) psmouse(E) pata_acpi(E) r8169(E) mii(E) [12682.315134] CPU: 1 PID: 4839 Comm: mke2fs Tainted: G OE 4.2.2 #1 [12682.315136] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./To be filled by O.E.M., BIOS 080015 11/07/2013 [12682.315138] ffffffff81ab9ea4 ffff8800b64b7db8 ffffffff81767519 0000000000000000 [12682.315142] 0000000000000000 ffff8800b64b7df8 ffffffff810734ea 0000000000000000 [12682.315145] ffff8800360056c0 ffff880036005838 ffff8800360057b0 ffff8800360056d8 [12682.315148] Call Trace: [12682.315155] [<ffffffff81767519>] dump_stack+0x45/0x57 [12682.315160] [<ffffffff810734ea>] warn_slowpath_common+0x8a/0xc0 [12682.315162] [<ffffffff810735da>] warn_slowpath_null+0x1a/0x20 [12682.315165] [<ffffffff812186b6>] __blkdev_put+0x1b6/0x1f0 [12682.315167] [<ffffffff81218f70>] blkdev_put+0x50/0x120 [12682.315169] [<ffffffff812190f5>] blkdev_close+0x25/0x30 [12682.315173] [<ffffffff811e1234>] __fput+0xe4/0x210 [12682.315176] [<ffffffff811e13ae>] ____fput+0xe/0x10 [12682.315179] [<ffffffff8108f505>] task_work_run+0x85/0xb0 [12682.315184] [<ffffffff81014da6>] do_notify_resume+0x86/0xa0 [12682.315187] [<ffffffff8176eb44>] int_signal+0x12/0x17 [12682.315189] ---[ end trace 444d07e51e41b993 ]--- [12682.316674] bus: 'usb': remove device 1-3 [12682.316688] PM: Removing info for usb:1-3 Let me know if you need any further information. -- -- Regards, Anil Nair
Attachment:
pd.out
Description: Binary data