LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vmlinux and fedora core 2... (https://www.linuxquestions.org/questions/linux-newbie-8/vmlinux-and-fedora-core-2-a-220733/)

justin9 08-21-2004 08:32 PM

vmlinux and fedora core 2...
 
I am trying to install madwifi on my fedora core 2 box, but am having problems. I keep getting errors saying that vmlinux isnt where it should be. I read in a post at the madwifi site that in fedora 2 vmlinux is in a different location, and the posts author had to recompile his kernel to get vmlinux in the proper location. This is what I get when doing a make.

/lib/modules/2.6.5-1.358/build/vmlinux: No such file or directory

Is there any way to move/find vmlinux without recompiling the kernel?

cincindie 08-21-2004 09:02 PM

That's strange. Try just copying the vmlinuz-2.6.5-1.358 file from your /boot directory into /lib/modules/2.6.5-1.358/build directory and name it as vmlinux.

masand 08-22-2004 12:12 AM

Re: vmlinux and fedora core 2...
 
Quote:

Originally posted by justin9
I am trying to install madwifi on my fedora core 2 box, but am having problems. I keep getting errors saying that vmlinux isnt where it should be. I read in a post at the madwifi site that in fedora 2 vmlinux is in a different location, and the posts author had to recompile his kernel to get vmlinux in the proper location. This is what I get when doing a make.

/lib/modules/2.6.5-1.358/build/vmlinux: No such file or directory

Is there any way to move/find vmlinux without recompiling the kernel?

hi there
/lib/modules/2.6.5-1.358/build/vmlinux
here 'build' should be pointing to ur linux 2.6.5 source directory /usr/src/linux-2.6.5-1......

so what u can do is copy ur vmlinux-2.6.5,.... from the /boot directory to the
/lib/modules/2.6.5-1.358/build/ in the nameof vmlinux


regads
gaurav

justin9 08-23-2004 12:48 PM

I copied the vmlinuz file over to the correct directory and renamed it, and then ran make again, this time I got the following problem.
Code:

make[1]: Entering directory `/madwifi-20030802/ath_hal'
/lib/modules/2.6.5-1.358/build/scripts/modpost /lib/modules/2.6.5-1.358/build/vmlinux ah_osdep.o
make[1]: *** [ah_osdep.mod.c] Segmentation fault
make[1]: Leaving directory `/madwifi-20030802/ath_hal'

This repeats 3 times with slightly different commands, same results. What is segmentation fault?

masand 08-23-2004 02:25 PM

hi
as far as i know in linux segmentaton fault generally refers to some invalid memory refernce due to some error in the code

did u get past the lst error u were getting

more more output

regards

cincindie 08-23-2004 02:29 PM

It could be because the vmlinux file you copied is a compressed file.

masand 08-23-2004 02:32 PM

Quote:

Originally posted by cincindie
It could be because the vmlinux file you copied is a compressed file.

hi
can u please throw more light on to that, i could not get it

regards

justin9 08-23-2004 02:55 PM

Quote:

as far as i know in linux segmentaton fault generally refers to some invalid memory refernce due to some error in the code
The segmentation fault is the only error I recieved, here is the complete output, maybe I just overlooked something.
Code:

[root@localhost madwifi-20030802]# make
for i in ./ath_hal ./wlan ./driver; do \
        (cd $i; make); \
done
make[1]: Entering directory `/madwifi-20030802/ath_hal'
/lib/modules/2.6.5-1.358/build/scripts/modpost /lib/modules/2.6.5-1.358/build/vmlinux ah_osdep.o
make[1]: *** [ah_osdep.mod.c] Segmentation fault
make[1]: Leaving directory `/madwifi-20030802/ath_hal'
make[1]: Entering directory `/madwifi-20030802/wlan'
/lib/modules/2.6.5-1.358/build/scripts/modpost /lib/modules/2.6.5-1.358/build/vmlinux if_ieee80211subr.o
make[1]: *** [if_ieee80211subr.mod.c] Segmentation fault
make[1]: Leaving directory `/madwifi-20030802/wlan'
make[1]: Entering directory `/madwifi-20030802/driver'
/lib/modules/2.6.5-1.358/build/scripts/modpost /lib/modules/2.6.5-1.358/build/vmlinux if_ath.o
make[1]: *** [if_ath.mod.c] Segmentation fault
make[1]: Leaving directory `/madwifi-20030802/driver'
make: *** [all] Error 2
[root@localhost madwifi-20030802]#

How can I tell if the problem is with the vmlinux or my madwifi program? I could try downloading and installing a different version of madwifi if you think that might work.

masand 08-23-2004 03:01 PM

hi
yes if u can ry out some newer versions that would be fine
also see the pre requisites of the software u r installing

regards

cincindie 08-23-2004 03:13 PM

I think the default installation using kernel*.rpm is a bzImage file. For custom installations from the source code, you have the option of making the kernel as a zImage, a bzImage, and a host of other images. So, if the madwifi installer is looking for a .so or .o reference in the kernel, it would be able to find it in the uncompressed kernel image, but not the compressed kernal image file.

justin9 08-23-2004 04:36 PM

I will download a newer version, and try runnning that. And what would be the easiest way for me to get the uncompressed kernel image, I would appreciate somewhat easy instructions too, as I am still quite a newb. thanks

justin9 09-06-2004 05:32 PM

Can anyone help me? I am still unable to use the internet from linux...


All times are GMT -5. The time now is 07:33 AM.