LinuxQuestions.org
Weather apps tell you it'll rain. Wyndo tells you when to go.
Home Forums 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 02-21-2025, 08:33 AM   #1
carlaschneider
LQ Newbie
 
Registered: Sep 2024
Posts: 13

Rep: Reputation: 11
generic kernel 6.12.* 6.13.* only works without initrd.


Installation of the kernel produces an initrd file,
but when it is used for boot it leads to kernel panic.
Obviously the generic kernel now contains the necessary drivers for
my system. Some time ago I had to use the huge kernel.

Now I put a boot-ssd from a mainboard to a laptop and there my elilo
did not work and I hat to use refind. refind finds the initrd in the boot
directory and uses ist with the result that it can't boot my system.
The way around was to remove the initrd from this directory.
elilo does only what is written in elilo.conf and there I did not use initrd.
 
Old 02-22-2025, 02:23 AM   #2
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 3,922

Rep: Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290Reputation: 2290
Doubt I can add anything to this aside from the mention that I use grub as the boot loader vice lilo or elilo.

I am not having any issues with using the initrd created by the kernel-generic install.

Code:
[2/4]   Package kernel-generic-6.13.4-x86_64-1.txz is already in cache - not downloading
        Upgrading kernel-generic-6.13.3-x86_64-1 => [testing]:kernel-generic-6.13.4-x86_64-1...

+=============================================================================================+
| Upgrading kernel-generic-6.13.3-x86_64-1 package using ./kernel-generic-6.13.4-x86_64-1.txz |
+=============================================================================================+

Pre-installing package kernel-generic-6.13.4-x86_64-1...
Removing package: kernel-generic-6.13.3-x86_64-1-upgraded-2025-02-22,16:19:58
Installing package kernel-generic-6.13.4-x86_64-1.txz:
PACKAGE DESCRIPTION:
# kernel-generic (general purpose Linux kernel/modules)
#
# This is a Linux kernel with built-in support for SATA, NVMe, and most
# commonly used filesystems, as well as a large collection of loadable
# kernel modules.
#
# It is recommended to use an initrd with this kernel for best results.
# For more information about creating an initrd, see the README.initrd
# file in the /boot directory.
#
Executing install script for kernel-generic-6.13.4-x86_64-1.txz.
Generating /boot/initrd-6.13.4.img for use with the 6.13.4 kernel 
(using mkinitrd_command_generator.sh):
OK: /lib/modules/6.13.4/kernel/drivers/md/dm-bufio.ko added.
OK: /lib/modules/6.13.4/kernel/drivers/md/dm-snapshot.ko added.
78753 blocks
/boot/initrd-6.13.4.img created.
Created named symlink: /boot/initrd-generic.img -> initrd-6.13.4.img
Removing orphaned initrd: /boot/initrd-6.13.3.img
Removing /boot/initrd-tree directory.
Running /usr/sbin/update-grub (please wait)...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-generic
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initrd-generic.img
Found linux image: /boot/vmlinuz-6.13.4
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initrd-6.13.4.img
Adding boot menu entry for UEFI Firmware Settings ...
done
Package kernel-generic-6.13.4-x86_64-1.txz installed.
Package kernel-generic-6.13.3-x86_64-1 upgraded with new package ./kernel-generic-6.13.4-x86_64-1.txz.
 
Old 02-22-2025, 05:24 AM   #3
carlaschneider
LQ Newbie
 
Registered: Sep 2024
Posts: 13

Original Poster
Rep: Reputation: 11
Kernel 6.13.0 on Thinkpad P14S

when the initrd is used the first error message is:
------
/bin/ash: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
Kernel Panic - not syncing: Attempted to kill init! exitcode=00007f00
---------

Without initrd it boots sucessfully.

The same error message comes with Kernel 6.12.6 when the initrd is used.
the initrd came from installing the kernel from the slackware current distribution,
a few weeks ago, did they repair it ?
 
1 members found this post helpful.
Old 02-22-2025, 06:06 AM   #4
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 3,144

Rep: Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770Reputation: 2770
Quote:
Originally Posted by carlaschneider View Post
The same error message comes with Kernel 6.12.6 when the initrd is used.
the initrd came from installing the kernel from the slackware current distribution,
a few weeks ago, did they repair it ?
When you say you installed the kernel "from the slackware current distribution", do you mean you are actually running Slackware current? Is it a 64-bit installation? What does this print:
Code:
$ cd /var/lib/pkgtools/packages
$ ls -1 mkinitrd-*  aaa_glibc-solibs-*
aaa_glibc-solibs-2.41-x86_64-2
mkinitrd-1.4.11-x86_64-66
 
Old 02-22-2025, 09:38 AM   #5
carlaschneider
LQ Newbie
 
Registered: Sep 2024
Posts: 13

Original Poster
Rep: Reputation: 11
It is slackware current a few weeks ago.


aaa_glibc-solibs-2.40-x86_64-5
mkinitrd-1.4.11-x86_64-36
 
  


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
[SOLVED] Errors were encoun tered while processing: linux-headers-6.8.0-47-generic linux-headers-generic linux-generic linux-image-6.8.0-47-gener jamby Linux - Newbie 1 10-20-2024 01:27 PM
[SOLVED] Problem upgrading to new kernel 5.3.0-45-generic from 4.18.0-25-generic fgonza1971 Linux - Laptop and Netbook 1 04-01-2020 02:54 PM
[SOLVED] setting up initrd / generic kernel in Grub2...can't load generic Ubunoob001 Slackware 12 03-20-2015 07:32 AM
kernel-generic and kernel-generic-smp ?? liuyug Slackware - Installation 5 06-01-2014 07:01 PM
what are initrd.img-2.6.28-11-generic and vmlinuz-2.6.28-11-generic? karuna-bdc Linux - Newbie 11 07-17-2009 05:00 AM

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

All times are GMT -5. The time now is 05:48 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
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