LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-27-2021, 03:44 AM   #3181
Gerswing
LQ Newbie
 
Registered: Jun 2020
Distribution: Slackware
Posts: 15

Rep: Reputation: 10

5.4.101 not booting. I just upgraded from 5.4.96 using the same config. I get the dreaded:

Code:
VFS: Cannot open root device "sdb2" or unknown-block(0,0): error -6
/dev/sdb2 is and has been the root partition and ext4 is compiled into the kernel. Regardless, I did try mkinitrd including ext4 in case. No luck. Since I am using the same .config for the same kernel series, I am at a loss on why it doesn't boot this time. I am still using Slackware 14.2 except for the upgraded home-rolled kernel, which worked at 5.4.96. I will probably try one of the intermediate kernels (5.4.97 to 5.4.100) to see where booting fails on me.

Last edited by Gerswing; 02-27-2021 at 03:45 AM.
 
Old 02-27-2021, 09:39 AM   #3182
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,018

Rep: Reputation: Disabled
Quote:
Originally Posted by Gerswing View Post
5.4.101 not booting. I just upgraded from 5.4.96 using the same config. I get the dreaded:

Code:
VFS: Cannot open root device "sdb2" or unknown-block(0,0): error -6
/dev/sdb2 is and has been the root partition and ext4 is compiled into the kernel. Regardless, I did try mkinitrd including ext4 in case. No luck. Since I am using the same .config for the same kernel series, I am at a loss on why it doesn't boot this time. I am still using Slackware 14.2 except for the upgraded home-rolled kernel, which worked at 5.4.96. I will probably try one of the intermediate kernels (5.4.97 to 5.4.100) to see where booting fails on me.
Quote:
uname -rip
5.4.101-cephei Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz GenuineIntel
and
Quote:
df -Th | grep root
/dev/root ext4 31G 19G 9.6G 67% /
maybe something happened to your config file?
I have fs build-in as I don't use initrd.


hope this will help
 
1 members found this post helpful.
Old 02-27-2021, 10:44 AM   #3183
TheTKS
Member
 
Registered: Sep 2017
Location: Ontario, Canada
Distribution: Slackware, X/ubuntu, OpenBSD, OpenWRT
Posts: 361

Rep: Reputation: 243Reputation: 243Reputation: 243
Quote:
Originally Posted by mlangdn View Post
The 5.11 kernel is noticeably faster. I did not install the package, I rebuilt it with the supplied config and saying yes to ext4 filesystem. I only did it to nullify the initrd. I thought at first that the lack of an initrd made it faster. Not sure, but it sure saved 41 seconds from a cold boot.
5.11.1 is working well here after upgrade from 5.10.17.

Nothing is running noticeably faster on my AMD gear, and boot time was the same within 1 sec, but then I didn't see anything in the announcement targetting my gear for higher speed under 5.11.x.

This is not really old by *my* standards - bought mine 2016, AMD launched it 2014 - but I would guess it's been stably supported by the kernel for years now, aside from an early 5.10.x blank screen problem with AMD Kaveri.

KDE System Information output
Operating System: Slackware 14.2 (that's the ouput, but it's -current updated this morning)
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.11.1
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G
Memory: 6.7 GiB of RAM
Graphics Processor: AMD KAVERI

TKS
 
1 members found this post helpful.
Old 02-27-2021, 12:10 PM   #3184
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by cwizardone View Post
5.4.101 seems to build and boot fine here running -current (15.0alpha):
Code:
Linux 5.4.101 #1 SMP Sat Feb 27 18:07:50 CET 2021 x86_64 Intel(R) Core(TM)2 Duo CPU T6400 @2.00GHz
Built like this:
Quote:
cd /usr/src/linux-5.4.101
make localmodconfig
make -j2 bzImage modules && make modules_install
cp arch/x86/boot/bzImage /boot/vmlinuz-custom-5.4.101 # copy the new kernel file
cp System.map /boot/System.map-custom-5.4.101 # copy the System.map (optional)
cp .config /boot/config-custom-5.4.101 # backup copy of your kernel config
make clean
rm -rf .config.old .version
cd /boot
/usr/share/mkinitrd/mkinitrd_command_generator.sh -k 5.4.101|bash && lilo

Last edited by mats_b_tegner; 02-27-2021 at 12:40 PM.
 
3 members found this post helpful.
Old 02-27-2021, 12:27 PM   #3185
Gerswing
LQ Newbie
 
Registered: Jun 2020
Distribution: Slackware
Posts: 15

Rep: Reputation: 10
Quote:
Originally Posted by Aeterna View Post
and


maybe something happened to your config file?
I have fs build-in as I don't use initrd.


hope this will help
Definitely something happened with the config file. I copied the config file I used for 5.4.101 to use for 5.4.97 and it would not boot either.

Quote:
Originally Posted by mats_b_tegner
Built with localmodconfig and initrd.
I'm going to try this since something is obviously wrong with the one I am using. Thanks.
 
1 members found this post helpful.
Old 02-27-2021, 01:05 PM   #3186
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,018

Rep: Reputation: Disabled
Quote:
Originally Posted by Gerswing View Post
Definitely something happened with the config file. I copied the config file I used for 5.4.101 to use for 5.4.97 and it would not boot either.



I'm going to try this since something is obviously wrong with the one I am using. Thanks.
localmodconfig is not the best option: script gathers information about loaded modules only.
If you have modules that are loaded on demand, the these will not be added unless loaded first.
There is a script available that you can install and let it run for some time (hoping that in time you eventually load all modules at some point), then it generates a database of all modules ever used and helps build kernel config.

Out of curiosity, I would look at failed config file, why ext4 is not added or even removed if you are using config file from previously working kernel.
Also I would look at the config file after you build a new kernel to make sure that ext4 is included.
 
1 members found this post helpful.
Old 02-27-2021, 01:19 PM   #3187
Gerswing
LQ Newbie
 
Registered: Jun 2020
Distribution: Slackware
Posts: 15

Rep: Reputation: 10
Quote:
Originally Posted by Aeterna View Post
localmodconfig is not the best option: script gathers information about loaded modules only.
If you have modules that are loaded on demand, the these will not be added unless loaded first.
There is a script available that you can install and let it run for some time (hoping that in time you eventually load all modules at some point), then it generates a database of all modules ever used and helps build kernel config.

Out of curiosity, I would look at failed config file, why ext4 is not added or even removed if you are using config file from previously working kernel.
Also I would look at the config file after you build a new kernel to make sure that ext4 is included.
Thank you. The config was the problem. I did compile with localmodconfig and it is now working:
Code:
bash-4.3# uname -rip
5.4.101 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz GenuineIntel
I plan on going back to investigate where it failed. I am guessing that I must have made changes to the config since last compile for 5.4.96. I have been investigating each part of the kernel config to try and reduce what I actually don't need and turn it off and must have made a mistake somewhere. I had diff'd in emacs to see if there were any differences between the most recent 5.4.96 config and the 5.4.101 I had used and failed and there was no difference. Ext4 was supposedly compiled in. So it must be something else that I had turned off by mistake.

As far as localmodconfig, I'll have to see what doesn't load now and turn it on as I identify it. I do have to compile and load both nvidia-kernel and virtualbox-kernel separately. But do concur that I need to find if there are any other different modules that will need to be compiled.

I would be interested in the script you mention that identifies all of the modules ever loaded.

Last edited by Gerswing; 02-27-2021 at 01:20 PM.
 
Old 02-27-2021, 01:30 PM   #3188
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,018

Rep: Reputation: Disabled
Quote:
Originally Posted by Gerswing View Post
Thank you. The config was the problem. I did compile with localmodconfig and it is now working:
Code:
bash-4.3# uname -rip
5.4.101 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz GenuineIntel
I plan on going back to investigate where it failed. I am guessing that I must have made changes to the config since last compile for 5.4.96. I have been investigating each part of the kernel config to try and reduce what I actually don't need and turn it off and must have made a mistake somewhere. I had diff'd in emacs to see if there were any differences between the most recent 5.4.96 config and the 5.4.101 I had used and failed and there was no difference. Ext4 was supposedly compiled in. So it must be something else that I had turned off by mistake.

As far as localmodconfig, I'll have to see what doesn't load now and turn it on as I identify it. I do have to compile and load both nvidia-kernel and virtualbox-kernel separately. But do concur that I need to find if there are any other different modules that will need to be compiled.

I would be interested in the script you mention that identifies all of the modules ever loaded.
https://github.com/graysky2/modprobed-db

I have kernels tailored to my hardware and needs, they are smaller in size of course, have smaller surface attack and often when there is security issue regarding kernel, I am not affected:
e.g. problems with ipv6 security/privacy do not affect me, I don't have ipv6 compiled at all.
 
Old 02-27-2021, 03:09 PM   #3189
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by Aeterna View Post
localmodconfig is not the best option: script gathers information about loaded modules only.
If you have modules that are loaded on demand, then these will not be added unless loaded first.
There is a script available that you can install and let it run for some time (hoping that in time you eventually load all modules at some point), then it generates a database of all modules ever used and helps build kernel config.
Granted, make localmodconfig only builds a subset of available kernel modules. I do have the kernel-modules.SlackBuild should I need to rebuild/upgrade the kernel-module package.

Last edited by mats_b_tegner; 02-28-2021 at 02:10 AM.
 
Old 02-28-2021, 02:24 AM   #3190
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 139

Rep: Reputation: 102Reputation: 102
No problems whatsoever with the 5.11.x kernels here.
 
2 members found this post helpful.
Old 02-28-2021, 11:01 AM   #3191
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,408
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Hi all,

It was a very long time I hadn't compiled a kernel. I just grabbed a docking station and it appears a patch that's around for about a year and needed for usb hub to work after resuming still isn't merged.

I can't find it in kernel git, only in patchwork and failed to find out how to ask or find what the current state is.

Could someone enlight me on how to do ?
 
Old 02-28-2021, 12:04 PM   #3192
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,167

Original Poster
Rep: Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339
A list of changes and new features for the 5.12-rc1 kernel which is scheduled to be released later today,

https://www.phoronix.com/scan.php?pa...features&num=1
 
Old 02-28-2021, 06:19 PM   #3193
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,167

Original Poster
Rep: Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339
5.12-rc1

Release Candidate 1, for the 5.12 "mainline" development kernel has been been made available for testing.

The tarball, https://git.kernel.org/torvalds/t/linux-5.12-rc1.tar.gz

Mr. Torvalds' announcement, http://lkml.iu.edu/hypermail/linux/k...2.3/03831.html

Quote:
.....
The one thing that perhaps stands out is that this release actually
did a fair amount of historical cleanup. Yes, overall we still have
more new lines than we have removed lines, but we did have some spring
cleaning, removing the legacy OPROFILE support (the user tools have
been using the "perf" interface for years), and removing several
legacy SoC platforms and various drivers that no longer make any
sense........

Last edited by cwizardone; 02-28-2021 at 06:51 PM.
 
Old 02-28-2021, 07:03 PM   #3194
alex14641
Member
 
Registered: Feb 2016
Distribution: Slackware64_14.2, Slackware 15.0, Slackware64_current
Posts: 324

Rep: Reputation: Disabled
Possible filesystem corruption with 5.12

https://www.phoronix.com/scan.php?pa...ly-Buggy-Issue
 
Old 02-28-2021, 07:21 PM   #3195
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,167

Original Poster
Rep: Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339Reputation: 7339
Quote:
Originally Posted by alex14641 View Post
See post #3180 in this thread.
 
  


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
Linux.conf.au: Latest Linux kernel release due early March DragonSlayer48DX Linux - News 0 01-18-2010 10:43 PM
No video on latest kernel release Tralce Linux - Kernel 3 11-30-2006 07:48 AM
What is the latest Redhat release TILEMANN Linux - Software 5 11-20-2006 10:48 PM
LXer: News: OpenVZ To Release Support, Patches for Latest Kernel LXer Syndicated Linux News 0 11-01-2006 10:54 PM
latest debian release? doralsoral Linux - Software 5 12-25-2004 12:40 PM

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

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