LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Kernel config file for SLED 11 on Compaq Presario CQ 56 (https://www.linuxquestions.org/questions/suse-opensuse-60/kernel-config-file-for-sled-11-on-compaq-presario-cq-56-a-4175688561/)

longus 01-14-2021 02:04 PM

Kernel config file for SLED 11 on Compaq Presario CQ 56
 
Hello! I have an old laptop Compaq Presario CQ56 bought in 2011 with SLED 11. I am searching the original kernel config file for that model. Could anyone help to find it?

mrmazda 01-15-2021 10:33 PM

There should be one for each kernel in /boot. If the system is running it can also be found for the running kernel as /proc/config.gz.

longus 01-16-2021 07:08 AM

The question comes because i don't keep one.

mrmazda 01-16-2021 08:24 PM

Why do you need it?

longus 01-16-2021 09:02 PM

I need that to properly compile a new kernel. Especially device drivers. :)

ondoho 01-17-2021 01:25 AM

I'd search web.archive.org.
Unfortunately SLED is interpreted as sled; I'll leave it to you to find better search terms.

Sauerland 01-17-2021 06:15 AM

Quote:

Originally Posted by longus (Post 6208571)
I need that to properly compile a new kernel. Especially device drivers. :)

Why not compile them as kmp?

Sauerland 01-17-2021 06:25 AM

Also:
why using an old not supported version?

Otherwise ask in the official SuSE forum:
http://forums.suse.com/

knudfl 01-17-2021 10:53 AM

@longus :

I don't think there's a special kernel config for Compaq [any "2011" version].
Installed here are SLE 11 32bit and 64bit versions. And SLE 11 works OK when/if the hard drive is mounted in {DELL, HP, Compaq} computers.

Example 32bit SLE 11 : boot/config-2.6.27.19-5-pae and proc/config.gz
https://drive.google.com/drive/folde...fz?usp=sharing

-

longus 01-25-2021 08:14 AM

Thank you, knudfl! I tryed that config. I downloaded the source of 2.6.27.17 and tryed to run "make oldconfig", but it returns:
Code:

Makefile:442: *** mixed implicit and normal rules: deprecated syntax
Makefile:1601: *** mixed implicit and normal rules: deprecated syntax
make: *** No rule to make target 'oldconfig'.  Stop.

Probally i need the original source three too.

Brains 01-29-2021 03:47 AM

What you should do:
Run command lspci -k. This will show which kernel drivers are in use for the hardware. Then get a generic .config file for the kernel version or within it's version range and run command make menuconfig, hit the search feature (if available for 2.6 kernels) and plug in the kernel driver names from the lspci command output and it will show you where to go in the menu to enable it.

I recently installed a 5.10.8 kernel in my Gentoo which came with a file named "linux-", I renamed it to .config since that's what it is and started configuring a basic/generic setup.

Brains 02-05-2021 06:28 PM

Quote:

Originally Posted by longus (Post 6211739)
Thank you, knudfl! I tryed that config. I downloaded the source of 2.6.27.17 and tryed to run "make oldconfig", but it returns:
Code:

Makefile:442: *** mixed implicit and normal rules: deprecated syntax
Makefile:1601: *** mixed implicit and normal rules: deprecated syntax
make: *** No rule to make target 'oldconfig'.  Stop.

Probally i need the original source three too.

BTW:
Just recently came to figure out in both my Debian and Gentoo, in the /boot directory, along with the current vmlinuz, initrd /initramfs files is a config file with same extension as the others, IE "config-2.6.27-x86". That is the same file as the .config used to compile the current kernel.


All times are GMT -5. The time now is 02:18 PM.