Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-07-2010, 11:09 PM
|
#1
|
Member
Registered: Dec 2006
Posts: 271
Rep:
|
Problems running Slackware/Slackware64 13.0 in Qemu 0.12.1
This is what I get when I try to run Slackware 13.0 either x86 or x64: http://bit.ly/bwtAOQ
This is the version I'm running:
Code:
QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard
The system/setup I'm running it on:
Code:
Linux tpx200 2.6.32 #2 SMP PREEMPT Mon Dec 28 15:10:18 CST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
Any ideas, folks?
Last edited by alkos333; 02-07-2010 at 11:10 PM.
|
|
|
02-08-2010, 07:54 AM
|
#2
|
Member
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 933
|
I can't duplicate the errors. What is your qemu-kvm start command?
|
|
|
02-08-2010, 09:54 AM
|
#3
|
Member
Registered: Dec 2006
Posts: 271
Original Poster
Rep:
|
Code:
qemu-system-x86_64 -enable-kvm -cpu core2duo -m 512 -hda ~/testing/vm/slack-13.0.raw -cdrom slackware-13.0-install-d1.iso -boot d
That's the command I'm using. I forgot to mention that it does get to the prompt, but after I hit ENTER in, ot starts loading the kernel and then hangs with that output.
|
|
|
02-08-2010, 10:59 AM
|
#4
|
Member
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 933
|
Sorry I missed your start command on the screen image link.
You don't need the "-enable-kvm" option since qemu-kvm checks if the kvm modules are loaded by default. Unless you have a reason to override the default cpu detection you don't need the "-cpu core2duo" option either.
Did you load the kvm modules first? "modprobe kvm-intel" loads both the kvm-intel and kvm modules. Are you booting with a generic or huge kernel in the VM? If the generic kernel have you setup the initrd in the VM?
|
|
|
02-08-2010, 03:26 PM
|
#5
|
Member
Registered: Dec 2006
Posts: 271
Original Poster
Rep:
|
I got rid of the -enable-kvm and -cpu flag and that didn't really change anything.
I run modprobe kvm-intel prior to launching qemu. And for Slack guest, I run the huge kernel.
|
|
|
02-08-2010, 03:31 PM
|
#6
|
Senior Member
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
|
I missed qemu-kvm 12.1, but did use 12.0 and 12.2, each of which run fine on various Intel and AMD systems with Kernel 2.6.24 - 2.6.32.7.
More importantly, did you ever get qemu-kvm to work properly? And what changed between then and now.
|
|
|
02-09-2010, 07:50 AM
|
#7
|
Member
Registered: Dec 2006
Posts: 271
Original Poster
Rep:
|
When I still had ThinkPad T60, I ran kvm and it ran flawlessly. It booted everything fine and would even allow me to hibernate while a VM was running.
Once somebody broke my T60, I purchased a ThinkPad x200 with the following processor:
Code:
root@tpx200:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
stepping : 10
cpu MHz : 800.000
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida tpr_shadow vnmi flexpriority
bogomips : 4789.53
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
stepping : 10
cpu MHz : 800.000
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida tpr_shadow vnmi flexpriority
bogomips : 4789.49
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
At the same time, I also started using qemu-kvm instead of just kvm. Things have been haywire ever since. I couldn't hibernate while a VM was running and just recently I've discovered I can't run any of Slackware 13.0 whether it's 32-bit or 64-bit.
This is frustrating.
|
|
|
02-10-2010, 04:54 PM
|
#8
|
Member
Registered: Dec 2006
Posts: 271
Original Poster
Rep:
|
Just tried Just updated to 0.12.2 - same problem.
|
|
|
02-10-2010, 06:20 PM
|
#9
|
Member
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 933
|
Why don't you try to install the kvm-kmod slackbuild and see if that helps. It builds more recent kvm modules and leaves the release installed kvm modules alone. If that doesn't work and you choose to uninstall kvm-kmod I think you need to run "depmod -a" to reactivate the release installed kvm modules.
|
|
|
02-12-2010, 11:29 AM
|
#10
|
Member
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 790
|
.raw file | KVM group
Since it seems you are now trying to install a new virtual machine
have you already created the .raw file?
have you created the kvm group and added your user to it?
pretty basic but it pays to check all
john
|
|
|
02-17-2010, 08:24 PM
|
#11
|
Member
Registered: Dec 2006
Posts: 271
Original Poster
Rep:
|
Quote:
Originally Posted by Chuck56
Why don't you try to install the kvm-kmod slackbuild and see if that helps. It builds more recent kvm modules and leaves the release installed kvm modules alone. If that doesn't work and you choose to uninstall kvm-kmod I think you need to run "depmod -a" to reactivate the release installed kvm modules.
|
Tried, this didn't work.
|
|
|
02-17-2010, 08:27 PM
|
#12
|
Member
Registered: Dec 2006
Posts: 271
Original Poster
Rep:
|
Quote:
Originally Posted by AlleyTrotter
Since it seems you are now trying to install a new virtual machine
have you already created the .raw file?
have you created the kvm group and added your user to it?
pretty basic but it pays to check all
john
|
Yes, I've created an image like so:
Code:
qemu-system-x86_64 -f raw slack-13.0.raw 10G
As for the group, I have created the group and added myself to it as well.
|
|
|
02-17-2010, 09:04 PM
|
#13
|
Member
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 933
|
Quote:
Originally Posted by alkos333
Yes, I've created an image like so:
Code:
qemu-system-x86_64 -f raw slack-13.0.raw 10G
As for the group, I have created the group and added myself to it as well.
|
Huh! That's different. I create my images like this:
Code:
qemu-img create -f raw slack-13.0.raw 10G
|
|
|
02-18-2010, 08:55 AM
|
#14
|
Member
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 790
|
[QUOTE=alkos333;3867576]Yes, I've created an image like so:
Code:
qemu-system-x86_64 -f raw slack-13.0.raw 10G
when i do "qemu-system-x86_64 --help"
there is no -f option listed
maybe try Chuck56's method to create the .raw file
john
|
|
|
02-21-2010, 01:48 PM
|
#15
|
Member
Registered: Dec 2006
Posts: 271
Original Poster
Rep:
|
[QUOTE=AlleyTrotter;3868150]
Quote:
Originally Posted by alkos333
Yes, I've created an image like so:
Code:
qemu-system-x86_64 -f raw slack-13.0.raw 10G
when i do "qemu-system-x86_64 --help"
there is no -f option listed
maybe try Chuck56's method to create the .raw file
john
|
Yes, well I'm using qemu-img for image creation, not qemu-system-x86_64. That's only for running the guest. Very sorry for the confusion earlier.
Last edited by alkos333; 02-21-2010 at 08:30 PM.
|
|
|
All times are GMT -5. The time now is 05:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|