Project

General

Profile

Bug #2816

cannot boot with linux-libre kernel 5.7.2-1 and cryptsetup

nona - 3 months ago - . Updated 7 days ago.

Status:
unconfirmed
Priority:
bug
Assignee:
% Done:

0%


Description

Hi.

I have cryptsetup when I boot. For a long time, I have not been able to see the prompt to input the password, but I can still boot (it's there, I just don't see it). I upgraded my system yesterday, and when I tried to boot today, I realised that the computer would not boot; it would not move from the blank screen that I regularly see.

I restarted the computer, and added `nomodeset' to the linux-libre kernel line of GRUB. That allowed me to boot, but I cannot log-in to a graphical interface. I restarted again and tried without the `nomodeset' with linux-libre-lts, but I could not boot.

After adding `nomodeset' to the linux-libre kernel again, I downgraded linux-libre to 5.6.12-1 and was able to boot in my regular and unorthodox method (blank screen, type in my cryptsetup password blindly).

I don't know what information is required, but I have an AMD Ryzen 2500 which comes embedded with a Vega 8 graphics card. My kernel line is

linux    /vmlinuz-linux-libre-lts root=<<my-root>> rw  cryptdevice=<<my-device>> resume=<<my-resume>> spec_store_bypass_disable=on quiet splash fbcon=font:TER16x32

the specs from lspci for my Grahpics card are

[AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd]

the specs for my cpu from lscpu are

AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
...
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme ssbd sev vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca

History

#1

Updated by bill-auger 3 months ago

  • Assignee set to Megver83
#2

Updated by bill-auger 3 months ago

this looks to me pretty much of a duplicate of #1750 which was posted two years ago by the same person - that one is still open marked: 'info-needed'

nona -

is this essentially the same problem as #1750? - is it the same ryzen computer? - if so, we should close this ticket and continue the discussion with #1750 - otherwise, you noted in #1750 that the original problem was fixed, so maybe this is a different problem, and #1750 should be closed instead

#3

Updated by nona 3 months ago

No, bill, it's not the same issue. It is the same computer. The behaviour now is that the system does NOT take my password unless I downgrade. As I mentioned:

...For a long time, I have not been able to see the prompt to input the password, but I can still boot...

About bug #1750, I still don't know why it is still marked as info needed, if I already provided everything which was requested, and nobody has asked me for more. I guessed it was not a priority.

Thanks.

#4

Updated by Megver83 3 months ago

do you have the same problem without cryptsetup?

#5

Updated by nona 3 months ago

Since
  1. This only happens after I install linux-libre 5.7.2-1-x86_64
  2. I can boot with `nomodeset' with linux-libre 5.7.2-1-x86_64
  3. I can go back to 5.6.12-1.x86_64 or linux-libre-lts 5.4.41-1_x86_64
    I guess that the answer is yes.

My whole disk is encrypted. I hope that there is a way to test this without uninstalling my whole system (including my personal files and configuration).

#6

Updated by bill-auger 3 months ago

the first thing i would try is to remove "quiet splash fbcon=font:TER16x32" from the grub command - that may reveal some information, either with or without nomodeset

i have seen it suggested, that if some laptops have a black screen while booting, you can shine a flashlight on the screen and you may see that the display is actually working but the backlight is off

#7

Updated by nona 3 months ago

Hi, bill.

  1. Removing `quiet splash' shows some messages before the rest of the messages are suppressed.
  2. With `nomodeset' I see the whole list of messages in the boot process
  3. `fbcon=fontÑTER16x32' makes no difference except in the font size
  4. Leaving the kernel line as it is with 5.6.12-1-x86_64 and 5.7.2-1-x86_64, I know that the screen is on (backlight is not interfering in any way)
  5. It seems that 5.7.2-1-x86_64 disables my keyboard
    1. If I install 5.6.12-1-x86_64, I can hit [CTRL] + [ALT] + [DEL] to restart the computer
    2. with 5.7.2-1-x86_64, [CTRL] + [ALT] + [DEL] does nothing
  6. As in #1750, I can still see (without `quiet splash' or with `nomodeset') the message
    AMD-Vi: Unable to read/write to IOMMU perf count

Thanks.

#8

Updated by bill-auger 3 months ago

On Sat, 27 Jun 2020 15:01:27 +0000 wrote:

It seems that 5.7.2-1-x86_64
disables my keyboard

when i rebooted a few moments ago, kernel 5.7.2-gnu-1, my
keyboard was not working either - even the caps-lock key
would not toggle the LED

i have two keyboards and im not sure if that made any
difference; i did not try the other one at first - i
waited at the login prompt for about a minute, then i
pressed a key on the other keyboard, then they were
both working

#9

Updated by nona 3 months ago

That is super interesting. I currently do not have an external keyboard, but seems like a step forward. Let me know if I can help :) . May be if I play around with the `mkinitcpio.conf' hooks? I have these right now:

HOOKS=("base" "udev" "keyboard" "keymap" "autodetect" "modconf" "block" "consolefont" "encrypt" "lvm2" "resume" "filesystems" "fsck" "shutdown")

#10

Updated by bill-auger 3 months ago

do you have a USB wifi or anything else plugged in? - i also
noticed that the USB wifi thingy would not activate - i had to
unplug it and plug it in again to get the system to recognize

i dont know that there is any good suggestion in that - just
a clue perhaps - maybe just try booting with nothing extra
plugged in, and wait 5 minutes before trying to log in - just to
see if it maybe will accept the keyboard input eventually

#11

Updated by nona 3 months ago

Nope, nothing is plugged in. I tried the hint about the 5 minutes, but still nothing. Thanks.

#12

Updated by nona 3 months ago

I contacted the linux-libre mailing list and did some other tests:

1 Loading amdgpu early in the grub
══════════════════════════════════

┌────
│ GRUB_PRELOAD_MODULES="amdgpu ...
└────
Listing 1: Adding amdgpu as preloaded module in `/etc/default/grub' does not have an effect (blank screen, no cryptsetup prompt)

2 Removing amdgpu
═════════════════

┌────
│ MODULES=()
└────
Listing 2: Removing amdgpu in `/etc/mkinitcpio.conf' and uninstalling `xf86-video-amdgpu' shows up to some lines of OpenRC.
┌────
│ # pacman -Rnucs xf86-video-amdgpu
└────

2.1 Adding `nomodeset' to the kernel line
─────────────────────────────────────────

Adding `nomodeset' to the kernel line eventually clears the screen and shows a static underscore at the top left corner. If I type-in my user password (with the blank screen) and follow the process to shutdown as if I had logged in (without being able to see anything), the computer actually shuts down. That indicates that the boot process completes, but I have nothing on screen except for the underscore.
#13

Updated by bill-auger 3 months ago

the current is linux-libre-5.7.8 now - can someone try it and confirm if the problem is still present

#14

Updated by nona 3 months ago

Thank you, bill. I can confirm that it also happens with the new kernel.

May be this should be moved upstream?
cannot boot with linux-libre>=5.7, amdgpu and cryptsetup
Hardware/research/gpu/radeon

You know, bill? I really appreciate all the effort that you make to keep this forum working! Thank you :).

#15

Updated by bill-auger 3 months ago

/me is becoming an expert cat-herder :)

#16

Updated by bill-auger 7 days ago

is this still a problem with 5.8.5 ?

#17

Updated by nona 7 days ago

yes, still there

Also available in: Atom PDF