LinHES Forums
http://forum.linhes.org/

R5E50 madwifi?
http://forum.linhes.org/viewtopic.php?f=6&t=13123
Page 1 of 1

Author:  mlbuser [ Wed Dec 27, 2006 7:34 pm ]
Post subject:  R5E50 madwifi?

Does R5E50 have the madwifi drivers? R5D1 had them and I was happily running a dlink wireless card, but after the upgrade I can't modprobe ath_pci any longer.

Author:  mlbuser [ Thu Dec 28, 2006 8:31 am ]
Post subject: 

I'm going to assume no madwifi drivers in this release.

I need to build the madwifi kernel modules, but I can't build the them as the kernel source tree isn't complete enough to build modules. I tried to apt-get install kernel-source-2.6.18
kernel-source-2.6.18-chw
kernel-source-2.6.18-chw-13
kernel-source-2.6.18-chw-13-i686

No joy.

Can someone help me get the compatible kernel source (well just need the headers/Makefiles for building modules) for R5E50?

Author:  tjc [ Thu Dec 28, 2006 8:37 am ]
Post subject: 

Try it without the "-chw".

Author:  tophee [ Thu Dec 28, 2006 9:11 am ]
Post subject: 

I'm glad I saw this before I thought about upgrading. Let us (... well me) know how you get on.

Author:  mlbuser [ Thu Dec 28, 2006 12:05 pm ]
Post subject: 

Well the kernel sources are at:

apt-get install linux-source-2.6.18

But this doesn't help much as they don't exactly match the R5E50 kernel. The easiest way to proceed is to get the missing pieces in /usr/src/linux-headers-2.6.18-chw-13 (which come with R5E50) so we can build modules.

root@mythbox:/usr/src/modules/madwifi# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.18-chw-13/build SUBDIRS=/usr/src/modules/madwifi modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13'

I'd have to make my own kernel to use this source tree to compile madwifi, I'm not interested in going down that path.

I may go back to R5D1 if I can figure out how to get back.

Author:  mlbuser [ Thu Dec 28, 2006 1:19 pm ]
Post subject: 

This worked:

apt-get install linux-headers-2.6.18-3-686

cd /usr/src/linux-headers-2.6.18-chw-13

ln -s ../linux-headers-2.6.18-3-686/Makefile .
ln -s ../linux-headers-2.6.18-3-686/arch .
ln -s ../linux-headers-2.6.18-3-686/scripts .

m-a prepare
m-a a-i madwifi

modprobe ath_pci

Rebooted and wireless is back!

Author:  tjc [ Thu Dec 28, 2006 7:48 pm ]
Post subject: 

I'm pretty sure those are already there in R5E50...
Code:
root@black2:~# ls -al /usr/src/linux*
lrwxrwxrwx 1 root src    27 Dec 23 18:58 /usr/src/linux -> linux-headers-2.6.18-chw-13

/usr/src/linux-headers-2.6.18-chw-13:
total 104
drwxr-xr-x  7 root root  4096 Dec  4 22:31 .
drwxrwsr-x  6 root root  4096 Dec 17 00:39 ..
-rw-r--r--  1 root root 68185 Dec  4 02:32 .config
drwxr-xr-x  2 root root  4096 Dec  4 22:31 block
drwxr-xr-x 19 root root  4096 Dec  4 23:20 include
-rw-r--r--  1 root root    27 Dec  4 03:34 linux-headers.revision
drwxr-xr-x  4 root root  4096 Dec  4 22:31 security
drwxr-xr-x 17 root root  4096 Dec  4 22:31 sound
drwxr-xr-x  2 root root  4096 Dec  4 22:31 usr

Author:  dwaine [ Fri Dec 29, 2006 4:33 am ]
Post subject: 

tjc wrote:
I'm pretty sure those are already there in R5E50...
Code:
root@black2:~# ls -al /usr/src/linux*
lrwxrwxrwx 1 root src    27 Dec 23 18:58 /usr/src/linux -> linux-headers-2.6.18-chw-13

/usr/src/linux-headers-2.6.18-chw-13:
total 104
drwxr-xr-x  7 root root  4096 Dec  4 22:31 .
drwxrwsr-x  6 root root  4096 Dec 17 00:39 ..
-rw-r--r--  1 root root 68185 Dec  4 02:32 .config
drwxr-xr-x  2 root root  4096 Dec  4 22:31 block
drwxr-xr-x 19 root root  4096 Dec  4 23:20 include
-rw-r--r--  1 root root    27 Dec  4 03:34 linux-headers.revision
drwxr-xr-x  4 root root  4096 Dec  4 22:31 security
drwxr-xr-x 17 root root  4096 Dec  4 22:31 sound
drwxr-xr-x  2 root root  4096 Dec  4 22:31 usr


apt-get install linux-headers-2.6.18-3-686

cd /usr/src/linux-headers-2.6.18-chw-13

ln -s ../linux-headers-2.6.18-3-686/Makefile .
ln -s ../linux-headers-2.6.18-3-686/arch .
ln -s ../linux-headers-2.6.18-3-686/scripts .

m-a prepare
m-a a-i madwifi

modprobe ath_pci

Rebooted and wireless is back!

I had to do the samething to get v4l-cvs to compile.

Author:  brianary [ Fri Dec 29, 2006 2:12 pm ]
Post subject:  Um, OK

dwaine wrote:
apt-get install linux-headers-2.6.18-3-686

cd /usr/src/linux-headers-2.6.18-chw-13

ln -s ../linux-headers-2.6.18-3-686/Makefile .
ln -s ../linux-headers-2.6.18-3-686/arch .
ln -s ../linux-headers-2.6.18-3-686/scripts .

m-a prepare
m-a a-i madwifi

modprobe ath_pci

Rebooted and wireless is back!

I had to do the samething to get v4l-cvs to compile.


Seeing as how my network connection doesn't work, how can I "apt-get install"? :?

Author:  brianary [ Fri Dec 29, 2006 4:33 pm ]
Post subject: 

mlbuser wrote:
This worked:

apt-get install linux-headers-2.6.18-3-686

cd /usr/src/linux-headers-2.6.18-chw-13

ln -s ../linux-headers-2.6.18-3-686/Makefile .
ln -s ../linux-headers-2.6.18-3-686/arch .
ln -s ../linux-headers-2.6.18-3-686/scripts .

m-a prepare
m-a a-i madwifi

modprobe ath_pci

Rebooted and wireless is back!

OK, hooked up a bridge.

What the hell is m-a?
When I run "make", I get:

Code:
scripts/Makefile.build:17: /usr/src/linux-headers-2.6.18-chw-13/scripts/basic/Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-headers-2.6.18-chw-13/scripts/basic/Makefile'. Stop.
make[1]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.

Author:  mlbuser [ Fri Dec 29, 2006 4:46 pm ]
Post subject: 

Quote:
What the hell is m-a?
When I run "make", I get:


http://madwifi.org/wiki/UserDocs/Distro/Debian/MadWifi

Author:  brianary [ Fri Dec 29, 2006 5:10 pm ]
Post subject: 

mlbuser wrote:
Quote:
What the hell is m-a?
When I run "make", I get:


http://madwifi.org/wiki/UserDocs/Distro/Debian/MadWifi


w00t!

Works a treat! Thanks!

Now I just have to see about the resolution for my 720p screen, and getting my remote to work again. :)

Author:  dwaine [ Sat Jan 13, 2007 11:00 am ]
Post subject: 

Add this symlink to the list. It will get rid of this message and a couple of modules will have their proper symbols.

ln -s ../linux-headers-2.6.18-3-686/Module.symvers

It will get rid of this situation....

make -C /lib/modules/2.6.18-chw-13/build SUBDIRS=/home/mythtv/v4l-dvb-e37679b39df8/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'

WARNING: Symbol version dump /usr/src/linux-headers-2.6.18-chw-13/Module.symvers
is missing; modules will have no dependencies and modversions.

Author:  Rala [ Wed Jan 31, 2007 11:51 pm ]
Post subject: 

Brilliant,

This worked for me, the only exception is 2.6.18-3-686 did not exist, instead I used 4-686 and made the necessary changes to the symlinks mentioned

Thanks much for getting me on the right foot.

mlbuser wrote:
This worked:

apt-get install linux-headers-2.6.18-3-686

cd /usr/src/linux-headers-2.6.18-chw-13

ln -s ../linux-headers-2.6.18-3-686/Makefile .
ln -s ../linux-headers-2.6.18-3-686/arch .
ln -s ../linux-headers-2.6.18-3-686/scripts .

m-a prepare
m-a a-i madwifi

modprobe ath_pci

Rebooted and wireless is back!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/