LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora - Installation (https://www.linuxquestions.org/questions/fedora-installation-39/)
-   -   Kerner 2.4.xx, xx > 22 compile on fedora core 1 (https://www.linuxquestions.org/questions/fedora-installation-39/kerner-2-4-xx-xx-22-compile-on-fedora-core-1-a-550742/)

rgrandl 05-02-2007 02:54 PM

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

hollywoodb 05-03-2007 12:03 PM

Have you tried just updating the kernel via the official repos and installing madwifi from atrpms, livna, or rpmforge?

rgrandl 05-03-2007 11:24 PM

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?

hollywoodb 05-04-2007 09:21 AM

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


All times are GMT -5. The time now is 09:51 PM.