AppVM won't start any application

30 views
Skip to first unread message

bfgvusmcar

unread,
Apr 23, 2020, 5:26:05 PM4/23/20
to qubes...@googlegroups.com
Hi, I am a new user and I'm very happy with the OS. I installed it a few days ago and I seem to have an issue. I would delete and re-create the qube but it could be a helpful opportunity for both me and you to debug some issue.
I have a qube based on debian-10 fully updated. It didn't have any particular configuration, a bigger volume as I planned on using it more. Suddenly it won't start any program, not even the terminal.
From /var/log/xen/console, it seems like the AppVM is starting:

[.[0;32m  OK  .[0m] Reached target .[0;1;39mRemote File Systems.[0m.
         Starting .[0;1;39mVirtualization daemon.[0m...
         Starting .[0;1;39mPermit User Sessions.[0m...
         Starting .[0;1;39mDeferred execution scheduler.[0m...
         Stopping .[0;1;39mNFSv4 ID-name mapping service.[0m...
         Stopping .[0;1;39mNFS Mount Daemon.[0m...
[.[0;32m  OK  .[0m] Stopped .[0;1;39mNFSv4 ID-name mapping service.[0m.
[.[0;32m  OK  .[0m] Stopped .[0;1;39mNFS Mount Daemon.[0m.
[.[0;32m  OK  .[0m] Started .[0;1;39mPermit User Sessions.[0m.
[.[0;32m  OK  .[0m] Started .[0;1;39mGetty on tty1.[0m.
[.[0;32m  OK  .[0m] Started .[0;1;39mSerial Getty on hvc0.[0m.
[.[0;32m  OK  .[0m] Reached target .[0;1;39mLogin Prompts.[0m.
[.[0;32m  OK  .[0m] Created slice .[0;1;39msystem-systemd\x2dfsck.slice.[0m.
         Starting .[0;1;39mFile System Check on /dev/xvdb.[0m...
[.[0;32m  OK  .[0m] Created slice .[0;1;39mUser Slice of UID 1000.[0m.
         Starting .[0;1;39mUser Runtime Directory /run/user/1000.[0m...
[.[0;32m  OK  .[0m] Started .[0;1;39mUser Runtime Directory /run/user/1000.[0m.
         Starting .[0;1;39mUser Manager for UID 1000.[0m...
[.[0;32m  OK  .[0m] Started .[0;1;39mDeferred execution scheduler.[0m.
[.[0;1;31mFAILED.[0m] Failed to start .[0;1;39mFile System Check on /dev/xvdb.[0m.
See 'systemctl status system...@dev-xvdb.service' for details.
[.[0;1;33mDEPEND.[0m] Dependency failed for .[0;1;39m/rw.[0m.
[.[0;1;33mDEPEND.[0m] Dependency failed for .[0;1;39m/home.[0m.
[.[0;1;33mDEPEND.[0m] Dependency failed for .[0;1;39mSession c3 of user user.[0m.
[.[0;1;33mDEPEND.[0m] Dependency failed for .[0;1;39mSession c1 of user user.[0m.
[.[0;1;33mDEPEND.[0m] Dependency failed for .[0;1;39mSession c2 of user user.[0m.
[.[0;32m  OK  .[0m] Started .[0;1;39mUser Manager for UID 1000.[0m.
[   25.704176] loop: module loaded
[   25.716721] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[.[0;32m  OK  .[0m] Started .[0;1;39mSnappy daemon.[0m.
         Starting .[0;1;39mWait until snapd is fully seeded.[0m...
[   26.676431] fbcon: Taking over console


Debian GNU/Linux 10 vm hvc0

vm login:

A popup now appears (it wasn't appearing before): "Domain has failed to start: Snapshot origin LV vm-debian-10-root not found in Volume group qubes_dom0".
Another popup: "Device /tmp/sanity... removed (deleted)", I don't know if it's related.
When I shut down the AppVM, it "restart by itself". When I shut it down again then it doesn't boot anymore.
Where can I find more logs on this, how should I debug it?

Marek Marczykowski-Górecki

unread,
Apr 26, 2020, 11:15:15 AM4/26/20
to bfgvusmcar, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, Apr 23, 2020 at 09:25:56PM +0000, 'bfgvusmcar' via qubes-users wrote:
> Hi, I am a new user and I'm very happy with the OS. I installed it a few days ago and I seem to have an issue. I would delete and re-create the qube but it could be a helpful opportunity for both me and you to debug some issue.
> I have a qube based on debian-10 fully updated. It didn't have any particular configuration, a bigger volume as I planned on using it more. Suddenly it won't start any program, not even the terminal.
> From /var/log/xen/console, it seems like the AppVM is starting:

(...)

> [.[0;1;31mFAILED.[0m] Failed to start .[0;1;39mFile System Check on /dev/xvdb.[0m.
> See 'systemctl status system...@dev-xvdb.service' for details.

This does look like an issue. xvdb device is "private" volume, where /rw
+ /home lives, so this is important part.
Try extracting more info about it from dom0:

qvm-run -p -u root vm 'systemctl status system...@dev-xvdb.service'

Check also earlier entires, specifically "Initialize and mount /rw and
/home" service (some its messages are marked mount-dirs.sh).

> A popup now appears (it wasn't appearing before): "Domain has failed to start: Snapshot origin LV vm-debian-10-root not found in Volume group qubes_dom0".

This on the other hand is about "root" volume. But LVM setup happens
before starting anything inside the VM, if this would be the cause, you
wouldn't get any output from the vm. Check modification time on the log,
if it's really about latest try.

Can you start the debian-10 template itself? Or it fails the same way?

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAl6lpXcACgkQ24/THMrX
1yxoyQf/ZqepS8qqrAsW9BoSn6VvMHZSGa5TMyGx63jty70p4v0GWFQJ6XSLbbGx
NBneKN+bsT6bHkPk6XmHsV0oy8J6d6GSrnzBm7di+e10zv5wQv0n7yqcDELhYFIb
DvvyVHkbq4VCq81EeaPVc/nbPcpuhkzN2FZCT6vsH7S8s20fmRdxrO8WfPyUQg8X
UA8TrA3m75mz3JXhyRddmNFH6hbPOxh4p8oG6yPr6ne6L/+bW/KoXUz6sul1OMsj
X6A880L57ffz89qpt94o/oYMEVm/7UqV6Mzn/Nau+tOGaKGduCSmu2SS7YDzSqxk
ipTqSftScK9t5y74FHL9dm76iNJadQ==
=ZdPD
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages