lin_tape module are requesting continuous pages, causing page allocation failure.

Solution Verified - Updated -

Issue

  • A page allocation failure occurs and the following message is output.
[13610297.631375] dsmserv: page allocation failure: order:6, mode:0xd0
[13610297.631385] CPU: 4 PID: 26915 Comm: dsmserv Kdump: loaded Tainted: P        W  OE  ------------   3.10.0-1160.el7.x86_64 #1
[13610297.631388] Hardware name: Lenovo ThinkSystem SR650 -[7X06CTO1WW]-/-[7X06CTO1WW]-, BIOS -[IVE122G-1.31]- 08/15/2018
[13610297.631391] Call Trace:
[13610297.631406]  [<ffffffffb7f81340>] dump_stack+0x19/0x1b
[13610297.631413]  [<ffffffffb79c4780>] warn_alloc_failed+0x110/0x180
[13610297.631419]  [<ffffffffb7f7c85d>] __alloc_pages_slowpath+0x6bb/0x729
[13610297.631426]  [<ffffffffb79c8d76>] __alloc_pages_nodemask+0x436/0x450
[13610297.631435]  [<ffffffffb7a189d8>] alloc_pages_current+0x98/0x110
[13610297.631439]  [<ffffffffb79c347e>] __get_free_pages+0xe/0x40
[13610297.631455]  [<ffffffffc0b3dd8d>] tape_init_op_sg+0xdd/0x3f0 [lin_tape]
[13610297.631465]  [<ffffffffc0b3e13b>] tape_build_op_sg+0x9b/0x140 [lin_tape]
[13610297.631473]  [<ffffffffc0b3e215>] setup_sg_for_ops+0x35/0x220 [lin_tape]
[13610297.631484]  [<ffffffffc0b49cce>] erp_read_buffer+0x57e/0x6f0 [lin_tape]
[13610297.631494]  [<ffffffffc0b4fabf>] tape_send_erp_cmd+0xdf/0x340 [lin_tape]
[13610297.631503]  [<ffffffffc0b4ff4e>] read_dump+0x2e/0x100 [lin_tape]
[13610297.631511]  [<ffffffffc0b50110>] tape_check_simmim_dump_logsense+0x50/0x70 [lin_tape]
[13610297.631519]  [<ffffffffc0b50ccf>] tape_send_scsi_cmd+0xef/0x2c0 [lin_tape]
[13610297.631529]  [<ffffffffc0b59559>] persistent_reserve_in+0x159/0x340 [lin_tape]
[13610297.631537]  [<ffffffffc0b597c8>] tape_read_reservation+0x88/0x1d0 [lin_tape]
[13610297.631545]  [<ffffffffc0b6968d>] lin_tape_tsm_query_pr_key+0x10d/0x220 [lin_tape]
[13610297.631556]  [<ffffffffc0b382d1>] lin_tape_drive_ioctl+0x1461/0x1bf0 [lin_tape]
[13610297.631565]  [<ffffffffc0b30670>] ? sioc_mode_sense_page+0xd0/0xd0 [lin_tape]
[13610297.631573]  [<ffffffffc0b2bbee>] lin_tape_ioctl_drive+0x14e/0x270 [lin_tape]
[13610297.631580]  [<ffffffffc0b2be95>] lin_tape_ioctl+0xa5/0x120 [lin_tape]
[13610297.631587]  [<ffffffffb7a632e0>] do_vfs_ioctl+0x3a0/0x5b0
[13610297.631593]  [<ffffffffb7a53aa4>] ? SYSC_newfstat+0x34/0x60
[13610297.631597]  [<ffffffffb7a63591>] SyS_ioctl+0xa1/0xc0
[13610297.631605]  [<ffffffffb7f93f92>] system_call_fastpath+0x25/0x2a
[13610297.631608] Mem-Info:
[13610297.631617] active_anon:1258386 inactive_anon:10521081 isolated_anon:0
 active_file:1488035 inactive_file:7966525 isolated_file:3
 unevictable:4258 dirty:14 writeback:0 unstable:0
 slab_reclaimable:347549 slab_unreclaimable:93611
 mapped:10794203 shmem:10778699 pagetables:42813 bounce:0
 free:91158 free_pcp:1046 free_cma:0
