1 line
7 KiB
Plaintext
1 line
7 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>System is an arch libvirt guest with passthrough graphics card on single GPU passthrough setup.</p> <pre><code>$ cat failed-boot Sep 24 19:25:49 user1 sudo[625]: pam_systemd_home(sudo:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found. Sep 24 19:26:13 user1 vim[633]: *** err Sep 24 19:26:13 user1 vim[633]: /dev/tty1: Permission denied Sep 24 19:26:13 user1 vim[633]: *** err Sep 24 19:26:13 user1 vim[633]: Oh, oh, it's an error! possibly I die! Sep 24 19:26:38 user1 su[636]: (to root) root on tty1 Sep 24 19:26:38 user1 su[636]: pam_unix(su:session): session opened for user root(uid=0) by root(uid=1000) Sep 24 19:28:55 user1 sudo[644]: pam_systemd_home(sudo:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found. Sep 24 19:29:11 user1 vim[696]: *** err Sep 24 19:29:11 user1 vim[696]: /dev/tty1: Permission denied Sep 24 19:29:11 user1 vim[696]: *** err Sep 24 19:29:11 user1 vim[696]: Oh, oh, it's an error! possibly I die! Sep 24 19:29:38 user1 vim[699]: *** err Sep 24 19:29:38 user1 vim[699]: /dev/tty1: Permission denied Sep 24 19:29:38 user1 vim[699]: *** err Sep 24 19:29:38 user1 vim[699]: Oh, oh, it's an error! possibly I die! Sep 24 19:29:57 user1 w3m[700]: *** err Sep 24 19:29:57 user1 w3m[700]: /dev/tty1: Permission denied Sep 24 19:29:57 user1 w3m[700]: *** err Sep 24 19:29:57 user1 w3m[700]: Oh, oh, it's an error! possibly I die! Sep 24 19:33:20 user1 su[736]: pam_unix(su:auth): authentication failure; logname=root uid=1000 euid=0 tty=tty1 ruser=root rhost= user=root Sep 24 19:33:22 user1 su[736]: FAILED SU (to root) root on tty1 Sep 24 19:33:41 user1 su[737]: pam_unix(su:auth): authentication failure; logname=root uid=1000 euid=0 tty=tty1 ruser=root rhost= user=root Sep 24 19:33:43 user1 su[737]: FAILED SU (to root) root on tty1 Sep 24 19:34:04 user1 su[740]: pam_unix(su:auth): authentication failure; logname=root uid=1000 euid=0 tty=tty1 ruser=root rhost= user=root Sep 24 19:34:06 user1 su[740]: FAILED SU (to root) root on tty1 Sep 24 19:34:27 user1 su[741]: pam_unix(su:auth): authentication failure; logname=root uid=1000 euid=0 tty=tty1 ruser=root rhost= user=root Sep 24 19:34:29 user1 su[741]: FAILED SU (to root) root on tty1 Sep 24 19:35:00 user1 su[742]: pam_unix(su:auth): authentication failure; logname=root uid=1000 euid=0 tty=tty1 ruser=root rhost= user=root Sep 24 19:35:02 user1 su[742]: FAILED SU (to root) root on tty1 Sep 24 19:35:15 user1 su[743]: (to root) root on tty1 Sep 24 19:35:15 user1 su[743]: pam_unix(su:session): session opened for user root(uid=0) by root(uid=1000) Sep 24 19:37:31 user1 su[636]: pam_unix(su:session): session closed for user root Sep 24 19:37:31 user1 su[743]: pam_unix(su:session): session closed for user root </code></pre> <p>This has baffled me because it only happened after a full system upgrade on guest vm and only when booting with the passthrough graphics card. If I boot it <em>without</em> passthrough, using just the default spice/qxl graphics there are no such errors. Here are the logs for that:</p> <pre><code>$ cat ok-boot Jan 03 04:45:21 user1 systemd[345]: Queued start job for default target Main User Target. Jan 03 04:45:21 user1 systemd[345]: Created slice User Application Slice. Jan 03 04:45:21 user1 systemd[345]: Reached target Paths. Jan 03 04:45:21 user1 systemd[345]: Reached target Timers. Jan 03 04:45:21 user1 systemd[345]: Starting D-Bus User Message Bus Socket... Jan 03 04:45:21 user1 systemd[345]: Listening on GnuPG network certificate management daemon. Jan 03 04:45:21 user1 systemd[345]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers). Jan 03 04:45:21 user1 systemd[345]: Listening on GnuPG cryptographic agent and passphrase cache (restricted). Jan 03 04:45:21 user1 systemd[345]: Listening on GnuPG cryptographic agent (ssh-agent emulation). Jan 03 04:45:21 user1 systemd[345]: Listening on GnuPG cryptographic agent and passphrase cache. Jan 03 04:45:21 user1 systemd[345]: Listening on p11-kit server. Jan 03 04:45:21 user1 systemd[345]: Listening on Sound System. Jan 03 04:45:21 user1 systemd[345]: Listening on D-Bus User Message Bus Socket. Jan 03 04:45:21 user1 systemd[345]: Reached target Sockets. Jan 03 04:45:21 user1 systemd[345]: Reached target Basic System. Jan 03 04:45:21 user1 systemd[345]: Reached target Main User Target. Jan 03 04:45:21 user1 systemd[345]: Startup finished in 636ms. Jan 03 04:45:35 user1 systemd[345]: Started D-Bus User Message Bus. Jan 03 04:45:35 user1 dbus-daemon[398]: [session uid=1000 pid=398] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.2' (uid=1000 pid=396 comm="xfce4-terminal ") Jan 03 04:45:35 user1 systemd[345]: Starting Accessibility services bus... Jan 03 04:45:35 user1 dbus-daemon[398]: [session uid=1000 pid=398] Successfully activated service 'org.a11y.Bus' Jan 03 04:45:35 user1 systemd[345]: Started Accessibility services bus. Jan 03 04:45:37 user1 at-spi-bus-launcher[406]: dbus-daemon[406]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=396 comm="xfce4-terminal ") Jan 03 04:45:37 user1 at-spi-bus-launcher[429]: dbus-daemon[429]: writing oom_score_adj error: Permission denied Jan 03 04:45:37 user1 at-spi-bus-launcher[406]: dbus-daemon[406]: Successfully activated service 'org.a11y.atspi.Registry' Jan 03 04:45:37 user1 at-spi-bus-launcher[429]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry </code></pre> <p>I am baffled as to why there is a difference. Note that <em>before</em> the system upgrade it was all working fine in terms of booting and running correctly. I had not done a system upgrade for about a year and all this trouble happened after. There was a whole load of mess in between which involved me not being able to upgrade with pacman due to being too old, then breaking pacman by upgrading it only, then fixing that by using pacman-static and isoboot to enable me to do the full system upgrade.</p> <p>After this it would not boot at all, hanging at BIOS splash but I was able to fix that by chrooting via isoboot again and reinstalling GRUB. What happened there is, I am guessing, the system was upgraded without the <code>/boot</code> partition being mounted which wiped it somehow. So reinstalled while mounted. </p> <p>Now I am up to this point; where I am able to boot normally only with the virtual graphics but with passthrough the errors in the first code block happen. I am so baffled by why this would happen only in the case of the passthrough and not for the default graphics?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/usera8787782"> /u/usera8787782 </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/rutq4l/help_explaining_why_these_errors_are_showing_in/">[link]</a></span>   <span><a href="https://www.reddit.com/r/archlinux/comments/rutq4l/help_explaining_why_these_errors_are_showing_in/">[comments]</a></span> |