You are not logged in.

#1 2022-07-24 16:58:21

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

No login screen after crypsetup password prompt

Hi

I have no login screen after password prompt of crypsetup but the server boots full.

I have a nvidia card and installed nvidia, nvidia-lts and nvidia-utils

lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)
09:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)
sudo pacman -Qe | grep nvidia
nvidia 515.57-9
nvidia-lts 1:515.57-7

Also I have only HDready resolution.

How I can change it this two problems?

Offline

#2 2022-07-24 18:29:00

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

Re: No login screen after crypsetup password prompt

So update:

With latest LTS Kernel it's working properly only with 5.18.14 isn't working well.

The resolution issue is solved with a entry in loader.conf

console-mode max

Here my setting

lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x8) (rev 07)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:15.0 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
00:15.1 Serial bus controller: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:16.4 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller #2 (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0)
00:1b.5 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #22 (rev f0)
00:1b.6 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #23 (rev f0)
00:1b.7 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #24 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1d.1 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #10 (rev f0)
00:1d.3 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #12 (rev f0)
00:1e.0 Communication controller: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller (rev 10)
00:1f.0 ISA bridge: Intel Corporation Device a30a (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP108 High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
04:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
05:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
06:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
07:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
08:00.0 PCI bridge: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge (rev 04)
09:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)
0a:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
0b:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)

Hope for help!

Offline

#3 2022-07-24 18:46:42

progandy
Member
Registered: 2012-05-17
Posts: 5,199

Re: No login screen after crypsetup password prompt

Have you read the note in the wiki about 5.18 and ibt=off? https://wiki.archlinux.org/title/NVIDIA#Installation

There is also this thread with anther issue, maybe that is similar? https://bbs.archlinux.org/viewtopic.php?id=278312


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2022-07-24 18:54:53

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

Re: No login screen after crypsetup password prompt

progandy wrote:

Have you read the note in the wiki about 5.18 and ibt=off? https://wiki.archlinux.org/title/NVIDIA#Installation

There is also this thread with anther issue, maybe that is similar? https://bbs.archlinux.org/viewtopic.php?id=278312

Till 5.18.13 I had no problems with nvidia and latest driver. No I have systemd-boot and have no entry with ibt=off as kernel parameter.


So I have to add it?

I will read the other thread.

Thx for reply.

Offline

#5 2022-07-24 19:16:23

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

Re: No login screen after crypsetup password prompt

fbcon=map:01 or ibt=off dosen't seem to fix it

I have no X-Org or Wayland installed and also no Intel GPU

Last edited by Morta (2022-07-24 19:23:05)

Offline

#6 2022-07-24 19:38:45

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

Re: No login screen after crypsetup password prompt

https://abload.de/img/aaunj7k.png

Last edited by Morta (2022-07-24 20:02:56)

Offline

#7 2022-07-24 19:59:28

seth
Member
Registered: 2012-09-03
Posts: 51,332

Re: No login screen after crypsetup password prompt

Boot the failing kernel, reboot (use ctrl+alt+del or the magic sysrq, do NOT push the power button until the system powers off, we need a clean shutdown)
Then boot the lts kernel and post the journal of the failing boot

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

Also replace the oversized image w/ a link because posting guidelines.

Offline

#8 2022-07-25 14:48:04

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

Re: No login screen after crypsetup password prompt

The Kernel don't shutdown automatic

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

Offline

#9 2022-07-25 15:01:57

seth
Member
Registered: 2012-09-03
Posts: 51,332

Re: No login screen after crypsetup password prompt

That's a journal from an old LTS kernel that booted ~1yr ago…

Aug 09 01:52:38 archlinux kernel: Linux version 5.10.56-1-lts (linux-lts@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP Wed, 04 Aug 2021 12:34:06 +0000

I assume you ran "journalctl -b 1" and not "journalctl -b -1"?

Offline

#10 2022-07-25 15:43:41

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

Re: No login screen after crypsetup password prompt

seth wrote:

That's a journal from an old LTS kernel that booted ~1yr ago…

Aug 09 01:52:38 archlinux kernel: Linux version 5.10.56-1-lts (linux-lts@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP Wed, 04 Aug 2021 12:34:06 +0000

I assume you ran "journalctl -b 1" and not "journalctl -b -1"?

I did copy paste but I will try again

Offline

#11 2022-07-25 15:51:51

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

Re: No login screen after crypsetup password prompt

seth wrote:

That's a journal from an old LTS kernel that booted ~1yr ago…

Aug 09 01:52:38 archlinux kernel: Linux version 5.10.56-1-lts (linux-lts@archlinux) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP Wed, 04 Aug 2021 12:34:06 +0000

I assume you ran "journalctl -b 1" and not "journalctl -b -1"?

Same result now id did journlctl -b and then comes the actual boot process

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

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

Offline

#12 2022-07-25 16:52:30

seth
Member
Registered: 2012-09-03
Posts: 51,332

Re: No login screen after crypsetup password prompt

That's todays boot on

Jul 25 19:38:42 archlinux kernel: Linux version 5.18.14-arch1-1 (linux@archlinux) (gcc (GCC) 12.1.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT_DYNAMIC Sat, 23 Jul 2022 11:46:17 +0000

which would be

5.18.14 isn't working well

where

Jul 25 17:40:06 5erver sshd[2065]: Accepted keyboard-interactive/pam for morta from 192.168.1.106 port 43496 ssh2
Jul 25 17:40:06 5erver systemd-logind[1377]: New session 1 of user morta.

you logged in via ssh.

You've "ibt=off" and "fbcon=map:01" probably won't do anything because there's only one GPU.
You might fall into https://bbs.archlinux.org/viewtopic.php?id=278351 => try passing "nvidia_drm.modeset=0"

But then there's also

Jul 25 19:38:42 archlinux systemd-tty-ask-password-agent[324]: Starting password query on /dev/tty1.
Jul 25 19:39:00 archlinux systemd-tty-ask-password-agent[324]: Password query on /dev/tty1 finished successfully.
Jul 25 19:39:00 archlinux systemd-tty-ask-password-agent[324]: Invalid password file /run/systemd/ask-password/ask.4vJLOs
Jul 25 19:39:00 archlinux systemd-tty-ask-password-agent[324]: Failed to process password: Bad message
Jul 25 19:39:02 archlinux systemd-tty-ask-password-agent[324]: Starting password query on /dev/tty1.
Jul 25 19:39:10 archlinux systemd-tty-ask-password-agent[324]: Password query on /dev/tty1 finished successfully.
Jul 25 19:39:10 archlinux systemd-tty-ask-password-agent[324]: Starting password query on /dev/tty1.

Ahead of

Jul 25 17:39:34 5erver systemd[1]: Started Getty on tty1.
Jul 25 17:39:34 5erver systemd[1]: Reached target Login Prompts.

and I'm not sure whether systemd-tty-ask-password-agent might interfere w/ the getty login and that's what you're seeing.
In that case:

I have no login screen after password prompt of crypsetup but the server boots full.

What *do* you see at this stage?

Offline

#13 2022-07-25 16:58:45

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

Re: No login screen after crypsetup password prompt

I can prompt the password for cryptsetup and it’s boot till the screenshot I did above.

Yes I enter sometime a wrong password because is a long one.

I will try nvidia_drm.modeset=0 as kernel parameter

5.18.13 works and latest lts kernel


EDIT: nvidia_drm.modeset=0 has no affect

Last edited by Morta (2022-07-25 17:03:41)

Offline

#14 2022-07-25 19:52:52

seth
Member
Registered: 2012-09-03
Posts: 51,332

Re: No login screen after crypsetup password prompt

Does the output consistenly stall here?

Jul 25 17:39:33 5erver systemd[1]: Starting Create Volatile Files and Directories...
Jul 25 17:39:33 5erver kernel: intel_tcc_cooling: Programmable TCC Offset detected
Jul 25 17:39:33 5erver kernel: intel_rapl_common: Found RAPL domain package
Jul 25 17:39:33 5erver kernel: intel_rapl_common: Found RAPL domain core
Jul 25 17:39:33 5erver kernel: intel_rapl_common: Found RAPL domain dram
Jul 25 17:39:33 5erver systemd[1]: Finished Create Volatile Files and Directories.

What if you blacklist those modules?
(You can do so from the kernel commandline, https://wiki.archlinux.org/title/Kernel … and_line_2 )

Offline

#15 2022-07-26 08:14:40

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

Re: No login screen after crypsetup password prompt

5.18.14 only contained the mitigations for retbleed.  What if you disable those with the kernel parameter retbleed=off ?

Offline

#16 2022-07-26 11:09:36

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

Re: No login screen after crypsetup password prompt

loqs wrote:

5.18.14 only contained the mitigations for retbleed.  What if you disable those with the kernel parameter retbleed=off ?

Dosen't help

Offline

#17 2022-07-26 11:15:26

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

Re: No login screen after crypsetup password prompt

loqs wrote:

5.18.14 only contained the mitigations for retbleed.  What if you disable those with the kernel parameter retbleed=off ?

module_blacklist=intel_tcc_cooling,intel_rapl_common doesn't help either


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

Offline

#18 2022-07-26 14:42:03

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

Re: No login screen after crypsetup password prompt

Apart from upstream retbleed,  local changes for  5.18.14.arch1-1 were
https://github.com/archlinux/linux/comm … 372322375d soundwire: Raise DEFAULT_PROBE_TIMEOUT to 10000 ms
https://github.com/archlinux/svntogit-p … 3c3384053c enabling the new options for retbleed
plus whatever changed in the toolchain

Last edited by loqs (2022-07-26 14:42:16)

Offline

#19 2022-07-26 15:00:14

seth
Member
Registered: 2012-09-03
Posts: 51,332

Re: No login screen after crypsetup password prompt

Is "Starting Create Volatile Files and Directories..." still/consistently the trailing message?
The next action would be rpc_pipefs.target … (but w/ everything going on w/ nvidia and 5.18.14, the output is probably coincidental anyway…)

Edit

Jul 26 15:04:25 archlinux kernel: Spectre V2 : Mitigation: IBRS
Jul 26 15:04:25 archlinux kernel: Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
Jul 26 15:04:25 archlinux kernel: RETBleed: Mitigation: IBRS
+ CONFIG_CPU_IBPB_ENTRY=y
+ CONFIG_CPU_IBRS_ENTRY=y

Edit #2:
But that journal also hasn't retbleed mitigation disabled … hmm

Last edited by seth (2022-07-26 15:10:43)

Offline

#20 2022-07-26 15:09:49

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

Re: No login screen after crypsetup password prompt

I would suggest rebuilding the kernel with the following unset:

CONFIG_RETHUNK
CONFIG_CPU_UNRET_ENTRY
CONFIG_CPU_IBPB_ENTRY
CONFIG_CPU_IBRS_ENTRY

Which I believe are all the new mitigations.  Then rebuild the nvidia module. As objtool complains about 48410 cases of 'naked' return found in RETHUNK build with 5.8.14.  Although as Morta's system is using the IBRS I would not expect it to matter.  However given the lack of other changes in that release.

Last edited by loqs (2022-07-26 15:10:32)

Offline

#21 2022-07-26 15:18:01

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

Re: No login screen after crypsetup password prompt

seth wrote:

Is "Starting Create Volatile Files and Directories..." still/consistently the trailing message?
The next action would be rpc_pipefs.target … (but w/ everything going on w/ nvidia and 5.18.14, the output is probably coincidental anyway…)

Edit

Jul 26 15:04:25 archlinux kernel: Spectre V2 : Mitigation: IBRS
Jul 26 15:04:25 archlinux kernel: Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
Jul 26 15:04:25 archlinux kernel: RETBleed: Mitigation: IBRS
+ CONFIG_CPU_IBPB_ENTRY=y
+ CONFIG_CPU_IBRS_ENTRY=y

Edit #2:
But that journal also hasn't retbleed mitigation disabled … hmm

Yes I changed back after nothing happen. I learned that only one change by one try.

Offline

#22 2022-07-26 15:19:31

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

Re: No login screen after crypsetup password prompt

loqs wrote:

I would suggest rebuilding the kernel with the following unset:

CONFIG_RETHUNK
CONFIG_CPU_UNRET_ENTRY
CONFIG_CPU_IBPB_ENTRY
CONFIG_CPU_IBRS_ENTRY

Which I believe are all the new mitigations.  Then rebuild the nvidia module. As objtool complains about 48410 cases of 'naked' return found in RETHUNK build with 5.8.14.  Although as Morta's system is using the IBRS I would not expect it to matter.  However given the lack of other changes in that release.

Ok will be  5.18.15 with these changes? It will be very user unfriendly when I have build every kernel release self

Offline

#23 2022-07-26 15:25:17

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

Re: No login screen after crypsetup password prompt

Morta wrote:

Ok will be  5.18.15 with these changes? It will be very user unfriendly when I have build every kernel release self

Assuming one of those is at fault,  if it only breaks the nvidia module I would not expect the options to be changed given kernel IBT support already causes breakage with the nvidia module.

Offline

#24 2022-07-26 16:43:48

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

Re: No login screen after crypsetup password prompt

Ok. I have seen that I upgraded from 5.18.12 to 5.18.14 Kernel it could be also changes on 5.18.13. Sorry my fault. I downgrade to 5.18.12 and look if it happen again.

EDIT: Kernel 5.18.12 boots without problems!

Last edited by Morta (2022-07-26 16:49:42)

Offline

#25 2022-07-26 17:07:46

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

Re: No login screen after crypsetup password prompt

You can obtain 5.18.13 from the ALA

# pacman -U https://archive.archlinux.org/packages/l/linux/linux-5.18.13.arch1-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/n/nvidia/nvidia-515.57-7-x86_64.pkg.tar.zst

Offline

Board footer

Powered by FluxBB