LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-22-2004, 11:30 PM   #1
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Rep: Reputation: 30
help on acx111 wireless installation and kernel compiling


to install the driver for a TI acx111 wireless pci card, i have to compile the
kernel. my kernel is 2.6.7-1, fc2. i installed the rpm packages of kernel-source and kernel-headers.
when i "make modules" under /usr/src/linux/, i got this error message:
scripts/Makefile.build:13: usr/Makefile: No such file or directory
make[1]: *** No rule to make target `usr/Makefile'. Stop.
make: *** [usr] Error 2

here is the Makefile.build:
src := $(obj)


.PHONY: __build
__build:

# Read .config if it exist, otherwise ignore
-include .config


include $(obj)/Makefile <-line 13 here


include scripts/Makefile.lib

there is not a directory called usr under /usr/src/linux at all.
do i miss anything? i mean, do i should have more packages installed b4 i can compile the kernel?
i have been trying to make the stupid TI based card to work for several days and now the system can detect it but just cannot get it work. anyone has a clue for that also?

thanks for your advice!
 
Old 07-23-2004, 12:42 AM   #2
legolin
Member
 
Registered: Dec 2003
Location: munich
Distribution: Fedora Core 4
Posts: 141

Rep: Reputation: 15
in FC2 you have a software install program (system-config-«something»)

use this program to install all the packages you need to compile the kernel (kernel hacking section, i think)

i hope this will help you,


leg
 
Old 07-23-2004, 01:03 AM   #3
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
You sure you need to compile a whole new kernel for that? Most drivers come as a separate package that is installed by itself, then loaded later.
 
Old 07-23-2004, 01:22 PM   #4
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
i tried system-config-network but i think this only configures the network, not building the module.
after system-config-network, the network is configured as:
axm 111 54mbps wireless eth0 status ok
acx_pci wlan0 configured
here is what i have in /etc/modprobe.conf

alias eth0 tulip
options acx_pci firmware_dir=/root/acx100-0.2.0pre8_plus_fixes_18/firmware
alias wlan0 acx_pci

when i tried to activate the wireless connection, i got:
Command failed: /sbin/modprobe acx_pci
FATAL: Error inserting acx_pci (/lib/modules/2.6.7-1.478/net/acx_pci.ko): Invalid module format

according to the acx100 howto, this is due to different gcc versions used to compile acx_pci.o and kernel
so i have to compile the kernel first

any idea?
 
Old 07-23-2004, 08:46 PM   #5
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
when i try to: insmod firmware_dir="the directory having acx_pci.o", i got:
acx_pci.o invalid module format
according to the acx100 howto, this is due to the different versions of gcc used
to compile the acx driver and the kernel.
so what should i do? isn't it true that i have to compile the kernel as well?
 
Old 07-23-2004, 09:38 PM   #6
WMD
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware, Debian
Posts: 484

Rep: Reputation: 30
Did the download contain file *.o, or did you compile the driver?

If you compiled the driver, you probably have the wrong kernel sources installed.
Delete the current module file, then go back to the source for the module. Run it again, and tell me if it says anything about kernel sources.
 
Old 07-23-2004, 11:48 PM   #7
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
I compiled the driver. i just "make" under the source of acx100.
and under /usr/src/linux, "make menuconfig;make dep;make clean;make modules"
i downloaded the source tree and no major errors while "make modules".

now if i type: insmod acx_pci.o firmware_dir="the directory containg acx_pci.o",
still got the invalid module format message.
did i do anything wrong?

another thing is when starting linux, it shows the card is identified as: TI acx111 54M pci
but it is configured as eth0 in /etc/modconfig, why? should not it be configured as
wlan0 since i have "alias wlan0 acx_pci" at /etc/modprobe.
there is only one network card now, i take the ethernet card out.
 
  


Reply



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
SuSE 9.3 and Wireless ACX111 based device (Trendnet) mathew.chacko SUSE / openSUSE 0 06-03-2005 07:02 AM
Suse 9.2 acx111 Wireless setup dfcook Linux - Wireless Networking 3 02-25-2005 09:50 PM
ACX111 and WIFI Mes Linux - Wireless Networking 2 08-21-2004 01:06 PM
please help on dhcp configuration, (fc2, acx111 wireless pci) parv Linux - Wireless Networking 1 08-07-2004 03:04 PM
Help: acx111 54M wireless pci is configured as eth0 by kudzu automatically parv Linux - Hardware 1 07-26-2004 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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