Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

虚拟机报错自动关闭问题

Featured Replies

ikuai虚拟机,直通了4网口226网卡的3个口,最近几天经常出现报错,基本上一天报错一次。报错后虚拟机会自动关闭。

系统日志:
Jan 11 09:56:45 路由器内核:陷阱:CPU 1/KVM[16403] 一般保护故障 IP:562899bc0004 sp:1485de7fdc50 错误:qemu-system-x0_86中的 64[5628997d2000+596000]

11 月 09 日 56:45:0 路由器内核:br2:端口 3 (vnet<>) 进入禁用状态

11 月 09 日 56:45:3 路由器内核:设备 vnet<> 离开混杂模式

11 月 09 日 56:45:0 路由器内核:br2:端口 3 (vnet<>) 进入禁用状态

  • Author

系统日志:

Jan 11 09:56:45 Router kernel: traps: CPU 1/KVM[16403] general protection fault ip:562899bc0004 sp:1485de7fdc50 error:0 in qemu-system-x86_64[5628997d2000+596000]

Jan 11 09:56:45 Router kernel: br0: port 2(vnet3) entered disabled state

Jan 11 09:56:45 Router kernel: device vnet3 left promiscuous mode

Jan 11 09:56:45 Router kernel: br0: port 2(vnet3) entered disabled state

 

虚拟机日志:

-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-hpet \
-no-shutdown \
-boot strict=on \
-device '{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"}' \
-device '{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x2.0x1"}' \
-device '{"driver":"pcie-root-port","port":18,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x2"}' \
-device '{"driver":"pcie-root-port","port":19,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x3"}' \
-device '{"driver":"pcie-root-port","port":20,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x4"}' \
-device '{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"}' \
-device '{"driver":"pcie-root-port","port":22,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x6"}' \
-device '{"driver":"pcie-root-port","port":23,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x7"}' \
-device '{"driver":"pcie-pci-bridge","id":"pci.9","bus":"pci.1","addr":"0x0"}' \
-device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pcie.0","addr":"0x7.0x7"}' \
-device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pcie.0","multifunction":true,"addr":"0x7"}' \
-device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pcie.0","addr":"0x7.0x1"}' \
-device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pcie.0","addr":"0x7.0x2"}' \
-device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.2","addr":"0x0"}' \
-blockdev '{"driver":"file","filename":"/mnt/user/domains/iKuai/vdisk1.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \
-device '{"driver":"virtio-blk-pci","bus":"pci.4","addr":"0x0","drive":"libvirt-1-format","id":"virtio-disk2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \
-netdev tap,fd=37,vhost=on,vhostfd=42,id=hostnet0 \
-device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"52:54:00:ea:0c:e9","bus":"pci.3","addr":"0x0"}' \
-chardev pty,id=charserial0 \
-device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
-chardev socket,id=charchannel0,fd=34,server=on,wait=off \
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \
-device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-vnc 0.0.0.0:0,websocket=5700,audiodev=audio1 \
-k en-us \
-device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pcie.0","addr":"0x1"}' \
-device '{"driver":"vfio-pci","host":"0000:03:00.0","id":"hostdev0","bus":"pci.5","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:04:00.0","id":"hostdev1","bus":"pci.6","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:05:00.0","id":"hostdev2","bus":"pci.7","addr":"0x0"}' \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/0 (label charserial0)
qxl_send_events: spice-server bug: guest stopped, ignoring
 

请上传诊断资料,参考:

 

 

  • 2 weeks later...
  • Author
On 1/11/2024 at 4:22 PM, JackieWu said:

请上传诊断资料,参考:

 

 

麻烦帮忙排查原因,实在不知道咋回事了。最近一次崩溃重启是2024-01-22 16:50左右,这次系统日志我看不出任何错误。最近一天重启好几次,只有这个虚拟机有问题,其他的都很稳。

router-diagnostics-20240122-1729.zip

  • Author

补充一下,ikuai虚拟机会自动重启,我能在ikuai中看到系统启动的日志,但看不出任何系统故障的记录

22 minutes ago, suyunkai said:

补充一下,ikuai虚拟机会自动重启,我能在ikuai中看到系统启动的日志,但看不出任何系统故障的记录

 

看了 Unraid 的日志没发现什么问题,系统自身应该是OK的,我怀疑可能是 226 网卡造成的 iKuai 重启问题,你可以尝试更新一下 BIOS 固件。

 

我自己也有一台 N5105(225网卡),直通网卡到 iKuai 虚拟机会有断流、网速跑不满的情况(已经更新了 BIOS 的情况下),但是直接物理机安装 iKuai 则没有这个问题。

Edited by JackieWu

  • Author
22 minutes ago, JackieWu said:

 

看了 Unraid 的日志没发现什么问题,系统自身应该是OK的,我怀疑可能是 226 网卡造成的 iKuai 重启问题,你可以尝试更新一下 BIOS 固件。

 

我自己也有一台 N5105(225网卡),直通网卡到 iKuai 虚拟机会有断流、网速跑不满的情况(已经更新了 BIOS 的情况下),但是直接物理机安装 iKuai 则没有这个问题。

谢谢,我更新下bios试试,实在不行就换成物理机装ikuai测试下了

 

  • 3 weeks later...
On 1/22/2024 at 6:21 PM, suyunkai said:

谢谢,我更新下bios试试,实在不行就换成物理机装ikuai测试下了

 

 

你的问题解决了吗?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.