您尚未登录。

#1 2022-06-05 19:21:13

fslksm
会员
注册时间: 2022-06-05
帖子: 3

[已解决] 关于kernel 5.18 上虚拟化软件的问题

环境:linux 5.18.1.arch1-1、最新版VBox、测试版VBox、virt-manager
cpu:alder lake

症状表现:VBox 启动任何VM后,卡在“正在启动VM”,但无法启动VM,VBox同时会失去响应,物理系统关机时VBoxSVC无法被systemd关闭,只能按电源键关机(所以我暂时卸载了VBox);
        virt-manager能够正常运行Linux虚拟机,但无法运行windows thin pc(微软官方的win7精简版),卡在“starting windows",无法加载出windows的logo
K1GY7W4RuQIXJpS.png
N21yS9Iw6Yxt3Mu.png


关于VBox的一些报错
for module in `ls /lib/modules/$(uname -r)/kernel/misc/{vboxdrv.ko,vboxnetadp.ko,vboxnetflt.ko}` ; do ./scripts/sign-file sha1 certs/signing_key.pem certs/signing_key.x509 $module ; done
ls: cannot access '/lib/modules/5.18.1-arch1-1/kernel/misc/vboxdrv.ko': No such file or directory
ls: cannot access '/lib/modules/5.18.1-arch1-1/kernel/misc/vboxnetadp.ko': No such file or directory
ls: cannot access '/lib/modules/5.18.1-arch1-1/kernel/misc/vboxnetflt.ko': No such file or directory

VBoxSVC
Log created: 2022-06-03T02:08:48.176115000Z
Process ID:  13231 (0x33af)
Parent PID:  1 (0x1)
Executable:  /opt/VirtualBox/VBoxSVC
Arg[0]: /opt/VirtualBox/VBoxSVC
Arg[1]: --auto-shutdown
AddRef: illegal refcnt=3221225469 state=2


virt-manager的相关报错
journalctl -p 3 -xb
Jun 05 09:25:04 micro libvirtd[524]: Cannot find 'dmidecode' in path: No such file or directory
Jun 05 09:25:04 micro libvirtd[524]: Unable to open /dev/kvm: No such file or directory
Jun 05 09:25:04 micro libvirtd[524]: Cannot find 'dmidecode' in path: No such file or directory
Jun 05 09:25:04 micro libvirtd[524]: internal error: Missing udev property 'ID_VENDOR_ID' on 'usb1'
Jun 05 09:25:04 micro libvirtd[524]: internal error: Missing udev property 'ID_VENDOR_ID' on 'usb2'
Jun 05 09:25:04 micro libvirtd[524]: internal error: Missing udev property 'ID_VENDOR_ID' on 'usb3'
Jun 05 09:25:04 micro libvirtd[524]: internal error: Missing udev property 'ID_VENDOR_ID' on '3-1'
Jun 05 09:25:04 micro libvirtd[524]: internal error: Missing udev property 'ID_VENDOR_ID' on '3-10'
Jun 05 09:25:04 micro libvirtd[524]: internal error: Missing udev property 'ID_VENDOR_ID' on '3-4'
Jun 05 09:25:04 micro libvirtd[524]: internal error: Missing udev property 'ID_VENDOR_ID' on '3-6'
Jun 05 09:25:04 micro libvirtd[524]: internal error: Missing udev property 'ID_VENDOR_ID' on 'usb4'
Jun 05 09:25:05 micro kernel: iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS
Jun 05 09:25:05 micro systemd-udevd[397]: could not read from '/sys/module/pcc_cpufreq/initstate': No such device
Jun 05 09:25:10 micro kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
Jun 05 12:07:43 micro pulseaudio[985]: Failed to find a working profile.
Jun 05 13:03:50 micro pulseaudio[985]: Failed to find a working profile.
Jun 05 13:04:20 micro libvirtd[12979]: Cannot find 'dmidecode' in path: No such file or directory
Jun 05 13:04:20 micro libvirtd[12979]: Cannot find 'dmidecode' in path: No such file or directory
Jun 05 16:15:35 micro libvirtd[50977]: Cannot find 'dmidecode' in path: No such file or directory
Jun 05 16:15:35 micro libvirtd[50977]: Cannot find 'dmidecode' in path: No such file or directory
Jun 05 16:36:26 micro dolphin[48801]: inotify_add_watch(/run/media/yukin/86666a0e-178d-4928-ae06-60f4771d0c59/lost+found) failed: (Permission denied)
Jun 05 16:37:41 micro kernel: usb 3-3: device not accepting address 11, error -71
Jun 05 17:03:36 micro pulseaudio[985]: Failed to find a working profile.


刚刚测试出来vmware也无法使用
modprobe: WARNING: Module vmmon~ not found in directory /lib/modules/5.18.1-arch1-1


降级内核到5.17.9-arch1-1后,virt-manager可用,VBox和vmware依然不可用……

最近编辑记录 fslksm (2022-06-06 20:03:34)

离线

#2 2022-06-05 21:23:51

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,953
个人网站

Re: [已解决] 关于kernel 5.18 上虚拟化软件的问题

更新内核后没重启? ls /lib/modules 看看?

离线

#3 2022-06-05 22:07:47

fslksm
会员
注册时间: 2022-06-05
帖子: 3

Re: [已解决] 关于kernel 5.18 上虚拟化软件的问题

依云 说:

更新内核后没重启? ls /lib/modules 看看?

内核是好几天前就更新的,更新后重启过。
➜  ~ ls /lib/modules
5.18.1-arch1-1

离线

#4 2022-06-06 08:52:07

Oliver Wei
会员
注册时间: 2021-07-13
帖子: 118

Re: [已解决] 关于kernel 5.18 上虚拟化软件的问题

我遇到过一样的问题,就是前几天,5.18内核刚更新那会,当时是bug,

https://bbs.archlinux.org/viewtopic.php?id=276803

,但是这个问题目前已经修复了吧,我这边的vbox已经很正常了,你的电脑配置说一下。

最近编辑记录 Oliver Wei (2022-06-06 08:52:53)

离线

#5 2022-06-06 10:59:20

fslksm
会员
注册时间: 2022-06-05
帖子: 3

Re: [已解决] 关于kernel 5.18 上虚拟化软件的问题

Oliver Wei 说:

我遇到过一样的问题,就是前几天,5.18内核刚更新那会,当时是bug,

https://bbs.archlinux.org/viewtopic.php?id=276803

,但是这个问题目前已经修复了吧,我这边的vbox已经很正常了,你的电脑配置说一下。

cpu: intel i5 1240 p ,没有独显,惠普战66商务本,其它我也不知道该说什么……

离线

#6 2022-06-06 15:34:34

Oliver Wei
会员
注册时间: 2021-07-13
帖子: 118

Re: [已解决] 关于kernel 5.18 上虚拟化软件的问题

fslksm 说:
Oliver Wei 说:

我遇到过一样的问题,就是前几天,5.18内核刚更新那会,当时是bug,

https://bbs.archlinux.org/viewtopic.php?id=276803

,但是这个问题目前已经修复了吧,我这边的vbox已经很正常了,你的电脑配置说一下。

cpu: intel i5 1240 p ,没有独显,惠普战66商务本,其它我也不知道该说什么……

我之前和你遇到一模一样的问题,最近滚更后,我这边问题确实已经没了,要不你降级内核,或者暂时用lts内核试试,5.18内核bug确实多。

离线

页脚