New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post install step fails running /usr/bin/qubes-prefs default-kernel #3028

Closed
osresearch opened this Issue Aug 14, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@osresearch

Qubes OS version (e.g., R3.2):

R4.0-rc1

Affected TemplateVMs (e.g., fedora-23, if applicable):


Expected behavior:

Install script sets the default kernel and continues post install steps

Actual behavior:

image

['/usr/bin/qubes-prefs', 'default-kernel', '4.9.35-19'] failed
....
FileNotFoundError: (Errno 2) No such file or directory

Steps to reproduce the behavior:

Happened both with automatic partitioning as well as manual partitioning. I'm installing with coreboot based firmware, but R3.2 had no problems, so I'm hoping this isn't related to the firmware.

General notes:


Related issues:

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 14, 2017

Member

This may be another instance of #2960. Check journalctl why qubesd service crashed/failed to start.

Member

marmarek commented Aug 14, 2017

This may be another instance of #2960. Check journalctl why qubesd service crashed/failed to start.

@marmarek marmarek added this to the Release 4.0 milestone Aug 14, 2017

@osresearch

This comment has been minimized.

Show comment
Hide comment
@osresearch

osresearch Aug 14, 2017

Sorry for the screenshots -- I wish I had a serial console on this machine...

image
image

Looks like the first error is:

xenstored: TDB: tdb_open_ex: could not open file /var/lib/xenstored/tdb: No such file or directory

Then xen-init=dom0 and startup-misc.sh have errors accessing libx_domain_info. libxl__userdata_path, libxl_get_physinfo and libx_get_scheduler.

qubesd reports errors connecting to socket '/var/run/libvirt/libvirt-sock'

Sorry for the screenshots -- I wish I had a serial console on this machine...

image
image

Looks like the first error is:

xenstored: TDB: tdb_open_ex: could not open file /var/lib/xenstored/tdb: No such file or directory

Then xen-init=dom0 and startup-misc.sh have errors accessing libx_domain_info. libxl__userdata_path, libxl_get_physinfo and libx_get_scheduler.

qubesd reports errors connecting to socket '/var/run/libvirt/libvirt-sock'

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Aug 14, 2017

Member

getting physinfo: Permission denied most commonly means incompatible xen and toolstack versions. Note that R4.0 have Xen 4.8, so boot image from R3.2 would not work (Xen 4.6 there). Maybe #2990?

Member

marmarek commented Aug 14, 2017

getting physinfo: Permission denied most commonly means incompatible xen and toolstack versions. Note that R4.0 have Xen 4.8, so boot image from R3.2 would not work (Xen 4.6 there). Maybe #2990?

@osresearch

This comment has been minimized.

Show comment
Hide comment
@osresearch

osresearch Aug 14, 2017

That sounds very likely -- I have a 4.6 xen.gz in the firmware that is the default if there isn't a signed /boot/xen available. I'll update the image and give it another try.

That sounds very likely -- I have a 4.6 xen.gz in the firmware that is the default if there isn't a signed /boot/xen available. I'll update the image and give it another try.

@osresearch osresearch referenced this issue in osresearch/heads Aug 14, 2017

Closed

Qubes 4.0 install failure #237

@osresearch

This comment has been minimized.

Show comment
Hide comment
@osresearch

osresearch Aug 15, 2017

Doing a full re-install with Xen 4.8.1 fixed this issue.

Doing a full re-install with Xen 4.8.1 fixed this issue.

@osresearch osresearch closed this Aug 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment