Hi
My workplace has provided me with a new Lenovo ThinkPad T14 Gen 3[1] with a Ryzen™ 5 PRO 6650U and AMD Radeon™ 660M GPU. I can experiment on it (as long as my old laptop works), so I’m trying to get Qubes 4.1.1 running on it.
My first attempts at getting the installer running didn’t go well … so I tried to read this forum and found bits and pieces and after a lot of errors, found this combination that will allow me to start the installer on the machine:
ISO: QUBES-20221015-KERNEL-LATEST-X86
Xen-args: dom0_max_vcpus=1 dom0_vcpus_pin=1
Kernel-args: module_blacklist=amdgpu acpi=off
- I don’t recall the posts/people that lead me to these options, so I can’t give credit to the correct authors :-/
- The builtin keyboard/mouse doesn’t work with these options - so I’ve attached a USB keyboard/mouse
Since my display is a 4K, I’ve also attached a docking station and an external monitor - so I’m able to actually read the options (without a magnifying glass).
Running the installer, everything is fine, until Qubes tries to run efibootmgr
and warns me, that the system will not be able to boot … but that can be fixed, so I just continue and reboots.
As warned, the machines won’t boot … but booting a live system (eg. SystemRescueCD) it can be fixed with:
mount /dev/nvme0n1p1 /mnt/
efibootmgr -c -d /dev/nvme0n1 -p 1 -L "QUBES" -l '\EFI\qubes\grubx64.efi'
Since Xen needs extra options to start, I also adds
dom0_max_vcpus=1 dom0_vcpus_pin=1
to /mnt/EFI/qubes/grub.cfg
while the live system is running
At the next boot, Qubes starts the “Initial Setup” and it works until it tries to start sys-firewall - then I get:
stdout: ""
stderr: "Start failed: internal error: libxenlight fialed to create ne domain 'sys-firewall', see /var/log/libvirt/libxl/libxl-driver.log for details"
There is no alternativ to click “ok” and after this I have the login screen. After logging in, sys-net fails to start … but by limiting the number of vcpus
to 1 for the domains and rebooting, I can actually get online (eg. start ‘personal’, open a terminal and start firefox).
Since the machine is a test anyway, I tried:
[user@dom0 ~]$ sudo qubes-dom0-update --disablerepo=* --enablerepo=qubes-dom0-current-testing
… but I still need both the Xen and the Kernel arguments to be able to boot … and vcpus=1
for domains also seems to be needed.
Next things I’ll try to look at:
- Can I set
vcpus=1
at the initial setup - so the Initial Setup completes without an error?
My current Qubes seems to be missing parts - I assume the failure during Initial Setup is the cause for that.
- Why do I need
acpi=off
when booting?
I assume some ACPI tables are broken - a more precise disable might also make the internal keyboard/mouse work. I passed a topic about blacklisting some AMD devices - I have to find && read it again …
- Will an update to the amdgpu module, make
module_blacklist=amdgpu
superfluous?
The new kernel from qubes-dom0-current-testing
seems to have improved somewhat - but it doesn’t quite boot yet … :-/
- Can I update Xen, so I don’t need to limit dom0?
I recall someone commenting that Ryzen CPUs should need 4.15 to work … I have to search the forum further on that topic …
Any suggestions to posts I might have missed (failed to understand/do right?) or things I should/could try, would be appreciated.
[1]: Full HW details on: https://pcsupport.lenovo.com/dk/en/products/LAPTOPS-AND-NETBOOKS/THINKPAD-T-SERIES-LAPTOPS/THINKPAD-T14-GEN-3-TYPE-21CF-21CG/21CG/21CGS0PN00/