LinHES Forums

Modprobe: Page Allocation Errors
Page 1 of 1

Author:  mihanson [ Wed Jan 27, 2010 3:41 pm ]
Post subject:  Modprobe: Page Allocation Errors

If you ever run into a page allocation error like this:

modprobe: page allocation failure. order:6, mode:0x8020
Pid: 31772, comm: modprobe Tainted: G        W  2.6.28-LinHES #1
Call Trace:
 [<c016e575>] __alloc_pages_internal+0x375/0x470
 [<c0108cdb>] dma_generic_alloc_coherent+0x6b/0xd0
 [<f86a32f2>] flexcop_dma_allocate+0xf2/0x130 [b2c2_flexcop]
 [<c0108c70>] dma_generic_alloc_coherent+0x0/0xd0
 [<f84ff63b>] flexcop_pci_probe+0x17b/0x2d0 [b2c2_flexcop_pci]
 [<c0255dc6>] pci_device_probe+0x56/0x80
 [<c02bab86>] driver_probe_device+0x86/0x1a0
 [<c011ff35>] default_spin_lock_flags+0x5/0x10
 [<c040e6be>] _spin_lock_irqsave+0x3e/0x60
 [<c02bad29>] __driver_attach+0x89/0x90
 [<c0255d10>] pci_device_remove+0x0/0x40
 [<c02ba4b4>] bus_for_each_dev+0x44/0x70
 [<c0255d10>] pci_device_remove+0x0/0x40
 [<c02baa16>] driver_attach+0x16/0x20
 [<c02baca0>] __driver_attach+0x0/0x90
 [<c02b9e47>] bus_add_driver+0x1a7/0x220
 [<c0255d10>] pci_device_remove+0x0/0x40
 [<c02baebc>] driver_register+0x5c/0x130
 [<f802f000>] flexcop_pci_module_init+0x0/0x14 [b2c2_flexcop_pci]
 [<c0256017>] __pci_register_driver+0x47/0x90
 [<f802f000>] flexcop_pci_module_init+0x0/0x14 [b2c2_flexcop_pci]
 [<c0101126>] do_one_initcall+0x36/0x1c0
 [<c0182730>] __vunmap+0xb0/0xe0
 [<c0158487>] load_module+0x1577/0x1950
 [<c0250430>] pci_bus_read_config_byte+0x0/0x80
 [<c01589ab>] sys_init_module+0x8b/0x1b0
 [<c0103f13>] sysenter_do_call+0x12/0x33
 [<c0400000>] tulip_parse_eeprom+0x29d/0x59d

when modprobing modules, there is an easy fix that may help. Simply allocate more memory as user root:

/bin/echo 16384 > /proc/sys/vm/min_free_kbytes

to ensure this setting sticks across reboots, place it in /etc/runit/1.local.

It solved my problem after removing and re-adding some dvb modules. Hat tip to the mythtv-wiki.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group