LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-07-2022, 02:12 AM   #31
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled

My pleasure! Glad to be of assistance!



--
Pete
 
Old 06-03-2022, 09:02 AM   #32
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
I have just had the same experience trying to boot a slackware 15.0 installation USB on a Dell inspiron 7415. I was able to boot using your fix but haven't got round to going ahead with the installation yet.
 
Old 06-03-2022, 10:22 AM   #33
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
Glad it worked for you!

One of my "test" machines is an oldish Dell Latitude. It was given to me by a friend as it has a graphics fault somewhere that makes the screen erratic - works fine on an external monitor, though.

I had quite a struggle getting a UEFI boot on it, as there were a few things I had to mess about with in the BIOS. I can't remember off-hand what it was, but if you get stuck, send me a PM and I'll have a root around and refresh my memory!

Cheers,

--
Pete
 
Old 07-09-2022, 04:57 AM   #34
ikocher
LQ Newbie
 
Registered: Jul 2022
Posts: 1

Rep: Reputation: 0
I was bitten by this issue with a MSI Creator 17 B11UE. It has an Nvidia RTX3060.
My solution was to "steal" the GRUB bootloader from Linux Mint (20.3) to install Slackware 15.

One thing I noticed is that the machine does not freeze, it is only the video that does not work. If you hit [Enter] a couple times after the installer "loads", and type "poweroff" the machine will power off as expected, just as it does in the regular installer.

I was able to install Slackware 3h ago, and about 1.5ago found this page with you solution... yeah.
My GRUB entry is almost like yours.

linux /huge.s load_ramdisk=1 prompt_ramdisk=0 ro printk.time=0 SLACK_KERNEL=huge.s
initrd /initrd.img

Also once installed, regular elilo does not have problems booting and having video working.
In my case I need to install proprietary nvidia sadly, cause nouveau barely supports RTX3060


Cheers,
Ivan
 
Old 07-11-2022, 01:03 PM   #35
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
Hi Ivan,

Glad you got it sorted!

Yes, since I wrote the original piece, more information has come to light. Not all machines freeze completely, but they still remain pretty useless with no screen. And yes, once installed, elilo does boot the system, but the screen remains blank (no penguins) until KMS kicks in.

The only 100% reliable boot-loader seems to be grub. Like many others, I was reluctant to adopt it initially, but now I've used it for a while, I would not go back. I've written a simple "helper" script to take care of updating after a kernel upgrade, and copied all my important setups to the config script (and made a backup of it!). I now use this on three machines (Desktop, workshop and laptop) and it has worked on everything I've tried it on.

Regards,

--
Pete
 
Old 07-12-2022, 08:10 PM   #36
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
my system:
Quote:
inxi -Fz
System:
Kernel: 5.18.10-betelgeuse arch: x86_64 bits: 64 Desktop: KDE Plasma
v: 5.25.2 Distro: Slackware 15.0
Machine:
Type: Convertible System: Micro-Star product: Summit E13FlipEvo A11MT
v: REV:1.0 serial: <superuser required>
Mobo: Micro-Star model: MS-13P2 v: REV:1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: E13P2IMS.107 date: 02/26/2021
Battery:
ID-1: BAT1 charge: 40.5 Wh (70.7%) condition: 57.3/67.7 Wh (84.7%)
volts: 15.2 min: 15.4
CPU:
Info: quad core model: 11th Gen Intel Core i7-1185G7 bits: 64 type: MT MCP
cache: L2: 5 MiB
Speed (MHz): avg: 2768 min/max: 400/4800 cores: 1: 4791 2: 501 3: 4800
4: 1795 5: 3669 6: 501 7: 4381 8: 1706
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
Device-2: Acer HD Camera type: USB driver: uvcvideo
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 21.1.4
compositor: kwin_wayland driver: X: loaded: modesetting unloaded: vesa
gpu: i915 resolution: 1920x1200~120Hz
OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.3.8
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio driver: snd_hda_intel
Sound Server-1: ALSA v: k5.18.10-betelgeuse running: yes
Sound Server-2: PulseAudio v: 16.1 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi
IF: wlan0 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX210 Bluetooth type: USB driver: btusb
Report: hciconfig ID: hci0 state: up address: <filter>
Drives:
Local Storage: total: 953.87 GiB used: 163.32 GiB (17.1%)
ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL21T0HCLR-00B00
size: 953.87 GiB
Partition:
ID-1: / size: 154.7 GiB used: 20.41 GiB (13.2%) fs: ext4
dev: /dev/nvme0n1p2
ID-2: /home size: 155.45 GiB used: 36.05 GiB (23.2%) fs: ext4
dev: /dev/nvme0n1p3
Swap:
ID-1: swap-1 type: partition size: 25.63 GiB used: 0 KiB (0.0%)
dev: /dev/nvme0n1p6
Sensors:
System Temperatures: cpu: 50.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 233 Uptime: 1d 1h 24m Memory: 31.08 GiB used: 2.65 GiB (8.5%)
installed
Quote:
sudo tune2fs -l /dev/nvme0n1p2 | grep created
Filesystem created: Mon Jul 12 05:17:16 2021
used USB for installation of Slackware-cuurent (Alien Bob installation disk) at the time. Since this problem preceded my install (and still persists) one can at least exclude some of the hardware.
I prepared disk first making partitions including EFI
Booted laptop from USB and installed with EFI/elilo. This means that the statement
Quote:
Elilo is not compliant with 64-bit efifb.
is incorrect as I did not encounter any problems at all.

Last edited by Aeterna; 07-12-2022 at 08:14 PM.
 
Old 07-13-2022, 02:06 AM   #37
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
Hi, and thanks for your comments.

The original post was written some time ago now, and further information has come to light since then. You are correct in saying that I was wrong when I said elilo was not compliant with a 64-bit efi frame buffer, however on many systems it still has some issues until kms kicks in. Also, I believe it has been orphaned, and is no longer being updated - perhaps another reason for switching to grub for the longer term.

Either way, my fix works for most people having issues - I haven't heard from anyone who has not succeeded with it.

Glad your system is running OK!

--
Pete
 
Old 03-21-2023, 07:19 PM   #38
ldarby
LQ Newbie
 
Registered: Nov 2019
Location: UK
Distribution: TBD
Posts: 25

Rep: Reputation: Disabled
I have a new PC with an AMD Ryzen 7900 (with integrated GPU) and have hit this issue, and switching to grub works.

I noticed with grub that it takes approx 5s for boot up messages to appear after grub finished loading the initrd (and the video mode changed at the same time), and looking at those with dmesg after boot, those messages around the 5 second mark are about it using the efifb console.

I might try later to see if there's anything on the serial port console when it hangs with elilo (if the kernel runs at all after it "hangs"), and try to figure out exactly what the difference is between elilo and grub that allows grub to work, but that's driven purely by my irrational desire to avoid using grub. The CDROM's EFI boot binary already uses grub so this is a pointless exercise anyway. Is there a reason the usbboot.img can't be changed to just use grub by default as well?

Last edited by ldarby; 03-21-2023 at 07:21 PM.
 
Old 03-22-2023, 03:56 AM   #39
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
I, too, hung back from using grub for a long time, and only adopted it when I hit this issue. I find the Slackware implementation much easier to setup and use than some other distros I've tried. Indeed, once I got my head around it and realised the benefits, I switched ALL my other machines over to grub, and haven't looked back. Perhaps Slackware's documentation is better!

As a side benefit, a grub install USB makes a brilliant rescue disk! I recently had an issue with my main PC, which suddenly refused to recognise my SDD and came up with the dreaded "no system disk found" error. I plugged my old (and well out of date) install disk in, and the grub menu immediately found the broken Slackware installation, and asked me which of the two installed kernels I wanted to boot (I always keep a spare when updating the kernel!)! I selected the most recent kernel, which booted without issue straight back into Slackware. All I had to do was re-install grub and then update it, and my system was restored. Very quick and easy, though I still don't know what caused the problem in the first place. Its been fine since!

