With the hotplug memory option turned on, it compiles ok. I tried running aioalloc again and got the following: kernel BUG at include/linux/nonlinear.h:111! invalid operand: 0000 [#1] PREEMPT SMP Modules linked in: CPU: 1 EIP: 0060:[<c0151ef7>] Not tainted VLI EFLAGS: 00010286 (2.6.10-rc2-mm4-mhp2) EIP is at page_address+0x67/0xf0 eax: 0000002b ebx: e27d2000 ecx: 00000001 edx: 00000001 esi: 0000001c edi: de943eb8 ebp: c03653c4 esp: de943e60 ds: 007b es: 007b ss: 0068 Process khelper (pid: 6958, threadinfo=de942000 task=df3bdaa0) Stack: c0370dbc c03653c4 e27d2000 0000001c c0117eb1 00000000 df01d400 de943eb8 de943eb0 c017322b dec4fa40 00000003 df01d400 df01d40a c01927ad df01d400 dfec8180 000000d0 df01d402 00000000 6e69622f 0068732f debfffe0 00000003 Call Trace: [<c0117eb1>] kmap_atomic+0x21/0x90 [<c017322b>] remove_arg_zero+0x4b/0xa0 [<c01927ad>] load_script+0x14d/0x250 [<c0361aed>] _spin_unlock+0xd/0x30 [<c015178f>] kmap_high+0x12f/0x1b0 [<c0151f69>] page_address+0xd9/0xf0 [<c0361b7f>] _spin_unlock_irqrestore+0xf/0x30 [<c0151f69>] page_address+0xd9/0xf0 [<c0361aed>] _spin_unlock+0xd/0x30 [<c0172076>] copy_strings+0x1e6/0x240 [<c0192660>] load_script+0x0/0x250 [<c01732fa>] search_binary_handler+0x7a/0x1b0 [<c01735d0>] do_execve+0x1a0/0x260 [<c0101e86>] sys_execve+0x46/0xc0 [<c01033f3>] syscall_call+0x7/0xb [<c01310bf>] ____call_usermodehelper+0x9f/0xc0 [<c0131020>] ____call_usermodehelper+0x0/0xc0 [<c0101385>] kernel_thread_helper+0x5/0x10 Code: d8 2d 00 00 00 40 83 c4 14 5b 5e 5f 5d c3 89 74 24 0c bd c4 53 36 c0 89 5c 24 08 89 6c 24 04 c7 04 24 bc 0d 37 c0 e8 a9 e1 fc ff <0f> 0b 6f 00 c8 45 37 c0 0f b7 84 36 80 56 4a c0 eb b9 8d b4 26 <0>Fatal exception: panic in 5 seconds scheduling while atomic: khelper/0x00000001/6958 [<c0360972>] schedule+0x792/0x7a0 [<c03617aa>] _spin_lock+0x1a/0x70 [<c0129ac2>] __mod_timer+0xf2/0x150 [<c0104a30>] do_invalid_op+0x0/0xd0 [<c0360f92>] schedule_timeout+0x72/0xd0 [<c012a6f0>] process_timeout+0x0/0x10 [<c0104a30>] do_invalid_op+0x0/0xd0 [<c01200b7>] printk+0x17/0x20 [<c0104645>] die+0x165/0x180 [<c0104ae2>] do_invalid_op+0xb2/0xd0 [<c0151ef7>] page_address+0x67/0xf0 [<c021cf66>] vsnprintf+0x256/0x4d0 [<c011feef>] call_console_drivers+0x6f/0x130 [<c0361b7f>] _spin_unlock_irqrestore+0xf/0x30 [<c01202fc>] release_console_sem+0x7c/0xc0 [<c0103ebb>] error_code+0x2b/0x30 [<c0151ef7>] page_address+0x67/0xf0 [<c0117eb1>] kmap_atomic+0x21/0x90 [<c017322b>] remove_arg_zero+0x4b/0xa0 [<c01927ad>] load_script+0x14d/0x250 [<c0361aed>] _spin_unlock+0xd/0x30 [<c015178f>] kmap_high+0x12f/0x1b0 [<c0151f69>] page_address+0xd9/0xf0 [<c0361b7f>] _spin_unlock_irqrestore+0xf/0x30 [<c0151f69>] page_address+0xd9/0xf0 [<c0361aed>] _spin_unlock+0xd/0x30 [<c0172076>] copy_strings+0x1e6/0x240 [<c0192660>] load_script+0x0/0x250 [<c01732fa>] search_binary_handler+0x7a/0x1b0 [<c01735d0>] do_execve+0x1a0/0x260 [<c0101e86>] sys_execve+0x46/0xc0 [<c01033f3>] syscall_call+0x7/0xb [<c01310bf>] ____call_usermodehelper+0x9f/0xc0 [<c0131020>] ____call_usermodehelper+0x0/0xc0 [<c0101385>] kernel_thread_helper+0x5/0x10 Kernel panic - not syncing: Fatal exception