LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-03-2005, 11:29 PM   #1
betamike
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Rep: Reputation: 0
Compiling Fedora Core Kernel


Hey guys,

I have Fedora Core 3 installed on an old Toshiba laptop, and I want to enable Toshiba support in the kernel. I've never done so before, so could someone please give me a step by step guide to doing so?

thank you in advance!
 
Old 03-04-2005, 02:27 AM   #2
OptiX-Kill
LQ Newbie
 
Registered: Feb 2005
Location: Latvia
Distribution: Fedora Core 3
Posts: 3

Rep: Reputation: 0
betamike, first of all get the kernel sources. you can find them here: http://download.fedora.redhat.com/pu...dates/3/SRPMS/ or www.rpmfind.net .install them.
1. Obtain the kernel-<version>.src.rpm file from one of the following sources:

o The SRPMS directory on the appropriate "SRPMS" CD iso image

o The FTP site where you got the kernel package

o By running the following command:

up2date --get-source kernel

2. Install kernel-<version>.src.rpm (given the default RPM configuration, the files this package contains will be written to /usr/src/redhat/)

3. Change directory to /usr/src/redhat/SPECS/, and issue the following command:

rpmbuild -bp --target=<arch> kernel.spec

(Where <arch> is the desired target architecture.)

On a default RPM configuration, the kernel tree will be located in /usr/src/redhat/BUILD/.

4. In resulting tree, the configurations for the specific kernels shipped in Fedora Core 3 are in the /configs/ directory. For example, the i686 SMP configuration file is named /configs/kernel-<version>-i686-smp.config. Issue the following command to place the desired configuration file in the proper place for building:

cp <desired-file> ./.config

5. Issue the following command:

make oldconfig

You can then proceed as usual.
after doing all that, enable Toshiba support. finally, do the following:
make
make modules_install
make install

and reboot this is how I am doing all this..good luck!
 
Old 03-04-2005, 06:47 AM   #3
betamike
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you very much! I'll give this a go as soon as I can!
 
  


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
trouble compiling modules against custom fedora core 4 kernel blahJake Linux - Software 6 12-16-2006 06:54 AM
Compiling a driver for Fedora core 2?? teodavinci Linux - Hardware 1 12-15-2005 09:34 AM
Compiling C in Fedora Core 2 mparsons Linux - Software 7 11-13-2005 11:16 PM
Compiling 2.6.6 kernel in fedora core 2... SpItoS Linux - Newbie 4 01-17-2005 02:51 PM
Kernel compiling under Fedora Core 2 midimarcus Linux - Newbie 7 07-08-2004 06:23 AM

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

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