Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246322 - <=app-emulation/kvm-75 - images dosn't boot without the option "-no-kvm"
Summary: <=app-emulation/kvm-75 - images dosn't boot without the option "-no-kvm"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
: 246954 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-10 19:34 UTC by Michael Mair-Keimberger
Modified: 2008-12-05 20:13 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel config (kernel.config,43.85 KB, text/plain)
2008-11-10 19:35 UTC, Michael Mair-Keimberger
Details
emerge --info (emerge.txt,3.34 KB, text/plain)
2008-11-10 19:36 UTC, Michael Mair-Keimberger
Details
2.6.25 kernel patch (fix-halt.patch,1.02 KB, patch)
2008-11-11 22:47 UTC, Cory
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mair-Keimberger 2008-11-10 19:34:46 UTC
All Versions greater kvm-74 doesn't work properly. I've tested all Versions after kvm-74, but no one work's. kvm always hangs on the bios screen. I'll never saw the grub bootloader except i started the image with the option "-no-kvm"
Only kvm-74 works well.
(But this version is deleted since a few days)



Reproducible: Always

Steps to Reproduce:
1. emerge kvm (app-emulation/kvm-74  USE="alsa gnutls modules ncurses sdl -esd -havekernel -pulseaudio -test -vde" 0 kB)
2. start a image simple by #kvm image
3.

Actual Results:  
Image doesn't boot up.

Expected Results:  
Image should boot up without the option "-no-kvm"

Please re-submit app-emulation/kvm-74 to the portage tree as long the other version doesn't work.


uname -a:
Linux asterix 2.6.25-gentoo-r8 #1 SMP PREEMPT Wed Nov 5 10:23:36 CET 2008 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux

Additional Info:
emerge --info
.config
Comment 1 Michael Mair-Keimberger 2008-11-10 19:35:46 UTC
Created attachment 171339 [details]
kernel config
Comment 2 Michael Mair-Keimberger 2008-11-10 19:36:01 UTC
Created attachment 171341 [details]
emerge --info
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-11-11 19:00:22 UTC
Are you using the kernel modules that came with your kernel (possibly compiled in) or are you using the ones installed by kvm?
Comment 4 Cory 2008-11-11 22:47:42 UTC
Created attachment 171472 [details, diff]
2.6.25 kernel patch

This problem is caused not by userspace, but by the kernel modules.

See here for history
http://kerneltrap.org/mailarchive/linux-kvm/2008/11/5/3926664/thread

Kernel patch for 2.6.25 attached. Already fixed in 2.6.26-1.

I would really like to see this in 2.6.25, especially until 2.6.26+ is marked stable.
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-11-12 15:57:47 UTC
Or you can just use the kernel modules that come with kvm.

Feel free to ask the kernel guys, but I think it's very unlikely you'll get this into 2.6.25; kvm is a ~arch app, and it's not unreasonable that it needs a ~arch kernel.  You should probalby just bit the bullet and upgrade your kernel.

@kernel: what do you think?
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-11-17 13:32:49 UTC
*** Bug 246954 has been marked as a duplicate of this bug. ***
Comment 7 Michael Mair-Keimberger 2008-11-17 15:19:36 UTC
Hi and sorry for the late answer.

Today i tested the 26-r2 kernel and tried also to patch my 25-r9 kernel with Cory's patch. Both worked well.
To have a patch in the 25er would be very nice, but in my case its not that important. Now i will run a 26-r2 kernel and hope this one get stable as soon as possible. ;) (see: #245638)
But i think this bug shouldn't be closed as long as 26-r2 (or a newer, who nows ;) ) doesn't get stable to inform other people about this problem.
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-11-17 16:57:00 UTC
I guess I don't care a whole lot about closing the bug, but keep in mind that there's no guarantee that kvm will not depend on ~arch packages.  It is, itself, ~arch, and I only test it on ~arch boxes, so such deps might happend and not get caught.
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2008-11-17 23:37:45 UTC
agreed, kernel will just focus on getting 2.6.26 stable ASAP (then move onto 2.6.27)
Comment 10 jieryn 2008-12-05 19:09:45 UTC
/usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.6.26-r3.ebuild:KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"

That should be good enough, the two main arches are stable. Can we close this?
Comment 11 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-12-05 20:13:30 UTC
The two only arches (for kvm) are stable...  Closing, thanks.