One last question: Whose BIOS does your system use? The machine that caused me all the grief initially uses an Insyde BIOS, and I've had issues with those in the past. It feels almost as if they are designed to work only with Windows, and can cause problems with anything else. I have no hard evidence for this, just that the two machines I have owned with Insyde BIOS have both caused issues with Linux, until I figured a work-around...

Anyway, glad your system is up and running!

--
Pete
 
Old 03-22-2023, 05:17 AM   #40
ldarby
LQ Newbie
 
Registered: Nov 2019
Location: UK
Distribution: TBD
Posts: 25

Rep: Reputation: Disabled
Thanks, it's an AMI BIOS, version 1222, and in case it matters the mobo is ASUS TUF GAMING X670E.

Also re-reading this thread, it's not clear that your theory about 64-bit efifb has been ruled out, I don't see anywhere in Aeterna's post if their efifb is 32 or 64 bit.

This thread https://lkml.kernel.org/lkml/2015083...@redhat.com/T/ says "basically all GOP devices in the wild use a 32-bit frame buffer address." (in 2015), so I think it could still be true that 64 bit fbs are the issue (not saying it is true, just that it could be). Is there a way to check if it's 32 or 64 bit? If not then probably can add a printk to the kernel, in the same code that patch touched.
 
Old 03-22-2023, 05:41 AM   #41
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
Heh! Heh!

I make no claims to being a programmer! I am a hobbyist tinkerer, though I've had to work with computers most of my life! I was taught some programming at college (Fortran IV on an IBM Mainframe and Focal on a PDP-8), but everything else I've picked up as I go along. I probably peaked with 6052 machine code (gives you some idea of my age!). I can follow reasonably straightforward C, but would hesitate to write anything in it!

Most of what I've written here has come from experimentation - ie: staggering around blindly in the dark! At first I was convinced the issue was the efi frame-buffer, but some - who seem to know more about it than me - have queried this. In short, I don't know, but I do know that my work-around works, and has some side benefits!

I would be interested to see any conclusions you come to, and its interesting that yours is a recent AMI bios. Perhaps I've been unkind to Insyde, but the very first 64bit machine I got also had an Insyde bios which caused me no end of grief initially.

I am running one Intel desktop, two Intel laptops (one is a junker used for test purposes!) and one (quite old) AMD desktop. All 64-bit, all running grub now.

Cheers,

--
Pete
 
Old 03-22-2023, 01:48 PM   #42
ldarby
LQ Newbie
 
Registered: Nov 2019
Location: UK
Distribution: TBD
Posts: 25

Rep: Reputation: Disabled
Ok, I've done this now:
Code:
--- drivers/video/fbdev/efifb.c.orig    2023-03-22 18:23:39.931092629 +0000
+++ drivers/video/fbdev/efifb.c 2023-03-22 18:25:39.408461466 +0000
@@ -403,10 +403,13 @@
        if (screen_info.capabilities & VIDEO_CAPABILITY_64BIT_BASE) {
                u64 ext_lfb_base;
 
                ext_lfb_base = (u64)(unsigned long)screen_info.ext_lfb_base << 32;
                efifb_fix.smem_start |= ext_lfb_base;
+               printk(KERN_INFO "efifb: is 64 bit\n");
+       } else {
+               printk(KERN_INFO "efifb: is not 64 bit\n");
        }
