LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-13-2021, 06:32 PM   #1
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 549

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Post Fresh Slackware Current Lenovo X13 No Video on Boot with LUKS/LVM


I have a Lenovo X13 (AMD Renoir) which has LUKS/LVM on the nvme
When using elilo on boot I can see the vmlinuz and initrd load and then the screen seems to "hang" however I know from experience the boot continues to the luks password input. If I put the password into the blank screen and continue I can successfully boot to the framebuffer initialization and then the screen comes back to command prompt.

I've never been able to figure out how to fix this in elilo so I'm using refind instead.
I thought I'd report it since others may have the issue in the future. This has been happening from 5.10 kernel forward.

This is a fresh install of current form June 11th.

Last edited by tramtrist; 06-13-2021 at 07:07 PM.
 
Old 06-18-2021, 07:44 AM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
The classic lilo can set up the screen resolution between the lilo prompt + kernel loading until something that I believe to be the drm initialization.
Maybe try to set that with elilo ?
 
Old 06-18-2021, 05:44 PM   #3
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 549

Original Poster
Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
I've searched high and low to find the proper vga or video options to input. I can find tons of information on lilo but not elilo
Any hints would be helpful!
 
Old 06-18-2021, 06:21 PM   #4
biker_rat
Member
 
Registered: Feb 2010
Posts: 370

Rep: Reputation: 220Reputation: 220Reputation: 220
https://sourceforge.net/projects/eli...s.txt/download
RTF release notes.
 
Old 06-18-2021, 07:20 PM   #5
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 549

Original Poster
Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Yep.. used the video= settings from there though they dont apply to BEFORE the LUKS prompt only after I enter it in blindly on the blank screen.
EDIT: My point really is after install and first boot noone is going to know they're at the prompt.. it just looks like the machine froze
 
Old 06-18-2021, 07:21 PM   #6
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
lilo, elilo, grub, all have kernel append lines in their configs, where kernel parameters can be customized, including video parameters -- so the same parameters, once you know what they are for your hardware, are valid in all three boot loaders--just find the append line, and insert additonal kernel parameters between the quotes. The parameters for video on my pinebook are "video=eDP-1:1920x1080@60 video=HDMI-A-1:1920x1080@60 vga=current" which I supply to u-boot via a kernal append line in a file called /boot/extlinux/extlinux.conf--yet another boot loader, but same old kernel append line.

Last edited by slac-in-the-box; 06-18-2021 at 07:24 PM. Reason: correction
 
Old 06-24-2021, 12:59 PM   #7
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204

Rep: Reputation: 44
could it be that you need the video driver module compiled into the kernel or added to initrd? I need this on a Lenovo X1.
 
Old 06-24-2021, 10:49 PM   #8
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 549

Original Poster
Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Well metageek, adding in amdgpu into the initrd did fix it. No penguins but at least I get a prompt for LUKS password.
This probably isnt something that can be included in a default install but I guess someone looking to do a luks/lvm install with AMD may come across this thread and it may help them out.

Thanks for your suggestion!
 
Old 06-25-2021, 04:24 AM   #9
walecha
Member
 
Registered: Jan 2010
Location: Malang, +62
Distribution: slackware
Posts: 174

Rep: Reputation: 42
Maybe PV should consider adding these to kernel config:
Code:
Bus options -> CONFIG_X86_SYSFB=Y

Device drivers
 -> Graphics support
  -> Frame buffer devices
   -> Support for frame buffer devices
    -> CONFIG_FB_SIMPLE=Y
https://cateee.net/lkddb/web-lkddb/X86_SYSFB.html
https://cateee.net/lkddb/web-lkddb/FB_SIMPLE.html

I'm using it in my self-compiled kernel
 
Old 06-25-2021, 05:36 PM   #10
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 549

Original Poster
Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
I recompiled the kernel with those options with stock initrd and.. no joy.
I should also say with fbdev added in initrd also no joy
Adding amdgpu to this particular laptop allowed the display
 
Old 06-26-2021, 08:15 AM   #11
wainamoinen
Member
 
Registered: Sep 2009
Location: Belgium
Distribution: Slackware
Posts: 32

Rep: Reputation: 24
I had a similar behavior with my Laptop Lenovo Ideapad 5, with CPU AMD Ryzen and GPU Radeon. I couldn't find a way to make it show the kernel boot messages after boot. I fould out (I don't remember the forum), that eLilo dones't support it.

The solution that worked for me is to use Syslinux as boot loader (https://mirrors.edge.kernel.org/pub/...04-pre1.tar.xz)

The contents of "/boot/efi/EFI/Slackware/" is:
syslinux.efi
ldlinux.e64
vmlinuz.huge
syslinux.cfg

And the contents of "syslinux.cfg" is:
Code:
default slackware
prompt 1
timeout 3

say | Slackware

label slackware
        kernel vmlinuz.huge
        append root=/dev/nvme0n1p4 ro
I don't use initrd, but you can use it.

With this everyting boots normaly and I see a penguin for each CPU.
 
Old 06-26-2021, 08:47 AM   #12
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Rep: Reputation: Disabled
Sounds similar to an issue I had here: https://www.linuxquestions.org/questions/slackware-installation-40/howto-prevent-installation-hangs-on-recent-hardware-4175671086/"]https://www.linuxquestions.org/quest...re-4175671086/[/URL]

In my case (and several others) we couldn't get the install media to boot, and if you did manage to get it installed somehow, elilo did some strange things during the boot (no penguins, etc).

The solution was to use grub, which worked perfectly! I now also use grub on the install media, as it was the only way I could get my laptop to boot the install disk!

I've now switched all my machines bar one (non-UEFI) over to grub. It was a bit of a learning curve, but Slackware makes it fairly easy.

--
Pete
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No video on fresh current after nvidia install + SSD issue Capt_Krill Slackware - Installation 7 05-01-2021 12:17 PM
Lenovo G470 aka LENOVO 20078 (laptop) ; Essential IdeaPad www.rzr.free.fr Linux - Laptop and Netbook 4 06-16-2013 07:52 AM
LXer: Get a Lenovo computer cheap - and from Lenovo LXer Syndicated Linux News 1 01-07-2010 08:23 PM
moved harddrive from t61 lenovo to t60 lenovo, now cpu freezes Peter Shepard Ubuntu 3 10-26-2009 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration