LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-17-2004, 11:54 PM   #1
Nappa
Member
 
Registered: Nov 2003
Posts: 42

Rep: Reputation: 15
2.6.4 Kernel Config file


Could someone post a good working Kernel 2.6.4 config file on this thread. I would appreciate it as I'm having problems with booting up my compiled Kernel because of the "couldn't find console, try to specify with init=" error. It has to be something with file types in the kernel or with dev pts.
 
Old 03-18-2004, 10:09 AM   #2
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
have you tried loading the .config from your 2.4 kernel and working from there?
 
Old 03-18-2004, 10:16 AM   #3
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Rep: Reputation: 30
I with you I am trying to compile the new 2.6.5 kerenl and am following the guide for newbies and I have edited the lilo.conf and then saved it but I am stuck with where I need to add the make menuconfig, make dep, make clean, make bzImage, make, make install, make modules, and the make modules_install. Does all that go into the Makefile and if so where does it go at in there, does it go at the end or the beginning? Any help would be great.

Thanks in advance
noobtesting
 
Old 03-18-2004, 10:28 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
You do not use that many commands with a 2.6 kernel.
cd into the folder where the Makefile is in the top of the kernel source tree and run this..


make menuconfig
make
make modules_install
make install

There are suitable default configs in the source tree. Someone elses custom kernel is more likely to not work.
 
Old 03-18-2004, 10:28 PM   #5
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
you are doing it backwards..

You need to

1. download the source (kernel.org)
2. untar the source
3. remove the old symlinks
3a. make new ones
4. make mrproper
5. make menuconfig
6. make bzImage
6a. make modules
6b. make modules_install
7 copy files (kernel and map) to /boot
8. make the links for vmlinuz and System.map
9. Then config lilo
10. run lilo
11. reboot

Search for 2.6 Kernel Guide for Newbies here at LQ.
 
Old 03-19-2004, 07:59 AM   #6
noobtesting
Member
 
Registered: Mar 2004
Location: Illinois
Distribution: Mint 15
Posts: 163

Rep: Reputation: 30
great thanks, I have found a couple of articles on doing this also after I posted this. I am not very patiant so I was doing a ton of reading and research on the topic so I could get it done. I am still doing more to make sure I have it right so thanks.
 
Old 04-07-2004, 02:59 PM   #7
sclebo05
Member
 
Registered: Aug 2003
Location: Hershey, PA, USA
Distribution: Fedora/Knoppix3.2/Slack9.1
Posts: 34

Rep: Reputation: 15
no file

so does anyone want to post a .config file?
 
Old 04-08-2004, 12:04 AM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
The config files in the source tree are more likely to work than one customized for the wrong machine.


[david@zeus david]$ cat /usr/src/linux*5/.config |grep CONSOLE
CONFIG_NETCONSOLE=m
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_LP_CONSOLE is not set
CONFIG_VGA_CONSOLE=y
CONFIG_MDA_CONSOLE=m
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
 
Old 04-08-2004, 03:32 PM   #9
sclebo05
Member
 
Registered: Aug 2003
Location: Hershey, PA, USA
Distribution: Fedora/Knoppix3.2/Slack9.1
Posts: 34

Rep: Reputation: 15
rad

ok, when you say sources tree, do you mean the kernel tree or the slackware tree? i think you mean the slackware tree, which i didn't realize had a .config with it. what i downloaded was a stock vanilla kernel, which had no .config with it.
 
Old 04-09-2004, 06:30 PM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I was refering to the kernel-source tree that is supplied with your distros kernel
 
Old 04-10-2004, 12:14 AM   #11
sclebo05
Member
 
Registered: Aug 2003
Location: Hershey, PA, USA
Distribution: Fedora/Knoppix3.2/Slack9.1
Posts: 34

Rep: Reputation: 15
right, only that the .config in the slack-stable tree is for 2.4 I was hoping for a 2.6 config somewhere......

running a 'make oldconfig' against a 2.4 version scares me, i would rather start with a working 2.6 one and tweak it. I actually compiled a kernel the other night and it worked, but I am still unsure of some of the settings.
 
  


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
.config file for 2.6 kernel sajjadc Linux - Distributions 8 10-14-2005 12:48 PM
Wheres the Kernel Config File? grilledsalad Linux - Newbie 4 02-28-2005 07:49 PM
Use old kernel config file? RoaCh Of DisCor Linux - Software 4 01-04-2005 10:31 PM
.config file for new kernel plan9 Slackware 2 06-04-2004 07:02 PM
I lost rmed my kernel config file. Anyway to create one from the kernel? severedhead Linux - Software 3 07-12-2002 07:54 PM

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

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