You are not logged in.

#1 2021-12-01 10:13:20

rhpittman314
Member
Registered: 2020-11-27
Posts: 29

[SOLVED] Arch unable to boot past the clean, X files, Y blocks line

But I can ctrl+alt+F2 to a tty session, no problem. I can also chroot into it from USB, no problem. I've also successfully connected to internet from the PC and updated all/reinstalled many packages that seemed like they might have been the issue.
This is on a dual boot Windows/Arch SSD. I recently got a new one and moved the SSD with Arch to a new slot on my mobo, so could there possibly be some issue of different driver assignments in config files? I have tried to

mkinitcpio -p linux

after chrooting from USB with the SSD mounted, but this didn't seem to help.
Also, I've read about Windows on dual-boot drives messing with Arch installs, but I'm not sure about this either. Wouldn't this be resolved with updating everything through pacman?

Here's journalctl output for last boot:
http://ix.io/3oQ2

Also, doing

nomodeset

in the boot options didn't help.

Last edited by rhpittman314 (2021-12-01 22:25:10)

Offline

#2 2021-12-01 13:32:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,496
Website

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

The system boots just fine - initramfs and kernel questions are irrelevant (unless you need to add modules to your mkinitcpio.conf which has been the solution to similar errors before.  The only problem is SDDM is failing to start X:

Dec 01 03:44:19 torii sddm[681]: Failed to read display number from pipe
Dec 01 03:44:19 torii sddm[681]: Display server stopping...
Dec 01 03:44:19 torii sddm[681]: Attempt 1 starting the Display server on vt 1 failed

There are several results from searching for this error.  Most related to early KMS and video driver issues.

What is your GPU and which driver(s) do you use?  Have you added the relevant modules to your mkinitcpio.conf (and enabled early KMS)?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2021-12-01 13:50:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,223

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

Dec 01 03:44:18 torii kernel: [drm] amdgpu kernel modesetting enabled.
Dec 01 03:44:18 torii kernel: amdgpu: Ignoring ACPI CRAT on non-APU system
Dec 01 03:44:18 torii kernel: amdgpu: Virtual CRAT table created for CPU
Dec 01 03:44:18 torii kernel: amdgpu: Topology: Add CPU node
Dec 01 03:44:18 torii kernel: checking generic (d0000000 300000) vs hw (d0000000 10000000)
Dec 01 03:44:18 torii kernel: fb0: switching to amdgpu from EFI VGA
Dec 01 03:44:18 torii kernel: Console: switching to colour dummy device 80x25
Dec 01 03:44:18 torii kernel: amdgpu 0000:0c:00.0: vgaarb: deactivate vga console
Dec 01 03:44:18 torii kernel: amdgpu 0000:0c:00.0: enabling device (0006 -> 0007)
Dec 01 03:44:18 torii kernel: [drm] initializing kernel modesetting (NAVI10 0x1002:0x731F 0x1DA2:0xE426 0xCA).
Dec 01 03:44:18 torii kernel: amdgpu 0000:0c:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
Dec 01 03:44:18 torii kernel: [drm] register mmio base: 0xFCD00000

It's probably not related, but you're running networkmanager, systemd-networkd, iwd and dhcpcd - at least. ANd PIA on top of that…
Pick one network managing service and disable the other ones. Then let's see

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Offline

#4 2021-12-01 14:05:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,496
Website

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

seth wrote:

It's probably not related, but ...

Actually I'd not be at all surprised if that was the source of the problem.  Networking and hostname identification go hand in hand, and a failure in the latter could very well cause precisely this problem.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2021-12-01 14:10:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,223

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

I'd say so, but SDDM fails three times in a row - that'd be some rotten luck there…

Offline

#6 2021-12-01 19:07:59

rhpittman314
Member
Registered: 2020-11-27
Posts: 29

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

Trilby wrote:

What is your GPU and which driver(s) do you use?  Have you added the relevant modules to your mkinitcpio.conf (and enabled early KMS)?

I have an AMD 5600xt. I have mesa, vulkan-radeon, and the others listed on https://wiki.archlinux.org/title/AMDGPU#Installation
Early KMS seems to be enabled in mkinitcpio.conf with the line

MODULES=(amdgpu)
seth wrote:

It's probably not related, but you're running networkmanager, systemd-networkd, iwd and dhcpcd - at least. ANd PIA on top of that…
Pick one network managing service and disable the other ones.

Went with iwd, but on checking internet connection after that, it seemed to require the DHCP client as well. When doing iwctl and viewing the output for

station wlan0 show

, there were no ip addresses, and it asked if DHCP client was configured. So I have both iwd and dhcpcd running, and this seems to work. So, I only stopped and disabled systemd-networkd and NetworkManager.
Edit: and pia-vpn, as well as smb. I'd only used smb for migrating to this PC, I don't need it running anymore.
Here's the output for the services:

bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.resolve1.service    | system
dbus-org.freedesktop.timesync1.service   | system
dhcpcd.service                           | multi-user.target.wants
dirmngr.socket                           | sockets.target.wants
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
iwd.service                              | multi-user.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-resolved.service                 | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants
wpa_supplicant@wlan0.service             | multi-user.target.wants
xdg-user-dirs-update.service             | default.target.wants

Last edited by rhpittman314 (2021-12-01 19:09:49)

Offline

#7 2021-12-01 20:05:45

loqs
Member
Registered: 2014-03-06
Posts: 18,991

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

Did you configure Iwd#Enable_built-in_network_configuration so iwd would obtain an IP address?

You still have wpa_supplicant@wlan0.service active as well.
Edit:
If the issue is still present please post the contents of xorg.log and any xorg config files you have created.

Last edited by loqs (2021-12-01 20:28:28)

Offline

#8 2021-12-01 21:30:06

rhpittman314
Member
Registered: 2020-11-27
Posts: 29

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

loqs wrote:

If the issue is still present please post the contents of xorg.log and any xorg config files you have created.

Here is journal for most recent boot
http://ix.io/3GIi

Here is Xorg log also (edit: from /var/log/xorg.0.log)
http://ix.io/3GIn

And Xorg config file (edit: from /etc/X11/xorg.conf)
http://ix.io/3GIq

Last edited by rhpittman314 (2021-12-01 21:32:40)

Offline

#9 2021-12-01 21:37:02

loqs
Member
Registered: 2014-03-06
Posts: 18,991

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

What is you disable / remove the auto generated config for four GPUs?

Offline

#10 2021-12-01 22:02:59

rhpittman314
Member
Registered: 2020-11-27
Posts: 29

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

loqs wrote:

What is you disable / remove the auto generated config for four GPUs?

Where is this, in the Xorg config file? How is this setting disabled? It seems odd it'd be set to something like that, as I only have one GPU.

Offline

#11 2021-12-01 22:07:12

loqs
Member
Registered: 2014-03-06
Posts: 18,991

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

From the /etc/X11/xorg.conf specifying four cards each attached to a different display:

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI3"               	# [<bool>]
        #Option     "DRI"                	# <i>
        #Option     "ShadowPrimary"      	# [<bool>]
        #Option     "TearFree"           	# [<bool>]
        #Option     "DeleteUnusedDP12Displays" 	# [<bool>]
        #Option     "VariableRefresh"    	# [<bool>]
	Identifier  "Card0"
	Driver      "amdgpu"
	BusID       "PCI:9:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI3"               	# [<bool>]
        #Option     "DRI"                	# <i>
        #Option     "ShadowPrimary"      	# [<bool>]
        #Option     "TearFree"           	# [<bool>]
        #Option     "DeleteUnusedDP12Displays" 	# [<bool>]
        #Option     "VariableRefresh"    	# [<bool>]
	Identifier  "Card1"
	Driver      "amdgpu"
	BusID       "PCI:10:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI3"               	# [<bool>]
        #Option     "DRI"                	# <i>
        #Option     "ShadowPrimary"      	# [<bool>]
        #Option     "TearFree"           	# [<bool>]
        #Option     "DeleteUnusedDP12Displays" 	# [<bool>]
        #Option     "VariableRefresh"    	# [<bool>]
	Identifier  "Card2"
	Driver      "amdgpu"
	BusID       "PCI:11:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI3"               	# [<bool>]
        #Option     "DRI"                	# <i>
        #Option     "ShadowPrimary"      	# [<bool>]
        #Option     "TearFree"           	# [<bool>]
        #Option     "DeleteUnusedDP12Displays" 	# [<bool>]
        #Option     "VariableRefresh"    	# [<bool>]
	Identifier  "Card3"
	Driver      "amdgpu"
	BusID       "PCI:11:0:1"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen2"
	Device     "Card2"
	Monitor    "Monitor2"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen3"
	Device     "Card3"
	Monitor    "Monitor3"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Although I would suggest removing the entire config and rely on auto detection and only override if required.

Offline

#12 2021-12-01 22:13:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,223

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

+1 - Remove that file.
The journal has only one GPU on 0000:0c:00.0 which doesn't match any of the devices in that static server config.

Offline

#13 2021-12-01 22:24:18

rhpittman314
Member
Registered: 2020-11-27
Posts: 29

Re: [SOLVED] Arch unable to boot past the clean, X files, Y blocks line

loqs wrote:

Although I would suggest removing the entire config and rely on auto detection and only override if required.

seth wrote:

+1 - Remove that file.
The journal has only one GPU on 0000:0c:00.0 which doesn't match any of the devices in that static server config.

This fixed it, thank you! I'm not sure where things went so wrong with that, but removing the file in /etc/X11/xorg.conf and using the auto-generation has resolved the issue.

Offline

Board footer

Powered by FluxBB