You are not logged in.

#1 2016-11-16 01:17:29

Bartoli
Member
Registered: 2016-11-16
Posts: 4

HDD not showing - Page allocation failure in dmesg [SOLVED]

My USB 3.0 shakoon docking station doesn't show up when plugged into my laptop. I checked the hardware on a different system and it works. My own search led me to change min_free_kbytes  and vm.zone_reclaim_mode as suggested on https://access.redhat.com/solutions/90883, without success.

I'm running the 4.8.7-1 kernel

Dmesg output:

[ 2625.643442] kworker/1:1: page allocation failure: order:0, mode:0x2604001(GFP_NOIO|GFP_DMA|__GFP_COMP|__GFP_NOTRACK)
[ 2625.643444] CPU: 1 PID: 4596 Comm: kworker/1:1 Tainted: P           O    4.8.7-1-ARCH #1
[ 2625.643445] Hardware name: Hewlett-Packard HP ZBook 15/1909, BIOS L70 Ver. 01.36 09/26/2016
[ 2625.643453] Workqueue: usb_hub_wq hub_event [usbcore]
[ 2625.643454]  0000000000000286 00000000ad72917d ffff8802920031b8 ffffffff812fde10
[ 2625.643457]  0000000000000000 0000000000000000 ffff880292003248 ffffffff81181791
[ 2625.643459]  0260400181193064 00000000000000f0 0000000000000020 0000000000000040
[ 2625.643462] Call Trace:
[ 2625.643467]  [<ffffffff812fde10>] dump_stack+0x63/0x83
[ 2625.643470]  [<ffffffff81181791>] warn_alloc_failed+0x101/0x160
[ 2625.643473]  [<ffffffff81312c48>] ? find_next_bit+0x18/0x20
[ 2625.643474]  [<ffffffff81181d03>] __alloc_pages_nodemask+0x493/0xde0
[ 2625.643478]  [<ffffffff811d6605>] alloc_pages_current+0x95/0x140
[ 2625.643480]  [<ffffffff811df50c>] new_slab+0x53c/0x700
[ 2625.643483]  [<ffffffff810b2cb3>] ? dequeue_entity+0x253/0xb50
[ 2625.643485]  [<ffffffff811e196a>] ___slab_alloc+0x49a/0x590
[ 2625.643488]  [<ffffffffa0142b03>] ? xhci_segment_alloc.isra.9+0x93/0x130 [xhci_hcd]
[ 2625.643490]  [<ffffffff8130388e>] ? radix_tree_node_alloc.isra.4+0x4e/0x90
[ 2625.643492]  [<ffffffff811e1a8b>] __slab_alloc.isra.21+0x2b/0x40
[ 2625.643494]  [<ffffffff811e1f05>] __kmalloc+0x1a5/0x200
[ 2625.643496]  [<ffffffffa0142b03>] xhci_segment_alloc.isra.9+0x93/0x130 [xhci_hcd]
[ 2625.643499]  [<ffffffffa0142be3>] xhci_alloc_segments_for_ring+0x43/0x110 [xhci_hcd]
[ 2625.643501]  [<ffffffffa014309e>] xhci_ring_alloc.constprop.18+0xbe/0x140 [xhci_hcd]
[ 2625.643504]  [<ffffffffa01447e8>] xhci_alloc_stream_info+0x228/0x3f0 [xhci_hcd]
[ 2625.643507]  [<ffffffffa014017b>] xhci_alloc_streams+0x44b/0x850 [xhci_hcd]
[ 2625.643510]  [<ffffffffa013fd30>] ? xhci_check_bandwidth+0x370/0x370 [xhci_hcd]
[ 2625.643514]  [<ffffffffa004b0c7>] usb_alloc_streams+0xb7/0x110 [usbcore]
[ 2625.643516]  [<ffffffffa002c918>] uas_configure_endpoints+0x148/0x170 [uas]
[ 2625.643518]  [<ffffffffa002d375>] uas_probe+0x3a5/0x550 [uas]
[ 2625.643522]  [<ffffffffa0054589>] usb_probe_interface+0x159/0x2d0 [usbcore]
[ 2625.643524]  [<ffffffff8143d9f3>] driver_probe_device+0x223/0x430
[ 2625.643526]  [<ffffffff8143dd7c>] __device_attach_driver+0x8c/0x100
[ 2625.643528]  [<ffffffff8143dcf0>] ? __driver_attach+0xf0/0xf0
[ 2625.643530]  [<ffffffff8143b5b7>] bus_for_each_drv+0x67/0xb0
[ 2625.643531]  [<ffffffff8143d65d>] __device_attach+0xdd/0x160
[ 2625.643533]  [<ffffffff8143de33>] device_initial_probe+0x13/0x20
[ 2625.643535]  [<ffffffff8143c822>] bus_probe_device+0x92/0xa0
[ 2625.643536]  [<ffffffff8143a454>] device_add+0x494/0x660
[ 2625.643539]  [<ffffffffa004437c>] ? usb_enable_lpm+0xdc/0x100 [usbcore]
[ 2625.643543]  [<ffffffffa00524da>] usb_set_configuration+0x5ea/0x930 [usbcore]
[ 2625.643547]  [<ffffffffa005d79e>] generic_probe+0x2e/0x80 [usbcore]
[ 2625.643551]  [<ffffffffa00543ee>] usb_probe_device+0x2e/0x70 [usbcore]
[ 2625.643552]  [<ffffffff8143d9f3>] driver_probe_device+0x223/0x430
[ 2625.643554]  [<ffffffff8143dd7c>] __device_attach_driver+0x8c/0x100
[ 2625.643556]  [<ffffffff8143dcf0>] ? __driver_attach+0xf0/0xf0
[ 2625.643557]  [<ffffffff8143b5b7>] bus_for_each_drv+0x67/0xb0
[ 2625.643559]  [<ffffffff8143d65d>] __device_attach+0xdd/0x160
[ 2625.643560]  [<ffffffff8143de33>] device_initial_probe+0x13/0x20
[ 2625.643562]  [<ffffffff8143c822>] bus_probe_device+0x92/0xa0
[ 2625.643563]  [<ffffffff8143a454>] device_add+0x494/0x660
[ 2625.643566]  [<ffffffff81413a00>] ? trace_raw_output_urandom_read+0x30/0x70
[ 2625.643570]  [<ffffffffa00477d9>] usb_new_device+0x1c9/0x3f0 [usbcore]
[ 2625.643573]  [<ffffffffa0049445>] hub_event+0xb95/0x1520 [usbcore]
[ 2625.643576]  [<ffffffff81095ef5>] process_one_work+0x1e5/0x470
[ 2625.643578]  [<ffffffff810961c8>] worker_thread+0x48/0x4e0
[ 2625.643579]  [<ffffffff81096180>] ? process_one_work+0x470/0x470
[ 2625.643581]  [<ffffffff81096180>] ? process_one_work+0x470/0x470
[ 2625.643583]  [<ffffffff8109be38>] kthread+0xd8/0xf0
[ 2625.643585]  [<ffffffff8102c782>] ? __switch_to+0x2d2/0x630
[ 2625.643587]  [<ffffffff815f7ebf>] ret_from_fork+0x1f/0x40
[ 2625.643589]  [<ffffffff8109bd60>] ? kthread_worker_fn+0x170/0x170
[ 2625.643590] Mem-Info:
[ 2625.643594] active_anon:287340 inactive_anon:5271 isolated_anon:0
                active_file:52493 inactive_file:53368 isolated_file:0
                unevictable:0 dirty:42 writeback:0 unstable:0
                slab_reclaimable:6033 slab_unreclaimable:16411
                mapped:88608 shmem:5310 pagetables:6394 bounce:0
                free:1562066 free_pcp:1802 free_cma:0
[ 2625.643597] Node 0 active_anon:1149360kB inactive_anon:21084kB active_file:209972kB inactive_file:213472kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:354432kB dirty:168kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 405504kB anon_thp: 21240kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
[ 2625.643598] Node 0 DMA free:84kB min:132kB low:164kB high:196kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15980kB managed:15896kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:15812kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
[ 2625.643601] lowmem_reserve[]: 0 1402 7896 7896 7896
[ 2625.643604] Node 0 DMA32 free:1440740kB min:11976kB low:14968kB high:17960kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:1519104kB managed:1443092kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:2320kB local_pcp:0kB free_cma:0kB
[ 2625.643607] lowmem_reserve[]: 0 0 6494 6494 6494
[ 2625.643610] Node 0 Normal free:4807440kB min:55472kB low:69340kB high:83208kB active_anon:1149360kB inactive_anon:21084kB active_file:209972kB inactive_file:213472kB unevictable:0kB writepending:168kB present:6782976kB managed:6650020kB mlocked:0kB slab_reclaimable:24132kB slab_unreclaimable:49832kB kernel_stack:8032kB pagetables:25576kB bounce:0kB free_pcp:4888kB local_pcp:292kB free_cma:0kB
[ 2625.643613] lowmem_reserve[]: 0 0 0 0 0
[ 2625.643615] Node 0 DMA: 1*4kB (U) 2*8kB (U) 2*16kB (U) 1*32kB (U) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 84kB
[ 2625.643624] Node 0 DMA32: 5*4kB (UM) 8*8kB (UM) 5*16kB (M) 4*32kB (M) 5*64kB (M) 5*128kB (UM) 7*256kB (M) 6*512kB (UM) 3*1024kB (UM) 5*2048kB (UM) 347*4096kB (M) = 1440740kB
[ 2625.643634] Node 0 Normal: 10458*4kB (UME) 13839*8kB (UME) 10107*16kB (UME) 5469*32kB (UME) 2080*64kB (UME) 634*128kB (UME) 269*256kB (UME) 115*512kB (UME) 49*1024kB (UME) 9*2048kB (UME) 954*4096kB (UM) = 4807472kB
[ 2625.643645] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
[ 2625.643646] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[ 2625.643647] 111170 total pagecache pages
[ 2625.643648] 0 pages in swap cache
[ 2625.643648] Swap cache stats: add 0, delete 0, find 0/0
[ 2625.643649] Free swap  = 0kB
[ 2625.643649] Total swap = 0kB
[ 2625.643650] 2079515 pages RAM
[ 2625.643651] 0 pages HighMem/MovableOnly
[ 2625.643651] 52263 pages reserved
[ 2625.643652] 0 pages hwpoisoned
[ 2625.643653] SLUB: Unable to allocate memory on node -1, gfp=0x2408001(GFP_NOIO|GFP_DMA|__GFP_ZERO)
[ 2625.643654]   cache: dma-kmalloc-1024, object size: 1024, buffer size: 1024, default order: 3, min order: 0
[ 2625.643656]   node 0: slabs: 494, objs: 15808, free: 0
[ 2625.647338] uas: probe of 4-6:1.0 failed with error -12

Any ideas for a solution?

Last edited by Bartoli (2016-11-25 18:48:14)

Offline

#2 2016-11-16 09:50:36

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: HDD not showing - Page allocation failure in dmesg [SOLVED]

I would start by trying to disable UAS for that specific usb device and make it use usb-storage instead[1]. You should report this problem upstream after checking if it works with linux-lts.

[1] https://bbs.archlinux.org/viewtopic.php … 2#p1428782


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2016-11-25 18:47:43

Bartoli
Member
Registered: 2016-11-16
Posts: 4

Re: HDD not showing - Page allocation failure in dmesg [SOLVED]

Thanks, your fix works.

Offline

#4 2016-11-25 22:23:33

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: HDD not showing - Page allocation failure in dmesg [SOLVED]

You should report this problem upstream, disabling uas might be more of a workaround than a solution.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB