You are not logged in.

#26 2022-12-04 11:23:27

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

My NAS

sudo journalctl -b | curl -F 'file=@-' 0x0.st

http://0x0.st/okxk.txt

Offline

#27 2022-12-04 14:03:52

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,445

Re: [Solved]systemd kills boot up till version 252.1-2-arch

That's 127MB?

Online

#28 2022-12-04 14:10:32

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Yes but don’t ask me why

Offline

#29 2022-12-04 14:52:46

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,445

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Cause it'S running for a week.

Nov 27 16:47:35 archlinux kernel: Linux version 6.0.10-arch2-1 (linux@archlinux) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0) #1 SMP PREEMPT_DYNAMIC Sat, 26 Nov 2022 16:51:18 +0000
…
Nov 27 16:47:50 archlinux systemd[1]: Found device /dev/vg_data/root.

That's 15 seconds until the root partition shows up - how exactly is that better than your other system?
The log is virtually indistinguishable form the one you posted at filehorst hmm

Online

#30 2022-12-04 15:02:39

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

seth wrote:

Cause it'S running for a week.

Nov 27 16:47:35 archlinux kernel: Linux version 6.0.10-arch2-1 (linux@archlinux) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0) #1 SMP PREEMPT_DYNAMIC Sat, 26 Nov 2022 16:51:18 +0000
…
Nov 27 16:47:50 archlinux systemd[1]: Found device /dev/vg_data/root.

That's 15 seconds until the root partition shows up - how exactly is that better than your other system?
The log is virtually indistinguishable form the one you posted at filehorst hmm

I don’t fall in emergency mode and don’t have to downgrade systemd to boot properly!

How I can make my journal “pretty” ?

Offline

#31 2022-12-04 15:09:59

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,445

Re: [Solved]systemd kills boot up till version 252.1-2-arch

What? Pretty??
Raise the rootdelay or use rootwait to wait indefinitely.
Alternatively look at your cryptsetup config again, 15-20 seconds delay is rather not normal?

Online

#32 2022-12-04 15:17:31

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

seth wrote:

What? Pretty??
Raise the rootdelay or use rootwait to wait indefinitely.
Alternatively look at your cryptsetup config again, 15-20 seconds delay is rather not normal?

Sorry my english is limited.

I thought my journalctl is to big, not uploaded properly
and you can’t read. My fault.

The difference is that on my server machine I fall automatically in emergency mode with latest systemd 252.2-2 and on my nas not with systemd 252.2-2.

With systemd 252.1-2 the server boot up properly!

So why? I can increase root wait but I think won’t fix the problem which exists till systemd 252.2-1

Last edited by Morta (2022-12-04 15:17:49)

Offline

#33 2022-12-04 15:31:02

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,445

Re: [Solved]systemd kills boot up till version 252.1-2-arch

I can increase root wait

No you can't.
https://raw.githubusercontent.com/torva … meters.txt

With systemd 252.1-2 the server boot up properly!

Post a journal of that as well, but I suspect it's merely between "almost too slow" and "too slow".

Online

#34 2022-12-04 15:46:23

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

seth wrote:

I can increase root wait

No you can't.
https://raw.githubusercontent.com/torva … meters.txt

I added now rootwait to the bootloader. I will test it. -> Now it's going in emergency mode after long long time....

With systemd 252.1-2 the server boot up properly!

Post a journal of that as well, but I suspect it's merely between "almost too slow" and "too slow".

Sorry to say you it's really not a problem of this 15 second was it's far long but not too long. It's problem after prompting the password and boot like on the pictures above it's not finding the partitions root, data and backup. I prompted the right password. The services doesn't show up. Why should work with systemd252.1-2 and with systemd252.2-2 not? There is no other reason than other code of systemd, nor?

How can I show the two latest two boot sequence one with systemd252.1-2 and the other with systemd252.2-2?

I have no internet access in the emergency mode!

Offline

#35 2022-12-04 15:50:01

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

That should be the latest boot up

The other one can't find in the journal

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

https://0x0.st/okgW.txt

Last edited by Morta (2022-12-04 15:57:46)

Offline

#36 2022-12-04 16:19:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,445

Re: [Solved]systemd kills boot up till version 252.1-2-arch

The emergency mode is triggered because the root device doesn't show up…

That journal is a bit older, is it?

Aug 09 01:03:22 archlinux kernel: Linux version 5.13.9-arch1-1 (linux@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun, 08 Aug 2021 11:25:35 +0000

but

Aug 09 01:03:22 archlinux systemd[1]: Starting Cryptography Setup for cryptdata...
Aug 09 01:03:22 archlinux systemd[1]: Starting Cryptography Setup for cryptroot...
Aug 09 01:03:44 archlinux systemd[1]: Finished Cryptography Setup for cryptdata.
Aug 09 01:03:52 archlinux systemd[1]: Finished Cryptography Setup for cryptroot.

cryptseup is likewise slow.

Online

#37 2022-12-16 03:48:47

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

I did a bug report on systemd they said I have to open  a bug report on the distro which I did.

The response was I have to bisect systemd version 252.1-2 and systemd 252.2.-1 to revert the wrong commit. Could someone help me?

Offline

#38 2022-12-16 07:58:02

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,445

Online

#39 2022-12-16 12:09:04

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Yes systemd-boot

Offline

#40 2022-12-16 13:17:25

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,445

Re: [Solved]systemd kills boot up till version 252.1-2-arch

There's a truckload of reports for systemd-boot 252 causing this, see eg. https://bbs.archlinux.org/viewtopic.php?id=281738 and https://bbs.archlinux.org/viewtopic.php?id=281990 and https://bbs.archlinux.org/viewtopic.php?id=281376 and there're resp. upstream bugreports.


I did a bug report on systemd they said I have to open  a bug report on the distro which I did.

Please link those here, I'm curious how whether they try to reason "open  a bug report on the distro"…

Online

#41 2022-12-16 13:33:58

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Offline

#42 2022-12-16 13:50:03

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,445

Re: [Solved]systemd kills boot up till version 252.1-2-arch

sYsTeMd dOeS NoT SuPpOrT LvM

Steps you need to take
1.

seth wrote:

Raise the rootdelay or use rootwait to wait indefinitely.

to see whether the abnormally late root device triggers this
2. use a different bootloader (eg. grub) along the recent systemd to see whether your problem is also down to systemd-boot

Online

#43 2022-12-16 14:13:00

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

seth wrote:

sYsTeMd dOeS NoT SuPpOrT LvM

Steps you need to take
1.

seth wrote:

Raise the rootdelay or use rootwait to wait indefinitely.

to see whether the abnormally late root device triggers this
2. use a different bootloader (eg. grub) along the recent systemd to see whether your problem is also down to systemd-boot

1. already done

2. Ok I will do

Offline

#44 2022-12-16 14:36:44

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,445

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Already done where, how, with what outcome? Journal of that boot?

Online

#45 2022-12-16 14:44:59

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

There is no journal it’s goes to the emergency console exactly the same behaviour as normal

Offline

#46 2022-12-16 15:08:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,445

Re: [Solved]systemd kills boot up till version 252.1-2-arch

And how *exactly* did you increase the rootdelay?

Online

#47 2022-12-16 18:15:30

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

I added rootwait to the kernel parameter

Last edited by Morta (2022-12-16 18:15:40)

Offline

#48 2022-12-16 18:21:46

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

git tag
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024

I have this list as git tag command. How I know which is systemd252.1-2 and the other systemd252.2-1 to add a good commit and bad commit

I did following

git clone https://github.com/archlinux/svntogit-packages.git
git tag
git bisect good 4bbea20
git bisect bad 5ad540c
cd trunk
makepkg -efsi 

makepkg fails with meson error. What I did wrong?

Last edited by Morta (2022-12-16 18:58:17)

Offline

#49 2022-12-16 18:54:54

Morta
Member
Registered: 2019-07-07
Posts: 660

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Ok it's fails with GRUB too

PS: Is sd-encrypt and sd-vconsole is only needed by systemd-boot?

Last edited by Morta (2022-12-16 19:00:12)

Offline

#50 2022-12-16 19:16:19

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,168

Re: [Solved]systemd kills boot up till version 252.1-2-arch

Morta wrote:

Ok it's fails with GRUB too

PS: Is sd-encrypt and sd-vconsole is only needed by systemd-boot?

I don't think that's related to your boot-loader, but to the other hooks you use in mkinitcpio.conf. If you use systemd rather than udev in your initramfs, you need sd-encrypt, for example, whereas udev would need encrypt instead. But what's in your initramfs is relevant to what happens after the boot-loader does its job, as far as I know, so I don't think grub should care.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB