LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-17-2011, 04:13 PM   #1
ima11
LQ Newbie
 
Registered: Apr 2011
Posts: 13

Rep: Reputation: 0
fedora kernel 2.4


hi all
i`m searching for a link to downlaod fedora kernel 2.4 coz i tried to work with fedora kernel 2,6 but i met prblms in the compilation , so plzzzzzzzzz help!
 
Old 05-17-2011, 04:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you won't find any packages for any Fedora kernels on 2.4. You need a much better reason than "compilation pslmmrbs" to want to do this, I'd bet money you really don't need to do this. You'd need to get a tarball from kernel.org and start from there, but again, don't.
 
Old 05-17-2011, 11:59 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the 2.4 died with rh9 ( before fedora 1 )
the 2.4 kernel will not work in the current fedora 14 ( well maybe a exceptional hacker might)

Quote:
but i met prblms in the compilation , so plzzzzzzzzz help!
you might want to read the instructions on the fedora wiki .
 
Old 05-19-2011, 05:11 PM   #4
ima11
LQ Newbie
 
Registered: Apr 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Ok i understand what u say,I tried to install the DSR-UU and when i saw the Readme file, i found that it can be run easily in fedora kernel 2.4 without errors coz it support all the headers wich DSr needs.....So that`s why i was looking for kernel 2.4

Thanks for you (acid_kewpie & John VV)
 
Old 05-20-2011, 12:18 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
this here
http://sourceforge.net/projects/dsruu/files/DSR-UU/
last modified in 2007 for ns-2 ( also the ns2 from 2007-unpatched for the current kernels )

also most of the files in "dsr-uu-0.2" ( dsr-uu-0.2.tar.gz) were last edited in 2005 )

this would be a bit hare to build in fedora 14
and have work in the ns that is in the fedora repos

did you read the README file in dsr-uu-0.2
part of it
Quote:
Installation
============
* To compile for Linux (against currently running kernel), simply do:
> make
* To compile against another kernel:
> make KERNEL_DIR=/path/to/configured/kernel/sources
* To compile against MIPS (e.g., LinkSys WRT54G routers):
> make mips KERNEL_DIR=/path/to/mips/kernel/sources
NOTE: You must have the Mips cross compiler in your PATH.
* Install the modules:
> make install
* Uninstall:
> make uninstall
* Compile for ns-2 version 2.28:
1. Symlink the dsr-uu directory into the ns-2 source tree:
> cd /path/to/ns-2/ns-2.28 && ln -s /path/to/dsr-uu dsr-uu;
2. Apply the ns-2 DSR-UU patch
> cd ns-allinone-X.XX/ns-X.XX/
> patch -p1 < /path/to/dsr-uu/patches/ns-2.patch
3. Compile ns-2
4. Use "DSRUU" to select the protocol in the ns-2 scenario file you

* Compile for ns-2 version 2.28:


but you might need to install the older gcc 4.1 alongside fedora's gcc 4.5 or 4.6
the current ns dose build in gcc 4.1 but this program might need gcc 3.4 ( the compact-gcc that is in the fedora repo)

have fun.
 
Old 05-20-2011, 12:57 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Yet another ns2 related question... what is it this year that is making ns2 so popular or hard to use??
 
Old 05-22-2011, 05:27 AM   #7
ima11
LQ Newbie
 
Registered: Apr 2011
Posts: 13

Original Poster
Rep: Reputation: 0
As i have Ubuntu 10.10 with kernel 2.6 and gcc 4.4, i tried to compile (dsr-UU) with the 2nd cmd (* To compile against another kernel:
> make KERNEL_DIR=/path/to/configured/kernel/sources)
and it reply 2 errors

ima@ima-HP-Pavilion-dv4-Notebook-PC:~/Bureau/dsr-uu$ make KERNEL_DIR=/path/to/configured/kernel/sources
grep: /path/to/configured/kernel/sources/Makefile: No such file or directory
grep: /path/to/configured/kernel/sources/Makefile: No such file or directory
Compiling for /home/ima/Bureau/dsr-uu
gcc -Wall -fno-strict-aliasing -O2 -D__KERNEL__ -DMODULE -DDEBUG -DEXPORT_SYMTAB -DCONFIG_MODVERSIONS -DMODVERSIONS -include /path/to/configured/kernel/sources/include/linux/modversions.h -nostdinc -I /usr/lib/gcc/i686-linux-gnu/4.4.5/include -I/path/to/configured/kernel/sources/include -c -o dsr-module.o dsr-module.c
cc1: fatal error: /path/to/configured/kernel/sources/include/linux/modversions.h: No such file or directory
compilation terminated.
make: *** [dsr-module.o] Error 1
......So, what i should do now!! ((i`m beginner in linux))
 
Old 05-22-2011, 05:48 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You should replace the /path/to/configured/kernel/sources with a path to your configured kernel sources.
 
Old 05-22-2011, 02:16 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you can not build a 2.4 version of the kernel on fedora 14
where did you get that idea ?
use yum to install the CURRENT kernel you are running
" yum install kernel-devel "

then for this VERY VERY OLD program install the 3.4 version of gcc ( 4.4 is WAY WAY TO NEW !!!!!)
it is in the yum repos as the compact gcc

did you NOT LISTEN

even this I DO NOT THINK I COULD BUILD THIS ON FEDORA 14 !!!

NOW

now you say you have ubuntu 10 and not fedora

what is it !!!!!!!!

if you do have Ubuntu then WHY is FEDORA in the thread title !!!



why do you think you need this unsupported program
it has NOT been worked on since 2005

Last edited by John VV; 05-22-2011 at 02:17 PM.
 
Old 05-23-2011, 02:24 PM   #10
ima11
LQ Newbie
 
Registered: Apr 2011
Posts: 13

Original Poster
Rep: Reputation: 0
1st thanks for ur reply johnVV, well, i have both of fedora and Ubuntu coz i had already install Ubuntu as a second OS when fedora`s run in the virtual box, so i tried to install DSR-UU in both of theme...
I must build this version of Protocol (i mean DSR-UU) coz i need this in my thesis , i have no choice there`s no implementation except this one....i wish u understand me!!



I appreciate
 
Old 05-23-2011, 02:39 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you might get it to build on rhel4.9
It is from the same era as this program

you might want to try to get hold of the programs creator
http://sourceforge.net/project/membe...roup_id=212044

the svn did have an update 11 months ago
http://sourceforge.net/scm/?type=svn&group_id=212044
http://dsruu.svn.sourceforge.net/viewvc/dsruu/trunk/
it might build on fedora14 or ubuntu 10 ???
seeing as the tar is very old
dsr-uu-0.2.tar.gz 2007-12-08
 
Old 05-24-2011, 03:29 PM   #12
ima11
LQ Newbie
 
Registered: Apr 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Thnkx a lot for the link and i will try to build it in Ubuntu first, then i`ll see...

"I tried before to contact the creator of this Program Mr.erik but he didn`t respond maybe the @ was so OLD, i `ll try another time"
 
Old 05-24-2011, 06:46 PM   #13
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
i need this in my thesis
If you need this then why did you NOT get the program creator on board FIRST
i am betting your thesis adviser informed you to that .


if your thesis depends on this I would have been in contact with the program author BEFORE i submitted paperwork
 
Old 05-25-2011, 01:55 PM   #14
ima11
LQ Newbie
 
Registered: Apr 2011
Posts: 13

Original Poster
Rep: Reputation: 0
same errors !!!!!!!!!!!!!!!!!!!!!
 
Old 05-25-2011, 04:15 PM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
same errors
pleas post them

is this the kernel module or the ns2 mod ?

Quote:
DSR-UU is an implementation of the Dynamic Source Routing protocol that runs in the Linux kernel or in the ns-2 network simulator.
from:http://sourceforge.net/projects/dsruu/

if ns2 ? what version
for the kernel -- WHAT version is listen in the program docs
- i bet it is NOT the same as is in fedora 14 ( but an older version )
for the very very old dsr-uu-0.2.tar.gz
i would try on rhel4.9
for the svn pull rhel6

you might have to hack this program to use the current version of OS's


from the readme in dsr-uu-0.2.tar.gz
* Compile for ns-2 version 2.28:
this is NOT the version that can build on fedora 14 - will not build
2.34 is
search the forum
the FULL setp by step instructions for the CURRENT 2.34 ns2 are posted
then hack dsr-uu to use the current version of ns2
 
  


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
Compiling kernel on Fedora 10 and copying it to another machine with Fedora 5 on it ddel Linux - Newbie 8 04-13-2009 08:14 AM
upgrading Fedora Core 3 kernel 2.6.9-1.667 to 2.6.26.3 manually+kernel panic error LinuxLovinNoob Linux - Newbie 7 12-17-2008 08:45 PM
Problem compiling v4l-dvb-kernel w/ 2.6.25.7 kernel - Fedora 9 SD-user Linux - Kernel 3 10-11-2008 10:49 AM
Installing latest kernel ( 2.6.23) in Fedora 6 - kernel panic!!! p.arun Fedora 7 01-23-2008 01:17 AM
Fedora Core 6, Updating Kernel = Kernel panic anon1234 Linux - Newbie 2 05-01-2007 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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