[PVE-User] PVE 4.2 Kernel 4.4.6-1 and USB3

Eneko Lacunza elacunza at binovo.es
Tue May 17 17:55:25 CEST 2016


Hi all,

We're having trouble connecting a SATA to USB3 dock with kernel 4.4.6-1 
. Details:

- Kernel 4.4.6-1-pve
- Dell T430
- Tried front and backside USB3 ports
- Tried 2 different brand docks (one JMicron  USB to ATA/ATAPI Bridge 
and the other a Sharkoon Quickport XT USB3.0), both fail
- A USB2 pendrive and a Sunplus Technology Co.,Ltd. USB2 SATA dock work OK

Syslog shows very awful log:
---
May 17 17:20:56 ganeko kernel: [1053945.008361] usb 4-5: new SuperSpeed 
USB device number 12 using xhci_hcd
May 17 17:20:56 ganeko kernel: [1053945.025158] usb 4-5: New USB device 
found, idVendor=152d, idProduct=0578
May 17 17:20:56 ganeko kernel: [1053945.025161] usb 4-5: New USB device 
strings: Mfr=1, Product=2, SerialNumber=5
May 17 17:20:56 ganeko kernel: [1053945.025162] usb 4-5: Product: USB to 
ATA/ATAPI Bridge
May 17 17:20:56 ganeko kernel: [1053945.025164] usb 4-5: Manufacturer: 
JMicron
May 17 17:20:56 ganeko kernel: [1053945.025165] usb 4-5: SerialNumber: 
DB987654321140F
May 17 17:20:56 ganeko kernel: [1053945.027266] scsi host43: uas
May 17 17:20:56 ganeko kernel: [1053945.027273] kworker/0:1: page 
allocation failure: order:7, mode:0x208c020
May 17 17:20:56 ganeko kernel: [1053945.027275] CPU: 0 PID: 33011 Comm: 
kworker/0:1 Tainted: P           O    4.4.6-1-pve #1
May 17 17:20:56 ganeko kernel: [1053945.027276] Hardware name: Dell Inc. 
PowerEdge T430/0975F3, BIOS 1.6.2 01/08/2016
May 17 17:20:56 ganeko kernel: [1053945.027281] Workqueue: usb_hub_wq 
hub_event
May 17 17:20:56 ganeko kernel: [1053945.027283]  0000000000000286 
000000003fbb1692 ffff88099c4874d0 ffffffff813eb0e3
May 17 17:20:56 ganeko kernel: [1053945.027285]  000000000208c020 
0000000000000000 ffff88099c487560 ffffffff81192b5c
May 17 17:20:56 ganeko kernel: [1053945.027286]  ffff88107fffd700 
0000000000000246 ffff880900000030 ffffffff810c3914
May 17 17:20:56 ganeko kernel: [1053945.027288] Call Trace:
May 17 17:20:56 ganeko kernel: [1053945.027293] [<ffffffff813eb0e3>] 
dump_stack+0x63/0x90
May 17 17:20:56 ganeko kernel: [1053945.027297] [<ffffffff81192b5c>] 
warn_alloc_failed+0xfc/0x150
May 17 17:20:56 ganeko kernel: [1053945.027301] [<ffffffff810c3914>] ? 
__wake_up+0x44/0x50
May 17 17:20:56 ganeko kernel: [1053945.027304] [<ffffffff81196caf>] 
__alloc_pages_nodemask+0x99f/0xba0
May 17 17:20:56 ganeko kernel: [1053945.027307] [<ffffffff811dff42>] 
alloc_pages_current+0x92/0x120
May 17 17:20:56 ganeko kernel: [1053945.027309] [<ffffffff81194b79>] 
alloc_kmem_pages+0x19/0x90
May 17 17:20:56 ganeko kernel: [1053945.027311] [<ffffffff811b2208>] 
kmalloc_order+0x18/0x50
May 17 17:20:56 ganeko kernel: [1053945.027312] [<ffffffff811b2264>] 
kmalloc_order_trace+0x24/0xb0
May 17 17:20:56 ganeko kernel: [1053945.027315] [<ffffffff811ebea3>] 
__kmalloc+0x1e3/0x260
May 17 17:20:56 ganeko kernel: [1053945.027318] [<ffffffff81549b16>] ? 
__dev_printk+0x46/0x90
May 17 17:20:56 ganeko kernel: [1053945.027321] [<ffffffff813bdeae>] 
init_tag_map+0x3e/0xc0
May 17 17:20:56 ganeko kernel: [1053945.027323] [<ffffffff813bdf75>] 
__blk_queue_init_tags+0x45/0x80
May 17 17:20:56 ganeko kernel: [1053945.027325] [<ffffffff813bdfc4>] 
blk_init_tags+0x14/0x20
May 17 17:20:56 ganeko kernel: [1053945.027327] [<ffffffff815aa912>] 
scsi_add_host_with_dma+0x82/0x300
May 17 17:20:56 ganeko kernel: [1053945.027331] [<ffffffffc03e949f>] 
uas_probe+0x3df/0x520 [uas]
May 17 17:20:56 ganeko kernel: [1053945.027334] [<ffffffff81621e0f>] 
usb_probe_interface+0x1bf/0x310
May 17 17:20:56 ganeko kernel: [1053945.027336] [<ffffffff8154e164>] 
driver_probe_device+0x224/0x4b0
May 17 17:20:56 ganeko kernel: [1053945.027338] [<ffffffff8154e522>] 
__device_attach_driver+0x72/0x80
May 17 17:20:56 ganeko kernel: [1053945.027340] [<ffffffff8154e4b0>] ? 
driver_allows_async_probing+0x30/0x30
May 17 17:20:56 ganeko kernel: [1053945.027342] [<ffffffff8154bdb7>] 
bus_for_each_drv+0x67/0xb0
May 17 17:20:56 ganeko kernel: [1053945.027344] [<ffffffff8154de48>] 
__device_attach+0xd8/0x160
May 17 17:20:56 ganeko kernel: [1053945.027346] [<ffffffff8154e6a3>] 
device_initial_probe+0x13/0x20
May 17 17:20:56 ganeko kernel: [1053945.027348] [<ffffffff8154d282>] 
bus_probe_device+0x92/0xa0
May 17 17:20:56 ganeko kernel: [1053945.027350] [<ffffffff8154ae8a>] 
device_add+0x4ba/0x690
May 17 17:20:56 ganeko kernel: [1053945.027352] [<ffffffff8161145c>] ? 
usb_enable_lpm+0x8c/0xa0
May 17 17:20:56 ganeko kernel: [1053945.027354] [<ffffffff8161fc19>] 
usb_set_configuration+0x539/0x900
May 17 17:20:56 ganeko kernel: [1053945.027357] [<ffffffff8162a81e>] 
generic_probe+0x2e/0x90
May 17 17:20:56 ganeko kernel: [1053945.027358] [<ffffffff81621c12>] 
usb_probe_device+0x32/0x70
May 17 17:20:56 ganeko kernel: [1053945.027360] [<ffffffff8154e164>] 
driver_probe_device+0x224/0x4b0
May 17 17:20:56 ganeko kernel: [1053945.027362] [<ffffffff8154e522>] 
__device_attach_driver+0x72/0x80
May 17 17:20:56 ganeko kernel: [1053945.027364] [<ffffffff8154e4b0>] ? 
driver_allows_async_probing+0x30/0x30
May 17 17:20:56 ganeko kernel: [1053945.027366] [<ffffffff8154bdb7>] 
bus_for_each_drv+0x67/0xb0
May 17 17:20:56 ganeko kernel: [1053945.027367] [<ffffffff8154de48>] 
__device_attach+0xd8/0x160
May 17 17:20:56 ganeko kernel: [1053945.027370] [<ffffffff8154e6a3>] 
device_initial_probe+0x13/0x20
May 17 17:20:56 ganeko kernel: [1053945.027373] [<ffffffff8154d282>] 
bus_probe_device+0x92/0xa0
May 17 17:20:56 ganeko kernel: [1053945.027375] [<ffffffff8154ae8a>] 
device_add+0x4ba/0x690
May 17 17:20:56 ganeko kernel: [1053945.027379] [<ffffffff81514600>] ? 
add_device_randomness+0x90/0x140
May 17 17:20:56 ganeko kernel: [1053945.027382] [<ffffffff81614ecb>] 
usb_new_device+0x27b/0x4c0
May 17 17:20:56 ganeko kernel: [1053945.027384] [<ffffffff81617130>] 
hub_event+0x1020/0x1580
May 17 17:20:56 ganeko kernel: [1053945.027388] [<ffffffff8109ac05>] 
process_one_work+0x155/0x420
May 17 17:20:56 ganeko kernel: [1053945.027389] [<ffffffff8109b6e9>] 
worker_thread+0x69/0x480
May 17 17:20:56 ganeko kernel: [1053945.027391] [<ffffffff8109b680>] ? 
rescuer_thread+0x330/0x330
May 17 17:20:56 ganeko kernel: [1053945.027393] [<ffffffff8109b680>] ? 
rescuer_thread+0x330/0x330
May 17 17:20:56 ganeko kernel: [1053945.027395] [<ffffffff810a0baa>] 
kthread+0xea/0x100
May 17 17:20:56 ganeko kernel: [1053945.027396] [<ffffffff810a0ac0>] ? 
kthread_park+0x60/0x60
May 17 17:20:56 ganeko kernel: [1053945.027399] [<ffffffff81847a8f>] 
ret_from_fork+0x3f/0x70
May 17 17:20:56 ganeko kernel: [1053945.027401] [<ffffffff810a0ac0>] ? 
kthread_park+0x60/0x60
May 17 17:20:56 ganeko kernel: [1053945.027402] Mem-Info:
May 17 17:20:56 ganeko kernel: [1053945.027408] active_anon:4521738 
inactive_anon:537518 isolated_anon:0
May 17 17:20:56 ganeko kernel: [1053945.027408] active_file:13315178 
inactive_file:13107894 isolated_file:0
May 17 17:20:56 ganeko kernel: [1053945.027408]  unevictable:881 
dirty:11 writeback:0 unstable:0
May 17 17:20:56 ganeko kernel: [1053945.027408] slab_reclaimable:1102067 
slab_unreclaimable:32357
May 17 17:20:56 ganeko kernel: [1053945.027408]  mapped:28494 
shmem:20358 pagetables:15880 bounce:0
May 17 17:20:56 ganeko kernel: [1053945.027408]  free:139451 
free_pcp:8554 free_cma:0
May 17 17:20:56 ganeko kernel: [1053945.027411] Node 0 DMA free:13884kB 
min:4kB low:4kB high:4kB active_anon:0kB inactive_anon:0kB 
active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB 
isolated(file):0kB present:15980kB managed:15896kB mlocked:0kB dirty:0kB 
writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB 
slab_unreclaimable:448kB kernel_stack:0kB pagetables:0kB unstable:0kB 
bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB 
pages_scanned:0 all_unreclaimable? yes
May 17 17:20:56 ganeko kernel: [1053945.027415] lowmem_reserve[]: 0 1853 
64307 64307 64307
May 17 17:20:56 ganeko kernel: [1053945.027418] Node 0 DMA32 
free:253484kB min:660kB low:824kB high:988kB active_anon:333640kB 
inactive_anon:331972kB active_file:285264kB inactive_file:285304kB 
unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1982164kB 
managed:1901440kB mlocked:0kB dirty:0kB writeback:0kB mapped:1444kB 
shmem:1108kB slab_reclaimable:346552kB slab_unreclaimable:21380kB 
kernel_stack:368kB pagetables:1276kB unstable:0kB bounce:0kB 
free_pcp:9408kB local_pcp:668kB free_cma:0kB writeback_tmp:0kB 
pages_scanned:0 all_unreclaimable? no
May 17 17:20:56 ganeko kernel: [1053945.027422] lowmem_reserve[]: 0 0 
62454 62454 62454
May 17 17:20:56 ganeko kernel: [1053945.027424] Node 0 Normal 
free:66036kB min:22268kB low:27832kB high:33400kB active_anon:15816344kB 
inactive_anon:1317768kB active_file:22530660kB inactive_file:21702204kB 
unevictable:1824kB isolated(anon):0kB isolated(file):0kB 
present:65011712kB managed:63952996kB mlocked:1824kB dirty:20kB 
writeback:0kB mapped:34356kB shmem:24908kB slab_reclaimable:1937996kB 
slab_unreclaimable:55236kB kernel_stack:7264kB pagetables:40872kB 
unstable:0kB bounce:0kB free_pcp:12784kB local_pcp:676kB free_cma:0kB 
writeback_tmp:0kB pages_scanned:256 all_unreclaimable? no
May 17 17:20:56 ganeko kernel: [1053945.027427] lowmem_reserve[]: 0 0 0 0 0
May 17 17:20:56 ganeko kernel: [1053945.027430] Node 1 Normal 
free:224400kB min:23000kB low:28748kB high:34500kB active_anon:1936968kB 
inactive_anon:500332kB active_file:30444788kB inactive_file:30444068kB 
unevictable:1700kB isolated(anon):0kB isolated(file):0kB 
present:67108864kB managed:66048892kB mlocked:1700kB dirty:24kB 
writeback:0kB mapped:78176kB shmem:55416kB slab_reclaimable:2123720kB 
slab_unreclaimable:52364kB kernel_stack:6864kB pagetables:21372kB 
unstable:0kB bounce:0kB free_pcp:12024kB local_pcp:0kB free_cma:0kB 
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
May 17 17:20:56 ganeko kernel: [1053945.027434] lowmem_reserve[]: 0 0 0 0 0
May 17 17:20:56 ganeko kernel: [1053945.027435] Node 0 DMA: 1*4kB (U) 
1*8kB (U) 1*16kB (U) 1*32kB (U) 0*64kB 0*128kB 0*256kB 1*512kB (U) 
1*1024kB (U) 2*2048kB (UM) 2*4096kB (M) = 13884kB
May 17 17:20:56 ganeko kernel: [1053945.027455] Node 0 DMA32: 4013*4kB 
(UME) 4223*8kB (UME) 8276*16kB (UME) 2225*32kB (UME) 0*64kB 0*128kB 
0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 253452kB
May 17 17:20:56 ganeko kernel: [1053945.027474] Node 0 Normal: 14944*4kB 
(UME) 784*8kB (UM) 4*16kB (UME) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 
0*1024kB 0*2048kB 0*4096kB = 66112kB
May 17 17:20:56 ganeko kernel: [1053945.027479] Node 1 Normal: 56038*4kB 
(M) 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 
0*4096kB = 224152kB
May 17 17:20:56 ganeko kernel: [1053945.027485] Node 0 hugepages_total=0 
hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
May 17 17:20:56 ganeko kernel: [1053945.027486] Node 0 hugepages_total=0 
hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
May 17 17:20:56 ganeko kernel: [1053945.027487] Node 1 hugepages_total=0 
hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
May 17 17:20:56 ganeko kernel: [1053945.027488] Node 1 hugepages_total=0 
hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
May 17 17:20:56 ganeko kernel: [1053945.027489] 26444022 total pagecache 
pages
May 17 17:20:56 ganeko kernel: [1053945.027490] 20 pages in swap cache
May 17 17:20:56 ganeko kernel: [1053945.027491] Swap cache stats: add 
465, delete 445, find 92/112
May 17 17:20:56 ganeko kernel: [1053945.027492] Free swap  = 1047684kB
May 17 17:20:56 ganeko kernel: [1053945.027493] Total swap = 1048572kB
May 17 17:20:56 ganeko kernel: [1053945.027494] 33529680 pages RAM
May 17 17:20:56 ganeko kernel: [1053945.027494] 0 pages HighMem/MovableOnly
May 17 17:20:56 ganeko kernel: [1053945.027495] 549874 pages reserved
May 17 17:20:56 ganeko kernel: [1053945.027496] 0 pages cma reserved
May 17 17:20:56 ganeko kernel: [1053945.027496] 0 pages hwpoisoned
May 17 17:20:56 ganeko kernel: [1053945.028174] uas: probe of 4-5:1.0 
failed with error -12
---

We have tested in another location a Dell T20 USB3 port, with a Orico 
USB3 SATA dock, with 4.4.6-1-pve kernel, and it works OK.

Any hint? Could be a kernel bug? Should 4.4.8-1-pve kernel fix it? 
(there are quite critical VMs on this server). :-)

---
# pveversion -v
proxmox-ve: 4.2-48 (running kernel: 4.4.6-1-pve)
pve-manager: 4.2-2 (running version: 4.2-2/725d76f0)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.2.6-1-pve: 4.2.6-36
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-39
qemu-server: 4.0-72
pve-firmware: 1.1-8
libpve-common-perl: 4.0-59
libpve-access-control: 4.0-16
libpve-storage-perl: 4.0-50
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-14
pve-container: 1.0-62
pve-firewall: 2.0-25
pve-ha-manager: 1.0-28
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve9~jessie
---


Thanks
Eneko

-- 
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943493611
       943324914
Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
www.binovo.es




More information about the pve-user mailing list