Ok, I tried creating some fresh images using virt-manager. I'm not
having much luck. I try creating a f7 and f9 vm. On both installs the
installer runs slow. Much slower than equivalent vm in vmware under
F7. Also both installs get stuck at prompt to initialize /dev/sda.
When you answer 'yes' it takes almost 10 minutes for a prompt to come
back and say it had some error and retry,ignore,cancel. I'm wondering
if the speed issue is related to this being a quad-core machine?
Regards,
Gerry
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-08-2008, 11:24 AM
"Richard W.M. Jones"
F9 and KVM
On Thu, May 08, 2008 at 02:22:51AM -0400, Gerry Reno wrote:
> Ok, I tried creating some fresh images using virt-manager. I'm not having
> much luck. I try creating a f7 and f9 vm. On both installs the installer
> runs slow. Much slower than equivalent vm in vmware under F7. Also both
> installs get stuck at prompt to initialize /dev/sda. When you answer 'yes'
> it takes almost 10 minutes for a prompt to come back and say it had some
> error and retry,ignore,cancel. I'm wondering if the speed issue is
> related to this being a quad-core machine?
It's more likely down to your hardware either not supporting hardware
virtualization, or supporting it really badly. Is the kvm-intel or
kvm-amd module loaded into the kernel? Did 'dmesg' say anything when
it was loaded? What is in /proc/cpuinfo flags?
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-08-2008, 02:47 PM
Gerry Reno
F9 and KVM
Richard W.M. Jones wrote:
On Thu, May 08, 2008 at 02:22:51AM -0400, Gerry Reno wrote:
Ok, I tried creating some fresh images using virt-manager. I'm not having
much luck. I try creating a f7 and f9 vm. On both installs the installer
runs slow. Much slower than equivalent vm in vmware under F7. Also both
installs get stuck at prompt to initialize /dev/sda. When you answer 'yes'
it takes almost 10 minutes for a prompt to come back and say it had some
error and retry,ignore,cancel. I'm wondering if the speed issue is
related to this being a quad-core machine?
It's more likely down to your hardware either not supporting hardware
virtualization, or supporting it really badly. Is the kvm-intel or
kvm-amd module loaded into the kernel? Did 'dmesg' say anything when
it was loaded? What is in /proc/cpuinfo flags?
Rich.
Rich,
* The hardware appears to support hardware virtualization:
I see no messages in dmesg about any problem related to kvm.* The cpu
speed looks to be half in /proc/cpuinfo as compared with dmesg.* That's
a little strange.
Regards,
Gerry
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-08-2008, 02:57 PM
"Mark Bidewell"
F9 and KVM
2008/5/8 Gerry Reno <greno@verizon.net>:
Richard W.M. Jones wrote:
On Thu, May 08, 2008 at 02:22:51AM -0400, Gerry Reno wrote:
Ok, I tried creating some fresh images using virt-manager. I'm not having
much luck. I try creating a f7 and f9 vm. On both installs the installer
runs slow. Much slower than equivalent vm in vmware under F7. Also both
installs get stuck at prompt to initialize /dev/sda. When you answer 'yes'
it takes almost 10 minutes for a prompt to come back and say it had some
error and retry,ignore,cancel. I'm wondering if the speed issue is
related to this being a quad-core machine?
It's more likely down to your hardware either not supporting hardware
virtualization, or supporting it really badly. Is the kvm-intel or
kvm-amd module loaded into the kernel? Did 'dmesg' say anything when
it was loaded? What is in /proc/cpuinfo flags?
Rich.
Rich,
* The hardware appears to support hardware virtualization:
I see no messages in dmesg about any problem related to kvm.* The cpu
speed looks to be half in /proc/cpuinfo as compared with dmesg.* That's
a little strange.
Check your BIOS.* some mainboards ship with HW virtualization disabled.
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-08-2008, 03:32 PM
Gerry Reno
F9 and KVM
Mark Bidewell wrote:
Check your BIOS. some mainboards ship with HW virtualization disabled.
That's only on Intel boards. This is an AMD board.
Regards,
Gerry
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-08-2008, 03:51 PM
"Richard W.M. Jones"
F9 and KVM
On Thu, May 08, 2008 at 10:47:38AM -0400, Gerry Reno wrote:
> # dmesg | grep -i kvm
> #
Yeah, I was a bit confused here. KVM used to print a kernel message
when it was loaded, but I've noticed that the latest version doesn't.
Is the kvm module loaded? eg. on my Intel system:
As for why it's slow ... Try a single virtual CPU to start with, since
support for SMP guests in KVM is pretty new (less than 8 months old
IIRC).
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-08-2008, 04:42 PM
Gerry Reno
F9 and KVM
Richard W.M. Jones wrote:
On Thu, May 08, 2008 at 10:47:38AM -0400, Gerry Reno wrote:
# dmesg | grep -i kvm
#
Yeah, I was a bit confused here. KVM used to print a kernel message
when it was loaded, but I've noticed that the latest version doesn't.
Is the kvm module loaded? eg. on my Intel system:
As for why it's slow ... Try a single virtual CPU to start with, since
support for SMP guests in KVM is pretty new (less than 8 months old
IIRC).
Rich.
Here's what I found so far:
* In BIOS there is a setting "AMD Cool n Quiet".* I thought this was
some type of fan thing.* It is not.* It controls the cpu speed.* So I
disable this and now dmesg and /proc/cpuinfo both show same at 2510
MHz.* And I try creating a new F9 VM with 1 VCPU.* The install now
seems to run at a normal speed but still I cannot get F9 to install in
VM.* It says partition table on /dev/sda is unreadable and it needs to
initialize.* So I say yes and it sits there for about 10 mins until it
give you an error (i/o error on device) retry,ignore,cancel.* No choice
helps.* So I try with F7 as well and same thing, it cannot initialize
the virtual drive (mine is file-based).
Regards,
Gerry
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-08-2008, 05:37 PM
Gerry Reno
F9 and KVM
Gerry Reno wrote:
Here's what I found so far:
* In BIOS there is a setting "AMD Cool n Quiet".* I thought this was
some type of fan thing.* It is not.* It controls the cpu speed.* So I
disable this and now dmesg and /proc/cpuinfo both show same at 2510
MHz.* And I try creating a new F9 VM with 1 VCPU.* The install now
seems to run at a normal speed but still I cannot get F9 to install in
VM.* It says partition table on /dev/sda is unreadable and it needs to
initialize.* So I say yes and it sits there for about 10 mins until it
give you an error (i/o error on device) retry,ignore,cancel.* No choice
helps.* So I try with F7 as well and same thing, it cannot initialize
the virtual drive (mine is file-based).
I think SELinux is causing some problems with KVM:
I ran a fixfiles on all filesystems but still get the messages.
Regards,
Gerry
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-08-2008, 06:03 PM
"Tom London"
F9 and KVM
2008/5/8 Gerry Reno <greno@verizon.net>:
> Gerry Reno wrote:
>
> Here's what I found so far:
> In BIOS there is a setting "AMD Cool n Quiet". I thought this was some
> type of fan thing. It is not. It controls the cpu speed. So I disable
> this and now dmesg and /proc/cpuinfo both show same at 2510 MHz. And I try
> creating a new F9 VM with 1 VCPU. The install now seems to run at a normal
> speed but still I cannot get F9 to install in VM. It says partition table
> on /dev/sda is unreadable and it needs to initialize. So I say yes and it
> sits there for about 10 mins until it give you an error (i/o error on
> device) retry,ignore,cancel. No choice helps. So I try with F7 as well and
> same thing, it cannot initialize the virtual drive (mine is file-based).
>
>
> I think SELinux is causing some problems with KVM:
>
> log:
> May 7 18:29:54 grp-01-10-01 yum: Installed: kvm-65-1.fc9.i386
> May 7 23:00:14 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
> (qemu_t) "write" to ./MX_1-0.vmdk (var_t). For complete SELinux messages.
> run sealert -l c5d1da68-2969-4a93-843c-774a346e4705
> May 7 23:29:12 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
> (qemu_t) "write" to ./MX_1-0.vmdk (var_t). For complete SELinux messages.
> run sealert -l c5d1da68-2969-4a93-843c-774a346e4705
> May 8 12:20:56 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
> (qemu_t) "write" to ./MX_1-0.vmdk (var_t). For complete SELinux messages.
> run sealert -l e1adef63-a2c9-4e8e-a834-14cc9df77259
> May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 12:21:06 grp-01-10-01 kernel: kvm: 3997: cpu0 kvm_set_msr_common:
> MSR_IA32_MC0_STATUS 0x0, nop
> May 8 12:21:06 grp-01-10-01 kernel: kvm: 3997: cpu1 kvm_set_msr_common:
> MSR_IA32_MC0_STATUS 0x0, nop
> May 8 12:21:06 grp-01-10-01 kernel: kvm: 3997: cpu2 kvm_set_msr_common:
> MSR_IA32_MC0_STATUS 0x0, nop
> May 8 12:21:07 grp-01-10-01 kernel: kvm: 3997: cpu3 kvm_set_msr_common:
> MSR_IA32_MC0_STATUS 0x0, nop
> May 8 12:21:08 grp-01-10-01 kernel: kvm: emulating exchange as write
> May 8 12:26:20 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 12:26:20 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 12:26:20 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
> (qemu_t) "write" to ./TEST1.img (var_t). For complete SELinux messages. run
> sealert -l 15c2312c-dd5f-44fd-b2d1-b9fb90188284
> May 8 12:26:20 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
> (qemu_t) "write" to ./f9-preview-i386-dvd.iso (var_t). For complete SELinux
> messages. run sealert -l af4954a1-8379-403d-bc1b-ff6b1e0041df
> May 8 12:26:26 grp-01-10-01 kernel: kvm: 4075: cpu0 kvm_set_msr_common:
> MSR_IA32_MC0_STATUS 0x0, nop
> May 8 13:28:25 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 13:28:25 grp-01-10-01 kernel: kvm: guest NX capability removed
> May 8 13:28:25 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
> (qemu_t) "write" to ./TEST1.img (var_t). For complete SELinux messages. run
> sealert -l 15c2312c-dd5f-44fd-b2d1-b9fb90188284
> May 8 13:28:25 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
> (qemu_t) "write" to ./f9-preview-i386-dvd.iso (var_t). For complete SELinux
> messages. run sealert -l af4954a1-8379-403d-bc1b-ff6b1e0041df
> May 8 13:29:35 grp-01-10-01 kernel: kvm: 4353: cpu0 kvm_set_msr_common:
> MSR_IA32_MC0_STATUS 0x0, nop
>
>
> I ran a fixfiles on all filesystems but still get the messages.
>
>
> Regards,
> Gerry
>
Try the following: "chcon -t virt_image_t ./f9-preview-i386-dvd.iso"
before running qemu-kvm.
tom
--
Tom London
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-08-2008, 06:18 PM
Suren Karapetyan
F9 and KVM
Tom London wrote:
2008/5/8 Gerry Reno <greno@verizon.net>:
Gerry Reno wrote:
Here's what I found so far:
In BIOS there is a setting "AMD Cool n Quiet". I thought this was some
type of fan thing. It is not. It controls the cpu speed. So I disable
this and now dmesg and /proc/cpuinfo both show same at 2510 MHz. And I try
creating a new F9 VM with 1 VCPU. The install now seems to run at a normal
speed but still I cannot get F9 to install in VM. It says partition table
on /dev/sda is unreadable and it needs to initialize. So I say yes and it
sits there for about 10 mins until it give you an error (i/o error on
device) retry,ignore,cancel. No choice helps. So I try with F7 as well and
same thing, it cannot initialize the virtual drive (mine is file-based).
I think SELinux is causing some problems with KVM:
log:
May 7 18:29:54 grp-01-10-01 yum: Installed: kvm-65-1.fc9.i386
May 7 23:00:14 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
(qemu_t) "write" to ./MX_1-0.vmdk (var_t). For complete SELinux messages.
run sealert -l c5d1da68-2969-4a93-843c-774a346e4705
May 7 23:29:12 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
(qemu_t) "write" to ./MX_1-0.vmdk (var_t). For complete SELinux messages.
run sealert -l c5d1da68-2969-4a93-843c-774a346e4705
May 8 12:20:56 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
(qemu_t) "write" to ./MX_1-0.vmdk (var_t). For complete SELinux messages.
run sealert -l e1adef63-a2c9-4e8e-a834-14cc9df77259
May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 12:20:56 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 12:21:06 grp-01-10-01 kernel: kvm: 3997: cpu0 kvm_set_msr_common:
MSR_IA32_MC0_STATUS 0x0, nop
May 8 12:21:06 grp-01-10-01 kernel: kvm: 3997: cpu1 kvm_set_msr_common:
MSR_IA32_MC0_STATUS 0x0, nop
May 8 12:21:06 grp-01-10-01 kernel: kvm: 3997: cpu2 kvm_set_msr_common:
MSR_IA32_MC0_STATUS 0x0, nop
May 8 12:21:07 grp-01-10-01 kernel: kvm: 3997: cpu3 kvm_set_msr_common:
MSR_IA32_MC0_STATUS 0x0, nop
May 8 12:21:08 grp-01-10-01 kernel: kvm: emulating exchange as write
May 8 12:26:20 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 12:26:20 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 12:26:20 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
(qemu_t) "write" to ./TEST1.img (var_t). For complete SELinux messages. run
sealert -l 15c2312c-dd5f-44fd-b2d1-b9fb90188284
May 8 12:26:20 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
(qemu_t) "write" to ./f9-preview-i386-dvd.iso (var_t). For complete SELinux
messages. run sealert -l af4954a1-8379-403d-bc1b-ff6b1e0041df
May 8 12:26:26 grp-01-10-01 kernel: kvm: 4075: cpu0 kvm_set_msr_common:
MSR_IA32_MC0_STATUS 0x0, nop
May 8 13:28:25 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 13:28:25 grp-01-10-01 kernel: kvm: guest NX capability removed
May 8 13:28:25 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
(qemu_t) "write" to ./TEST1.img (var_t). For complete SELinux messages. run
sealert -l 15c2312c-dd5f-44fd-b2d1-b9fb90188284
May 8 13:28:25 grp-01-10-01 setroubleshoot: SELinux is preventing qemu-kvm
(qemu_t) "write" to ./f9-preview-i386-dvd.iso (var_t). For complete SELinux
messages. run sealert -l af4954a1-8379-403d-bc1b-ff6b1e0041df
May 8 13:29:35 grp-01-10-01 kernel: kvm: 4353: cpu0 kvm_set_msr_common:
MSR_IA32_MC0_STATUS 0x0, nop
I ran a fixfiles on all filesystems but still get the messages.
Regards,
Gerry
Try the following: "chcon -t virt_image_t ./f9-preview-i386-dvd.iso"
before running qemu-kvm.
tom
And what about ./TEST1.img ?
I think THIS is the problem.
Is ./TEST1.img the file which holds hda?
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list