Skip to contentSkip to conversation

Mac-On-Linux / KVM

DISCUSSION Martin Kukac 3 participants 4 messages Nov 22, 2014 – Nov 23, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

I'm new here, so I hope my question is not offtopic. I found out that M-o-L now works with KVM-PR, so I wanted to try it myself. I have PowerMac G5 (dual 970 CPU), Debian Wheezy and kernel 3.14.24 with kvm-pr. When I load the module and try to start M-o-L 0.9.73 build from SVN all I have is error message:

kvm_enable_cap failed
KVM init failed

Googling brought me to nothing, the only advice I found is about permissions, but I'm running M-o-L as root.

Can anyone help me, please?

Thanks,
Martin

#1 lore raw

Hello Martin,

Do you load the kernel module "PR" KVM with "modprobe kvm-pr"? By the way, MoL/"PR" KVM needs the kernel 3.17 or higher.

Rgds,

Christian

Quoted 23 lines · you

Hello,

I'm new here, so I hope my question is not offtopic. I found out that M-o-L now works with KVM-PR, so I wanted to try it myself. I have PowerMac G5 (dual 970 CPU), Debian Wheezy and kernel 3.14.24 with kvm-pr. When I load the module and try to start M-o-L 0.9.73 build from SVN all I have is error message:

kvm_enable_cap failed
KVM init failed

Googling brought me to nothing, the only advice I found is about permissions, but I'm running M-o-L as root.

Can anyone help me, please?

Thanks,
Martin

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Martin Kukac

Thanks for reply. Yes, module kvm-pr is loaded by modprobe, so that should not be the problem.
However if kernel version is the problem, I will build more recent. It's a bit surprising though, when the module is present in that kernel version.

Martin

Quoted 33 lines · "[email protected]" <[email protected]> wrote:

Hello Martin,

Do you load the kernel module "PR" KVM with "modprobe kvm-pr"? By the way, MoL/"PR" KVM needs the kernel 3.17 or higher.

Rgds,

Christian

Quoted 23 lines · you

Hello,

I'm new here, so I hope my question is not offtopic. I found out that M-o-L now works with KVM-PR, so I wanted to try it myself. I have PowerMac G5 (dual 970 CPU), Debian Wheezy and kernel 3.14.24 with kvm-pr. When I load the module and try to start M-o-L 0.9.73 build from SVN all I have is error message:

kvm_enable_cap failed
KVM init failed

Googling brought me to nothing, the only advice I found is about permissions, but I'm running M-o-L as root.

Can anyone help me, please?

Thanks,
Martin

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Martin Kukac
Quoted 2 lines · Martin Kukac

Thanks for reply. Yes, module kvm-pr is loaded by modprobe, so that should not be the problem.

Interesting. With MOL, 3.14 should already work IIRC. You only need 3.17 and above if you want to run Mac OS X in QEMU with KVM.

Quoted 2 lines

However if kernel version is the problem, I will build more recent. It's a bit surprising though, when the module is present in that kernel version.

You say you're running on a G5 - is your mac-on-linux binary compiled for ppc32 or ppc64? Mac-on-Linux is incredibly not 64bit safe, so it won't work as 64bit binary.

Alex

PS: Please don't top post on this mailing list :)