You are not logged in.

#1 2021-01-08 19:48:49

gdeshors
Member
Registered: 2015-01-22
Posts: 34

[Solved] Boot stuck at "starting version 247.2-1-arch"

Hello

I did yesterday a full update, which I think I hadn't done in 4-6 weeks. The system refuses to boot, and stays on the black screen "starting version 247.2-1-arch", at which point I can see the screen resolution change once and then nothing happens (I've waited at least 10 minutes).

What I've tried :
* booting on fallback initramfs - no change
* I've booted in a live key with arch-root and installed the LTS kernel. When booting on it the result is the same
* following dumbly this page this page I've tried to remove xf86-video-intel - no change

I've looked at journalctl ; I see a recurring pattern of failures and systemd-coredump, apparently linked to polkit.service. It seems that polkitd segfaults right after "starting authorization manager". I don't have an easy way to paste the logs here, but if it helps I can plug another key to copy them or even take a photo smile

Do you have an advice ? Thanks !

Last edited by gdeshors (2021-01-13 23:15:30)

Offline

#2 2021-01-09 01:04:31

nd925a
Member
Registered: 2017-01-30
Posts: 43

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

If you do:

command |& curl -F 'f:1=<-' ix.io

it'll spit out a url that'll contain whatever the command was that you could type in here.

Ex.

$ whoami |& curl -F 'f:1=<' ix.io
http://ix.io/2Lnh

The two idea's I have:
Update again from within the arch-chroot.

$pacman -Rs polkit
$pacman -S polkit

[EDIT] Formatting

Last edited by nd925a (2021-01-09 01:05:18)

Offline

#3 2021-01-09 18:17:47

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Hi, thanks. You said you had two ideas ?

I couldn't do pacman -R because polkit was needed by other packages and I didn't look how to force the removal. The pacman -S reinstalled the package but it didn't change anything on the boot. I see this time a line appearing on screen every 30s or so, saying "[FAILED] Failed to start Authorization Manager." I had seen it once before, but not every time, which is awkward.
I'll try to really remove all dependencies and reinstall polkit.

Thanks for the tip on how to post something from command line. What could I post which could be useful ?

Offline

#4 2021-01-09 19:47:13

zpg443
Member
Registered: 2016-12-03
Posts: 271

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Post your journal output to ix.io and link.

Offline

#5 2021-01-11 17:05:45

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Hi, here it is : http://ix.io/2LFk

Offline

#6 2021-01-11 17:36:02

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Jan 08 20:38:08 bureau-i5 audit[712]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 pid=712 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" sig=11 res=1
Jan 08 20:38:08 bureau-i5 kernel: polkitd[712]: segfault at 8 ip 00007f3394cf1879 sp 00007ffc16d54990 error 4 in ld-2.32.so[7f3394ce1000+21000]
Jan 08 20:38:08 bureau-i5 kernel: Code: 8b 44 24 08 4c 8b 70 08 41 80 3e 00 75 18 48 8b 05 dc 9b 01 00 4c 8b 30 48 8d 05 64 18 01 00 4d 85 f6 4c 0f 44 f0 48 8b 45 68 <4c> 8b 58 08 48 8d 05 dc 9b 01 00 f6 00 10 0f 85 d3 01 00 00 48 8b
Jan 08 20:38:08 bureau-i5 kernel: audit: type=1701 audit(1610134688.388:109): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=712 comm="polkitd" exe="/usr/lib/polkit-1/polkitd" sig=11 res=1
Jan 08 20:38:08 bureau-i5 systemd[1]: Started Process Core Dump (PID 713/UID 0).
Jan 08 20:38:08 bureau-i5 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@7-713-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 08 20:38:08 bureau-i5 kernel: audit: type=1130 audit(1610134688.388:110): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@7-713-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 08 20:38:08 bureau-i5 systemd-coredump[714]: Removed old coredump core.polkitd.0.ccec452ff2a54baf8b8f39cca94906d2.698.1610134663000000.zst.
Jan 08 20:38:08 bureau-i5 systemd-coredump[714]: Process 712 (polkitd) of user 0 dumped core.
                                                 
                                                 Stack trace of thread 712:
                                                 #0  0x00007f3394cf1879 _dl_check_map_versions (ld-linux-x86-64.so.2 + 0x12879)
                                                 #1  0x00007f3394cf1eff _dl_check_all_versions (ld-linux-x86-64.so.2 + 0x12eff)
                                                 #2  0x00007f3394ce1c2c version_check_doit (ld-linux-x86-64.so.2 + 0x2c2c)
                                                 #3  0x00007f3394cfbfd2 _dl_receive_error (ld-linux-x86-64.so.2 + 0x1cfd2)
                                                 #4  0x00007f3394ce40d0 dl_main (ld-linux-x86-64.so.2 + 0x50d0)
                                                 #5  0x00007f3394cfa992 _dl_sysdep_start (ld-linux-x86-64.so.2 + 0x1b992)
                                                 #6  0x00007f3394ce1ff1 _dl_start (ld-linux-x86-64.so.2 + 0x2ff1)
                                                 #7  0x00007f3394ce1098 _start (ld-linux-x86-64.so.2 + 0x2098)
