modprobe: page allocation failure

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

max_verem

  • Posts: 15
  • Joined: Tue Nov 05, 2013 3:10 pm

modprobe: page allocation failure

PostMon Nov 21, 2016 3:05 pm

I have a 3 boards installed into server:
Code: Select all
04:00.0 Multimedia video controller: Blackmagic Design DeckLink SDI/Duo/Quad
05:00.0 Multimedia video controller: Blackmagic Design DeckLink SDI/Duo/Quad
08:00.0 Multimedia video controller: Blackmagic Design DeckLink Mini Monitor
09:00.0 Multimedia video controller: Blackmagic Design DeckLink Mini Recorder

which is under CentOs 7:
Code: Select all
Linux the-demo 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Latest driver caused a page allocation failure during loading. I happens in next modules loading order:
Code: Select all
modprobe blackmagic
modprobe blackmagic_io

Here are logs line:
Code: Select all
Nov 21 17:22:00 the-demo kernel: blackmagic: Loading driver (version: 10.8.3a1)
Nov 21 17:22:02 the-demo kernel: blackmagic: Successfully loaded device "blackmagic!dv0" [pci@0000:04:00.0]
Nov 21 17:22:04 the-demo kernel: blackmagic: Successfully loaded device "blackmagic!dv1" [pci@0000:05:00.0]
Nov 21 17:22:04 the-demo kernel: blackmagic: Successfully loaded device "blackmagic!dv2" [pci@0000:08:00.0]

