main.c:674: undefined reference to `xen_init_mtrr'
Trying to compile the latest bleeding edge rebase/master from the Jeremy git tree and ran into:
arch/x86/built-in.o: In function `mtrr_bp_init':/usr/local/src/linux-2.6-xen/arch/x86/kernel/cpu/mtrr/main.c:674: undefined reference to `xen_init_mtrr'
make: *** [.tmp_vmlinux1] Error 1
I would go back a few versions, but I also need Infiniband support that is in the latest kernel.
Quoted 1 line
<>
Nathan Stratton CTO, BlinkMind, Inc. nathan at robotics.net nathan at blinkmind.com http://www.robotics.net http://www.blinkmind.com
Quoted 8 lines · Nathan Stratton
Trying to compile the latest bleeding edge rebase/master from the Jeremy git tree and ran into:
arch/x86/built-in.o: In function `mtrr_bp_init':/usr/local/src/linux-2.6-xen/arch/x86/kernel/cpu/mtrr/main.c:674:
undefined reference to `xen_init_mtrr'
make: *** [.tmp_vmlinux1] Error 1
Thanks, that's a bug, bug the workaround is to also enable CONFIG_XEN_DOM0.
However, rebase/master is *very* bleeding edge at the moment, so I don't think it will help solve your problem.
J
Quoted 11 lines · Jeremy Fitzhardinge
Quoted 8 lines · Nathan Stratton
Trying to compile the latest bleeding edge rebase/master from the Jeremy git tree and ran into:
arch/x86/built-in.o: In function `mtrr_bp_init':/usr/local/src/linux-2.6-xen/arch/x86/kernel/cpu/mtrr/main.c:674:
undefined reference to `xen_init_mtrr'
make: *** [.tmp_vmlinux1] Error 1Thanks, that's a bug, bug the workaround is to also enable
CONFIG_XEN_DOM0.
Actually, CONFIG_XEN_DOM0 was enabled, I ended up having to disable CONFIG_MTRR to get it to compile. Not sure what damage that does, but so far things look good.
Quoted 2 lines
However, rebase/master is *very* bleeding edge at the moment, so I don't think it will help solve your problem.
I know, grasping at straws, trying to fix that kernel_panic and I also need a newer xen kernel then 2.6.18 that also has Infiniband.
-Nathan
Quoted 3 lines · Nathan Stratton
Actually,
CONFIG_XEN_DOM0was enabled, I ended up having to disableCONFIG_MTRRto get it to compile. Not sure what damage that does, but so far things look good.
Hm, OK. I wouldn't have thought it would be compiling that without CONFIG_MTRR. Anyway, that's useful to have in general; it may get you a performance kick.
Quoted 5 lines
Quoted 2 lines
However, rebase/master is *very* bleeding edge at the moment, so I don't think it will help solve your problem.
I know, grasping at straws, trying to fix that
kernel_panicand I also need a newer xen kernel then 2.6.18 that also has Infiniband.
Try xen-tip/master.
J
Quoted 4 lines · Jeremy Fitzhardinge
Quoted 2 lines
I know, grasping at straws, trying to fix that
kernel_panicand I also need a newer xen kernel then 2.6.18 that also has Infiniband.Try xen-tip/master.
No infiniband. :(
-Nathan
Quoted 8 lines · Nathan Stratton
Quoted 4 lines · Jeremy Fitzhardinge
Quoted 2 lines
I know, grasping at straws, trying to fix that
kernel_panicand I also need a newer xen kernel then 2.6.18 that also has Infiniband.Try xen-tip/master.
No infiniband. :(
What version did ib come in?
J
Quoted 11 lines · Jeremy Fitzhardinge
Quoted 8 lines · Nathan Stratton
Quoted 4 lines · Jeremy Fitzhardinge
Quoted 2 lines
I know, grasping at straws, trying to fix that
kernel_panicand I also need a newer xen kernel then 2.6.18 that also has Infiniband.Try xen-tip/master.
No infiniband. :(
What version did ib come in?
2.6.31
-nathan