Jan 08 20:38:08 bureau-i5 systemd[1]: polkit.service: Main process exited, code=dumped, status=11/SEGV

What is the output of

pacman -Qikk glibc

Offline

#7 2021-01-11 17:41:02

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

pacman -Qikk glibc --> http://ix.io/2LFt

Offline

#8 2021-01-11 18:04:21

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

glibc up to date and corruption free,  rules that out.
So expanding to check the rest of the system:

# pacman -Qkk 2>&1 | grep -Fv '0 altered files'

Offline

#9 2021-01-11 18:21:36

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

There are quite a bit of mismatches, I don't know what they mean : http://ix.io/2LFQ

Offline

#10 2021-01-11 19:52:22

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

I do not see anything that would explain the issue in the output.

Offline

#11 2021-01-11 19:56:06

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Thanks for your input. I hope someone else has another idea smile

Offline

#12 2021-01-11 21:03:54

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Boot the multi-user.target (1st link in my signature, this should work since polkit is invoked by accounts-daemon which is invoked by GDM) and post the output of

$ ldd /usr/lib/polkit-1/polkitd

The run

# strace /usr/lib/polkit-1/polkitd 2>&1 | tee /tmp/polkit.strace

(You must run that from a root shell, "sudo strace …" won't work)

and upload that file (could be too long, the tail is gonna be more interesting than the head)

Offline

#13 2021-01-12 13:30:40

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Hi Seth. Indeed it booted in multi-user target. Good to know already. Here is the requested strace file : http://ix.io/2LM5

Offline

#14 2021-01-12 15:06:00

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Let's go w/ the nearest match.

stat /usr/lib/libgpg-error.so.0
pacman -Qo /usr/lib/libgpg-error.so.0
pacman -Qikk libgpg-error

Offline

#15 2021-01-12 19:15:31

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Here it is : http://ix.io/2LOr

Offline

#16 2021-01-12 19:27:52

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

FYI I just tried to reinstall libgpg-error after deleting the package in /var/cache/pacman, but after running "gdm" nothing happens and then I see the same polkitd segfault in dmesg output.

Offline

#17 2021-01-13 08:46:59

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

The pacman -Qkk output has a bunch of stray tokens in it - did you edit it somehow (or worse: copy and pasted it from the terminal)?

Offline

#18 2021-01-13 09:17:57

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

What is a stray token ? I just redirected the commands and their results in a file and edited it to insert two line feeds for readability between the 3 commands, it's all I did.

Last edited by gdeshors (2021-01-13 09:20:14)

Offline

#19 2021-01-13 09:28:41

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Comparing the outputs of the two pacman -Qikk that I provided in this thread, I noticed that the first is in english, made from arch-root on my system after a boot from a usb key, and the second is in french, made from my system booted in multi-user target. And it seems that the "None" are localized by "--" in french, could it be what you were talking about ?

Offline

#20 2021-01-13 09:49:08

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

This file https://bbs.archlinux.org/viewtopic.php … 0#p1949360
"ered files" is the tail of "somethingsomething altered files" and so is probably "les", "c/shells (Size mismatch)" should be "/etc/shells (Size mismatch)" …
There're more of those what makes the file look edited or copy-pasted from the stdout

This means the output is compromised and we cannot be sure that a crucial line wasn't lost.

Offline

#21 2021-01-13 09:56:52

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

I see, you're right... I promise I didn't tamper in any way, I even think I redirected the output to ix.io directly. I'll do it again right now.

Offline

#22 2021-01-13 10:11:52

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

The truncated lines appear when I use " 2>&1", I don't understand why... I made separately :
# pacman -Qkk 2>file --> http://ix.io/2LSq
# pacman -Qkk | grep -Fv '0 fichier modifié' > file --> http://ix.io/2LSs

Offline

#23 2021-01-13 15:08:36

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

2>&1 redirects stderr into stdout, but there should™ be no collision… I wonder whether that's related to your polkit situation.

echo $SHELL
stat /bin/sh

Also run

LC_ALL=C LD_DEBUG=all /usr/lib/polkit-1/polkitd > ~/very.big.ld.debug.file 2>&1

You'll probably have to use a google drive or so to upload that - in doubt post at least the tail…

Offline

#24 2021-01-13 15:52:14

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

"there should™ be no collision" --> yes, I've never seen that. I thought the same as you.

My $SHELL is /bin/bash for root. stat /bin/sh gives this : http://ix.io/2LUD

I'll now run the last command you asked.

Offline

#25 2021-01-13 15:57:18

gdeshors
Member
Registered: 2015-01-22
Posts: 34

Re: [Solved] Boot stuck at "starting version 247.2-1-arch"

Okay, it was quick. The commands with polkitd exits in about half a second and gives a segmentation fault in the console, with a core dump.

The resulting file is here : http://ix.io/2LUE

Offline

Board footer

Powered by FluxBB