Skip to contentSkip to conversation

2.5.64bk5: X86_PC + HIGHMEM boot failure

DISCUSSION Adam J. Richter 3 participants 3 messages Mar 10, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Martin J. Bligh
Quoted 6 lines
	Under linux-2.5.64bk5, CONFIG_X86_PC sets CONFIG_NUMA,

which sets CONFIG_DISCONTIGMEM. This causes the version of set_max_mapnr_init in arch/i386/mm/discontig.c to be compiled in (instead of the one from arch/i386/mm/init.c):

Err, I meant 2.5.64bk4.

Hmmm ... well I don't see bk4 on ftp.kernel.org,

	I meant ftp://ftp.kernel.org/pub/liux/kernel/v2.5/linux-2.5.64.tar.gz

patched with ftp://ftp.kernel.org/pub/liux/kernel/v2.5/snapshots/patch-2.5.64-bk4.gz.

Quoted 6 lines

but the same
changes are in my tree ... I've just checked it, and it doesn't do that for me. It should *allow* you to turn on CONFIG_NUMA (and that might be broken for PCs still) but it shouldn't be on by default ... could you check that you can still disable it? Works for me ...

Oops. You're right it is possible to deactivate
CONFIG_NUMA in this kernel under X86_PC, and that avoids the problem. I guess there still is the minor issue that either CONFIG_NUMA should work with X86_PC + HIGHMEM (even on machines without high memory) or else CONFIG_NUMA should not be selectable in this case, but that's obviously a bug of much less importance.

Sorry for my misunderstanding of the CONFIG_NUMA configution
options.

Adam J. Richter     __     ______________   575 Oroville Road
[email protected]     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America

"Free Software For The Rest Of Us."

#1 lore raw
Quoted 5 lines · Martin J. Bligh
Quoted 5 lines

changes are in my tree ... I've just checked it, and it doesn't do that for me. It should *allow* you to turn on CONFIG_NUMA (and that might be broken for PCs still) but it shouldn't be on by default ... could you check that you can still disable it? Works for me ...

Quoted 9 lines · Adam J. Richter

Oops. You're right it is possible to deactivate
CONFIG_NUMA in this kernel under X86_PC, and that avoids the problem. I guess there still is the minor issue that either CONFIG_NUMA should work with X86_PC + HIGHMEM (even on machines without high memory) or else CONFIG_NUMA should not be selectable in this case, but that's obviously a bug of much less importance.
Sorry for my misunderstanding of the CONFIG_NUMA configution
options.

It might help if we could get bootlogs or backtraces from you.

-- wli

#2 lore raw
In reply to Adam J. Richter
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Err, I meant 2.5.64bk4.

Hmmm ... well I don't see bk4 on ftp.kernel.org,

	I meant ftp://ftp.kernel.org/pub/liux/kernel/v2.5/linux-2.5.64.tar.gz

patched with ftp://ftp.kernel.org/pub/liux/kernel/v2.5/snapshots/patch-2.5.64-bk4.gz.

Yeah, I know ... hadn't seemed to have mirrored across when I looked, but I grabbed it from somewhere else.

Quoted 7 lines

Oops. You're right it is possible to deactivate
CONFIG_NUMA in this kernel under X86_PC, and that avoids the problem. I guess there still is the minor issue that either CONFIG_NUMA should work with X86_PC + HIGHMEM (even on machines without high memory) or else CONFIG_NUMA should not be selectable in this case, but that's obviously a bug of much less importance.

Right, it *should* work ... Andy wrote the patches to enable that so that distros could use a common kernel. Maybe it ought to depend on CONFIG_SMP + HIGHMEM_64GB as well, which would cut out most of the confusion, but still make it useful for distros.

Quoted 2 lines

Sorry for my misunderstanding of the CONFIG_NUMA configution
options.

No prob ... should probably be made more obvious. Are you by any chance doing "yes | make oldconfig"? That's the obvious way to switch it on by chance ... if so, can I recommend doing "yes '' | make oldconfig" instead? That'll take the defaults, and work much better in general.

M.