LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


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

Rep: Reputation: 30
where to get kernel-headers-2.6.6-1 and other necessary files?


running fc2, kernel-2.6.6.1-435.2.3
i am trying to install the kernel source in order to make my new prism54
based wireless card to work. but i cannot find the files necessary except for kernel-source-2.6.6-1, need other files as well.
googled but could not find the files.
can anybody give me a link and what rpm packages i shall download?
thanks for help.

Last edited by parv; 07-17-2004 at 07:54 PM.
 
Old 07-17-2004, 08:23 PM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
http://fr2.rpmfind.net yielded this ftp://fr2.rpmfind.net/linux/fedora/c...35.2.3.src.rpm
 
Old 07-17-2004, 09:16 PM   #3
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
so the src file has everything with it, right? guess so.
thanks for your mesg.
 
Old 07-18-2004, 02:36 PM   #4
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
after installing this package, i still could not compile the kernel.
there is no such a dicrectory /usr/src/linux-2.6.6-1
do i have to install the kernel-source and kernel-headers anyway?
 
Old 07-19-2004, 10:08 AM   #5
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
Why do you need to compile the kernel? The installation of any particular driver only requires the kernel header files to be present. The src contains those.

Check out the src rpm for files:
rpm -q --filesbypkg -p kernel-source-2.6.6-1...rpm

That will tell you where the installed files go.
rpm -q --info kernel-source should tell you whether the package was installed
 
Old 07-19-2004, 04:52 PM   #6
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
i am trying to make XTERASYS XN-2522 G wireless pci card work. according to the instruction, i have to compile the kernel. but when i tried to do "make modules", the compiler complained for missing /usr/Makefile and something else. so i am wondering if indeed some files are missing in the kernel.
do you have any idea how to deal with the problem or make the card work?
i suppose to be able to see outputs "modprobe firmware_class" except for "module not found".

thanks for further advice.
 
Old 07-19-2004, 07:35 PM   #7
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
A review on newegg.com suggests this product is supported in 2.6.6
Quote:
Xterasys uses at least two different chipsets on different versions of this card. They had been using Intersil Prisim Frisbee chipsets on earlier versions of XN-2522g (also known as WPG2000), but they are now using a TI ACX111 chipset. The Xterasys driver download page at http://www.xterasys.com/drivers.htm lists two different drivers for the XN-2522g. If the card has FCC ID: MQ4WG2K, it is using a Prism Frisbee chipset and is supported in linux kernels >=2.6.5. If the card has FCC ID: MQ4WG2K4 (same as before, but with a '4' appended), then it is using the TI ACX111 chipset that has no linux support and will only work if you use ndis wrippers to load the windows xp drivers. Card manufaturers really need to provide some sort of revision contrlol information to their customers. It's deceptive to change chipsets, but not the model number. They could have at least called it a Rev.A.
If your kernel is 2.6.6 it should already have the right driver if your FCC ID is MQ4WG2K.


Fedora Core 2 comes with 2.6.5 and should include
/lib/modules/2.6.5-1.358/kernel/drivers/net/wireless/prism54/prism54.ko

Did the device work with the first installation? Are you trying to upgrade the kernel?

What happens if you type
lsmod
or
insmod prism54
as root?
 
Old 07-20-2004, 01:29 AM   #8
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
output after typing: lomod

Module Size Used by
sd_mod 17857 0
snd_mixer_oss 13889 2
snd_emu10k1 87497 3
snd_rawmidi 21477 1 snd_emu10k1
snd_pcm 82249 1 snd_emu10k1
snd_timer 24901 1 snd_pcm
snd_seq_device 6217 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 58565 1 snd_emu10k1
snd_page_alloc 8137 2 snd_emu10k1,snd_pcm
snd_util_mem 3393 1 snd_emu10k1
snd_hwdep 6469 1 snd_emu10k1
snd 44069 11 snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_pcm,s nd_timer,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep
soundcore 7457 3 snd
autofs4 20293 0
sunrpc 140325 1
prism54 44381 0
tulip 40673 0
ipt_REJECT 4929 1
ipt_state 1729 2
ip_conntrack 24417 1 ipt_state
iptable_filter 2241 1
ip_tables 13505 3 ipt_REJECT,ipt_state,iptable_filter
floppy 53745 0
sg 28129 0
scsi_mod 103825 2 sd_mod,sg
microcode 5345 0
dm_mod 46421 0
ehci_hcd 27845 0
uhci_hcd 28249 0
button 4689 0
battery 6981 0
asus_acpi 9041 0
ac 3397 0
ipv6 210949 8
ext3 92201 2
jbd 65241 1 ext3

