Whenever I run a command, I get a "BUG: using smp_processor_id() in preemptible...". I'm running v4.1-rc3 with CONFIG_PREEMPT. Kernel log and config attached -- You can see the BUG during boot a few times as well. Not sure where's the smp_processor_id call in load_elf_binary, but it seems to be MIPS-related. # ls [ 14.881148] BUG: using smp_processor_id() in preemptible [00000000] code: sh/97 [ 14.889499] caller is load_elf_binary+0x4cc/0x1320 [ 14.894991] CPU: 0 PID: 97 Comm: sh Not tainted 4.1.0-rc3+ #134 [ 14.901700] Stack : 00000000 00000000 81c90d52 00000033 666c655f 00000000 00000001 8049c350 8049c31c 80c20000 80b8e8c4 00000061 00000000 814e37f0 00000007 00000000 860bbcc8 8049c350 860bbcc8 80790fac 00000003 814d0000 80b8e8c4 860bbc2c 00000061 80a66e04 814e37f0 8042e1c8 00000000 00000000 860bbc2c dc8ba300 80c1f327 006cda88 00000000 00000000 00000000 00000000 00000000 00000000 ... [ 14.942591] Call Trace: [ 14.945471] [<8040c1a4>] show_stack+0x6c/0xac [ 14.950475] [<80a67f3c>] dump_stack+0xc8/0x128 [ 14.955628] [<807a366c>] check_preemption_disabled+0xec/0x118 [ 14.962180] [<805f33c0>] load_elf_binary+0x4cc/0x1320 [ 14.967978] [<80593594>] search_binary_handler+0xbc/0x214 [ 14.974135] [<805f28e8>] load_script+0x288/0x2b0 [ 14.979426] [<80593594>] search_binary_handler+0xbc/0x214 [ 14.985587] [<80594460>] do_execveat_common+0x638/0xa74 [ 14.991562] [<805948d4>] do_execve+0x38/0x44 [ 14.996469] [<80414840>] handle_sys+0x160/0x184 [ 15.001652] bin etc init lib32 media opt root sbin tmp var dev home lib linuxrc mnt proc run sys usr -- Ezequiel