and managed to captured that by typing the following in blind (i.e. didn't need to find a serial cable):
Code:
1<ret>
down<ret>(for UK keyboard)
1<ret>
root<ret>
mkdir /s
mount /dev/sda1 /s
dmesg > /s/dmesg.txt
sync
and finally that showed:
Code:
[    6.837318] efifb: is not 64 bit
(and all the other messages same as with grub, nothing helpful there). So, I think this rules out the 64 bit theory.

I'll go ahead with the installer now, also will see if elilo works as an installed boot loader, although I already tried copying the usbboot.img's elilo BOOTX64.EFI to the NVMe and tried booting that, but that hit the same issue.
 
Old 03-22-2023, 05:51 PM   #43
ldarby
LQ Newbie
 
Registered: Nov 2019
Location: UK
Distribution: TBD
Posts: 25

Rep: Reputation: Disabled
> also will see if elilo works as an installed boot loader,

It doesn't, same problem, and this was with the installer creating an EFI menu entry, so that seems to be different from what you and others have reported. Copying grub's BOOTX64.efi to the EFI partition and booting that still worked.

Also this is much less about avoiding grub and more about getting the installer to just work out of the box, currently it doesn't, and no one even knows the pattern about exactly when it doesn't work...

Since it's still possible to login and type commands blindly, and capture dmesg, if anyone has ideas for things to try please let me know, thanks.
 
Old 03-22-2023, 09:13 PM   #44
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
Quote:
Originally Posted by ldarby View Post
Thanks, it's an AMI BIOS, version 1222, and in case it matters the mobo is ASUS TUF GAMING X670E.

Also re-reading this thread, it's not clear that your theory about 64-bit efifb has been ruled out, I don't see anywhere in Aeterna's post if their efifb is 32 or 64 bit.

This thread https://lkml.kernel.org/lkml/2015083...@redhat.com/T/ says "basically all GOP devices in the wild use a 32-bit frame buffer address." (in 2015), so I think it could still be true that 64 bit fbs are the issue (not saying it is true, just that it could be). Is there a way to check if it's 32 or 64 bit? If not then probably can add a printk to the kernel, in the same code that patch touched.
maybe use
Quote:
file
e.g.
Quote:
file /usr/src/linux-6.2.7/drivers/video/fbdev/efifb.o
/usr/src/linux-6.2.7/drivers/video/fbdev/efifb.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
also
Quote:
[ 6.837318] efifb: is not 64 bit
does not mean that efifb is not 64-bit, it means that something requested by efifb is not 64-bit. Maybe BIOS is buggy.

Last edited by Aeterna; 03-22-2023 at 10:04 PM.
 
Old 03-23-2023, 02:48 AM   #45
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
On the laptop that gave me all the trouble (and kicked off this thread!), elilo worked once the installation was complete, but there was no initial screen (the one with the penguins) when booting. This implied to me that it was the initial framebuffer that was the culprit. However, it has also been pointed out (above somewhere) that the stock installer uses syslinux (?) and not lilo/elilo, so the problem could be different.

What put me onto grub was the fact that other distros that I tried worked perfectly - even SystemRescueCD - and they all used grub as the boot system. Once I configured the Slackware install medium to use grub, everything worked perfectly.

I have since tried the grub install media on a variety of systems, ancient and modern, and its the only one I've found that works on everything I've tried it on. As I said above, it also makes an excellent rescue system if the mbr gets damaged or overwritten.

I know that it works, but I leave the how's and why's to those better qualified than me!



--
Pete
 
  


Reply

Tags
hang, install



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
puppy thoughts after having a recent look see -- given recent developments .. jonyo Puppy 0 11-29-2011 08:45 PM
[SOLVED] howto prevent installing some packages during installation process of ubuntu 10.04 golden_boy615 Linux - General 1 12-27-2010 01:57 AM
Recent Fedora 8 Update killed my wireless NIC -- hangs system pigwig Fedora 7 03-17-2008 10:10 AM
howto prevent loading alsa mixer error in kernel-2xx moonloader Slackware 2 08-20-2004 07:23 PM
Howto Prevent Forged Mail thru telnetting into SMTP? spurgeonb Linux - Networking 9 03-08-2004 10:45 PM

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

All times are GMT -5. The time now is 11:09 PM.

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