| Summary: | 4.4 kernel unable to attach more than 2 USB drives due to page allocation failure | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | scd |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | gansalmon, itamar, jonathan, kernel-maint, labbott, madhu.chinakonda, mchehab |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-18 21:30:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 1319351 *** |
Description of problem: When attaching more than 2 USB 3 disk drives (La Cie) after suspending and resuming, a page allocation error occurs. As consequence, no more than 2 USB drives can be attached. In the kernel log: [25203.240430] usb 3-3.3: new SuperSpeed USB device number 10 using xhci_hcd [25203.252526] usb 3-3.3: New USB device found, idVendor=059f, idProduct=106b [25203.252529] usb 3-3.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [25203.252531] usb 3-3.3: Product: Rugged Mini USB 3.0 [25203.252533] usb 3-3.3: Manufacturer: LaCie [25203.252534] usb 3-3.3: SerialNumber: 00000000157f96890000 [25203.298537] scsi host12: uas [25203.298558] kworker/3:0: page allocation failure: order:7, mode:0x208c020 [25203.298560] CPU: 3 PID: 9699 Comm: kworker/3:0 Not tainted 4.4.6-200.fc22.x86_64 #1 [25203.298562] Hardware name: LENOVO 20AQCTO1WW/20AQCTO1WW, BIOS GJET78WW (2.28 ) 07/29/2014 [25203.298567] Workqueue: usb_hub_wq hub_event [25203.298569] 0000000000000286 0000000079bb2ac4 ffff880020c274d0 ffffffff813b542e [25203.298572] 000000000208c020 0000000000000000 ffff880020c27560 ffffffff811b2f8a [25203.298574] 0000000000000007 000000008179ff5e ffff88013e5ece00 ffffffffffffff80 [25203.298576] Call Trace: [25203.298584] [<ffffffff813b542e>] dump_stack+0x63/0x85 [25203.298587] [<ffffffff811b2f8a>] warn_alloc_failed+0xfa/0x160 [25203.298590] [<ffffffff811b6e61>] __alloc_pages_nodemask+0x361/0xbc0 [25203.298595] [<ffffffff812029cc>] alloc_pages_current+0x8c/0x110 [25203.298597] [<ffffffff811b5159>] alloc_kmem_pages+0x19/0x90 [25203.298599] [<ffffffff811d2efe>] kmalloc_order_trace+0x2e/0xe0 [25203.298602] [<ffffffff8120e6d2>] __kmalloc+0x232/0x260 [25203.298606] [<ffffffff8138990d>] init_tag_map+0x3d/0xc0 [25203.298609] [<ffffffff813899d5>] __blk_queue_init_tags+0x45/0x80 [25203.298611] [<ffffffff81389a24>] blk_init_tags+0x14/0x20 [25203.298616] [<ffffffff81520e60>] scsi_add_host_with_dma+0x80/0x300 [25203.298620] [<ffffffffa0c06423>] uas_probe+0x3e3/0x520 [uas] [25203.298624] [<ffffffff8158afbd>] usb_probe_interface+0x1bd/0x300 [25203.298627] [<ffffffff814ef1d2>] driver_probe_device+0x222/0x490 [25203.298629] [<ffffffff814ef541>] __device_attach_driver+0x71/0xa0 [25203.298631] [<ffffffff814ef4d0>] ? __driver_attach+0x90/0x90 [25203.298633] [<ffffffff814ecd87>] bus_for_each_drv+0x67/0xb0 [25203.298635] [<ffffffff814eeeac>] __device_attach+0xdc/0x170 [25203.298638] [<ffffffff814ef5b3>] device_initial_probe+0x13/0x20 [25203.298640] [<ffffffff814ee162>] bus_probe_device+0x92/0xa0 [25203.298641] [<ffffffff814ebd1b>] device_add+0x40b/0x680 [25203.298644] [<ffffffff8157aac9>] ? usb_enable_lpm+0x89/0x90 [25203.298646] [<ffffffff81588e81>] usb_set_configuration+0x511/0x8e0 [25203.298649] [<ffffffff815937ce>] generic_probe+0x2e/0x80 [25203.298651] [<ffffffff8158adc2>] usb_probe_device+0x32/0x70 [25203.298653] [<ffffffff814ef1d2>] driver_probe_device+0x222/0x490 [25203.298655] [<ffffffff814ef541>] __device_attach_driver+0x71/0xa0 [25203.298657] [<ffffffff814ef4d0>] ? __driver_attach+0x90/0x90 [25203.298658] [<ffffffff814ecd87>] bus_for_each_drv+0x67/0xb0 [25203.298660] [<ffffffff814eeeac>] __device_attach+0xdc/0x170 [25203.298662] [<ffffffff814ef5b3>] device_initial_probe+0x13/0x20 [25203.298664] [<ffffffff814ee162>] bus_probe_device+0x92/0xa0 [25203.298666] [<ffffffff814ebd1b>] device_add+0x40b/0x680 [25203.298669] [<ffffffff814c0700>] ? add_device_randomness+0x60/0x140 [25203.298672] [<ffffffff8157e357>] usb_new_device+0x277/0x4b0 [25203.298674] [<ffffffff8158059d>] hub_event+0x103d/0x1590 [25203.298678] [<ffffffff810bc596>] process_one_work+0x156/0x430 [25203.298680] [<ffffffff810bc8be>] worker_thread+0x4e/0x450 [25203.298685] [<ffffffff8179bd05>] ? __schedule+0x3a5/0xa00 [25203.298687] [<ffffffff810bc870>] ? process_one_work+0x430/0x430 [25203.298689] [<ffffffff810bc870>] ? process_one_work+0x430/0x430 [25203.298691] [<ffffffff810c2648>] kthread+0xd8/0xf0 [25203.298693] [<ffffffff810c2570>] ? kthread_worker_fn+0x160/0x160 [25203.298695] [<ffffffff817a084f>] ret_from_fork+0x3f/0x70 [25203.298697] [<ffffffff810c2570>] ? kthread_worker_fn+0x160/0x160 [25203.298698] Mem-Info: [25203.298702] active_anon:329891 inactive_anon:65842 isolated_anon:0 active_file:233335 inactive_file:234802 isolated_file:0 unevictable:4 dirty:114 writeback:0 unstable:0 slab_reclaimable:21715 slab_unreclaimable:14874 mapped:46205 shmem:74928 pagetables:10441 bounce:0 free:48325 free_pcp:860 free_cma:0 [25203.298705] Node 0 DMA free:15320kB min:28kB low:32kB high:40kB active_anon:208kB inactive_anon:60kB active_file:4kB inactive_file:4kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15912kB managed:15872kB mlocked:0kB dirty:0kB writeback:0kB mapped:4kB shmem:64kB slab_reclaimable:4kB slab_unreclaimable:220kB kernel_stack:16kB pagetables:24kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:8 all_unreclaimable? no [25203.298709] lowmem_reserve[]: 0 2881 3814 3814 [25203.298712] Node 0 DMA32 free:136384kB min:5880kB low:7348kB high:8820kB active_anon:990200kB inactive_anon:194808kB active_file:714308kB inactive_file:719860kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3033448kB managed:2953636kB mlocked:0kB dirty:312kB writeback:0kB mapped:140284kB shmem:222696kB slab_reclaimable:64384kB slab_unreclaimable:41816kB kernel_stack:6368kB pagetables:31388kB unstable:0kB bounce:0kB free_pcp:1692kB local_pcp:188kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no [25203.298716] lowmem_reserve[]: 0 0 932 932 [25203.298719] Node 0 Normal free:41596kB min:1900kB low:2372kB high:2848kB active_anon:329156kB inactive_anon:68500kB active_file:219028kB inactive_file:219344kB unevictable:16kB isolated(anon):0kB isolated(file):0kB present:1021952kB managed:954508kB mlocked:16kB dirty:144kB writeback:0kB mapped:44532kB shmem:76952kB slab_reclaimable:22472kB slab_unreclaimable:17460kB kernel_stack:2800kB pagetables:10352kB unstable:0kB bounce:0kB free_pcp:1748kB local_pcp:396kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no [25203.298723] lowmem_reserve[]: 0 0 0 0 [25203.298725] Node 0 DMA: 19*4kB (UME) 12*8kB (UME) 7*16kB (UME) 6*32kB (UME) 2*64kB (UE) 1*128kB (M) 1*256kB (E) 2*512kB (ME) 3*1024kB (UME) 1*2048kB (E) 2*4096kB (M) = 15324kB [25203.298736] Node 0 DMA32: 6666*4kB (UME) 4843*8kB (UME) 2669*16kB (UME) 732*32kB (UME) 69*64kB (UME) 3*128kB (ME) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 136336kB [25203.298744] Node 0 Normal: 3875*4kB (UME) 1932*8kB (UME) 405*16kB (UME) 114*32kB (UME) 4*64kB (M) 2*128kB (E) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 41596kB [25203.298753] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [25203.298754] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB [25203.298755] 543065 total pagecache pages [25203.298756] 0 pages in swap cache [25203.298758] Swap cache stats: add 0, delete 0, find 0/0 [25203.298759] Free swap = 0kB [25203.298759] Total swap = 0kB [25203.298760] 1017828 pages RAM [25203.298761] 0 pages HighMem/MovableOnly [25203.298762] 36824 pages reserved [25203.298763] 0 pages cma reserved [25203.298764] 0 pages hwpoisoned [25203.308253] uas: probe of 3-3.3:1.0 failed with error -12 Version-Release number of selected component (if applicable): All Fedora 4.4 kernels -- this used to work fine with 4.3 kernels Additional info: HW is Lenovo T440s, and this looks like the bug described here http://www.spinics.net/lists/linux-usb/msg136998.html Please distribute a kernel with the fix described in this thread.