View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: R5E50 madwifi?
PostPosted: Wed Dec 27, 2006 7:34 pm 
Offline
Joined: Tue Sep 26, 2006 9:35 am
Posts: 85
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.

_________________
nMediaPC HT100SA ASUS A8N-VM CSM
AMD 3200+ AMPO DDR 3200 512MB RAM
PVR-150 (1062) WD 320 GB SATA-2 HD
NEC OEM ND-3550A DVD burner
D-Link DWL-G510 PCI wireless adapter
MS wireless optical desktop 1000
R5F27 (+ modified sa3250ch)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 28, 2006 8:31 am 
Offline
Joined: Tue Sep 26, 2006 9:35 am
Posts: 85
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?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 28, 2006 8:37 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Try it without the "-chw".


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 28, 2006 9:11 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
I'm glad I saw this before I thought about upgrading. Let us (... well me) know how you get on.

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 28, 2006 12:05 pm 
Offline
Joined: Tue Sep 26, 2006 9:35 am
Posts: 85
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 28, 2006 1:19 pm 
Offline
Joined: Tue Sep 26, 2006 9:35 am
Posts: 85
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!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 28, 2006 7:48 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 4:33 am 
Offline
Joined: Thu Dec 01, 2005 12:46 am
Posts: 135
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.


Top
 Profile  
 
 Post subject: Um, OK
PostPosted: Fri Dec 29, 2006 2:12 pm 
Offline
Joined: Sun Sep 03, 2006 2:50 pm
Posts: 4
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"? :?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 4:33 pm 
Offline
Joined: Sun Sep 03, 2006 2:50 pm
Posts: 4
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 4:46 pm 
Offline
Joined: Tue Sep 26, 2006 9:35 am
Posts: 85
Quote:
What the hell is m-a?
When I run "make", I get:


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

_________________
nMediaPC HT100SA ASUS A8N-VM CSM
AMD 3200+ AMPO DDR 3200 512MB RAM
PVR-150 (1062) WD 320 GB SATA-2 HD
NEC OEM ND-3550A DVD burner
D-Link DWL-G510 PCI wireless adapter
MS wireless optical desktop 1000
R5F27 (+ modified sa3250ch)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 5:10 pm 
Offline
Joined: Sun Sep 03, 2006 2:50 pm
Posts: 4
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. :)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 11:00 am 
Offline
Joined: Thu Dec 01, 2005 12:46 am
Posts: 135
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 31, 2007 11:51 pm 
Offline
Joined: Fri Jun 30, 2006 2:48 pm
Posts: 14
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!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu