From: Yves-Alexis Perez <corsac-vD43ovf/fd+sTnJN9+BGXg@public.gmane.org>
To: hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
Gerd Hoffmann <kraxel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Page allocation failure (order 7) in UAS code
Date: Tue, 01 Mar 2016 10:42:41 +0100 [thread overview]
Message-ID: <1456825361.17330.9.camel@corsac.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 8963 bytes --]
Hi,
[sorry if this is not the right point for reporting bugs, I took the email
addresses from MAINTAINERS but please point me to the correct place if needed]
I have an external USB drive (Samsung M3), which apparently uses the UAS code.
Starting with 4.4 (from Debian sid, I could retry with vanilla if needed), I
can't mount the drive anymore after a while (few hours/days uptime). Just
plugging the disk, I get page allocation failure in kernel logs:
Feb 22 10:57:56 scapa kernel: [26557.268872] usb 2-2: new SuperSpeed USB device number 3 using xhci_hcd
Feb 22 10:57:56 scapa kernel: [26557.285884] usb 2-2: New USB device found, idVendor=04e8, idProduct=61b6
Feb 22 10:57:56 scapa kernel: [26557.285888] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 22 10:57:56 scapa kernel: [26557.285891] usb 2-2: Product: Samsung M3 Portable
Feb 22 10:57:56 scapa kernel: [26557.285893] usb 2-2: Manufacturer: Samsung M3 Portable
Feb 22 10:57:56 scapa kernel: [26557.285895] usb 2-2: SerialNumber: 826C7DFB13000067
Feb 22 10:57:56 scapa kernel: [26557.293693] scsi host4: uas
Feb 22 10:57:56 scapa kernel: [26557.293707] kworker/0:0: page allocation failure: order:7, mode:0x2204020
Feb 22 10:57:56 scapa kernel: [26557.293711] CPU: 0 PID: 11015 Comm: kworker/0:0 Tainted: G W 4.4.0-1-amd64 #1 Debian 4.4.2-3~a.test
Feb 22 10:57:56 scapa kernel: [26557.293713] Hardware name: LENOVO 20CMCTO1WW/20CMCTO1WW, BIOS N10ET41W (1.20 ) 01/19/2016
Feb 22 10:57:56 scapa kernel: [26557.293724] Workqueue: usb_hub_wq hub_event [usbcore]
Feb 22 10:57:56 scapa kernel: [26557.293727] 0000000000000000 00000000c0207f69 ffffffff812e7679 0000000002204020
Feb 22 10:57:56 scapa kernel: [26557.293730] ffffffff8116b23a 00000001c0207f69 0000000000000000 ffff88024dffbb20
Feb 22 10:57:56 scapa kernel: [26557.293733] ffffffff810b475e 00000001020c8220 00000000c0207f69 0000000000000046
Feb 22 10:57:56 scapa kernel: [26557.293736] Call Trace:
Feb 22 10:57:56 scapa kernel: [26557.293741] [<ffffffff812e7679>] ? dump_stack+0x40/0x57
Feb 22 10:57:56 scapa kernel: [26557.293745] [<ffffffff8116b23a>] ? warn_alloc_failed+0xfa/0x150
Feb 22 10:57:56 scapa kernel: [26557.293749] [<ffffffff810b475e>] ? __wake_up_common+0x4e/0x90
Feb 22 10:57:56 scapa kernel: [26557.293752] [<ffffffff8116e7d6>] ? __alloc_pages_nodemask+0x306/0xb70
Feb 22 10:57:56 scapa kernel: [26557.293757] [<ffffffff811ba191>] ? kmem_getpages+0x51/0xf0
Feb 22 10:57:56 scapa kernel: [26557.293759] [<ffffffff811bbe05>] ? fallback_alloc+0x145/0x1f0
Feb 22 10:57:56 scapa kernel: [26557.293765] [<ffffffff812bd908>] ? init_tag_map+0x38/0xb0
Feb 22 10:57:56 scapa kernel: [26557.293768] [<ffffffff811bd29f>] ? __kmalloc+0x17f/0x1c0
Feb 22 10:57:56 scapa kernel: [26557.293771] [<ffffffff812bd908>] ? init_tag_map+0x38/0xb0
Feb 22 10:57:56 scapa kernel: [26557.293774] [<ffffffff812bd9c0>] ? __blk_queue_init_tags+0x40/0x80
Feb 22 10:57:56 scapa kernel: [26557.293781] [<ffffffffa013445b>] ? scsi_add_host_with_dma+0x7b/0x2f0 [scsi_mod]
Feb 22 10:57:56 scapa kernel: [26557.293785] [<ffffffffa08783ba>] ? uas_probe+0x41a/0x560 [uas]
Feb 22 10:57:56 scapa kernel: [26557.293796] [<ffffffffa00d3c03>] ? usb_probe_interface+0x1b3/0x300 [usbcore]
Feb 22 10:57:56 scapa kernel: [26557.293801] [<ffffffff8140dbc2>] ? driver_probe_device+0x212/0x480
Feb 22 10:57:56 scapa kernel: [26557.293803] [<ffffffff8140deb0>] ? __driver_attach+0x80/0x80
Feb 22 10:57:56 scapa kernel: [26557.293806] [<ffffffff8140b8c2>] ? bus_for_each_drv+0x62/0xb0
Feb 22 10:57:56 scapa kernel: [26557.293809] [<ffffffff8140d8c8>] ? __device_attach+0xd8/0x160
Feb 22 10:57:56 scapa kernel: [26557.293811] [<ffffffff8140cbc7>] ? bus_probe_device+0x87/0xa0
Feb 22 10:57:56 scapa kernel: [26557.293814] [<ffffffff8140a8e5>] ? device_add+0x3f5/0x660
Feb 22 10:57:56 scapa kernel: [26557.293823] [<ffffffffa00d1c2b>] ? usb_set_configuration+0x51b/0x8f0 [usbcore]
Feb 22 10:57:56 scapa kernel: [26557.293835] [<ffffffffa00dbfa8>] ? generic_probe+0x28/0x80 [usbcore]
Feb 22 10:57:56 scapa kernel: [26557.293838] [<ffffffff8140dbc2>] ? driver_probe_device+0x212/0x480
Feb 22 10:57:56 scapa kernel: [26557.293840] [<ffffffff8140deb0>] ? __driver_attach+0x80/0x80
Feb 22 10:57:56 scapa kernel: [26557.293842] [<ffffffff8140b8c2>] ? bus_for_each_drv+0x62/0xb0
Feb 22 10:57:56 scapa kernel: [26557.293845] [<ffffffff8140d8c8>] ? __device_attach+0xd8/0x160
Feb 22 10:57:56 scapa kernel: [26557.293847] [<ffffffff8140cbc7>] ? bus_probe_device+0x87/0xa0
Feb 22 10:57:56 scapa kernel: [26557.293850] [<ffffffff8140a8e5>] ? device_add+0x3f5/0x660
Feb 22 10:57:56 scapa kernel: [26557.293857] [<ffffffffa00c7545>] ? usb_new_device+0x265/0x490 [usbcore]
Feb 22 10:57:56 scapa kernel: [26557.293864] [<ffffffffa00c96e3>] ? hub_event+0xfb3/0x14f0 [usbcore]
Feb 22 10:57:56 scapa kernel: [26557.293868] [<ffffffff8108d84f>] ? process_one_work+0x19f/0x3d0
Feb 22 10:57:56 scapa kernel: [26557.293871] [<ffffffff8108dacd>] ? worker_thread+0x4d/0x450
Feb 22 10:57:56 scapa kernel: [26557.293873] [<ffffffff8108da80>] ? process_one_work+0x3d0/0x3d0
Feb 22 10:57:56 scapa kernel: [26557.293876] [<ffffffff8109385d>] ? kthread+0xcd/0xf0
Feb 22 10:57:56 scapa kernel: [26557.293879] [<ffffffff81093790>] ? kthread_create_on_node+0x190/0x190
Feb 22 10:57:56 scapa kernel: [26557.293883] [<ffffffff81589c0f>] ? ret_from_fork+0x3f/0x70
Feb 22 10:57:56 scapa kernel: [26557.293886] [<ffffffff81093790>] ? kthread_create_on_node+0x190/0x190
Feb 22 10:57:56 scapa kernel: [26557.293888] Mem-Info:
Feb 22 10:57:56 scapa kernel: [26557.293892] active_anon:1100571 inactive_anon:668265 isolated_anon:0
Feb 22 10:57:56 scapa kernel: [26557.293892] active_file:76007 inactive_file:57114 isolated_file:0
Feb 22 10:57:56 scapa kernel: [26557.293892] unevictable:22 dirty:7 writeback:0 unstable:0
Feb 22 10:57:56 scapa kernel: [26557.293892] slab_reclaimable:37128 slab_unreclaimable:28425
Feb 22 10:57:56 scapa kernel: [26557.293892] mapped:51000 shmem:993293 pagetables:11591 bounce:0
Feb 22 10:57:56 scapa kernel: [26557.293892] free:40735 free_pcp:706 free_cma:0
Feb 22 10:57:56 scapa kernel: [26557.293898] Node 0 DMA32 free:64580kB min:3908kB low:4884kB high:5860kB active_anon:1473104kB inactive_anon:957504kB active_file:105844kB inactive_file:80920kB unevictable:88kB isolated(anon):0kB isolated(file):0kB present:2814324kB managed:2803768kB mlocked:88kB dirty:12kB writeback:0kB mapped:72980kB shmem:1357128kB slab_reclaimable:50220kB slab_unreclaimable:37872kB kernel_stack:3040kB pagetables:16520kB unstable:0kB bounce:0kB free_pcp:1256kB local_pcp:236kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Feb 22 10:57:56 scapa kernel: [26557.293904] lowmem_reserve[]: 0 5214 5214 5214
Feb 22 10:57:56 scapa kernel: [26557.293908] Node 0 Normal free:98360kB min:7452kB low:9312kB high:11176kB active_anon:2929180kB inactive_anon:1715556kB active_file:198184kB inactive_file:147536kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:5472256kB managed:5339884kB mlocked:34359738368kB dirty:16kB writeback:0kB mapped:131020kB shmem:2616044kB slab_reclaimable:98292kB slab_unreclaimable:75828kB kernel_stack:5600kB pagetables:29844kB unstable:0kB bounce:0kB free_pcp:1568kB local_pcp:240kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Feb 22 10:57:56 scapa kernel: [26557.293914] lowmem_reserve[]: 0 0 0 0
Feb 22 10:57:56 scapa kernel: [26557.293917] Node 0 DMA32: 6976*4kB (UE) 3758*8kB (UME) 358*16kB (UME) 16*32kB (UME) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 64208kB
Feb 22 10:57:56 scapa kernel: [26557.293928] Node 0 Normal: 13439*4kB (UME) 5329*8kB (UME) 100*16kB (UE) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 97988kB
Feb 22 10:57:56 scapa kernel: [26557.293938] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Feb 22 10:57:56 scapa kernel: [26557.293940] 1127321 total pagecache pages
Feb 22 10:57:56 scapa kernel: [26557.293942] 830 pages in swap cache
Feb 22 10:57:56 scapa kernel: [26557.293944] Swap cache stats: add 35025, delete 34195, find 288/383
Feb 22 10:57:56 scapa kernel: [26557.293945] Free swap = 3007972kB
Feb 22 10:57:56 scapa kernel: [26557.293946] Total swap = 3145724kB
Feb 22 10:57:56 scapa kernel: [26557.293948] 2071645 pages RAM
Feb 22 10:57:56 scapa kernel: [26557.293949] 0 pages HighMem/MovableOnly
Feb 22 10:57:56 scapa kernel: [26557.293950] 35732 pages reserved
Feb 22 10:57:56 scapa kernel: [26557.293951] 0 pages hwpoisoned
Feb 22 10:57:56 scapa kernel: [26557.295059] uas: probe of 2-2:1.0 failed with error -12
order 7 seems like a lot to allocate, let alone atomically.
If you need anything more, please ask.
Regards,
--
Yves-Alexis
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next reply other threads:[~2016-03-01 9:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-01 9:42 Yves-Alexis Perez [this message]
2016-03-01 10:49 ` Page allocation failure (order 7) in UAS code Hans de Goede
2016-03-01 11:20 ` Yves-Alexis Perez
[not found] ` <56D573CF.1000600-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-03-04 7:13 ` Yves-Alexis Perez
2016-03-04 7:18 ` Hans de Goede
2016-03-04 13:28 ` Yves-Alexis Perez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1456825361.17330.9.camel@corsac.net \
--to=corsac-vd43ovf/fd+stnjn9+bgxg@public.gmane.org \
--cc=hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=kraxel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.