| Summary: | /dev/kvm not created when booting with systemd-20-1.fc15.x86_64; works with systemd-18-1.fc16.x86_64 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom London <selinux> |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | iarlyy, ipilcher, johannbg, jonathan, lpoetter, metherid, mschmidt, notting, plautrba, rtguille, rvokal, sven |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | initscripts-9.27-1.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-19 05:51:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tom London
2011-03-14 13:41:41 UTC
I should have added that I'm running 'mostly rawhide': Running qemu-img-0.14.0-2.fc16.x86_64 qemu-kvm-tools-0.14.0-2.fc16.x86_64 qemu-system-x86-0.14.0-2.fc16.x86_64 qemu-debuginfo-0.14.0-2.fc16.x86_64 qemu-common-0.14.0-2.fc16.x86_64 qemu-kvm-0.14.0-2.fc16.x86_64 and kernel-2.6.38-0.rc8.git0.1.fc15.x86_64 Probably will be fixed as soon as new initscripts are built with this upstream fix: http://git.fedorahosted.org/git/?p=initscripts.git;a=commit;h=89032e9049921024fa65c292adb48bc8eba1e5a0 Can you confirm it for us Tom? Thanks in advance. -- Fedora Bugzappers Team Member I manually updated the two files mentioned in http://git.fedorahosted.org/git/?p=initscripts.git;a=commit;h=89032e9049921024fa65c292adb48bc8eba1e5a0 I also updated systemd back to systemd-20-1.fc15.x86_64 and rebooted. [tbl@tlondon ~]$ ls -l /dev/kvm crw-rw-rw-+ 1 root kvm 10, 232 Mar 14 19:01 /dev/kvm [tbl@tlondon ~]$ So, /dev/kvm is now being created again. Thanks! Hmm, there were plans to add module autoloading to the kernel based on CPU features. I wonder what happened to that... I am running F15 Alpha, updated a few hours ago.
# ls -l /dev/kvm
ls: cannot access /dev/kvm: No such file or directory
systemd.x86_64 20-1.fc15 @updates-testing
systemd-units.x86_64 20-1.fc15 @updates-testing
gpxe-roms-qemu.noarch 1.0.1-4.fc15 @fedora
qemu-common.x86_64 2:0.14.0-2.fc15 @fedora
qemu-img.x86_64 2:0.14.0-2.fc15 @fedora
qemu-kvm.x86_64 2:0.14.0-2.fc15 @fedora
qemu-system-x86.x86_64 2:0.14.0-2.fc15 @fedora
Virt-Manager says there was no kvm.
Executing by hand /etc/sysconfig/modules/kvm.modules
creates the device, virt-manager detects kvm.
But when creating a vm, the following error appears:
Error launching details: value is wrong type for this column
raceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 637, in _do_show_details
details = self._get_details_dialog(uri, uuid)
File "/usr/share/virt-manager/virtManager/engine.py", line 617, in _get_details_dialog
obj = vmmDetails(con.get_vm(uuid), self)
File "/usr/share/virt-manager/virtManager/details.py", line 444, in __init__
self.refresh_vm_state()
File "/usr/share/virt-manager/virtManager/details.py", line 1056, in refresh_vm_state
self._refresh_runtime_pinning()
File "/usr/share/virt-manager/virtManager/details.py", line 2054, in _refresh_runtime_pinning
vcpu_model.append([vcpu, vcpucur, vcpupin])
TypeError: value is of wrong type for this column
so no kvm for now.
selinux is set to permissive prior to launching the vm (normally enforcing)
(In reply to comment #6) > But when creating a vm, the following error appears: > Error launching details: value is wrong type for this column > > raceback (most recent call last): > File "/usr/share/virt-manager/virtManager/engine.py", line 637, in > _do_show_details > details = self._get_details_dialog(uri, uuid) > File "/usr/share/virt-manager/virtManager/engine.py", line 617, in > _get_details_dialog > obj = vmmDetails(con.get_vm(uuid), self) > File "/usr/share/virt-manager/virtManager/details.py", line 444, in __init__ > self.refresh_vm_state() > File "/usr/share/virt-manager/virtManager/details.py", line 1056, in > refresh_vm_state > self._refresh_runtime_pinning() > File "/usr/share/virt-manager/virtManager/details.py", line 2054, in > _refresh_runtime_pinning > vcpu_model.append([vcpu, vcpucur, vcpupin]) > TypeError: value is of wrong type for this column You're looking for bug #681249. initscripts-9.27-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/initscripts-9.27-1.fc15 Updated to initscripts.x86_64 9.27-1.fc15 & reboot. ok, /dev/kvm is created at boot. kvm is correctly avaiable in new vm in libvirt, at least for me. initscripts-9.27-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |