Summary: | load/runtime issues with kvm-amd on kernels >=2.6.22 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marius Mauch (RETIRED) <genone> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | nelson.batalha |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugzilla.kernel.org/show_bug.cgi?id=8894 | ||
Whiteboard: | watch-linux-bugzilla | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
stacktrace of `modprobe kvm-amd` on gentoo-sources-2.6.22-r2
.config of gentoo-sources-2.6.22-r2 KVM: SVM: Reliably detect if SVM was disabled by BIOS Stacktrace with a bit more information .config of vanilla.sources-2.6.23_rc2 |
Description
Marius Mauch (RETIRED)
2007-08-05 14:03:23 UTC
Created attachment 126942 [details]
stacktrace of `modprobe kvm-amd` on gentoo-sources-2.6.22-r2
Created attachment 126943 [details]
.config of gentoo-sources-2.6.22-r2
stacktrace was from the same kernel, except that kvm-intel and kvm-amd were compiled as modules.
Let me know if you need any more information or want me test anything specific. Have you checked the 2.6.23-rc2/1 changelog? http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.23-rc2 It fixes many bugs related to kvm, should be one of them. If so, I take from [1] that you'll have to wait for the gentoo-sources 2.6.23, since it's clearly a vanilla problem and was fixed, but better leave this open untill it comes out. Thanks for submitting [1] http://www.gentoo.org/proj/en/kernel/maintenance.xml Here's some information I found that might be related. Discussion on mailing list which appears to be about the issue: http://www.mail-archive.com/kvm-devel@lists.sourceforge.net/msg03959.html Patch post to Mailing List for above http://www.uwsg.iu.edu/hypermail/linux/kernel/0706.2/2447.html Commit of above patch 6031a61c2ef4cf22b69ef5494aefa54b84a27d2f I was able to apply the commit patch I will attach to gentoo-sources-2.6.22-r2 and compile using your .config but I don't have the hardware to test. Would you be to apply the patch and test? Created attachment 126962 [details, diff]
KVM: SVM: Reliably detect if SVM was disabled by BIOS
Sorry for the bugspam, it might be helpful to have CONFIG_DEBUG_KERNEL set if the failure repeats itself. Nelson: if bugs are fixed upstream in development kernels, we'll usually attempt to backport the fix. Waiting for the next kernel release is somewhat a last resort... (In reply to comment #8) Thanks, could you add that to the guide? Like, what qualifies for a patch or not. I just deduced this from: >(...)deviate away from the upstream kernel releases as little as possible: we aim >to make genpatches as small as possible. The less patches we have to >handle/backport/forwardport, the less work we have on our hands. (In reply to comment #5) > I was able to apply the commit patch I will attach to gentoo-sources-2.6.22-r2 > and compile using your .config but I don't have the hardware to test. > > Would you be to apply the patch and test? Thanks, but that patch didn't change anything (also kvm used to work on this system with 2.6.19, so I doubt that it's BIOS related). And thanks for the pointer to CONFIG_DEBUG_KERNEL, that made the trace a bit more useful. Created attachment 126967 [details]
Stacktrace with a bit more information
Please post your 2.6.23 .config Created attachment 127037 [details]
.config of vanilla.sources-2.6.23_rc2
ok, to sum up, there's two things here. Getting an oops when building as a module and then the cpu usage error. Speaking with dsd, since the CPU usage also exists in the development kernel, he would like you to report the cpu usage error upstream and then copy the URL on this bug. It does appear the module error was fixed in 2.6.23 and we would like to backport that fix. We would appreciate if you could test a forthcoming patch for that. This has been reported as http://bugzilla.kernel.org/show_bug.cgi?id=8894 Thanks, will watch upstream bug |