[13610297.631624] Node 0 DMA free:15700kB min:12kB low:12kB high:16kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15996kB managed:15904kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:96kB 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
[13610297.631634] lowmem_reserve[]: 0 2503 47801 47801
[13610297.631638] Node 0 DMA32 free:190108kB min:2560kB low:3200kB high:3840kB active_anon:78464kB inactive_anon:243844kB active_file:179556kB inactive_file:1231284kB unevictable:8kB isolated(anon):0kB isolated(file):12kB present:2802196kB managed:2563852kB mlocked:8kB dirty:0kB writeback:0kB mapped:141400kB shmem:139976kB slab_reclaimable:611168kB slab_unreclaimable:22892kB kernel_stack:800kB pagetables:944kB unstable:0kB bounce:0kB free_pcp:676kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[13610297.631648] lowmem_reserve[]: 0 0 45298 45298
[13610297.631651] Node 0 Normal free:84752kB min:46332kB low:57912kB high:69496kB active_anon:2464476kB inactive_anon:24994016kB active_file:2805624kB inactive_file:13768396kB unevictable:748kB isolated(anon):0kB isolated(file):0kB present:47185920kB managed:46385164kB mlocked:748kB dirty:24kB writeback:0kB mapped:25773304kB shmem:25757360kB slab_reclaimable:354276kB slab_unreclaimable:174128kB kernel_stack:23344kB pagetables:90328kB unstable:0kB bounce:0kB free_pcp:872kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[13610297.631660] lowmem_reserve[]: 0 0 0 0
[13610297.631663] Node 1 Normal free:74072kB min:41200kB low:51500kB high:61800kB active_anon:2490604kB inactive_anon:16846464kB active_file:2966960kB inactive_file:16866420kB unevictable:16276kB isolated(anon):0kB isolated(file):0kB present:41943040kB managed:41252996kB mlocked:16276kB dirty:32kB writeback:0kB mapped:17262108kB shmem:17217460kB slab_reclaimable:424752kB slab_unreclaimable:177328kB kernel_stack:24848kB pagetables:79980kB unstable:0kB bounce:0kB free_pcp:2636kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[13610297.631671] lowmem_reserve[]: 0 0 0 0
[13610297.631675] Node 0 DMA: 1*4kB (U) 0*8kB 1*16kB (U) 0*32kB 1*64kB (U) 0*128kB 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15700kB
[13610297.631690] Node 0 DMA32: 266*4kB (UEM) 233*8kB (UEM) 462*16kB (UEM) 3784*32kB (UEM) 904*64kB (UEM) 7*128kB (UEM) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 190160kB
[13610297.631703] Node 0 Normal: 5949*4kB (UEM) 3128*8kB (UEM) 917*16kB (UEM) 368*32kB (UEM) 113*64kB (UEM) 16*128kB (M) 1*256kB (M) 0*512kB 0*1024kB 0*2048kB 0*4096kB = 84804kB
[13610297.631717] Node 1 Normal: 4458*4kB (UM) 2277*8kB (UEM) 830*16kB (UEM) 371*32kB (UEM) 136*64kB (UEM) 32*128kB (M) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 74000kB
[13610297.631731] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
[13610297.631734] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[13610297.631737] Node 1 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
[13610297.631739] Node 1 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[13610297.631741] 20235032 total pagecache pages
[13610297.631748] 165 pages in swap cache
[13610297.631750] Swap cache stats: add 16301, delete 16136, find 808/2007
[13610297.631752] Free swap  = 16736932kB
[13610297.631754] Total swap = 16777212kB
[13610297.631756] 22986788 pages RAM
[13610297.631758] 0 pages HighMem/MovableOnly
[13610297.631759] 432309 pages reserved

Environment

  • Red Hat Enterprise Linux 7
  • 3rd-party kernel module: lin_tape in IBM Linux SCSI Tape Device Driver

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content