archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

Boot process stuck creating swap on /dev/zram0

Open bertez opened this issue 3 years ago • 8 comments

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 https://github.com/archlinux/archinstall/issues/1181

Thanks!

bertez avatar May 21 '22 22:05 bertez

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 avatar May 22 '22 08:05 bertez

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.

Torxed avatar May 22 '22 09:05 Torxed

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 avatar May 22 '22 10:05 bertez

got this response:

https://github.com/systemd/zram-generator/issues/155#issuecomment-1133901164

seems like a conflict with udisks2 ...

bertez avatar May 22 '22 14:05 bertez

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

Torxed avatar May 22 '22 14:05 Torxed

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

bertez avatar May 22 '22 14:05 bertez

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 :)

Torxed avatar May 22 '22 16:05 Torxed

Thank you!

bertez avatar May 22 '22 16:05 bertez