LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-20-2003, 05:14 AM   #1
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
config-2.4.20-8 useable to 2.6?


will the /boot/config-2.4.20-8 be useable for kernel 2.6?
 
Old 12-20-2003, 08:29 AM   #2
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
dun think so. I would recoment a re-configure. What you could do is read the the config file and similarly configure you new (2.6) kernel
 
Old 12-20-2003, 09:44 AM   #3
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Yes... I used 2.4.20-gaming(from gentoo) to get to 2.6
 
Old 12-20-2003, 05:03 PM   #4
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
Okey my bad. Sorry
 
Old 12-20-2003, 05:48 PM   #5
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
It will work but it could cause problems. You would be better to start with the default 2.6.0 config file and work from there.

When I say it can cause problems I mean some options will not be available if you use a 2.4 config file. Some of the default settings could also cause problems in 2.6.0 if you don't catch and change them.
 
Old 12-20-2003, 06:25 PM   #6
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
/bin/bash is right! I had to change some things in the config file... Forgot that...

Things that needed change were sound(switch to alsa) and OHCI, and some other things.
 
Old 12-22-2003, 10:51 AM   #7
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
i compile kernel 2.6 and successfully installed it using the default settings in 2.6.
# make xconfig
# make bzImage
# make modules
# make modules_install
# make install

i notice when doing make modules i got minor warning messages but i do compile fine and installed it without error but when rebooting i got kernel panic.
 
Old 12-22-2003, 05:42 PM   #8
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
demmylls
Well the default config file usually needs some work. A few things it leaves out:
In Filesystems.
No reiserfs
No NTFS

In sound:
Only Intel card is selected!

Graphics:
No fb support.

Block devices:
No Initrd support
No ram disk
No loopback

There are alot of other things wrong with it. What I recommend is you print a copy of your 2.4 config file and use it as a guide when configuring 2.6.0.
 
Old 12-23-2003, 09:45 AM   #9
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
the default kernel configuration is too comfusing coz alot different from 2.4 and 2.6 some that 2.6 have and 2.4 dont and some 2.4 have but 2.6 has been merged into other group..
i've got stuck doing that...
 
Old 12-23-2003, 12:26 PM   #10
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
What I'm saying is that unless you are lucky, the odds are that the default 2.6.0 config file will not work properly. If you are using reiserfs on / partition you will get kernel panic. You should at least visit the Filesystems section and verify your root filesystem is supported. Also visit the sound drivers section and enable your sound card. Go to the CPU section and select your CPU type. I would suggest you visit each section and look at each option and read the help files. I do this almost every time I build a new kernel. Now I know alot of the options and don't have to read every help file. It takes alot of reading and alot of practice, and yes it takes alot of kernel panics too.
 
Old 12-24-2003, 01:48 AM   #11
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
wow.....
is it normal for a Linux user compiled a basic kernel and then boot the new kernel to verify that it work fine and then add another one option and then recompile then check again if it work and then repeat the stop until he get all the settings that only for his system.

wow.....
i compile kernel 2.6 need almost 1 hour....
 
Old 12-24-2003, 07:23 AM   #12
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
No you can add as many options as you like. You should keep track of things you change so you can undo something if it breaks your kernel. When you get a kernel that works and supports all your hardware you should take real good care of that config file.
 
Old 12-24-2003, 10:37 AM   #13
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
ok thanks for that advice.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB scanner detected but not useable Tamerz Linux - Hardware 2 01-04-2005 05:26 AM
Mar 25 11:19:48 my-proxy kernel: ne2k-pci.c: No useable cards found, driver NOT bishal Linux - Networking 0 03-25-2004 11:52 PM
Juno for Lindows useable for other distros? C-monkey Linux - Newbie 3 12-10-2003 09:07 PM
One Floppy Not Useable By 2 Different Slack 8.1 Boxen Texicle Linux - General 3 04-10-2003 05:20 PM
absolute MiNiuM useable PC for LINUX(peanut or Vector distros) chilibowl Linux - Hardware 11 11-29-2002 02:03 PM


All times are GMT -5. The time now is 03:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration