Changing kernel command line (Vmap allocation failed)

During boot (actually when USB devices are initialized) I get following error in the kernel log:

vmap allocation for size 110592 failed: use vmalloc=<size> to increase size.
vmalloc: allocation failure: 102656 bytes
kmodloader: page allocation failure: order:0, mode:0x24000c0
CPU: 0 PID: 1029 Comm: kmodloader Not tainted 4.4.13-05df79f63527051ea0071350f86faf76-9 #1
Hardware name: Marvell Armada 380/385 (Device Tree)
Backtrace: 
[<c001c130>] (dump_backtrace) from [<c001c328>] (show_stack+0x18/0x1c)
 r6:00000000 r5:60000013 r4:c0688208 r3:00000000
[<c001c310>] (show_stack) from [<c02d93c0>] (dump_stack+0x98/0xac)
[<c02d9328>] (dump_stack) from [<c00a8198>] (warn_alloc_failed+0x108/0x118)
 r6:00000001 r5:00000000 r4:024000c0 r3:c0680d30
[<c00a8094>] (warn_alloc_failed) from [<c00d0d68>] (__vmalloc_node_range+0x1f4/0x20c)
 r3:00019100 r2:c0593448
 r6:c0089998 r5:00000000 r4:00019100
[<c00d0b74>] (__vmalloc_node_range) from [<c001cc7c>] (module_alloc+0x5c/0xb4)
 r10:f1fa0440 r9:000001d5 r8:00019100 r7:ffffffff r6:c0089998 r5:024000c0
 r4:c06a001c
[<c001cc20>] (module_alloc) from [<c0089998>] (load_module+0x73c/0x1bf0)
 r8:f1f89000 r7:00019100 r6:f1fa0aec r5:000001d5 r4:edbabf34
[<c008925c>] (load_module) from [<c008af7c>] (SyS_init_module+0x130/0x148)
 r10:00000051 r9:0001223f r8:edbaa000 r7:f1fa91d0 r6:b67761e0 r5:00000000
 r4:000001d0
[<c008ae4c>] (SyS_init_module) from [<c0009ce0>] (ret_fast_syscall+0x0/0x3c)
 r10:00000000 r9:edbaa000 r8:c0009ea4 r7:00000080 r6:00000014 r5:00000000
 r4:00000000

The suggestion is obvious - to set higher vmalloc on kernel command line. But the question is how to do that?

2 Likes