You are not logged in.

#1 2022-08-07 19:05:23

giostark
Member
Registered: 2016-12-03
Posts: 42

[SOLVED] System stuck at '/dev/sd..' after system upgrade

EDIT: the problem was with Xrog. In general in the past was the nvidia driver or the kernel. This make me think wrongly . Reinstalling harfbuzz and substituted freetype-cleanfont with freetype2 Xorg was back again as SDDM.
Thank to the community!

Hi all,
I would say that my issue is the same as this : https://bbs.archlinux.org/viewtopic.php?id=278548
For me too when I performed the pacman -Syu I was in the desktop environment (plasma). No errors were occurred.
At restart me too stuck after :
" starting version 251.3-1-arch
/dev/nvme1n1p1: clean ........"
At this point ,as for the other  guy , it should load some other line and blink instantaneously in sddm.  (on a good nvme it is pretty immediate)

What bring me to write here is that something is different from other time I encountered this issue.
I use also the linux-vfio for the IMMO grouping. 1 VGA and other pciex card come passed to the virtual machine.
After some update (in along time) could happen the new   nvidia drivers are not "compatible" with the "old" linux-vfio , so I have to rebuild it from source and all come to work again.
In that case the stock kernel always worked (without the IMMO grouping of course)  and let me reach the desktop.
This time also the stock kernel is broken. :-(
The journalctl --system report a infinite loop error : "server dbus-daemon[546] [system] Rejected : destination has a full message queue , 0 matched rules; ......................... "

I can enter in the TTY usung the ctrl+alt+F2 ...
I tried to reinstall the "linux" (5.18.16) stock and the "linux-vfio"5.17.4) (still without recompiling it) and the "nvidia-dkms". I can see it generate the entries for grub.
The \boot folder seems to be correctly mounted , I can enter and see all the grub entries.

Please can someone give me some advise ? I'm a noob so please if you need information tell me the exact command I need to report.

Thanks you all for your time! ...and long life to arch ! :-)

Last edited by giostark (2022-08-08 13:58:19)

Offline

#2 2022-08-07 19:25:11

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

Re: [SOLVED] System stuck at '/dev/sd..' after system upgrade

Please try chrooting in from the installation media then posting the journal for boot with the issue to a pastebin.

Offline

#3 2022-08-07 20:48:56

giostark
Member
Registered: 2016-12-03
Posts: 42

Re: [SOLVED] System stuck at '/dev/sd..' after system upgrade

tnx Ioqs,
I can read the journalctl with the -r option. Le loop lines seems really old. I found that I have near of 4GB of journal LOL . I try to fix this before, reboot and post.

Offline

#4 2022-08-07 23:25:06

giostark
Member
Registered: 2016-12-03
Posts: 42

Re: [SOLVED] System stuck at '/dev/sd..' after system upgrade

I cleaned a little the journal ... I should learn much more how to maintain a system...
This is the last journal -r (so the last entries should be the first in time order).
https://termbin.com/pl1yw
SDDM fail to read the display (but if you see other bad stuff let me know please:

Aug 08 00:32:49 server sddm[554]: Could not start Display server on vt 1
Aug 08 00:32:49 server sddm[554]: Attempt 3 starting the Display server on vt 1 failed
Aug 08 00:32:49 server sddm[554]: Display server stopping...
Aug 08 00:32:49 server sddm[554]: Failed to read display number from pipe
Aug 08 00:32:49 server sddm[554]: Running: /usr/bin/X -dpi 144 -background none -seat seat0 vt1 -auth /var/run/sddm/{f364a293-cc32-4360-a6a9-e20669e9df2e} -noreset -displayfd 17
Aug 08 00:32:49 server sddm[554]: Adding cookie to "/var/run/sddm/{f364a293-cc32-4360-a6a9-e20669e9df2e}"
Aug 08 00:32:49 server sddm[554]: Display server starting...

This is different from the usual fail I had in the past and that I solved recompiling the vfio kernel.
Seem that there is a triangle : kernel + nvidia + sddm that must work and talk together.  In the past was never an SDDM fault. But always from kernel + nvidia.
Actually I have installed :
last kernel 5.18.16 + kernel v-fio 5.17.4
the last nvidia-dkms 515.65.01
the last sddm 0.19.0

tnx for the support ;-)

