LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 05-02-2007, 02:54 PM   #1
rgrandl
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Rep: Reputation: 0
Kerner 2.4.xx, xx > 22 compile on fedora core 1


Hello
I really need to compile a kernel 2.4.xx, xx > 22, in order to compile and run my modified madwifi driver.
I have a laptop latitude c810.I tried to recompile and compile kernel 2.4.22, 2.4.25, 2.4.26, from kernel.org, following below steps:
1. tar xzvf linux-2.4.25.tar.gz
2. cd /linux-.2.4.25
3. copy the .config file from current kernel 2.4.22 installed default by fedora 1.
cp /usr/src/linux-2.4/.config ../../linux-2.4.25/.config
4. make xconfig -> in order to fill some additional information:
enable module support
enable cryptographic API
enable Wireless Harm radio
5. make dep
6. make clean
7. make modules
8. make modules_install
9. make install (it copy bzImage, and Sysmap, and *.img to /boot)
10.mcedit /boot/grub/grub.conf
select for linux-2.4.25 -> root=/dev/hda5
11.restart and load the new kernel
I got a lot of warnings, but in one of my tries I used to boot ok, but when I run
depmod -ae in the new kernel I had a lot of unknown symbols.

Maybe somebody have kind of same problem in the past, and resolv it.
i definitevely don't compile very well my kernel, but sincerely I don't know what kind of fields to complete in make xconfig, in order to run well.

I really want to recompile a 2.4.xx, xx > 22 kernel, in order to run my software on a atheros wag5111 wireless card.

Best regards,
Robert
 
Old 05-03-2007, 12:03 PM   #2
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
Have you tried just updating the kernel via the official repos and installing madwifi from atrpms, livna, or rpmforge?
 
Old 05-03-2007, 11:24 PM   #3
rgrandl
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
I download the kernel sources from kernel.org. I compile them using config file from /boot, adding additional information on it how it was specified on madwifi.org concerning madwifi drivers. I have an older version of modified madwifi, in order to run a daemon software.
Now, I install a kernel-2.4.27 on my latitude c810 laptop, but when I run depmod -ae, I have some problem:
depmod: *** Unresolved symbols in /lib/modules/2.4.27/kernel/fs/ext3/ext3.o
depmod: rwsem_down_write_failed
depmod: rwsem_wake
depmod: rwsem_down_read_failed

and more of same
depmod: rwsem_down_write_failed
depmod: rwsem_wake
depmod: rwsem_down_read_failed ,
but in other modules

Do you think it can affect my madwifi driver.Or how I can solve these problems?
 
Old 05-04-2007, 09:21 AM   #4
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
Well, two recommendations:

1) Update to Fedora Core 6, since FC1 is really quite old now and no longer supported.
2) Whether you update or not, stick to the official kernels and use the madwifi packages from atrpms, livna, or rpmforge. You really shouldn't have to do all this by hand. It just isn't necessary. In fact, if you do update to FC6 you'll find full instructions at http://fedoramobile.org/fc-wireless/madwifi-yum-livna
 
  


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
Fedora Core 5 wont compile impulse() Linux - General 2 05-16-2006 01:29 PM
Fedora Core 5. lt_modem.ko won't compile the_darkside_986 Fedora 15 04-06-2006 09:28 AM
How to compile a C program in Fedora Core 4 SeniorSE Programming 3 09-13-2005 09:20 PM
How to compile and run C codes in Fedora Core? hoper Programming 1 11-03-2004 01:53 PM
Trying to compile libgda-1.1.4.. Fedora Core 2 j3di3 Linux - Software 0 06-16-2004 11:17 AM

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

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