I'm running fc3 on my computer and almost ready to upgrade to fc4. I have a wireless card using madwifi from atrpms.net. If I upgrade to fc4, I'll be running 2.6.11-1.1369. Axel's web site only has a prebuilt module for the latest 2.6.12 kernels and I haven't been able to find any old modules on the net. Trying to build the module using the source rpm gets me this:
$ rpmbuild -bb madwifi-0.9.4.12-16.rhfc4.at.spec error: line 1: Unknown tag: %kmdl madwifi
So, my choices are the following:
1. Figure out how to build the module from the source rpm. Anyone know what I'm missing to build it?
2. Do the upgrade and have the 2.6.12 kernel and madwifi module already downloaded and hope I don't run into a dependency problem.
3. Find someplace on the net that archives old madwifi modules for the original fc4 kernel version.
Obviously, number 3 is the best choice, if I can find such a site. What's the best solution to the problem?
On Sat, 1 Oct 2005, Gordon Charrick wrote:
I'm running fc3 on my computer and almost ready to upgrade to fc4. I have a wireless card using madwifi from atrpms.net. If I upgrade to fc4, I'll be running 2.6.11-1.1369. Axel's web site only has a prebuilt module for the latest 2.6.12 kernels and I haven't been able to find any old modules on the net. Trying to build the module using the source rpm gets me this:
$ rpmbuild -bb madwifi-0.9.4.12-16.rhfc4.at.spec error: line 1: Unknown tag: %kmdl madwifi
So, my choices are the following:
- Figure out how to build the module from the source rpm. Anyone know what
I'm missing to build it?
It has been a while since I had this same problem with building atrpms from srpm. I thinks you need the rpm from http://atrpms.net/dist/common/atrpms/ I am not sure, but try installing that before you rebuild one of his SRPMS.
Robin Mordasiewicz wrote:
On Sat, 1 Oct 2005, Gordon Charrick wrote:
I'm running fc3 on my computer and almost ready to upgrade to fc4. I have a wireless card using madwifi from atrpms.net. If I upgrade to fc4, I'll be running 2.6.11-1.1369. Axel's web site only has a prebuilt module for the latest 2.6.12 kernels and I haven't been able to find any old modules on the net. Trying to build the module using the source rpm gets me this:
$ rpmbuild -bb madwifi-0.9.4.12-16.rhfc4.at.spec error: line 1: Unknown tag: %kmdl madwifi
So, my choices are the following:
- Figure out how to build the module from the source rpm. Anyone know
what I'm missing to build it?
It has been a while since I had this same problem with building atrpms from srpm. I thinks you need the rpm from http://atrpms.net/dist/common/atrpms/ I am not sure, but try installing that before you rebuild one of his SRPMS.
It looks like I'm missing the macros for kernel module building because I still get the same error. I've posted a request on the atrpms mail list.
On Sat, 2005-10-01 at 20:55 -0700, Gordon Charrick wrote:
- Find someplace on the net that archives old madwifi modules for the
original fc4 kernel version.
Obviously, number 3 is the best choice, if I can find such a site. What's the best solution to the problem?
rpm.livna.org now has madwifi src.rpm that should build fine for you
rpmbuild --target=i686 src.rpm --rebuild foo-src.rpm
That should build the rpm.livna.org madwifi rpm for you. You will need to install the package that provides uudecode when you install fc4 - and I think there is a package from Extras you need to rebuild the livna src.rpm (look at it first - it would be in the BuildRequires, grab it before installing fc4)
Gordon Charrick wrote:
I'm running fc3 on my computer and almost ready to upgrade to fc4. I have a wireless card using madwifi from atrpms.net. If I upgrade to fc4, I'll be running 2.6.11-1.1369. Axel's web site only has a prebuilt module for the latest 2.6.12 kernels and I haven't been able to find any old modules on the net. Trying to build the module using the source rpm gets me this:
$ rpmbuild -bb madwifi-0.9.4.12-16.rhfc4.at.spec error: line 1: Unknown tag: %kmdl madwifi
So, my choices are the following:
- Figure out how to build the module from the source rpm. Anyone know
what I'm missing to build it?
- Do the upgrade and have the 2.6.12 kernel and madwifi module already
downloaded and hope I don't run into a dependency problem.
- Find someplace on the net that archives old madwifi modules for the
original fc4 kernel version.
Obviously, number 3 is the best choice, if I can find such a site. What's the best solution to the problem?
I build it from the latest tgz file each time I install an FC4 kernel upgrade. It's a simple as
do_madwifi: #! /bin/sh cd /usr/local/src rm -fr madwifi* wget http://madwifi.otaku42.de/madwifi-cvs-current.tar.gz tar -zxvf mad*.tgz cd madwifi make make install cd tools make make install
The very first time you do this, you may need to install sharutils (yum install sharutils) to get uuencode and, after the make install, type "modeprobe ath_pci".