1 |
With my older machine locking up once too often at in-opportune times, |
2 |
I've switched over to a newer machine, which I've tried to set up |
3 |
identically. QEMU is not laumching. It worked on the older system. |
4 |
The error message is... |
5 |
|
6 |
[x8940][waltdnes][~] /home/misc/qemu/arca/boot |
7 |
Could not access KVM kernel module: No such file or directory |
8 |
qemu-system-x86_64: failed to initialize kvm: No such file or directory |
9 |
|
10 |
My user is a member of the kvm group, and I get the same error trying |
11 |
to launch as root |
12 |
|
13 |
My system... |
14 |
|
15 |
* 12-core Intel Skylake with 16 gigs of ram, 64-bit gentoo |
16 |
|
17 |
* Yes, KVM support is installed in the kernel... |
18 |
[x8940][waltdnes][~] zgrep KVM_INTEL /proc/config.gz |
19 |
CONFIG_KVM_INTEL=y |
20 |
|
21 |
* make.conf contains |
22 |
QEMU_SOFTMMU_TARGETS="i386 x86_64" |
23 |
QEMU_USER_TARGETS="i386 x86_64" |
24 |
|
25 |
* including flags in package.use, I get |
26 |
[x8940][waltdnes][/etc/portage/package.use] emerge -pv qemu |
27 |
|
28 |
These are the packages that would be merged, in order: |
29 |
|
30 |
Calculating dependencies... done! |
31 |
[ebuild R ] app-emulation/qemu-5.2.0-r3::gentoo USE="aio alsa bzip2 curl doc fdt gtk jpeg opengl oss png sdl slirp ssh usb vhost-net vnc -accessibility -caps (-capstone) -debug -filecaps -glusterfs -gnutls -infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -ncurses -nfs -nls -numa -pin-upstream-blobs -plugins -pulseaudio -python -rbd -sasl -sdl-image -seccomp (-selinux) -smartcard -snappy -spice -static -static-user -systemtap -test -udev -usbredir -vde -vhost-user-fs -virgl -virtfs -vte -xattr -xen -xfs -zstd" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -avr -cris -hppa -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha -arm -armeb -cris -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -xtensa -xtensaeb" 0 KiB |
32 |
|
33 |
* The startup script is... |
34 |
|
35 |
[x8940][waltdnes][~] cat /home/misc/qemu/arca/boot |
36 |
#!/bin/bash |
37 |
cd /home/misc/qemu/arca |
38 |
sudo /usr/bin/qemu-system-x86_64 -enable-kvm -runas waltdnes \ |
39 |
-cpu host -monitor vc -display gtk \ |
40 |
-drive file=arcac.img,format=raw \ |
41 |
-netdev user,id=mynetwork \ |
42 |
-device e1000,netdev=mynetwork \ |
43 |
-rtc base=localtime,clock=host \ |
44 |
-m 1024 -name "ArcaOS VM" \ |
45 |
-vga std -parallel none \ |
46 |
${@} |
47 |
|
48 |
I repeat. it worked on the older machine. |
49 |
|
50 |
-- |
51 |
Walter Dnes <waltdnes@××××××××.org> |
52 |
I don't run "desktop environments"; I run useful applications |