Skip to contentSkip to conversation

Problem with merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

DISCUSSION Christian Zigotzky 3 participants 3 messages Mar 17, 2016 – Mar 18, 2016 KVM

lore
Share & tools
lore
#0 lore raw

Hi All,

I downloaded the latest Git version of the Linux kernel today. Unfortunately I wasn't able to compile the kvm-pr kernel module today.

Error messages:

Building modules, stage 2.
MODPOST 29 modules
ERROR: ".kvmppc_h_put_tce" [arch/powerpc/kvm/kvm-pr.ko] undefined!
ERROR: ".kvmppc_h_stuff_tce" [arch/powerpc/kvm/kvm-pr.ko] undefined! make[1]: *** [__modpost] Fehler 1
make: *** [modules] Fehler 2

Yesterday, I tested the latest Git version of the Linux kernel too. I was able to compile the kvm-pr kernel module yesterday. After that I successfully tested it with Mac-on-Linux and Mac OS X Tiger yesterday.

I think the problem is in the latest KVM updates. Link: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=10dc3747661bea9215417b659449bb7b8ed3df2c

Cheers,

Christian

maintainer
#1 lore raw
Quoted 13 lines · Christian Zigotzky

I downloaded the latest Git version of the Linux kernel today. Unfortunately I wasn't able to compile the kvm-pr kernel module today.

Error messages:

Building modules, stage 2.
MODPOST 29 modules
ERROR: ".kvmppc_h_put_tce" [arch/powerpc/kvm/kvm-pr.ko] undefined!
ERROR: ".kvmppc_h_stuff_tce" [arch/powerpc/kvm/kvm-pr.ko] undefined! make[1]: *** [__modpost] Fehler 1
make: *** [modules] Fehler 2

Quoted 6 lines

Yesterday, I tested the latest Git version of the Linux kernel too. I was able to compile the kvm-pr kernel module yesterday. After that I successfully tested it with Mac-on-Linux and Mac OS X Tiger yesterday.

I think the problem is in the latest KVM updates. Link:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?iddc3747661bea9215417b659449bb7b8ed3df2c

Paul and Alexey, can you take a look? I guess I can figure it out, but let's use the timezone difference to our advantage for once. :)

Paolo

#2 lore raw
Quoted 20 lines · Paolo Bonzini
Quoted 17 lines · Christian Zigotzky

I downloaded the latest Git version of the Linux kernel today. Unfortunately I wasn't able to compile the kvm-pr kernel module today.

Error messages:

Building modules, stage 2.
MODPOST 29 modules
ERROR: ".kvmppc_h_put_tce" [arch/powerpc/kvm/kvm-pr.ko] undefined!
ERROR: ".kvmppc_h_stuff_tce" [arch/powerpc/kvm/kvm-pr.ko] undefined! make[1]: *** [__modpost] Fehler 1
make: *** [modules] Fehler 2

Yesterday, I tested the latest Git version of the Linux kernel too. I was able to compile the kvm-pr kernel module yesterday. After that I successfully tested it with Mac-on-Linux and Mac OS X Tiger yesterday.

Quoted 5 lines
Quoted 2 lines

I think the problem is in the latest KVM updates. Link:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?iddc3747661bea9215417b659449bb7b8ed3df2c

Paul and Alexey, can you take a look? I guess I can figure it out, but let's use the timezone difference to our advantage for once. :)

The missing handlers are only compiled when HV KVM is enabled, I made this change in the very last respin of my patchset after a comment that having duplicated code is bad and this happened right before it was pulled to Paul's tree. My bad, apologies... I'll post a fix soon.

Signature · 1 line
Alexey