Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #2302 (new defect)

Opened 13 years ago

patch-kernel/install.sh fails

Reported by: anonymous Assigned to:
Priority: minor Milestone:
Component: madwifi: other Version: trunk
Keywords: Cc:
Patch is attached: 1 Pending: 0

Description

I would say the script doesn't work as intended but the included patch corrects this.

[root@xxxx src]# dir
lrwxrwxrwx  1 root root       17 Nov 20  2007 config -> ../../root/config
drwxrwsr-x  3 root root     4096 Jun  1 19:38 drivers
lrwxrwxrwx  1 root root       15 Jun  1 17:18 linux -> linux-2.6.29.4/
drwxrwxr-x 23 root root     4096 Jun  1 19:38 linux-2.6.29.4
drwxr-xr-x 13 root root     4096 Jun  1 19:38 madwifi-trunk-r3967-20090402
drwxr-xr-x 12 root root     4096 Jun  2 22:17 madwifi-trunk-r4031-20090529
-rw-r--r--  1 root root     1641 Mar 26 17:21 madwifi.patch
-rw-r--r--  1 root root   554002 Apr  6 18:20 tuxonice-3.0.1-for-2.6.29.patch
[root@xxxx src]# uname -a 
Linux xxxx 2.6.25.11 #1 SMP PREEMPT Thu Jul 17 17:51:41 EDT 2008 i686 i686 i386 GNU/Linux
[root@xxxx src]# cd madwifi-trunk-r4031-20090529/
[root@xxxx madwifi-trunk-r4031-20090529]# cd patch-kernel/
[root@xxxx patch-kernel]# ./install.sh /usr/src/linux
Copying top-level files
/bin/sh: line 0: cd: /lib/modules/2.6.25.11/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.25.11/build is missing, please set KERNELPATH.  Stop.
[root@linux patch-kernel]# export KERNELPATH=/usr/src/linux
[root@linux patch-kernel]# ./install.sh /usr/src/linux
Copying top-level files
Copying source files
Copying makefiles
Patching the build system
Done
[root@xxxx patch-kernel]# unset KERNELPATH
[root@xxxx patch-kernel]# vi install.sh 
[root@xxxx patch-kernel]# patch -p2 -s < ../../madwifi.patch 
[root@xxxx patch-kernel]# ./install.sh /usr/src/linux
Copying top-level files
Copying source files
Copying makefiles
Patching the build system
Done

Attachments

madwifi.patch (1.6 kB) - added by anonymous on 06/03/09 04:28:28.

Change History

06/03/09 04:28:28 changed by anonymous

  • attachment madwifi.patch added.