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

Notices


Reply
  Search this Thread
Old 08-06-2007, 02:44 PM   #1
der_11
Member
 
Registered: Jun 2007
Location: Canada
Distribution: Slackware 12.0, Fedora 7
Posts: 40

Rep: Reputation: 15
Problem installing mad-wifi slackbuild on new kernel


I've just compiled the 2.6.22.1 kernel for slackware 12.0, which fixed the problem with my sound, but I needed to install madwifi again. I followed the guide on the wiki, and it creates the package in /tmp, but it is incomplete and the modules are not being created.

Here is what the logs say:

make-madwifi.log
Code:
for i in ./ath ./ath_hal ./ath_rate ./net80211; do \
		make -C $i clean; \
	done
make[1]: Entering directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath'
rm -f *~ *.o *.ko *.mod.c .*.cmd
rm -f .depend .version .*.o.flags .*.o.d
rm -rf .tmp_versions
make[1]: Leaving directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath'
make[1]: Entering directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath_hal'
rm -f *~ *.o *.ko *.mod.c uudecode .*.cmd
rm -f .depend .version .*.o.flags .*.o.d
rm -rf .tmp_versions
make[1]: Leaving directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath_hal'
make[1]: Entering directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath_rate'
for i in amrr/ onoe/ sample/; do \
		make -C $i clean; \
	done
make[2]: Entering directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath_rate/amrr'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath_rate/amrr'
make[2]: Entering directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath_rate/onoe'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath_rate/onoe'
make[2]: Entering directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath_rate/sample'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath_rate/sample'
make[1]: Leaving directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath_rate'
make[1]: Entering directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/net80211'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[1]: Leaving directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/net80211'
make -C ./tools  clean
make[1]: Entering directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/tools'
rm -f athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig core a.out
make[1]: Leaving directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/tools'
rm -rf .tmp_versions
rm -f *.symvers svnversion.h
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.22.1-smp/build SUBDIRS=/tmp/build/tmp-madwifi/madwifi-0.9.3.1 modules
make[1]: Entering directory `/usr/src/linux-2.6.22.1'
  CC [M]  /tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath/if_ath.o
  CC [M]  /tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath/if_ath_pci.o
cc1: warnings being treated as errors
/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath/if_ath_pci.c: In function 'ath_pci_probe':
/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath/if_ath_pci.c:210: warning: 'deprecated_irq_flag' is deprecated (declared at include/linux/interrupt.h:66)
make[3]: *** [/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath/if_ath_pci.o] Error 1
make[2]: *** [/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath] Error 2
make[1]: *** [_module_/tmp/build/tmp-madwifi/madwifi-0.9.3.1] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.1'
make: *** [modules] Error 2
install-madwifi.log
Code:
sh scripts/find-madwifi-modules.sh 2.6.22.1-smp /tmp/build/package-madwifi
for i in ./ath ./ath_hal ./ath_rate ./net80211; do \
		make -C $i install || exit 1; \
	done
make[1]: Entering directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath'
test -d /tmp/build/package-madwifi//lib/modules/2.6.22.1-smp/net || mkdir -p /tmp/build/package-madwifi//lib/modules/2.6.22.1-smp/net
cp ath_pci.ko /tmp/build/package-madwifi//lib/modules/2.6.22.1-smp/net
cp: cannot stat `ath_pci.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/tmp/build/tmp-madwifi/madwifi-0.9.3.1/ath'
make: *** [install-modules] Error 1
makepkg-madwifi.log
Code:
Slackware package maker, version 2.1.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating tar file madwifi-0.9.3.1_2.6.22.1_smp-i486-1.tar...

