You are not logged in.

#1 2016-02-09 20:20:53

Kaimei
Member
Registered: 2016-02-09
Posts: 3

lagging with usb pci card

I've got a thinkpad t420 running archlinux.
I bought a usb 3.0 pci card (NEC UPD720202 chip) wich should work with linux on t420 but when I insert my card, the system begins to lag extremly. Futhermore, it is not shown on lspci and connected usb sticks are not detected.
This occurs if I plug it in my running system just as if i plug it in before starting.
It also occured with another usb pci card I borrowed from a friend with a previous kernel version.

Offline

#2 2016-02-09 20:49:38

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: lagging with usb pci card

Open a terminal window and run this command then plug the device in and post any output:

udevadm monitor

Jin, Jîyan, Azadî

Offline

#3 2016-02-09 21:07:13

Kaimei
Member
Registered: 2016-02-09
Posts: 3

Re: lagging with usb pci card

$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

After about 5min still nothings happened, except the lags, so i removed it.

Offline

#4 2016-02-09 21:20:27

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: lagging with usb pci card

When the system is lagging, which processes are hogging the CPU in (for example) top?

You can also use iotop to check I/O


Jin, Jîyan, Azadî

Offline

#5 2016-02-10 14:54:56

Kaimei
Member
Registered: 2016-02-09
Posts: 3

Re: lagging with usb pci card

top and iotop showed some kworker/u16:X (x=0..6). By inserting the card my loadavg increaes to 2.4, after removin it goes fast to 0.6 and then to 0.15.

Magically, I got one working run. My system wasn't lagging until I did a reboot. After rebooting the problem occured again, even after removal and inserting I new.
I think I god Schrödinger's card wink

udevadm monitor of my magic run with inserted usb stick.

 
# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[199.381626] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0 (pci)
KERNEL[199.434024] add      /module/xhci_hcd (module)
UDEV  [199.435369] add      /module/xhci_hcd (module)
KERNEL[199.435428] add      /module/xhci_pci (module)
UDEV  [199.435910] add      /module/xhci_pci (module)
KERNEL[199.441985] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3 (usb)
KERNEL[199.442092] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-0:1.0 (usb)
KERNEL[199.445043] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb4 (usb)
KERNEL[199.445159] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb4/4-0:1.0 (usb)
KERNEL[199.445523] add      /bus/pci/drivers/xhci_hcd (drivers)
UDEV  [199.445839] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0 (pci)
UDEV  [199.446967] add      /bus/pci/drivers/xhci_hcd (drivers)
UDEV  [199.967896] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3 (usb)
UDEV  [199.971662] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb4 (usb)
UDEV  [199.974968] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-0:1.0 (usb)
UDEV  [199.975110] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb4/4-0:1.0 (usb)
KERNEL[201.483696] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1 (usb)
KERNEL[201.485340] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0 (usb)
UDEV  [202.015311] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1 (usb)
KERNEL[202.022797] add      /module/usb_storage (module)
UDEV  [202.023478] add      /module/usb_storage (module)
KERNEL[202.026536] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6 (scsi)
KERNEL[202.026590] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/scsi_host/host6 (scsi_host)
KERNEL[202.026609] add      /bus/usb/drivers/usb-storage (drivers)
UDEV  [202.026985] add      /bus/usb/drivers/usb-storage (drivers)
KERNEL[202.054927] add      /module/uas (module)
KERNEL[202.054984] add      /bus/usb/drivers/uas (drivers)
UDEV  [202.055148] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0 (usb)
UDEV  [202.055630] add      /module/uas (module)
UDEV  [202.055838] add      /bus/usb/drivers/uas (drivers)
UDEV  [202.056087] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6 (scsi)
UDEV  [202.056955] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/scsi_host/host6 (scsi_host)
KERNEL[203.028282] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0 (scsi)
KERNEL[203.028387] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0 (scsi)
KERNEL[203.028436] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
KERNEL[203.028479] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
KERNEL[203.028637] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
UDEV  [203.031171] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0 (scsi)
UDEV  [203.032282] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0 (scsi)
KERNEL[203.032929] add      /devices/virtual/bdi/8:16 (bdi)
UDEV  [203.035098] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/scsi_device/6:0:0:0 (scsi_device)
UDEV  [203.035318] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/scsi_disk/6:0:0:0 (scsi_disk)
UDEV  [203.035974] add      /devices/virtual/bdi/8:16 (bdi)
UDEV  [203.036857] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/bsg/6:0:0:0 (bsg)
KERNEL[203.040579] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
KERNEL[203.040629] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 (block)
UDEV  [203.125540] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb (block)
UDEV  [203.283707] add      /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb3/3-1/3-1:1.0/host6/target6:0:0/6:0:0:0/block/sdb/sdb1 (block)

Offline

Board footer

Powered by FluxBB