LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-14-2021, 02:04 PM   #1
longus
Member
 
Registered: Dec 2008
Posts: 49

Rep: Reputation: 3
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?
 
Old 01-15-2021, 10:33 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
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.
 
Old 01-16-2021, 07:08 AM   #3
longus
Member
 
Registered: Dec 2008
Posts: 49

Original Poster
Rep: Reputation: 3
The question comes because i don't keep one.
 
Old 01-16-2021, 08:24 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Why do you need it?
 
Old 01-16-2021, 09:02 PM   #5
longus
Member
 
Registered: Dec 2008
Posts: 49

Original Poster
Rep: Reputation: 3
I need that to properly compile a new kernel. Especially device drivers.
 
Old 01-17-2021, 01:25 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I'd search web.archive.org.
Unfortunately SLED is interpreted as sled; I'll leave it to you to find better search terms.
 
Old 01-17-2021, 06:15 AM   #7
Sauerland
Member
 
Registered: Jul 2017
Distribution: openSUSE Leap
Posts: 191

Rep: Reputation: Disabled
Quote:
Originally Posted by longus View Post
I need that to properly compile a new kernel. Especially device drivers.
Why not compile them as kmp?
 
Old 01-17-2021, 06:25 AM   #8
Sauerland
Member
 
Registered: Jul 2017
Distribution: openSUSE Leap
Posts: 191

Rep: Reputation: Disabled
Also:
why using an old not supported version?

Otherwise ask in the official SuSE forum:
http://forums.suse.com/
 
Old 01-17-2021, 10:53 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@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

-
 
Old 01-25-2021, 08:14 AM   #10
longus
Member
 
Registered: Dec 2008
Posts: 49

Original Poster
Rep: Reputation: 3
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.

Last edited by longus; 01-25-2021 at 11:43 AM.
 
Old 01-29-2021, 03:47 AM   #11
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
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.
 
Old 02-05-2021, 06:28 PM   #12
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by longus View Post
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.
 
  


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
difference in /proc/mounts file between sled SP1 and sled SP2? mike79 Linux - Newbie 0 04-21-2009 06:53 AM
SLED i386 vs. SLED AMD64 JOHN-FM SUSE / openSUSE 4 09-06-2006 07:40 AM
Compaq Presario 1205EA - choosing a kernel/distro. ditch* Linux - Laptop and Netbook 0 12-06-2004 06:04 PM
Kernel 2.6.0 and compaq presario 2100z (amd proc) ravinmiist Linux - Laptop and Netbook 0 12-28-2003 05:13 PM
2.4.22 Kernel on Compaq Presario 2500 janseun Linux - Laptop and Netbook 5 10-13-2003 09:49 AM

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

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