You are not logged in.

#1 2021-05-18 14:11:16

pisauraxtx
Member
Registered: 2021-05-15
Posts: 33

Real Time Kernel: systemd stuck at boot

Hello everyone.

I would like to run the linux-rt kernel on my computer, but every time I select it in GRUB, systemd gets stuck.
With linux-rt 5.11, it got to "Started Hostname Service".
With linux-rt-lts 5.10, it got to "Finished man-db regeneration."
I tried also linux-zen, which got to "Reached target Graphical Interface" and got stuck there.
The vanilla kernel 5.12.4-arch1-2 boots reliably without any problems.

I had a look at a similar issue, but my boot partition was mounted all the time during installation. The line in my fstab file reads:

# /dev/nvme0n1p1
UUID=6168-B241   /boot   vfat   rw,relatime,fmask=022,dmask=022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro   0 2

I would be very grateful if anyone could help me figure out what the problem is.

Last edited by pisauraxtx (2021-05-19 09:21:18)

Offline

#2 2021-05-18 16:51:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,334

Re: Real Time Kernel: systemd stuck at boot

And with which kind  of system are you trying this and what exactly are you trying to boot into? A GUI? Which one? If you have a nvidia card you need to install nvidia-dkms and the linux-headers package pertaining to your kernel to have any shot at this.

In general you need to get logs and you should be able to switch to a VT and post the output of

sudo journalctl -b

or alternatively boot into a working kernel and post

journalctl -b-1

to get the log from a previous boot.

Also if your original issue from three days ago with generating GRUB entries is solved, please mark that one as [SOLVED] by editing the title in your first post of the thread.

Offline

#3 2021-05-18 22:36:47

pisauraxtx
Member
Registered: 2021-05-15
Posts: 33

Re: Real Time Kernel: systemd stuck at boot

Hello V1del, thanks for your reply. I'm going to adress the most important bit first:

V1del wrote:

If you have a nvidia card you need to install nvidia-dkms and the linux-headers package pertaining to your kernel to have any shot at this.

That solved it for me. I installed nvidia-dkms and linux-rt-lts-headers. Yay insisted upon compiling linux-rt-lts all over again, but I rebooted and it's working now. No further action needed to be taken.

Thank you very much for your help.

V1del wrote:

And with which kind  of system are you trying this and what exactly are you trying to boot into? A GUI? Which one?

I'm on a desktop computer that I want to use for audio recording using jack2. I'm using KDE Plasma as a graphical interface.

V1del wrote:

In general you need to get logs and you should be able to switch to a VT and post the output of

sudo journalctl -b

or alternatively boot into a working kernel and post

journalctl -b-1

to get the log from a previous boot.

Thanks, I will note this down for future use. I had a look at journalctl but I found it hard to find useful information in there.

V1del wrote:

Also if your original issue from three days ago with generating GRUB entries is solved, please mark that one as [SOLVED] by editing the title in your first post of the thread.

That issue is not solved, unfortunately. I had installed the OS via the archinstall command and ran into a few problems I could not solve, including being unable to edit GRUB, so I decided to re-install Arch in a more traditional way.



Edit: The issue is not solved. I tried booting with the real time kernel a second time and I was met with this screen.
No systemd journal seems to have been created.

journalctl -b-1

gives me the log for the boot process of last night, which worked.

journalctl -b

gives me the current boot using the vanilla kernel.

Last edited by pisauraxtx (2021-05-19 09:20:51)

Offline

Board footer

Powered by FluxBB