LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-20-2024, 08:30 PM   #1
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 229

Rep: Reputation: 45
elilo-c(line 77): Kernel file not found umlinuz-huge-5.15.154


Hello All ,
A Very frustrating issue here , the item that is being complained about IS there and IS a bzImage file ...
the one hint the 'elilo.c(line 77):Kernel file' could either be a line in the original elilo.c file or it thinks there is a line 77 in lilo.conf and the rest of the file name is being stripped off ...

More info comeing in a bit . Enabling the serial console .

I'll also look into the elilo.c file , to hopefully garner some insight .

The vmlinuz-huge-5.15.154 is a locally complied kernel .

Please see what I have below & the attched elilo.conf file .

Below is hand typed in from a photo ...

Code:
read_config=Success
selected chooser simple
command list (must be first character):
=:print device list, %:print variable list, &:print paths, ?:help
TAB:print label infrmation
default file path: scsi0:\EFI\Slackware\
config file: \EFI\Slackware\elilo.conf

ELILO boot: ..........
kernel is 'vmlinuz-huge-5.15.154'
arguments are ' root=PARTUUID=4856b1c5-xxxx-yyyy-zzzz-xyzxyzxyzxyz vg...
sbcore-autosuspend=-1 ro ipu6.disable=1 ro'
initrd is 'vmlinuz-huge-5.15.154-initrd-gz'

elilo.c(line 77):Kernel file not  found vmlinuz-huge-5.15.154
First one is visible to the one time boot menu in elilo ...
Next one says Not Found from above ...


Code:
# file /boot/efi/EFI/Slackware/vmlinuz-huge-5.15.145
/boot/efi/EFI/Slackware/vmlinuz-huge-5.15.145: Linux kernel x86 boot executable bzImage, version 5.15.145 (root@z-mp.slackware.lan) #1 SMP PREEMPT Sun Dec 24 00:07:06 CST 2023, RO-rootFS, swap_dev 0XB, Normal VGA

# file /boot/efi/EFI/Slackware/vmlinuz-huge-5.15.154
/boot/efi/EFI/Slackware/vmlinuz-huge-5.15.154: Linux kernel x86 boot executable bzImage, version 5.15.154 (root@replaceme.baby-dragons.com) #1 SMP PREEMPT Fri Apr 12 18:02:35 AKDT 2024, RO-rootFS, swap_dev 0XB, Normal VGA

# file /boot/efi/EFI/Slackware/vmlinuz-huge-5.15.145-initrd.gz 
/boot/efi/EFI/Slackware/vmlinuz-huge-5.15.145-initrd.gz: gzip compressed data, max compression, from Unix, original size modulo 2^32 33037824

# file /boot/efi/EFI/Slackware/vmlinuz-huge-5.15.154-initrd.gz 
/boot/efi/EFI/Slackware/vmlinuz-huge-5.15.154-initrd.gz: gzip compressed data, max compression, from Unix, original size modulo 2^32 29868544
Attached Files
File Type: txt elilo.conf.txt (639 Bytes, 14 views)
 
Old 04-21-2024, 07:08 AM   #2
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
Shorten vmlinuz name.
 
Old 04-21-2024, 04:41 PM   #3
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 229

Original Poster
Rep: Reputation: 45
@Aeterna , Thank You for the idea .

Although , please then tell me why ?

vmlinuz-huge-5.15.154

vmlinuz-huge-5.15.145

The first doesn't work the second one boots fine .

If the first one which doesn't work is requested to shorten the filename .
The filenames are the same length .

Now if it's that the file content that may need to be reduced , that would be odd too ...

Code:
 --- Not booting ---
11378 -rwxr-xr-x 1 root root 11651040 Apr 13 12:49 vmlinuz-huge-5.15.154*
 9959 -rwxr-xr-x 1 root root 10197826 Apr 13 12:50 vmlinuz-huge-5.15.154-initrd.gz*

 --- Does boot ---
11350 -rwxr-xr-x 1 root root 11622048 Apr  4 19:41 vmlinuz-huge-5.15.145*
10712 -rwxr-xr-x 1 root root 10968290 Apr  4 19:41 vmlinuz-huge-5.15.145-initrd.gz*
This is the reason for my confusion .
That there is nothing substantially odd between the two .

.
 
Old 04-21-2024, 05:34 PM   #4
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
If you are booting huge kernels, you do not need an initrd.
Since you are booting x86, both kernels should be huge-smp, or generic-smp with appropriate initrd. "kernel not found" can also mean "no suitable kernel found" and not that the file is missing. There may have been changes to 5.15.154 that now require you to use smp kernel - especially if you are on a x86_64 CPU.

Where did you get 5.15.154? I do not see it in the Official Slackware ChangeLog. Did you compile it yourself?
 
Old 04-21-2024, 06:06 PM   #5
babydr
Member
 
Registered: Aug 2015
Location: Fairbanks , Alaska
Distribution: Slackware-14.2 & 15.0
Posts: 229

