lrvick
October 28, 2022, 1:16am
1
Qubes R4.1.1 installer can not boot on the GPD Win Max 2 (Ryzen 7 6800U).
Keyboard is unresponsible in install media after choosing a grub menu option.
Install media never boots past console output.
Dmesg on verbose boot is full of things like:
failed to start udev Wait for Complete Device Initialization
thunderbolt timeout
usb usb1-port4: could not allocate device
xHC save timeout
nvme0: I/O 24 QID 0 timeout, completion polled
Suggestions on how I can help debug and help the team identify if compatibility is even possible, etc are welcome.
I think I read there’s a bios option to choose between usb keyboard and ps/2 keyboard for the built in keyboard, defaulting to usb. Might want to switch that.
lrvick
October 28, 2022, 3:28am
3
Maybe that existed in prior GPD Win Max 2021, but as far as I can tell very few options exist in the bios at all, let alone for USB or PS/2
lrvick
November 22, 2022, 6:45am
4
Updated to BIOS 1.04 with different errors but no luck booting.
xhci_hcd 000:73:00.4: Timeout while waiting for setup device command
xhci_hcd 000:73:00.4: Error while assigning device slot ID
usb 5-1: hub failed to enable device, error -62
usb usb5-port1: couldn't allocate PCI device
usb usb3-port3: couldn't allocate PCI device
nvme nvme0: I/I 28 QID 0 timeout, completion polled
nvme nvme0: I/I 5 QID 0 timeout, completion polled
nvme nvme0: I/I 29 QID 0 timeout, completion polled
nvme nvme0: I/I 6 QID 0 timeout, completion polled
enmus
November 22, 2022, 10:41pm
5
Wildest guess: add irqpoll
parameter to grub during boot (after the word quiet
of course…)
51lieal
November 23, 2022, 2:56am
7
alzer89
November 23, 2022, 3:06am
8
I just got mine over the weekend, and encountered the same problem. It seems that udev
is having trouble starting up. I will report back once I have a solution (or logs…).
@enmus good idea. I’ll give that a try.
I also found this:
https://www.mail-archive.com/kernel-packages@lists.launchpad.net/msg488405.html
alzer89
November 23, 2022, 4:51am
9
I have zero evidence to back this up yet, but my guess is that Xen isn’t passing a key device into dom0 to allow udev
to function properly.
It appears remarkably similar to the reason why amdgpu
isn’t able to reset the integrated graphics upon resume from S3 sleep. Most likely due to the way Ryzen 6000 series CPUs arrange their devices (and authentication thereof).
AMD chips like to authenticate each aspect of their SoCs and CPUs periodically, and if Xen compartmentalises them, they don’t seem to like it…
Again, I could be way off, but this seems to be the best lead we have so far…
lrvick
November 23, 2022, 8:41am
10
For others playing around with this device, most bios options are locked.
To unlock all options, including virtualization options Qubes requires, press alt+F5 in the APTIO bios menu then reboot and return to the bios menu.
lrvick
November 23, 2022, 8:48am
11
Two others on Ryzen with essentially identical error messages as me:
opened 12:31PM - 11 Apr 22 UTC
T: bug
C: installer
P: default
hardware support
needs diagnosis
[How to file a helpful issue](https://www.qubes-os.org/doc/issue-tracking/)
#… ## Qubes OS release
Qubes release 4.1.0 (downloaded in last week from https://ftp.qubes-os.org/iso/Qubes-R4.1.0-x86_64.iso)
Hash verified and was okay.
### Brief summary
For several years I have been using Qubes OS on a laptop every day, so I wanted to install it on a new desktop computer.
I downloaded the latest ISO image and then write it on a USB stick with the DD command
sudo dd if=Qubes-RX-x86_64.iso of=/dev/sdY status=progress bs=1048576 && sync
according to the recommendations from Qubes OS DOC (https://www.qubes-os.org/doc/installation-guide/).
Then I put the pendrive into every possible USB port and started it from BIOS.
Of course, I previously enabled virtualization for AMD in the BIOS under the name SVM (Secure Virtual Machine).
**The problem was that no matter which USB port the flash drive was in and no matter if I turned it on in legacy or uefi mode, text was popping up every time with:
"dracut-pre-udev:modprobe: ERROR: could not insert 'floppy'"
like here
https://forum.qubes-os.org/uploads/db3820/original/2X/e/e4000f9eaa27ab737160949fe6bdfeb4393889d3.jpeg**
I am currently using Qubes OS on a laptop with:
Disk SSD 512 GB.
8GB RAM
Intel i5-3320M
NVIDIA GEFORCE
I wanted to install Qubes OS on a desktop computer with:
Motherboard Gigabyte B450M
NVIDIA ASUS GTX 1650
64GB RAM
AMD Ryzen 9 5900X
2 x 2T HDD
### Expected behavior
Correct launch of the Qubes OS installer.
opened 03:01PM - 16 Jun 22 UTC
closed 06:21AM - 13 Oct 22 UTC
T: bug
R: duplicate
C: installer
P: default
hardware support
### Qubes OS release
Qubes 4.1 ISO built with kernel-latest 5.18.3-1.fc32.x86_6… 4
### Brief summary
Booting with Qubes 4.1, kernel 5.17 or lower results in a black screen,
booting with kernel 5.18.3-1.fc32.x86_64 hangs with some errors.
Booting the installer:
```
[ 6.325255] dracut-pre-udev[643]: modprobe: FATAL: Module cramfs not found in
directory /lib/modules/5.18.3-1.fc32.qubes.x86_64
[ 6.467288] dracut-pre-udev[694]: modprobe: FATAL: Module floppy not found in directory /lib/modules/5.18.3-1.fc32.qubes.x86_64
[ OK ] Started Show Plymouth Boot Screen.
[ OK ] Started Forward Password Requests to Plymouth Directory Watch.
[ OK ] Reached target Local Encryption Volumes.
[ OK ] Reached target Paths.
[FAILED] Failed to start udev Wait for Complete Device Initialization.
See 'systemctl status systemd-udev-settle.service' for details.
[ OK ] Started Device-Mapper Multipath Device Controller.
[ OK ] Reached target Local File System (Pre).
[ OK ] Reached target Local File System.
Starting Open-iSCSI...
Starting Create Volatile Files and Directories...
[ OK ] Started Open iSCSI
Starting dracut initqueue hook...
[ OK ] Finished Create Volatile Files and Directories.
[ OK ] Reached target System Initialization."
[ OK ] Reached target Basic System.
```
Booting in troubleshooting mode:
```
...
[ OK ] Started Device-Mapper Multipath Device Controller.
[ OK ] Reached target Local File System (Pre).
[ OK ] Reached target Local File System.
Starting Open-iSCSI...
Starting Create Volatile Files and Directories...
[ OK ] Started Open iSCSI
Starting dracut initqueue hook...
[ OK ] Finished Create Volatile Files and Directories.
[ OK ] Reached target System Initialization."
[ OK ] Reached target Basic System.
[ 128.328664] systemd-gpt-auto-generator[1087]: EFI loader partition unknown, exiting.
[ 128.329699] systemd-gpt-auto-generator[1087]: (The boot loader did not set EFI variable LoaderDevicePartUUID.)
```
### Steps to reproduce
- Download [Qubes-20220615-kernel-latest-x86_64.iso](https://qubes.notset.fr/iso/Qubes-20220615-kernel-latest-x86_64.iso)
- Load onto USB
- Boot USB
- See errors above
What can I do to troubleshoot this further?
Going to try kernel-latest and some of the workarounds in those threads and report back.
lrvick
November 24, 2022, 10:06am
12
Appending dom0_max_vcpus=1 dom0_vcpus_pin
to the Xen commandline in grub allowed me to complete an install.
Need to figure out how to get that to persist though as I was unable to complete first boot post-install.
lrvick
November 24, 2022, 11:24pm
13
Wifi does not work, but other than that qubes seems to function so far.
Going to investigate swapping out the minipci wireless card for a compatible one.
lrvick
January 7, 2023, 12:14pm
14
x2apic=false in the Xen command line got me a stable system. Was able to plug a usb wireless adapter in via a USB-C port on the back to apply updates.
Latest kernel resulted in a working and stable AX210 wifi adapter.
Suspend/resume are still not working but I can debug that later.
Only weird issue left is the external USB type A ports do not work at all. Nothing in dmesg in sys-usb or dom0 on any device insertion.
lrvick
January 17, 2023, 12:50pm
15
Okay I have things running stable now with several tweaks, with the exception that suspend/resume currently does not work at all.
Documented here: GPD Win Max 2 - QubesOS · GitHub