Nov 21 17:22:35 the-demo kernel: BlackmagicIO: Driver version 10.8.3a1 loading
Nov 21 17:22:35 the-demo kernel: BlackmagicIO: Enabled device "DeckLink Mini Recorder" x1/5 Gbps (9e41d25e,430900) FW Date: 04-20 11:04
Nov 21 17:22:35 the-demo kernel: modprobe: page allocation failure: order:10, mode:0x1040d0
Nov 21 17:22:35 the-demo kernel: CPU: 0 PID: 23717 Comm: modprobe Tainted: P           OE  ------------   3.10.0-327.36.3.el7.x86_64 #1
Nov 21 17:22:35 the-demo kernel: Hardware name: System manufacturer System Product Name/P8Z77-M PRO, BIOS 2105 09/06/2013
Nov 21 17:22:35 the-demo kernel: 00000000001040d0 00000000ee02a0a9 ffff8801214d76b8 ffffffff81636431
Nov 21 17:22:35 the-demo kernel: ffff8801214d7748 ffffffff8116f3b0 ffffffff810e71f2 0000000000000010
Nov 21 17:22:35 the-demo kernel: ffff88041fdc8000 ffff8801214d76f8 0000000000000018 00000000ee02a0a9
Nov 21 17:22:35 the-demo kernel: Call Trace:
Nov 21 17:22:35 the-demo kernel: [<ffffffff81636431>] dump_stack+0x19/0x1b
Nov 21 17:22:35 the-demo kernel: [<ffffffff8116f3b0>] warn_alloc_failed+0x110/0x180
Nov 21 17:22:35 the-demo kernel: [<ffffffff810e71f2>] ? on_each_cpu_mask+0x52/0x60
Nov 21 17:22:35 the-demo kernel: [<ffffffff81173b46>] __alloc_pages_nodemask+0x9b6/0xba0
Nov 21 17:22:35 the-demo kernel: [<ffffffff811b4afa>] alloc_pages_current+0xaa/0x170
Nov 21 17:22:35 the-demo kernel: [<ffffffff8116e32e>] __get_free_pages+0xe/0x50
Nov 21 17:22:35 the-demo kernel: [<ffffffff811bfd8e>] kmalloc_order_trace+0x2e/0xa0
Nov 21 17:22:35 the-demo kernel: [<ffffffff811c2629>] __kmalloc+0x219/0x230
Nov 21 17:22:35 the-demo kernel: [<ffffffffa044eebe>] bm_alloc_aligned+0x5e/0xf0 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa040d0d1>] _ZN24IOBufferMemoryDescriptor21initInTaskWithOptionsEP11task_structjly+0x41/0x90 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa040d1aa>] ? _ZN24IOBufferMemoryDescriptor17inTaskWithOptionsEP11task_structjly+0x5a/0x90 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa0413f4f>] ? _ZN23BlackmagicIODriverLinux30allocateBufferMemoryDescriptorEP11task_structjly+0x7f/0xa0 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa04189c5>] ? _ZN17AudioSampleBuffer4initEP19VideoHardwareDeviceP9DMAEngineS3_+0x55/0x1c0 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa0418bad>] ? _ZN17AudioSampleBuffer11withOptionsEP19VideoHardwareDeviceP9DMAEngineS3_+0x4d/0x80 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa041af5f>] ? _ZN18BlackmagicIODriver29configureEnginesAndInterfacesEv+0x12f/0x530 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa041b95e>] ? _ZN18BlackmagicIODriver5startEP9IOService+0x13e/0x290 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa0413fb9>] ? _ZN23BlackmagicIODriverLinux5startEP9IOService+0x49/0x70 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa041d15b>] ? _ZN22BlackmagicIOSupervisor9addDriverEP18BlackmagicIODriverj+0x6b/0xa0 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa041389a>] ? _ZN27BlackmagicIOSupervisorLinux11probeDriverEj+0x3a/0x70 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa041c5b3>] ? _ZN22BlackmagicIOSupervisor23probeAndStartSubdevicesEv+0x63/0x90 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa041cee0>] ? _ZN22BlackmagicIOSupervisor5startEP9IOService+0x120/0x220 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa040c53a>] ? bmio_device_init+0xea/0x100 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa044c4de>] ? bmio_device_alloc+0x5e/0xa0 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffffa044c43e>] ? bmio_probe+0xe/0x20 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffff81328105>] ? local_pci_probe+0x45/0xa0
Nov 21 17:22:35 the-demo kernel: [<ffffffff813293f5>] ? pci_match_device+0xe5/0x120
Nov 21 17:22:35 the-demo kernel: [<ffffffff81329569>] ? pci_device_probe+0xf9/0x150
Nov 21 17:22:35 the-demo kernel: [<ffffffff813f6907>] ? driver_probe_device+0x87/0x390
Nov 21 17:22:35 the-demo kernel: [<ffffffff813f6ce3>] ? __driver_attach+0x93/0xa0
Nov 21 17:22:35 the-demo kernel: [<ffffffff813f6c50>] ? __device_attach+0x40/0x40
Nov 21 17:22:35 the-demo kernel: [<ffffffff813f4673>] ? bus_for_each_dev+0x73/0xc0
Nov 21 17:22:35 the-demo kernel: [<ffffffff813f635e>] ? driver_attach+0x1e/0x20
Nov 21 17:22:35 the-demo kernel: [<ffffffff813f5eb0>] ? bus_add_driver+0x200/0x2d0
Nov 21 17:22:35 the-demo kernel: [<ffffffff813f7364>] ? driver_register+0x64/0xf0
Nov 21 17:22:35 the-demo kernel: [<ffffffff813290a5>] ? __pci_register_driver+0xa5/0xc0
Nov 21 17:22:35 the-demo kernel: [<ffffffffa049e000>] ? 0xffffffffa049dfff
Nov 21 17:22:35 the-demo kernel: [<ffffffffa049e048>] ? bmio_init+0x48/0x1000 [blackmagic_io]
Nov 21 17:22:35 the-demo kernel: [<ffffffff810020e8>] ? do_one_initcall+0xb8/0x230
Nov 21 17:22:35 the-demo kernel: [<ffffffff810ed74e>] ? load_module+0x134e/0x1b50
Nov 21 17:22:35 the-demo kernel: [<ffffffff81316b50>] ? ddebug_proc_write+0xf0/0xf0
Nov 21 17:22:35 the-demo kernel: [<ffffffff810e99e3>] ? copy_module_from_fd.isra.42+0x53/0x150
Nov 21 17:22:35 the-demo kernel: [<ffffffff810ee106>] ? SyS_finit_module+0xa6/0xd0
Nov 21 17:22:35 the-demo kernel: [<ffffffff81646b49>] ? system_call_fastpath+0x16/0x1b
Nov 21 17:22:35 the-demo kernel: Mem-Info:
Nov 21 17:22:35 the-demo kernel: Node 0 DMA per-cpu:
Nov 21 17:22:35 the-demo kernel: CPU    0: hi:    0, btch:   1 usd:   0
Nov 21 17:22:35 the-demo kernel: CPU    1: hi:    0, btch:   1 usd:   0
Nov 21 17:22:35 the-demo kernel: CPU    2: hi:    0, btch:   1 usd:   0
Nov 21 17:22:35 the-demo kernel: CPU    3: hi:    0, btch:   1 usd:   0
Nov 21 17:22:35 the-demo kernel: Node 0 DMA32 per-cpu:
Nov 21 17:22:35 the-demo kernel: CPU    0: hi:  186, btch:  31 usd:   0
Nov 21 17:22:35 the-demo kernel: CPU    1: hi:  186, btch:  31 usd:   0
Nov 21 17:22:35 the-demo kernel: CPU    2: hi:  186, btch:  31 usd:   0
Nov 21 17:22:35 the-demo kernel: CPU    3: hi:  186, btch:  31 usd:   0
Nov 21 17:22:35 the-demo kernel: Node 0 Normal per-cpu:
Nov 21 17:22:35 the-demo kernel: CPU    0: hi:  186, btch:  31 usd:   0
Nov 21 17:22:35 the-demo kernel: CPU    1: hi:  186, btch:  31 usd:  62
Nov 21 17:22:35 the-demo kernel: CPU    2: hi:  186, btch:  31 usd:  13
Nov 21 17:22:35 the-demo kernel: CPU    3: hi:  186, btch:  31 usd:  29
Nov 21 17:22:35 the-demo kernel: active_anon:2233 inactive_anon:23470 isolated_anon:0#012 active_file:181340 inactive_file:3468604 isolated_file:0#012 unevictable:0 dirty:0 writeback:0 unstable:0#012 free:71201 slab_reclaimable:148718 slab_unreclaimable:5370#012 mapped:16029 shmem:12569 pagetables:1035 bounce:0#012 free_cma:0
Nov 21 17:22:35 the-demo kernel: Node 0 DMA free:15432kB min:64kB low:80kB high:96kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15432kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
Nov 21 17:22:35 the-demo kernel: lowmem_reserve[]: 0 3008 15553 15553
Nov 21 17:22:35 the-demo kernel: Node 0 DMA32 free:100116kB min:13060kB low:16324kB high:19588kB active_anon:1872kB inactive_anon:16552kB active_file:138312kB inactive_file:2627236kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3327348kB managed:3082728kB mlocked:0kB dirty:0kB writeback:0kB mapped:13496kB shmem:11844kB slab_reclaimable:150592kB slab_unreclaimable:3032kB kernel_stack:256kB pagetables:776kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Nov 21 17:22:35 the-demo kernel: lowmem_reserve[]: 0 0 12544 12544
Nov 21 17:22:35 the-demo kernel: Node 0 Normal free:169256kB min:54456kB low:68068kB high:81684kB active_anon:7060kB inactive_anon:77328kB active_file:587048kB inactive_file:11247180kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:13105152kB managed:12845604kB mlocked:0kB dirty:0kB writeback:0kB mapped:50620kB shmem:38432kB slab_reclaimable:444280kB slab_unreclaimable:18448kB kernel_stack:2608kB pagetables:3364kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Nov 21 17:22:35 the-demo kernel: lowmem_reserve[]: 0 0 0 0
Nov 21 17:22:35 the-demo kernel: Node 0 DMA: 0*4kB 1*8kB (U) 0*16kB 0*32kB 1*64kB (U) 0*128kB 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (R) 3*4096kB (M) = 15432kB
Nov 21 17:22:35 the-demo kernel: Node 0 DMA32: 665*4kB (UEM) 471*8kB (UEM) 266*16kB (UEM) 175*32kB (UEM) 951*64kB (UEM) 63*128kB (UM) 35*256kB (UM) 4*512kB (M) 0*1024kB 0*2048kB 1*4096kB (R) = 100316kB
Nov 21 17:22:35 the-demo kernel: Node 0 Normal: 1055*4kB (UEM) 957*8kB (UEM) 516*16kB (EM) 543*32kB (M) 813*64kB (UEM) 473*128kB (UEM) 59*256kB (UM) 0*512kB 0*1024kB 0*2048kB 1*4096kB (R) = 169284kB
Nov 21 17:22:35 the-demo kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
Nov 21 17:22:35 the-demo kernel: 3662513 total pagecache pages
Nov 21 17:22:35 the-demo kernel: 0 pages in swap cache
Nov 21 17:22:35 the-demo kernel: Swap cache stats: add 0, delete 0, find 0/0
Nov 21 17:22:35 the-demo kernel: Free swap  = 8060924kB
Nov 21 17:22:35 the-demo kernel: Total swap = 8060924kB
Nov 21 17:22:35 the-demo kernel: 4112123 pages RAM
Nov 21 17:22:35 the-demo kernel: 0 pages HighMem/MovableOnly
Nov 21 17:22:35 the-demo kernel: 126182 pages reserved
Nov 21 17:22:35 the-demo kernel: BlackmagicIO: DeckLink Mini Recorder as blackmagic!io0 [0000:09:00.0]
Nov 21 17:22:35 the-demo kernel: Probe subdriver ffffffffa0464300 (serial): ffff88040887a3c0
Nov 21 17:22:35 the-demo kernel: BlackmagicIO: Initialised serial driver for blackmagic!io0

