System keeps rebooting after trying to add any hardware

I’ve tried multiple configurations and very serious problems keep popping up no matter what I do.

Under certain configurations, when I start this qube, other qubes including sys-usb and whonix gw shut down.

This is a Lenovo ThinkPad T470 (20JNS0ED0P)
i5-6300U Skylake Integrated Graphics (HD 520). According to a qubes HCL entry submitted by “anonymous” (go figure), nearly everything should work on this.

[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Removed slice .[0;1;39msystem-modprobe.slice.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mMulti-User System.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mLogin Prompts.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mNetwork is Online.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mTimers.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped .[0;1;39mPeriodic ext4 Onliata Check for All Filesystems.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped .[0;1;39mDiscard unused blocks once a week.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped .[0;1;39mDaily rotation of log files.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped .[0;1;39mDaily exim4-base housekeeping.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped .[0;1;39mDaily man-db regeneration.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped .[0;1;39mUpdate system time each 6h.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped .[0;1;39mPeriodically check for updates.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Stopped .[0;1;39mDaily Cleanup of Temporary Directories.[0m.
[2023-12-21 13:21:16] [.[0;32m  OK  .[0m] Closed .[0;1;39mLVM2 poll daemon socket.[0m.
[2023-12-21 13:21:17]          Stopping .[0;1;39mAvailability of block devices.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mCUPS Scheduler.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mGetty on tty1.[0m...
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mOpenVPN service.[0m.
[2023-12-21 13:21:17]          Stopping .[0;1;39mPackageKit Daemon.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mAuthorization Manager.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mQubes GUI Agent.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mQubes misc post-boot actions.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mQubes remote exec agent.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mSystem Logging Service.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mRealtimeKit Scheduling Policy Service.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mSerial Getty on hvc0.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mDisk Manager.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mDaemon for power management.[0m...
[2023-12-21 13:21:17]          Stopping .[0;1;39mLSB: Start/stop secondary xen domains.[0m...
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mGetty on tty1.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mSerial Getty on hvc0.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mDaemon for power management.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mAuthorization Manager.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mRealtimeKit Scheduling Policy Service.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mPackageKit Daemon.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mQubes misc post-boot actions.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Removed slice .[0;1;39msystem-getty.slice.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Removed slice .[0;1;39msystem-serial\x2dgetty.slice.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mQubes remote exec agent.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mSystem Logging Service.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mAvailability of block devices.[0m.
[2023-12-21 13:21:17]          Stopping .[0;1;39mXen driver domain device daemon.[0m...
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mXen driver domain device daemon.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mLSB: Start/stop secondary xen domains.[0m.
[2023-12-21 13:21:17]          Stopping .[0;1;39mLSB: Xen daemons.[0m...
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mCUPS Scheduler.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mLSB: Xen daemons.[0m.
[2023-12-21 13:21:17] [.[0;32m  OK  .[0m] Stopped .[0;1;39mDisk Manager.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mSession c3 of user user.[0m.
[2023-12-21 13:21:18]          Stopping .[0;1;39mUser Login Management.[0m...
[2023-12-21 13:21:18]          Stopping .[0;1;39mUser Manager for UID 1000.[0m...
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mQubes GUI Agent.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Unmounted .[0;1;39m/run/user/1000/doc.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mUser Login Management.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mUser Manager for UID 1000.[0m.
[2023-12-21 13:21:18]          Stopping .[0;1;39mUser Runtime Directory /run/user/1000.[0m...
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Unmounted .[0;1;39m/run/user/1000.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mUser Runtime Directory /run/user/1000.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Removed slice .[0;1;39mUser Slice of UID 1000.[0m.
[2023-12-21 13:21:18]          Stopping .[0;1;39mPermit User Sessions.[0m...
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mPermit User Sessions.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mNetwork.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mRemote File Systems.[0m.
[2023-12-21 13:21:18]          Stopping .[0;1;39mRaise network interfaces.[0m...
[2023-12-21 13:21:18]          Stopping .[0;1;39mQubes memory information reporter.[0m...
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mQubes network uplink wait.[0m.
[2023-12-21 13:21:18]          Stopping .[0;1;39mQubes network uplink (eth0) setup.[0m...
[2023-12-21 13:21:18]          Stopping .[0;1;39mWPA supplicant.[0m...
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mQubes memory information reporter.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mQubes network uplink (eth0) setup.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Removed slice .[0;1;39msystem-qubes\x2dnetwork\x2duplink.slice.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mQubes base firewall settings.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mRaise network interfaces.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mNetwork (Pre).[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mWPA supplicant.[0m.
[2023-12-21 13:21:18]          Stopping .[0;1;39mD-Bus System Message Bus.[0m...
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mD-Bus System Message Bus.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mBasic System.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mPaths.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mCUPS Scheduler.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mSlices.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Removed slice .[0;1;39mUser and Session Slice.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mSockets.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Closed .[0;1;39mCUPS Scheduler.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Closed .[0;1;39mD-Bus System Message Bus Socket.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Closed .[0;1;39mPC/SC Smart Card Daemon Activation Socket.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mSystem Initialization.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mLocal Encrypted Volumes.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mDispatch Password ts to Console Directory Watch.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mForward Password Ruests to Wall Directory Watch.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mSwap.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Closed .[0;1;39mSyslog Socket.[0m.
[2023-12-21 13:21:18]          Deactivating swap .[0;1;39m/dev/disk/by-partuuid/d40ed49a-01.[0m...
[2023-12-21 13:21:18]          Stopping .[0;1;39mLoad/Save Random Seed.[0m...
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mApply Kernel Variables.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mLoad Kernel Modules.[0m.
[2023-12-21 13:21:18]          Stopping .[0;1;39mUpdate UTMP about System Boot/Shutdown.[0m...
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mUpdate UTMP about System Boot/Shutdown.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mCreate Volatile Files and Directories.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mLocal File Systems.[0m.
[2023-12-21 13:21:18]          Unmounting .[0;1;39m/home.[0m...
[2023-12-21 13:21:18]          Unmounting .[0;1;39m/usr/lib/modules.[0m...
[2023-12-21 13:21:18]          Unmounting .[0;1;39m/usr/local.[0m...
[2023-12-21 13:21:18]          Unmounting .[0;1;39m/var/spool/cron.[0m...
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Stopped .[0;1;39mLoad/Save Random Seed.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Unmounted .[0;1;39m/home.[0m.
[2023-12-21 13:21:18] [.[0;1;31mFAILED.[0m] Failed unmounting .[0;1;39m/usr/lib/modules.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Unmounted .[0;1;39m/usr/local.[0m.
[2023-12-21 13:21:18] [.[0;32m  OK  .[0m] Unmounted .[0;1;39m/var/spool/cron.[0m.
[2023-12-21 13:21:18]          Unmounting .[0;1;39m/rw.[0m...
[2023-12-21 13:21:19] [64663.966147] EXT4-fs (xvdb): unmounting filesystem.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Unmounted .[0;1;39m/rw.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Stopped target .[0;1;39mLocal File Systems (Pre).[0m.
[2023-12-21 13:21:19]          Stopping .[0;1;39mMonitoring of LVMmeventd or progress polling.[0m...
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Stopped .[0;1;39mCreate Static Device Nodes in /dev.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Stopped .[0;1;39mCreate System Users.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Stopped .[0;1;39mRemount Root and Kernel File Systems.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Deactivated swap .[0;1;39m/dev/disk/by-partuuid/d40ed49a-01.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Deactivated swap .[0;1;39m/dev/disk8-7423-47b2-a38e-0f850de58aa0.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Deactivated swap .[0;1;39m/dev/xvdc1.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Reached target .[0;1;39mUnmount All Filesystems.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Stopped .[0;1;39mMonitoring of LVM2 dmeventd or progress polling.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Reached target .[0;1;39mShutdown.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Reached target .[0;1;39mFinal Step.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Finished .[0;1;39mPower-Off.[0m.
[2023-12-21 13:21:19] [.[0;32m  OK  .[0m] Reached target .[0;1;39mPower-Off.[0m.
[2023-12-21 13:21:19] [64664.118288] systemd-shutdown[1]: Syncing filesystems and block devices.
[2023-12-21 13:21:19] [64664.141401] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[2023-12-21 13:21:19] [64664.147239] systemd-journald[274]: Received SIGTERM from PID 1 (systemd-shutdow).
[2023-12-21 13:21:19] [64664.169051] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[2023-12-21 13:21:19] [64664.174745] systemd-shutdown[1]: Unmounting file systems.
[2023-12-21 13:21:19] [64664.176260] [40220]: Remounting '/usr/lib/modules' read-only in with options 'lowerdir=/tmp/modules,upperdir=/sysroot/lib/modules,workdir=/sysroot/lib/.modules_work'.
[2023-12-21 13:21:19] [64664.179827] [40221]: Unmounting '/usr/lib/modules'.
[2023-12-21 13:21:19] [64664.180198] EXT4-fs (xvdd): unmounting filesystem.
[2023-12-21 13:21:19] [64664.185717] [40222]: Remounting '/' read-only in with options 'discard'.
[2023-12-21 13:21:19] [64664.198365] EXT4-fs (xvda3): re-mounted. Quota mode: none.
[2023-12-21 13:21:19] [64664.203297] systemd-shutdown[1]: All filesystems unmounted.
[2023-12-21 13:21:19] [64664.203327] systemd-shutdown[1]: Deactivating swaps.
[2023-12-21 13:21:19] [64664.203373] systemd-shutdown[1]: All swaps deactivated.
[2023-12-21 13:21:19] [64664.203394] systemd-shutdown[1]: Detaching loop devices.
[2023-12-21 13:21:19] [64664.203607] systemd-shutdown[1]: All loop devices detached.
[2023-12-21 13:21:19] [64664.203630] systemd-shutdown[1]: Stopping MD devices.
[2023-12-21 13:21:19] [64664.203711] systemd-shutdown[1]: All MD devices stopped.
[2023-12-21 13:21:19] [64664.203732] systemd-shutdown[1]: Detaching DM devices.
[2023-12-21 13:21:19] [64664.203810] systemd-shutdown[1]: All DM devices detached.
[2023-12-21 13:21:19] [64664.203832] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[2023-12-21 13:21:19] [64664.207447] systemd-shutdown[1]: Syncing filesystems and block devices.
[2023-12-21 13:21:19] [64664.208077] systemd-shutdown[1]: Powering off.
[2023-12-21 13:21:19] [64664.252999] reboot: System halted

I didn’t get it when I read through your post.

According to your topic, I assume you added a new piece of hardware to your system. That means the pcie address of some otherwise untouched devices may have changed. So it’s possible that your sys-net or sys-usb took over some critical devices instead of the network adapter/ USB controller.

I’d recommend adding qubes.skip_autostart to the kernel command line at grub when rebooting, so you’ll only have dom0 running. Then check the device lists of sys-net and sys-usb.

I’m trying to add new hardware to a qube. In the “Devices” tab of the qube’s settings. I’m trying to move them from the “available” tab to the “selected” tab so i can use them.

What device are you trying to add?

1 Like

I’ve tried adding all of them at once and I’ve tried adding them one by one and the result is the same. They include my integrated hd graphics card and my usb port.

What are you trying to achieve? Why are you trying to attach all your PCI devices from dom0 to some other VM?

Oh wow. Are you deliberately trying to use sys-gui-gpu? If not, then it’s likely that you’ll unconsciously crash the system.

Because I’d like to watch video in greater quality than 144p and access my flash drives, for starters.

Sys-gui-gpu? I had to look that up. Is that under sys-usb? Which qube handles sys-gui-gpu?

I’m trying to do this for my personal qube. Is this a massive security risk that isn’t worth it?

I’m just tired really of dealing with herky-jerky videos on a 16 core, 16 GB ram PC.

What’s wrong with using sys-usb?

Good point in regards to the flash drives, but it seems a lot safer to log in to my google account and watch youtube in my personal qube, for example, than in sys-usb.

I think you don’t understand how to use Qubes OS.
You don’t start browser in sys-usb qube to use the USB devices. You can attach the USB devices from sys-usb qube to some other qube e.g. to your personal qube.
Read the docs to understand how it works:

1 Like

I understand you don’t start your browser in sys-usb to use your usb devices. I assumed from your question “What’s wrong with using sys-usb?” that you were telling me to only access usb devices from sys-usb.

For anyone finding this thread through a Google search or local qubes-os.org search, this is the documentation that solved the problem for me. Basically, there’s an icon in the panel that you can click on to attach system hardware or USB devices to any qube you want.