[SOLVED] Slackware Current - LILO VESA Warnings after recent updates
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware Current - LILO VESA Warnings after recent updates
Installed recent updates today including kernel 5.10.12
When I ran 'lilo' I was greeted with the following
Quote:
Warning: Unable to determine video adapter in use in the present system.
Warning: Video adapter does not support VESA BIOS extensions needed for
display of 256 colors. Boot loader will fall back to TEXT only operation.
Installed recent updates today including kernel 5.10.12
When I ran 'lilo' I was greeted with the following
Thoughts?
Everything seems to be running okay
Yeah I received the same warning on three out of four units that use LILO. Everything is okay here too. My fourth unit uses GRUB and did not get the warning.
Distribution: Slackware64 15.0, Slackware64 -current, stuff on qemu
Posts: 363
Rep:
My 64-bit -current installs boot from GRUB and they're both fine. 32-bit -current on VM has LILO and it got the warnings after updating to 5.10.12; startx into Xfce succeeded and the system appears to be behaving normally under 5.10.12.
I have been looking at this.
I hit the problem, as reported, after upgrading from the 5.10.11 to 5.10.12 kernel.
However, after reverting to the 5.10.11 kernel, the problem remained.
Further reverting to the 5.10.10 kernel, the problem disappeared.
After sprinkling the lilo source with a few printf's, the cause of the error is in the fetch() routine in probe.c. The code to read the low memory bios data area is failing, specifically the line
Code:
if (strncmp(buf.s5.signature, PROBE_SIGNATURE,4)) return buf_valid=2;
The buf.s5.signature should read "LiLo" to match the PROBE_SIGNATURE,but instead no string is seen, causing the buf_valid=2 return to trigger the warning messages.
I am pointing the finger at commit c351dc4d774e57fdb8ec543241710cb93a7387bd in the ChangeLog-5.10.11 that links this.
I have been looking at this.
I hit the problem, as reported, after upgrading from the 5.10.11 to 5.10.12 kernel.
However, after reverting to the 5.10.11 kernel, the problem remained.
Further reverting to the 5.10.10 kernel, the problem disappeared.
After sprinkling the lilo source with a few printf's, the cause of the error is in the fetch() routine in probe.c. The code to read the low memory bios data area is failing, specifically the line
Code:
if (strncmp(buf.s5.signature, PROBE_SIGNATURE,4)) return buf_valid=2;
The buf.s5.signature should read "Lilo" to match the PROBE_SIGNATURE,but instead no string is seen, causing the buf_valid=2 return to trigger the warning messages.
I am pointing the finger at commit c351dc4d774e57fdb8ec543241710cb93a7387bd in the ChangeLog-5.10.11 that links this.
I have been looking at this.
I hit the problem, as reported, after upgrading from the 5.10.11 to 5.10.12 kernel.
However, after reverting to the 5.10.11 kernel, the problem remained.
Further reverting to the 5.10.10 kernel, the problem disappeared.
As stated already, EXCELLENT sleuthing! I went through the exact same experience, that being no VESA error when first upgrading to 5.10.11. That threw me off and made me suspect something in the -current updates. It never did occur to me to go back to 5.10.10, so good on ya. And thanks!
Just FTR I have gotten the VESA warning from LILO for years...in fact for so long I can't recall when exactly it was that I didn't get that warning over the past 20+ years using LILO. I think it may be possible that there is a tie-in with using only Nvidia graphics systems and perhaps some mismatch in Framebuffer codes. One of the reasons I can't recall is after the umpteenth time with zero discernible effects, I learned to ignore it. It's somewhat due to old code that still warns about LBA32. LILO is nevertheless a great bit of old code that is highly efficient and simple IF you have any MBR disks anymore.
Interesting. I get OPs lilo warning message only when I boot off USB to chroot when I forget to run lilo when upgrading Current kernel. Also, as enorbet mentioned, the fb warning occurs when using nvidia proprietary driver. IIRC, nvidia uses its own fb that is not "visible" on boot. You can see a fb warning in the boot logs as well.
I just ran the updates here from 5.10.10 -> 5.10.12, etc, mkinitrd then lilo with no issues, reboot and startx into Xfce. All's well.
Lenovo Thinkpad T510
Intel Core i7-620M w/ intelHD IGP
My lilo.conf is simple, generated with liloconfig then stripped out some extra comments:
Code:
boot = /dev/sda
#compact # faster, but won't work on all systems.
# Boot BMP Image.
bitmap = /boot/slack.bmp
# Menu colors
bmp-colors = 255,0,255,0,255,0
# Location of the option table
bmp-table = 60,6,1,16
# Timer location
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Append any additional kernel parameters:
append=" "
prompt
timeout = 50
# Normal VGA console
vga = normal
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-generic
initrd = /boot/initrd.gz
root = /dev/sda1
label = Slackware64
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
My 2 other boxes and AMD GPUs and UEFI so no lilo there.
Confirming what other folks have noted. In my case, I used an AMD Ryzen 5 on an Asus mother board with BIOS set to Legacy boot only. All partitions GPT.
The Lilo VESA warnings came after editing lilo.conf when upgrading 64 bit current from 5.10.10 to 5.10.11
Not only have I gotten warnings, but the second upgrade to 5.10.12 produced the dreaded Lilo Timestamp error message upon rebooting from the kernel upgrade. That box with a NVME M.2 SSD stick produced the timestamp error. Different tries to rebuild lilo.conf via liloconfig produced the same result. Coincidentally, I noticed the change logs to 5.10.12 also upgraded e2fsprogs to 1.46.0
I had similar results on the same box when upgrading current on a standard hard drive, I was able to edit lilo.conf and have it boot successfully despite the Lilo VESA warnings provided I used the old style standard lilo screen.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.