LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-16-2024, 01:03 PM   #16
SlackWar
Member
 
Registered: Jul 2014
Location: Europe
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: Disabled

Please, have another look especially at post #1.
 
Old 01-17-2024, 03:20 PM   #17
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 995

Rep: Reputation: 675Reputation: 675Reputation: 675Reputation: 675Reputation: 675Reputation: 675
Quote:
Originally Posted by SlackWar View Post
Please, have another look especially at post #1.
Yep, in that post you wrote:

Quote:
Originally Posted by SlackWar View Post
Some time ago I made a mistake during kernel configuration, and now I can't find the option I switched — unfortunately, I deleted the older config, so I can't do direct comparison.
So, did you delete that older kernel config file? In a later post you wrote:

Quote:
Originally Posted by SlackWar View Post
I don't use /proc/config.gz actually, but of course I do have my own configuration files for both kernels — there are too many differences among them to make any clear conclusion.
So, did you keep the old config file but find that you have made too many changes?

If you really have messed around so much, a better idea might be to start from the original configuration and only modify some few most important changes for you. Does those changes cause your kernel to grow that much? If so, you might want to try to revert some of those changes to keep searching.

regards Henrik
 
2 members found this post helpful.
Old 01-17-2024, 03:32 PM   #18
SlackWar
Member
 
Registered: Jul 2014
Location: Europe
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
So, did you delete that older kernel config file?
Yes, I only have the current config, not that older, unfortunately.
 
Old 01-17-2024, 04:46 PM   #19
rufwoof
Member
 
Registered: Nov 2017
Distribution: Kernel+busybox+ssh+vnc+alsa (framebuffer)
Posts: 201

Rep: Reputation: Disabled
If you have the original (good) vmlinuz then boot that and likely the .config will be stored within that

zcat /proc/config.gz >.config
 
1 members found this post helpful.
Old 01-18-2024, 02:46 AM   #20
SlackWar
Member
 
Registered: Jul 2014
Location: Europe
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: Disabled
1. No, I already deleted that older kernel long ago.
2. Even if I had that — no, config wasn't available there, since that option was inactive.
 
Old 01-18-2024, 07:41 AM   #21
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,011

Rep: Reputation: Disabled
If default Slackware kernel 4.x has bss at 0, download original kernel 4.x from Slackware repositories and extract config file.
 
Old 01-18-2024, 07:52 AM   #22
SlackWar
Member
 
Registered: Jul 2014
Location: Europe
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: Disabled
I'd like to learn, what is the cause of that BSS — to avoid it during kernel configuration. Filed a bug report — unfortunately, the kernel developers answered: „oh, presently hardly anyone uses that kernel”. Which probably should be understood as: „You know what? We don't care”.
 
Old 01-18-2024, 09:41 AM   #23
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,011

Rep: Reputation: Disabled
so did you try to download Slackware default kernel 4.x and extract config file for comparison?
 
Old 01-18-2024, 09:47 AM   #24
SlackWar
Member
 
Registered: Jul 2014
Location: Europe
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: Disabled
No, I didn't — since there would be much too many options to compare, it's too different to the config file I use. It won't give me any real information.
Do you expect me to switch every spotted difference — one after another — and each time compile, compile, compile, like I had nothing better to do?
 
Old 01-18-2024, 02:10 PM   #25
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 995

Rep: Reputation: 675Reputation: 675Reputation: 675Reputation: 675Reputation: 675Reputation: 675
Quote:
Originally Posted by SlackWar View Post
Do you expect me to switch every spotted difference — one after another — and each time compile, compile, compile, like I had nothing better to do?
Do you have any better suggestion? There is not much hope of finding someone with a crystal ball being able to tell which of all your custom changes is the one causing this.

However, you do not need to switch them one after another. It will be much faster to do a binary search. At each iteration you switch half of the suspected differences.

regards Henrik

Last edited by henca; 01-18-2024 at 02:11 PM.
 
1 members found this post helpful.
Old 01-18-2024, 02:22 PM   #26
SlackWar
Member
 
Registered: Jul 2014
Location: Europe
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: Disabled
This is a bug in the kernel. I made a bzImage compilation using „make allnoconfig”. The 32-bit kernel is „clean”, while immediately after switch to 64-bit that BSS „tail” appears in the kernel binary. And it grows with the number of options/drivers added.
Have a check — it won't take long time.

Last edited by SlackWar; 01-18-2024 at 03:39 PM.
 
Old 01-19-2024, 12:51 AM   #27
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 995

Rep: Reputation: 675Reputation: 675Reputation: 675Reputation: 675Reputation: 675Reputation: 675
Quote:
Originally Posted by SlackWar View Post
This is a bug in the kernel.
If that is a big concern, you should try to pinpoint that bug and report it upstreams.

Quote:
Originally Posted by SlackWar View Post
Have a check — it won't take long time.

Quote:
Originally Posted by SlackWar View Post
You may want to examine more closely my posts in this thread; I suggest take a closer look at the first post again (and the post #6).
Quote:
Originally Posted by SlackWar View Post
Please, have another look especially at post #1.
You don't seem to get the responce that you were expecting. I can't say for sure if that is because no one else has been suffering from this bug, but more likely, no one else is willing to spend more time than you trying to track down this problem.

regards Henrik
 
Old 01-19-2024, 01:33 AM   #28
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,871

Rep: Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531
Quote:
Originally Posted by SlackWar View Post
But I've got no problem with 6.1.x line; the problem is with 4.19.x compiled on x64
Quote:
Originally Posted by SlackWar View Post
Filed a bug report — unfortunately, the kernel developers answered: „oh, presently hardly anyone uses that kernel”.
Is there a reason why you use such an old kernel? 4.19 was originally released Oct 22, 2018.
 
1 members found this post helpful.
Old 01-19-2024, 03:49 AM   #29
SlackWar
Member
 
Registered: Jul 2014
Location: Europe
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Petri Kaukasoina View Post
Is there a reason why you use such an old kernel? 4.19 was originally released Oct 22, 2018.
Does it bother you? If so — I'm terribly sorry; I had no idea. In the future I won't forget to ask for your permission first.
 
Old 01-19-2024, 04:04 AM   #30
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,871

Rep: Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531Reputation: 1531
Quote:
Originally Posted by SlackWar View Post
Does it bother you? If so — I'm terribly sorry; I had no idea. In the future I won't forget to ask for your permission first.
Plonk.
 
5 members found this post helpful.
  


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
how to upgrade the Debian 3 kernel 2.4.18 to kernel 2.6 or bigmem- kernel chandu.bezawada Debian 6 11-12-2010 09:33 AM
LXer: Howto: build Linux kernel module against installed kernel w/o full kernel source tree LXer Syndicated Linux News 0 09-03-2006 08:21 PM
Update kernel from kernel-enterprise-2.4.9-e.3 to kernel-enterprise-2.4.9-e.8 imsajjadali Red Hat 0 01-24-2004 12:41 AM
Update kernel from kernel-enterprise-2.4.9-e.3 to kernel-enterprise-2.4.9-e.8 imsajjadali Linux - Software 4 01-17-2004 12:38 PM
A new kernel is out! A new kernel is out! A new kernel is out! Aussie Linux - General 9 11-29-2002 08:31 AM

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

All times are GMT -5. The time now is 11:20 AM.

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