./
usr/
usr/bin/
usr/man/
usr/include/
usr/include/madwifi/
usr/include/madwifi/include/
usr/include/madwifi/include/sys/
usr/include/madwifi/include/sys/queue.h
usr/include/madwifi/include/compat.h
usr/include/madwifi/net80211/
usr/include/madwifi/net80211/ieee80211_ioctl.h
usr/include/madwifi/net80211/if_media.h
usr/include/madwifi/net80211/_ieee80211.h
usr/include/madwifi/net80211/ieee80211.h
usr/include/madwifi/net80211/ieee80211_crypto.h
usr/include/madwifi/net80211/ieee80211_scan.h
usr/include/madwifi/net80211/ieee80211_node.h
usr/include/madwifi/net80211/if_llc.h
usr/include/madwifi/net80211/ieee80211_rate.h
usr/include/madwifi/net80211/if_athproto.h
usr/include/madwifi/net80211/if_ethersubr.h
usr/include/madwifi/net80211/ieee80211_monitor.h
usr/include/madwifi/net80211/ieee80211_var.h
usr/include/madwifi/net80211/ieee80211_power.h
usr/include/madwifi/net80211/ieee80211_linux.h
usr/include/madwifi/net80211/version.h
usr/include/madwifi/net80211/ieee80211_radiotap.h
usr/include/madwifi/net80211/ieee80211_proto.h
usr/doc/
usr/doc/madwifi-0.9.3.1/
usr/doc/madwifi-0.9.3.1/COPYRIGHT
usr/doc/madwifi-0.9.3.1/INSTALL
usr/doc/madwifi-0.9.3.1/README
usr/doc/madwifi-0.9.3.1/THANKS
usr/doc/madwifi-0.9.3.1/COPYRIGHT.hal
usr/doc/madwifi-0.9.3.1/README.hal
usr/doc/madwifi-0.9.3.1/README.patches
usr/doc/madwifi-0.9.3.1/WEP-HOWTO.txt
usr/doc/madwifi-0.9.3.1/users-guide.pdf
usr/doc/madwifi-0.9.3.1/scripts/
usr/doc/madwifi-0.9.3.1/scripts/get_arch.mk
usr/doc/madwifi-0.9.3.1/scripts/find-madwifi-modules.sh
usr/doc/madwifi-0.9.3.1/scripts/make-release.bash
usr/doc/madwifi-0.9.3.1/scripts/madwifi-unload.bash
lib/
lib/modules/
lib/modules/2.6.22.1-smp/
lib/modules/2.6.22.1-smp/net/
install/
install/slack-desc
install/doinst.sh
tar-1.13: madwifi-0.9.3.1_2.6.22.1_smp-i486-1.tar is the archive; not dumped

Gzipping madwifi-0.9.3.1_2.6.22.1_smp-i486-1.tar...

Renaming madwifi-0.9.3.1_2.6.22.1_smp-i486-1.tar.gz to madwifi-0.9.3.1_2.6.22.1_smp-i486-1.tgz...

Moving madwifi-0.9.3.1_2.6.22.1_smp-i486-1.tgz to /tmp...

Package creation complete.
I have no idea what the problem is. So, now I have a kernel where sound doesn't work and wireless does and another kernel where sound works but wireless doesn't.
 
Old 08-06-2007, 11:47 PM   #2
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 467

Rep: Reputation: 55
Hello der_11,
Have you checked out AlienBOB's mad-wifi slackbuilds and packages?
http://www.slackware.com/~alien/slackbuilds/madwifi/
They're 'g0d sent' to me
 
Old 08-07-2007, 01:14 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116Reputation: 8116
For kernel 2.6.22 and newer you can't use madwifi-0.9.3.1.
You will either grab a CVS snapshot or wait for the release of madwifi-0.9.3.2 which does support the newer kernels.
The link mannyslack gave you to my SlackBuild has a working package made from a CVS snapshot.

Eric
 
  


Reply

Tags
madwifi, slackbuild, wireless


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
Slackbuild MPlayer trouble installing DaveXensen Linux - Desktop 1 02-13-2007 02:29 PM
mad wifi drivers installation error mr_pink_eyes Slackware 2 01-31-2007 11:42 PM
mad wifi on FC5 2.6.16-1.2096_FC5 dehavik Linux - Hardware 19 05-07-2006 04:32 PM
kernel is driving me mad luqman Linux - Newbie 6 02-18-2005 05:05 AM
kernel is driving me mad luqman Red Hat 2 02-17-2005 07:00 AM

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

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