Skip to content
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

Boot process stuck creating swap on /dev/zram0 #1230

Open
bertez opened this issue May 21, 2022 · 8 comments
Open

Boot process stuck creating swap on /dev/zram0 #1230

bertez opened this issue May 21, 2022 · 8 comments

Comments

@bertez
Copy link

bertez commented May 21, 2022

Hi,

I'm using archinstall on a semi-old laptop (t480) with a nvme disk... the installation goes smoothly but when I boot the new system it gets stuck creating swap on zram0 (see screenshot below)

image

I've noticed the following:

  • Everything works fine when I set swap to false on archinstall
  • There is no boot problem if I install the system on an old msata drive (maybe not related)

Is it possible that the problem is linked to this issue #1181

Thanks!

@bertez
Copy link
Author

bertez commented May 22, 2022

Additional testing

-With zram enabled, the system fails 9 out of 10 times to startup.
-I attempted to install the system without zram and then installed it, and the problem reappeared.

So, this is most likely not an archinstall issue; I'll keep looking into it and submit on a different bug tracker.

closing this

@bertez bertez closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2022
@Torxed
Copy link
Member

Torxed commented May 22, 2022

Thank you for debugging.
A tip might be to add to the kernel boot line:
loglevel=7 and see if there's a kernel message that might explain it.

@bertez
Copy link
Author

bertez commented May 22, 2022

Thanks for your reply. This is the log of a failed boot process:

https://gist.github.com/bertez/1e37b988b72f30e87de70aa1f563c555

I tried a few moments ago to install fedora, which uses zram and it worked fine.

@bertez bertez reopened this May 22, 2022
@bertez
Copy link
Author

bertez commented May 22, 2022

got this response:

systemd/zram-generator#155 (comment)

seems like a conflict with udisks2 ...

@Torxed
Copy link
Member

Torxed commented May 22, 2022

That is strange, I have no recollection of us installing udisk2, has base been using this all the time?

@bertez
Copy link
Author

bertez commented May 22, 2022

I think udisks2 is a dependency of xfce->thunar->gvfs->udisks2 ...

@Torxed
Copy link
Member

Torxed commented May 22, 2022

Ooh sneaky! ok in that case we need a workaround for xfce. Because profiles will be the last thing that goes in. Which means zram wont know about udisk2 since it gets pulled in later.

Thank you for bringing this to our attention, I will have a look after i fix some disk issues in master :)

@bertez
Copy link
Author

bertez commented May 22, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants