Hi,
compiling a Loongson3a kernel with CONFIG_SMP=y on lemote's official
kernel (branch master, 7a7d4e7770) shows error messages during boot up
and in kernel log:
[ 24.253906] modprobe: page allocation failure: order:0, mode:0x2000d1
[ 24.402343] CPU: 3 PID: 135 Comm: modprobe Not tainted 3.15.0-rc5-dk2+ #3
[..]
[ 24.992187] Call Trace:
[ 24.992187] [<ffffffff8020c378>] show_stack+0x48/0x70
[ 24.992187] [<ffffffff807e885c>] dump_stack+0x70/0x90
[ 24.992187] [<ffffffff802f8a88>] warn_alloc_failed+0x110/0x134
[ 24.992187] [<ffffffff802fb4f8>] __alloc_pages_nodemask+0x750/0x864
[ 24.992187] [<ffffffff80339ee8>] new_slab+0xe0/0x348
[..]
I did not see these kinds of errors with same config and CONFIG_SMP
disabled. This is still with the original PMON that came installed with
the Xinghuo. I cross-compile all my kernels with with gcc 4.7.3.
Full output of dmesg attached below.
You can find the kernels in question, including kernel config here [1]
(-dk1: without SMP, -dk2: with SMP).
Despite these errors, the system did not immediately crash. However I
did not allow it to boot beyond the initrd for concerns about possibly
corrupting my system.
cheers,
David
[1]
https://stech.muecke.pw/david/loongson/7a7d4e7770/
--
GnuPG public key:
http://dvdkhlng.users.sourceforge.net/dk2.gpg
Fingerprint: B63B 6AF2 4EEB F033 46F7 7F1D 935E 6F08 E457 205F