if drivers order been changed:
Code: Select all
modprobe blackmagic_io
modprobe blackmagic

then no fault happens:
Code: Select all
Nov 21 17:19:07 the-demo kernel: BlackmagicIO: Driver version 10.8.3a1 loading
Nov 21 17:19:07 the-demo kernel: BlackmagicIO: Enabled device "DeckLink Mini Recorder" x1/5 Gbps (9e41d25e,430900) FW Date: 04-20 11:04
Nov 21 17:19:07 the-demo kernel: BlackmagicIO: DeckLink Mini Recorder as blackmagic!io0 [0000:09:00.0]
Nov 21 17:19:07 the-demo kernel: Probe subdriver ffffffffa04c6300 (serial): ffff8804054dc840
Nov 21 17:19:07 the-demo kernel: BlackmagicIO: Initialised serial driver for blackmagic!io0

Nov 21 17:20:10 the-demo kernel: blackmagic: Loading driver (version: 10.8.3a1)
Nov 21 17:20:12 the-demo kernel: blackmagic: Successfully loaded device "blackmagic!dv0" [pci@0000:04:00.0]
Nov 21 17:20:14 the-demo kernel: blackmagic: Successfully loaded device "blackmagic!dv1" [pci@0000:05:00.0]
Nov 21 17:20:14 the-demo kernel: blackmagic: Successfully loaded device "blackmagic!dv2" [pci@0000:08:00.0]

Firmwares versions are:
Code: Select all
0:      /dev/blackmagic/dv1 [DeckLink SDI]      0x34    OK
1:      /dev/blackmagic/dv0 [DeckLink SDI]      0x34    OK
2:      /dev/blackmagic/dv2 [DeckLink Mini Monitor]     0x09    OK
3:      /dev/blackmagic/io0 [DeckLink Mini Recorder]    0x4d    OK

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 15 guests