Original Poster
Rep: Reputation: 45
@kingbeowulf , Thank you for the response .

Yes this is locally built kernel , I did mention that in the original post .
download of sources from www.kernel.org &
I copied the config-huge-5.15.145.x64 from /boot/ ...

Code:
cd /usr/src/linux 
make mrproper
cp /boot/config-huge-5.15.145.x64 .config
make olddefconfig
make V=1 KBUILD_VERBOSE=1 prepare
make -j 3 V=1 KBUILD_VERBOSE=1 all
make -j 3 V=1 KBUILD_VERBOSE=1 modules_install

# since /usr/src/linux/arch/x86_64/boot/bzImage is a link to ../../x86/boot/bzImage
cp /usr/src/linux/arch/x86/boot/bzImage /boot/efi/EFI/Slackware/vmlinuz-huge-5.15.154

mkinitrd ...
Had a brain fart & thought I might have used a differant /dev/disk/by-uuid , in the mkinitrd .
It seems I did not ...

Code:
# gunzip --stdout /boot/efi/EFI/Slackware/vmlinuz-huge-5.15.145-initrd.gz | strings | grep -E '(sdc1|23b060b3-4b21-45ba-94f2-0fd9e7dee41f)'
/sbin/mkinitrd -c -R -k 5.15.145 -f ext4 -r UUID=23b060b3-4b21-45ba-94f2-0fd9e7dee41f -m megaraid_sas:mpt3sas:usb-storage:xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-asus:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:crc32c_intel:crc32c_generic:ext4 -u -o /boot/initrd-5.15.145-202404041941.gz
UUID=23b060b3-4b21-45ba-94f2-0fd9e7dee41f
070701012E01E5000061B0000000000000000600000001660E1FDA00000000000000080000002100000008000000210000000900000000dev/sdc1

# gunzip --stdout /boot/efi/EFI/Slackware/vmlinuz-huge-5.15.154-initrd.gz | strings | grep -E '(sdc1|23b060b3-4b21-45ba-94f2-0fd9e7dee41f)'
/sbin/mkinitrd -c -R -k 5.15.154 -f ext4 -r UUID=23b060b3-4b21-45ba-94f2-0fd9e7dee41f -m megaraid_sas:mpt3sas:usb-storage:xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-asus:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:crc32c_intel:crc32c_generic:ext4 -u -o /boot/initrd-5.15.154-202404131247.gz
UUID=23b060b3-4b21-45ba-94f2-0fd9e7dee41f
070701012E01E5000061B0000000000000000600000001660E1FDA00000000000000080000002100000008000000210000000900000000dev/sdc1
The rest you know about ...

Last edited by babydr; 04-21-2024 at 06:23 PM. Reason: forgot to add where got sources ...
 
Old 04-21-2024, 07:54 PM   #6
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 babydr View Post
@Aeterna , Thank You for the idea .

Although , please then tell me why ?

vmlinuz-huge-5.15.154

vmlinuz-huge-5.15.145

The first doesn't work the second one boots fine .

If the first one which doesn't work is requested to shorten the filename .
The filenames are the same length .

Now if it's that the file content that may need to be reduced , that would be odd too ...

Code:
 --- Not booting ---
11378 -rwxr-xr-x 1 root root 11651040 Apr 13 12:49 vmlinuz-huge-5.15.154*
 9959 -rwxr-xr-x 1 root root 10197826 Apr 13 12:50 vmlinuz-huge-5.15.154-initrd.gz*

 --- Does boot ---
11350 -rwxr-xr-x 1 root root 11622048 Apr  4 19:41 vmlinuz-huge-5.15.145*
10712 -rwxr-xr-x 1 root root 10968290 Apr  4 19:41 vmlinuz-huge-5.15.145-initrd.gz*
This is the reason for my confusion .
That there is nothing substantially odd between the two .
1) I don't use initrd. Problem persists if you have two-three "long" vmlinuz names. I noticed this some time ago as I have only custom kernels (all without initrd by the way) at least three at a time.
You can have one longer name though that is why users following default Slackare kernel don't see the problem. The issue is not related to elilo per se as I never upgraded elilo since 2021. The problem was gone for some time but recently reappeared. I never mentioned it because elilo is dying so I doubt that there is an interest in fixing the issue.
 
  


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
can't boot huge kernel with elilo after 15.0 upgrade donflan Slackware 5 03-12-2022 10:58 AM
Huge kernel boots--Huge.SMP (and generic.smp) kernel will not MTCAT Linux - Newbie 4 02-03-2021 02:11 PM
[SOLVED] elilo does not boot 4.14.0-huge (size >8MB) zerouno Slackware 22 11-22-2017 05:31 AM
QT-Error Major opcode: 53 & 62 & 70 & 154 Spraygun Programming 2 03-26-2007 06:27 AM
Setting up wireless connection with Topcom (Skyr@cer Pro PC Card 3054/ PCI 154) anigma Linux - Wireless Networking 4 01-02-2006 01:38 PM

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

All times are GMT -5. The time now is 05:14 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