strange error loading kvm module on latest FC6 kernel
Hi
updated to latest FC6 kernel yesterday ie 2.6.19-1.2911.6.5.fc6
compiled kvm-15 from sourceforge this morning
chose the unpatched kernel instructions [ was this the right choice ?] configure, make, make install all went fine (some warnings here and there)
modprobe kvm-intel gave a bunch of errors in dmesg the first of which
was: SELinux: initialized (dev kvmfs, type kvmfs), not configured for labeling
so I disabled SELinux
modprobe kvm-intel still gave a bunch of errors in dmesg:
kvm_intel: Unknown symbol gfn_to_memslotkvm_intel: Unknown symbol set_cr3kvm_intel: Unknown symbol segment_basekvm_intel: Unknown symbol kvm_get_msr_commonkvm_intel: Unknown symbol kvm_mmu_free_some_pageskvm_intel: Unknown symbol load_msrskvm_intel: Unknown symbol kvm_write_guestkvm_intel: Unknown symbol kvm_exit_archkvm_intel: Unknown symbol emulate_instructionkvm_intel: Unknown symbol fx_initkvm_intel: Unknown symbol set_cr4kvm_intel: Unknown symbol lmswkvm_intel: Unknown symbol kvm_hypercallkvm_intel: Unknown symbol kvm_init_archkvm_intel: Unknown symbol set_cr0kvm_intel: Unknown symbol kvm_statkvm_intel: Unknown symbol set_cr8kvm_intel: Unknown symbol kvm_read_guestkvm_intel: Unknown symbol kvm_set_msr_commonkvm_intel: Unknown symbol save_msrskvm_intel: Unknown symbol kvm_resched
which I figure is due to the stderr/stdout error:
# modprobe kvm FATAL: Error inserting kvm (/lib/modules/2.6.19-1.2911.6.5.fc6/extra/kvm.ko): Success
What should I try next ?
Cheers
-Greg
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): 1173241719.4317.5.camel-nqhUBgQlnDodtexkPab+ZEgmxNRb6L7S@public.gmane.org
Quoted 11 lines · Greg M Lee
Hi
updated to latest FC6 kernel yesterday ie 2.6.19-1.2911.6.5.fc6
compiled kvm-15 from sourceforge this morning
chose the unpatched kernel instructions [ was this the right choice ?] configure, make, make install all went fine (some warnings here and there)
modprobe kvm-intel gave a bunch of errors in dmesg the first of which
was: SELinux: initialized (dev kvmfs, type kvmfs), not configured for labeling
Ouch. Anybody here know how to deal with that?
Quoted 5 lines
so I disabled SELinux
modprobe kvm-intel still gave a bunch of errors in dmesg:
kvm_intel: Unknown symbolgfn_to_memslot
Try with the attached patch. Unfortunately you also have to reboot.
Signature · 1 line
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
commit c1a8557e1da6e7d8bf8f77cb1b47c077f5c2a67d
Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/[email protected]> Date: Mon Feb 26 16:29:43 2007 +0200
KVM: Fix bogus failure in kvm.ko module initialization
A bogus 'return r' can cause an otherwise successful module load to fail. This both denies users the use of kvm, and it also denies them the use of their machine, as it leaves a filesystem registered with its callbacks pointing into now-freed module memory.
Fix by returning a zero like a good module.
Thanks to Richard Lucassen <mailinglists-+AO6ZX++/[email protected]> (?) for reporting the problem and for providing access to a machine which exhibited it.
drivers/kvm/kvm_main.c +1 -1
@@ -2540,7 +2540,7 @@ static __init int kvm_init(void) bad_page_address =page_to_pfn (bad_page) <<PAGE_SHIFT ;memset (__va (bad_page_address),0 ,PAGE_SIZE ); -return r; +return 0 ; out:kvm_exit_debug ();
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
A message that is not in the archive (sent off-list or not yet received): 45EE62F6.3060300-atKUWr5tajBWk0Htik3J/[email protected]
Hi
thanks for that. It fixed that problem, but now I get:
# modprobe kvm-intel FATAL: Error inserting kvm_intel (/lib/modules/2.6.19-1.2911.6.5.fc6/extra/kvm-intel.ko): Operation not supported
and dmesg has:
kvm: disabled by bios
I have a Compaq nw8440 which I ordered with the thought of installing Xen (unfortunately I found Xen 3.0 too "clunky"). I went into ROM BIOS and couldn't find any related option, the nearest being: Core Duo:
enabled/disabled. So I guess that I am out of luck :-(
Late news - found a bios update that claims that it adds an option to enable VT. will try tomorrow and report back.
-Greg
Quoted 15 lines · Avi Kivity
Quoted 11 lines · Greg M Lee
Hi
updated to latest FC6 kernel yesterday ie 2.6.19-1.2911.6.5.fc6
compiled kvm-15 from sourceforge this morning
chose the unpatched kernel instructions [ was this the right choice ?] configure, make, make install all went fine (some warnings here and there)
modprobe kvm-intel gave a bunch of errors in dmesg the first of which
was: SELinux: initialized (dev kvmfs, type kvmfs), not configured for labelingOuch. Anybody here know how to deal with that?
Quoted 8 lines
Quoted 5 lines
so I disabled SELinux
modprobe kvm-intel still gave a bunch of errors in dmesg:
kvm_intel: Unknown symbolgfn_to_memslotTry with the attached patch. Unfortunately you also have to reboot.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 13 lines · Avi Kivity
Quoted 11 lines · Greg M Lee
Hi
updated to latest FC6 kernel yesterday ie 2.6.19-1.2911.6.5.fc6
compiled kvm-15 from sourceforge this morning
chose the unpatched kernel instructions [ was this the right choice ?] configure, make, make install all went fine (some warnings here and there)
modprobe kvm-intel gave a bunch of errors in dmesg the first of which
was: SELinux: initialized (dev kvmfs, type kvmfs), not configured for labeling
Quoted 1 line
Ouch. Anybody here know how to deal with that?
It's not an error, SELinux just doesn't know about this type of fs, and there's no configuration for the mount point. Looks like the SELinux policy package needs to be updated. (Note that this has nothing to do with the errors encountered).
Quoted 10 lines
Quoted 6 lines
so I disabled SELinux
modprobe kvm-intel still gave a bunch of errors in dmesg:
kvm_intel: Unknown symbolgfn_to_memslotTry with the attached patch. Unfortunately you also have to reboot.
Signature · 8 lines
James Morris <jmorris-gx6/[email protected]> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 17 lines · James Morris
Quoted 14 lines · Avi Kivity
Quoted 12 lines · Greg M Lee
Hi
updated to latest FC6 kernel yesterday ie 2.6.19-1.2911.6.5.fc6
compiled kvm-15 from sourceforge this morning
chose the unpatched kernel instructions [ was this the right choice ?] configure, make, make install all went fine (some warnings here and there)
modprobe kvm-intel gave a bunch of errors in dmesg the first of which
was: SELinux: initialized (dev kvmfs, type kvmfs), not configured for labeling
Quoted 22 lines
Quoted 2 lines
Ouch. Anybody here know how to deal with that?
It's not an error, SELinux just doesn't know about this type of fs, and there's no configuration for the mount point. Looks like the SELinux policy package needs to be updated. (Note that this has nothing to do with the errors encountered).
Quoted 10 lines
Quoted 6 lines
so I disabled SELinux
modprobe kvm-intel still gave a bunch of errors in dmesg:
kvm_intel: Unknown symbolgfn_to_memslotTry with the attached patch. Unfortunately you also have to reboot.
I will add this fs to policy.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 1173361148.10467.30.camel-/[email protected]
Quoted 7 lines · Stephen Smalley
Quoted 2 lines
I will add this fs to policy.
What are the protection requirements for it? What should be allowed to access it?
It's unmountable, so no one outside the kernel should be able to access it.
Within the kernel, if you have access to the /dev/kvm inode, you should be able to access it.
2.6.22 may have an anonymous inode internal filesystem, which will supercede kvmfs (and eventpollfs and friends)
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Quoted 49 lines · Stephen Smalley
Quoted 47 lines · Daniel J Walsh
Quoted 45 lines · James Morris
Quoted 16 lines · Avi Kivity
Quoted 13 lines · Greg M Lee
Hi
updated to latest FC6 kernel yesterday ie 2.6.19-1.2911.6.5.fc6
compiled kvm-15 from sourceforge this morning
chose the unpatched kernel instructions [ was this the right choice ?] configure, make, make install all went fine (some warnings here and there)
modprobe kvm-intel gave a bunch of errors in dmesg the first of which
was: SELinux: initialized (dev kvmfs, type kvmfs), not configured for labelingQuoted 3 lines
Ouch. Anybody here know how to deal with that?
It's not an error, SELinux just doesn't know about this type of fs, and there's no configuration for the mount point. Looks like the SELinux policy package needs to be updated. (Note that this has nothing to do with the errors encountered).
Quoted 12 lines
Quoted 7 lines
so I disabled SELinux
modprobe kvm-intel still gave a bunch of errors in dmesg:
kvm_intel: Unknown symbolgfn_to_memslotTry with the attached patch. Unfortunately you also have to reboot.
Quoted 7 lines
Quoted 2 lines
I will add this fs to policy.
What are the protection requirements for it? What should be allowed to access it?
I have no clue, Just adding it as a fs_type. Just like debugfs_t.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV