Martin Mokrejs wrote: > Alan Stern wrote: >> On Sun, 13 Jan 2013, Martin Mokrejs wrote: >> >>>> Don't worry about what kmemleak says when the drives are plugged in. >>>> See what it says when all the USB drives are unplugged. That's what >>>> matters. >>> >>> Now it is the only one drive connected. If I disconnect it kmemleak won't change like it >>> did not today for many hours when all the drives were unplugged. I thought you want >>> me to plug it in back and unplug several times. ;) >> >> I did want you to plug it in and unplug it several times. But pay >> attention only to what kmemleak says when the drive is unplugged. > > I did not retry yet but I got the same kmemleak reported again. And, > after quitting my seamonkey I realized system is uncovering another kmemleak. > So, I am, attaching a diff to a previous stage. I can assure you that those > new lines are not related to any new USB device being plugged in or out meanwhile. A corresponding diff of dmesg output is attached. Note that the first kmemleak in there happened just without any prior fiddling with a USB drive. For about two days I haven't connected a drive. However, usb-storage might be in a wrong shape since several days when it happened for the first time. Did you want me to reboot? ;-) I did not. Martin
--- /tmp/dmesg.new 2013-01-12 20:18:14.000000000 +0100 +++ /tmp/dmesg.2 2013-01-16 02:33:34.000000000 +0100 @@ -1933,3 +1933,100 @@ [257099.029790] hub 3-1:1.0: port 1, status 0100, change 0001, 12 Mb/s [257099.181584] hub 3-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 [257855.985369] kmemleak: 14 new suspected memory leaks (see /sys/kernel/debug/kmemleak) +[267293.258370] usb usb2: usb auto-resume +[267293.258376] ehci_hcd 0000:00:1d.0: resume root hub +[267293.295290] hub 2-0:1.0: hub_resume +[267293.295328] hub 2-0:1.0: port 1: status 0507 change 0000 +[267293.295422] usb 2-1: usb auto-resume +[267293.296110] hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0000 +[267293.335231] ehci_hcd 0000:00:1d.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT +[267293.355095] usb 2-1: finish resume +[267293.355346] hub 2-1:1.0: hub_resume +[267293.356336] ehci_hcd 0000:00:1d.0: reused qh ffff88040aceac78 schedule +[267293.356339] usb 2-1: link qh256-0001/ffff88040aceac78 start 1 [1/0 us] +[267293.356967] hub 2-1:1.0: state 7 ports 8 chg 0000 evt 0000 +[267295.711589] hub 2-1:1.0: hub_suspend +[267295.711597] usb 2-1: unlink qh256-0001/ffff88040aceac78 start 1 [1/0 us] +[267295.732900] usb 2-1: usb auto-suspend, wakeup 1 +[267297.748460] hub 2-0:1.0: hub_suspend +[267297.748470] usb usb2: bus auto-suspend, wakeup 1 +[267297.748472] ehci_hcd 0000:00:1d.0: suspend root hub +[267310.610920] usb usb2: usb auto-resume +[267310.610925] ehci_hcd 0000:00:1d.0: resume root hub +[267310.649159] hub 2-0:1.0: hub_resume +[267310.649199] hub 2-0:1.0: port 1: status 0507 change 0000 +[267310.649278] usb 2-1: usb auto-resume +[267310.650700] hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0000 +[267310.689142] ehci_hcd 0000:00:1d.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT +[267310.709046] usb 2-1: finish resume +[267310.709247] hub 2-1:1.0: hub_resume +[267310.710248] ehci_hcd 0000:00:1d.0: reused qh ffff88040aceac78 schedule +[267310.710250] usb 2-1: link qh256-0001/ffff88040aceac78 start 1 [1/0 us] +[267310.710270] hub 2-1:1.0: state 7 ports 8 chg 0000 evt 0000 +[267312.706389] hub 2-1:1.0: hub_suspend +[267312.706398] usb 2-1: unlink qh256-0001/ffff88040aceac78 start 1 [1/0 us] +[267312.726266] usb 2-1: usb auto-suspend, wakeup 1 +[267314.742955] hub 2-0:1.0: hub_suspend +[267314.742964] usb usb2: bus auto-suspend, wakeup 1 +[267314.742966] ehci_hcd 0000:00:1d.0: suspend root hub +[270107.716006] [sched_delayed] sched: RT throttling activated +[272687.284828] traps: python2.7[23538] general protection ip:7fe8be5a5f08 sp:7fff3c479b10 error:0 in libpython2.7.so.1.0[7fe8be495000+173000] +[273262.853094] hub 4-1:1.0: state 7 ports 4 chg 0000 evt 0002 +[273262.878070] hub 4-1:1.0: port 1, status 02a0, change 0041, 5.0 Gb/s +[273262.878075] usb 4-1.1: USB disconnect, device number 6 +[273262.878077] usb 4-1.1: unregistering device +[273262.878078] usb 4-1.1: unregistering interface 4-1.1:1.0 +[273262.884593] usb 4-1.1: usb_disable_device nuking all URBs +[273262.884653] usb 4-1.1: Successful Endpoint Configure command +[273263.056046] hub 4-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x2a0 +[273263.056062] usb 4-1: remote wakeup needed for autosuspend +[277337.650821] kmemleak: 1 new suspected memory leaks (see /sys/kernel/debug/kmemleak) +[279422.737427] r8169 0000:05:00.0 eth0: link down +[306258.609520] r8169 0000:05:00.0 eth0: link up +[306276.021745] r8169 0000:05:00.0 eth0: link down +[306303.361392] r8169 0000:05:00.0 eth0: link up +[306310.846349] r8169 0000:05:00.0 eth0: link down +[306313.082271] r8169 0000:05:00.0 eth0: link up +[311084.323583] r8169 0000:05:00.0 eth0: link down +[311084.323593] r8169 0000:05:00.0 eth0: link down +[311085.999705] r8169 0000:05:00.0 eth0: link up +[367047.018542] r8169 0000:05:00.0 eth0: link down +[398236.434785] r8169 0000:05:00.0 eth0: link up +[398255.533326] r8169 0000:05:00.0 eth0: link down +[398283.267739] r8169 0000:05:00.0 eth0: link up +[398290.356696] r8169 0000:05:00.0 eth0: link down +[398291.978455] r8169 0000:05:00.0 eth0: link up +[399430.392041] r8169 0000:05:00.0 eth0: link down +[399430.392156] r8169 0000:05:00.0 eth0: link down +[399431.963851] r8169 0000:05:00.0 eth0: link up +[423476.149792] traps: lssubsys[29385] general protection ip:7f411910e3bc sp:7fff5e4e6bb0 error:0 in libc-2.16.so[7f41190a1000+19f000] +[423493.505564] usb usb2: usb auto-resume +[423493.505570] ehci_hcd 0000:00:1d.0: resume root hub +[423493.541281] hub 2-0:1.0: hub_resume +[423493.541323] hub 2-0:1.0: port 1: status 0507 change 0000 +[423493.541403] usb 2-1: usb auto-resume +[423493.541412] hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0000 +[423493.581220] ehci_hcd 0000:00:1d.0: GetStatus port:1 status 001005 0 ACK POWER sig=se0 PE CONNECT +[423493.601221] usb 2-1: finish resume +[423493.601571] hub 2-1:1.0: hub_resume +[423493.603504] ehci_hcd 0000:00:1d.0: reused qh ffff88040aceac78 schedule +[423493.603520] usb 2-1: link qh256-0001/ffff88040aceac78 start 1 [1/0 us] +[423493.603556] hub 2-1:1.0: state 7 ports 8 chg 0000 evt 0000 +[423496.067488] hub 2-1:1.0: hub_suspend +[423496.067497] usb 2-1: unlink qh256-0001/ffff88040aceac78 start 1 [1/0 us] +[423496.067506] usb 4-1: remote wakeup needed for autosuspend +[423496.077701] usb 2-1: usb auto-suspend, wakeup 1 +[423498.094442] hub 2-0:1.0: hub_suspend +[423498.094453] usb usb2: bus auto-suspend, wakeup 1 +[423498.094455] ehci_hcd 0000:00:1d.0: suspend root hub +[453169.456517] r8169 0000:05:00.0 eth0: link down +[476662.237868] r8169 0000:05:00.0 eth0: link up +[476682.088367] r8169 0000:05:00.0 eth0: link down +[476708.867357] r8169 0000:05:00.0 eth0: link up +[476716.933298] r8169 0000:05:00.0 eth0: link down +[476718.551943] r8169 0000:05:00.0 eth0: link up +[477958.090329] r8169 0000:05:00.0 eth0: link down +[477958.090342] r8169 0000:05:00.0 eth0: link down +[477959.693767] r8169 0000:05:00.0 eth0: link up +[521769.998156] kmemleak: 4 new suspected memory leaks (see /sys/kernel/debug/kmemleak) +[539179.079900] kmemleak: 17 new suspected memory leaks (see /sys/kernel/debug/kmemleak)