output after typing: insmod prism54
insmod: can't read 'prism54': No such file or directory
 
Old 07-20-2004, 01:32 AM   #9
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
too bad! my card has TI chipset!
i saw one review saying the card is supported by prism54 and then grabbed it from newegg, god!
so what shall i do now?
 
Old 07-20-2004, 04:48 PM   #10
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
try
lspci -n

If you see 104C:9066 you have the TI chipset and this

http://prdownloads.sourceforge.net/a...ar.gz?download

should work (beta...)

tar xzf thedownloadedtar.gzfile
will create a directory
Read the README file. It is verbose.

I have a strange feeling this is where we came in...
 
Old 07-20-2004, 07:47 PM   #11
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
i will try to what you adviced.
I greatly appreciate it.
 
Old 07-21-2004, 10:18 PM   #12
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
still have problems :confused:

i followed the readme and generated the acx_pci.o and have it under the acx_driver/src directory.
i copied all bin files from the windows driver CD and changed to *.BIN, apparently my card
is acx111.
but when i did this:
insmod src/acx_pci.o firmware_dir=/root/acx100-0.2.0pre8_plus_fixes_18/src
i got this:
insmod: error inserting 'src/acx_pci.o': -1 Invalid module format

according to the readme, it might because of the different version of gcc to compile the kernel and the driver. then i went back to compile the kernel and could not proceed any more:
under /usr/src/linux/, i tried "make", "make modules" but failed.
scripts/Makefile.build:13: usr/Makefile: No such file or directory
make[1]: *** No rule to make target `usr/Makefile'. Stop.

here is part of the Makefile.build,

src := $(obj)
.PHONY: __build
__build:
# Read .config if it exist, otherwise ignore
-include .config
include $(obj)/Makefile
include scripts/Makefile.lib

so what might be the problem? the kernel source tree is not complete or something else?
there is not such a directory called "usr" under /usr/src/linux.

one positive thing is when i tried "make modules", i was told that the system found the
TI acx111 chip. i feel promising but still need a little bit more help.

greatly appreciate it.
 
Old 07-22-2004, 07:18 AM   #13
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
I do not know much about makefiles. Perhaps another can take over at this stage...

My guess is that there is a wrong path. Is "obj" defined somewhere? Can you figure out the correct path by searching for the file/directory manually?


find basepath -name file_or_directory_name
 
Old 07-22-2004, 09:57 PM   #14
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
Unhappy

$(obj) is defined in several places
cannot find a directory called usr under /usr/src/linux, maybe i will try to change the
directory manually though it is not a good approach.
but have got stuck on this for days, all because of the bad Texas Instrument acx111 card.

well, thanks for the help you have provided.
 
Old 07-23-2004, 11:52 PM   #15
parv
Member
 
Registered: Jul 2004
Location: USA
Distribution: Mint, Scientifc Linux, Ubuntu
Posts: 180

Original Poster
Rep: Reputation: 30
downloaded the source tree in tgz format and then had no major problems
while compiling the kernel. but still have this error while
"insmod acx_pci.o firmware_dir="acx firmware dir" which contains the acx_pci.o

and when booting the system, the card is identified as "TI acx111 54M pci" but
it is configured as eth0 in /etc/modprobe.conf automatically.
isn't it wlan0 as i have alias wlan0 acx_pic in modprobe.conf?
 
  


Reply


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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
Adding headers to text files Madrinator Linux - General 1 04-21-2004 06:46 PM
Problems when trying to compile cpp files using qt headers siphiuel Linux - Software 2 08-12-2003 04:41 AM
Problems when trying to compile cpp files using qt headers siphiuel Linux - Software 2 08-10-2003 07:10 PM

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

All times are GMT -5. The time now is 12:18 AM.

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