LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Looking for the list of config options used for the kernel (https://www.linuxquestions.org/questions/suse-opensuse-60/looking-for-the-list-of-config-options-used-for-the-kernel-4175658097/)

rnturn 07-26-2019 02:54 PM

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...

RandomTroll 07-26-2019 02:59 PM

Documentation/admin-guide/kernel-parameters

ehartman 07-26-2019 03:16 PM

Quote:

Originally Posted by rnturn (Post 6018889)
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).

syg00 07-26-2019 07:19 PM

And if that's not there, have a look for /proc/config.gz

rnturn 07-30-2019 08:59 AM

Quote:

Originally Posted by RandomTroll (Post 6018891)
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.

rnturn 07-30-2019 09:09 AM

Quote:

Originally Posted by syg00 (Post 6018934)
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.

RandomTroll 07-30-2019 03:12 PM

Quote:

Originally Posted by rnturn (Post 6019847)
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.

rnturn 08-03-2019 03:25 PM

Quote:

Originally Posted by RandomTroll (Post 6019951)
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

RandomTroll 08-03-2019 11:37 PM

Quote:

Originally Posted by rnturn (Post 6021232)
That's the place for Slackware.

I build my own kernels.

rnturn 08-04-2019 01:02 AM

Quote:

Originally Posted by RandomTroll (Post 6021311)
I build my own kernels.

As did I back when Slackware was my main distribution.

Later...


All times are GMT -5. The time now is 10:50 AM.