Last edited by giostark (2022-08-07 23:28:02)

Offline

#5 2022-08-07 23:36:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] System stuck at '/dev/sd..' after system upgrade

What's in the xorg log?

I'm also seeing "nouveau.modeset=0" in the kernel command line. You're not actually using nouveau, are you? What does lsmod show?

Last edited by Scimmia (2022-08-07 23:40:42)

Offline

#6 2022-08-08 00:20:58

giostark
Member
Registered: 2016-12-03
Posts: 42

Re: [SOLVED] System stuck at '/dev/sd..' after system upgrade

Hi Scimmia , tnx to you too...
I have two xorg:
xorg.0.log https://termbin.com/a5dh
xorg.1.log but is empty.
Because the pci-passthrough I had to black-list the nouveau (at least this was stated in the guide).
lsmod report correctly all nvidia module loaded: "nvidia 45383680  2  nvidia_uvm, nvidia_modeset.
But "nvidia_drm" is set to 0. "nvidia_drm 73728  0". https://forums.developer.nvidia.com/t/u … g/204068/3
I have a sequence order to wait for the correct load of some peripherals.
This is tricky ... damn ...

Offline

#7 2022-08-08 00:36:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] System stuck at '/dev/sd..' after system upgrade

That log is from Sat Aug  6 23:10:18 2022, we need the log corresponds to the journal you posted (Aug 08 00:32:44 or so)

nouveau is blacklisted by the nvidia-dkms package anyway, but you can override that by adding the module to the initramfs. I was just making sure that wasn't the case.

Edit: I'm seeing "sddm[554]: Failed to read display number from pipe", makes me wonder if this is just a simple race condition. Adding the nvidia modules to the initramfs is a common workaround for that.

Last edited by Scimmia (2022-08-08 00:57:45)

Offline

#8 2022-08-08 07:32:10

giostark
Member
Registered: 2016-12-03
Posts: 42

Re: [SOLVED] System stuck at '/dev/sd..' after system upgrade

I already have inserted in the /etc/mkinitcpio.conf the nvidia entry. I had this race problem lots of time ago.
Yesterday I tried also to add the other 3 modules (uvm ,modeset,drm) and re run the mkinitcpio -P ... but at reboot non of the 2 kernel start. Always same behavior as before.

I tried to startx (with errors) but the log remain the same ... mmm ... It should regenerate every time i boot right?

"/usr/lib/Xorg:symbol lookup error: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Transform
xinit: giving up
xinit: unable to connect to  X server: conection refused
xinit: serer error"

Offline

#9 2022-08-08 07:45:36

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

Re: [SOLVED] System stuck at '/dev/sd..' after system upgrade

What is the output of

pacman -Qi harfbuzz freetype2

Offline

#10 2022-08-08 08:07:46

giostark
Member
Registered: 2016-12-03
Posts: 42

Re: [SOLVED] System stuck at '/dev/sd..' after system upgrade

I'm in office right now, and the workstation is at home. Soon as I will be there I'll check , tnx  ;-)  (14:30 LT)

Offline

#11 2022-08-08 13:55:12

giostark
Member
Registered: 2016-12-03
Posts: 42

Re: [SOLVED] System stuck at '/dev/sd..' after system upgrade

Bloody hell , I cant believe this. I reinstalled harfbuzz and substituted freetype-cleanfont with freetype2 and xorg started again and so sddm.
When I encountered this issue I was upgrading 3.5GB of updates (cause my old mobo had a failure in the bios and I had to change it entirely with an other with same chipset but different model) .
After that I checked that the system started fine and was functional  , I performed the update. Maybe it was too massive and something is gone wrong.
So basically I learned that if something go wrong I have to check the journal and xorg.log...well.
Thanks you guyz ! Without those directions I would take ages to find the culprit.
I'll mark as solved.

Offline

Board footer

Powered by FluxBB