From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: Unable to unload kvm-intel module Date: Sun, 19 Jun 2011 11:06:02 +0200 Message-ID: <4DFDBBFA.7080303@web.de> References: <4DF4DCBC.609@redhat.com> <4DF71C95.7080406@redhat.com> <4DF7BF21.1050500@web.de> <4DF85345.5000907@web.de> <4DFAFFE0.10204@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig44920B44A4719B412C5EB440" Cc: Avi Kivity , kvm@vger.kernel.org To: AP Return-path: Received: from fmmailgate02.web.de ([217.72.192.227]:56978 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752422Ab1FSJGL (ORCPT ); Sun, 19 Jun 2011 05:06:11 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig44920B44A4719B412C5EB440 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2011-06-17 20:04, AP wrote: > I tired that and it did not give me any warning. Here is the compilatio= n output: >=20 > make -C /lib/modules/2.6.38-8-generic/build M=3D`pwd` \ > LINUXINCLUDE=3D"-I`pwd`/include -Iinclude \ > -Iarch/x86/include \ > -I`pwd`/include-compat -I`pwd`/x86 \ > -include include/generated/autoconf.h \ > -include `pwd`/x86/external-module-compat.h" \ > "$@" > make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic' > CC [M] /home/ap/dev/kvm/kvm-kmod/x86/vmx.o > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm.o > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-intel.o > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-amd.o > Building modules, stage 2. > MODPOST 3 modules > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-amd.ko > CC /home/ap/dev/kvm/kvm-kmod/x86/kvm-intel.mod.o > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-intel.ko > LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm.ko > make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic' Do you install the built modules and then do a modprobe, or how do you load them? Also try via insmod /home/ap/dev/kvm/kvm-kmod/x86/kvm.ko I don't know. Something must be broken with your Ubuntu installation. >=20 > My other question is that I see "module_init(vmx_init)" and > "module_exit(vmx_exit)" but nothing similar for kvm. Is that ok? Yes, kvm.ko is just a library to kvm-intel/amd.ko. Those modules drive init and cleanup. Jan --------------enig44920B44A4719B412C5EB440 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk39u/oACgkQitSsb3rl5xTU4QCgmIGBJuPxHPo8MojpVrgpYSi4 7j0AoKPsm5VW67NXfolQaSh3pYHqcI8J =jGnW -----END PGP SIGNATURE----- --------------enig44920B44A4719B412C5EB440--