-
Notifications
You must be signed in to change notification settings - Fork 962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realtek RTL8821CE kernel panics the system (virtio) #3561
Comments
PCIe passthrough is tricky, even though it ultimately manifests as a stack trace in the guest OS, it may be caused by the host OS or any hardware settings. Can you check if it works with another Linux distribution as the guest? |
Sorry for the late reply, I've been quite busy this past days and i kinda forgot. Anyways I've managed to boot debian testing with the passtrough, so it isn't an host os error |
@sairon sorry to mention you, you might have missed the issue |
I did not, I just didn't have an opportunity to look into that - until now. I am able to reproduce the issue with this card too and confirm it really works on Debian-based distros (tested latest stable Debian and Ubuntu). However, it fails the same way on Arch Linux (both with 6.6 linux-lts and 6.10 linux), and when I applied Ubuntu's kernel config to HAOS build (with some minor modification that are required for successful boot), the problem persisted, so it's unclear to me yet why it works on Debian. There are still some more things to try, for example testing of other mainstream distributions, ideally those running the same minor kernel version (i.e. 6.6.y) without many patches. That way we could start "bisecting" the configuration to find what's needed to make it working. |
Describe the issue you are experiencing
Hi,
I was interested to do a pci passthrough of my wifi+bt card, the rtl8821ce, to my libvirt HAOS, but on boot it kernel panics spitting out this error on the serial console
What operating system image do you use?
generic-x86-64 (Generic UEFI capable x86-64 systems)
What version of Home Assistant Operating System is installed?
Home Assistant OS 13.1
Did the problem occur after upgrading the Operating System?
Yes
Hardware details
pc-i440fx-jammy (UEFI) on libvirt 8.0.0 (qemu 6.2.0) + kvm
CPU Type: host passthrough (i have an i7 8565u)
4 vCPU
6GB ram
32gb virtio disk
bridge virtio network card
SONOFF Zigbee 3.0 USB Dongle Plus V2 passed to the vm
Steps to reproduce the issue
Anything in the Supervisor logs that might be useful for us?
Anything in the Host logs that might be useful for us?
System information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Sonoff
Additional information
No response
The text was updated successfully, but these errors were encountered: