LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-26-2019, 02:54 PM   #1
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,795

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Looking for the list of config options used for the kernel


I'm trying to track down the cause of an ACPI-related (I think, anyway) problem and I'm looking for the kernel configuration options that were used to build the Leap 15.1 kernels. I seem to remember that these were included when you installed the OS but I'm drawing a blank as to where it might be saved on disk. I thought they'd be somewhere under /usr/src/linux but so far my searching hasn't found anything. (I should note that I might very well be remembering that such a file was included back when I was using an entirely different Linux distribution.)

Does Leap include such a file with the list of options selected for the kernel build? If so, where should I find it?

TIA...
 
Old 07-26-2019, 02:59 PM   #2
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,953

Rep: Reputation: 270Reputation: 270Reputation: 270
Documentation/admin-guide/kernel-parameters

Last edited by RandomTroll; 07-26-2019 at 03:00 PM.
 
Old 07-26-2019, 03:16 PM   #3
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by rnturn View Post
Does Leap include such a file with the list of options selected for the kernel build?
Normally, don't know about Leap specificaly, its the config, or config-<some_version> file in the /boot directory (where the kernel itself is too, unless you're using EFI).
 
Old 07-26-2019, 07:19 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
And if that's not there, have a look for /proc/config.gz
 
1 members found this post helpful.
Old 07-30-2019, 08:59 AM   #5
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,795

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by RandomTroll View Post
Documentation/admin-guide/kernel-parameters
That tells me what I can add to or modify on the grub command line. I'm looking for the options that were selected during the execution of, say, "menuconfig" prior to compiling the kernel.
 
Old 07-30-2019, 09:09 AM   #6
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,795

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by syg00 View Post
And if that's not there, have a look for /proc/config.gz
Ah ha! That's what I'm looking for. I remember this being saved in the source code tree (but that was a long time ago).

The files under /boot seem to have the same information. Not sure how I missed that before.

Thanks everyone.

Last edited by rnturn; 07-30-2019 at 09:12 AM.
 
Old 07-30-2019, 03:12 PM   #7
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,953

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Originally Posted by rnturn View Post
That tells me what I can add to or modify on the grub command line. I'm looking for the options that were selected during the execution of, say, "menuconfig" prior to compiling the kernel.
Whoops! sorry. /usr/src/linux/.config . I keep an archive of all my configs, useful to keep track of changes. I edit it by hand sometimes.
 
Old 08-03-2019, 03:25 PM   #8
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,795

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by RandomTroll View Post
Whoops! sorry. /usr/src/linux/.config . I keep an archive of all my configs, useful to keep track of changes. I edit it by hand sometimes.
That's the place for Slackware. openSUSE didn't, for some reason, choose to follow that convention. Definitely threw me. :^D
 
Old 08-03-2019, 11:37 PM   #9
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,953

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Originally Posted by rnturn View Post
That's the place for Slackware.
I build my own kernels.
 
Old 08-04-2019, 01:02 AM   #10
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,795

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by RandomTroll View Post
I build my own kernels.
As did I back when Slackware was my main distribution.

Later...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
list applications by least used / most used StephenHart Linux - Software 4 08-01-2018 07:42 AM
E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/mono-official.list 221B Linux - Newbie 6 09-07-2017 12:14 PM
Does anyone have a list of A blocks used in the US? (or A block used outside the US) abefroman Linux - Security 7 02-13-2012 04:38 PM
Config 2.6.36.1 kernel (from kernel.org) using CentOS 5.4 x86_64 kernel .config whitewolf573 Linux - Kernel 2 12-11-2010 08:33 AM
'E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), E:The list of vsssuccess@gmail.com Linux - Desktop 1 11-17-2010 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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