Latest kernel?
Where can I obtain the latest stable build of the kernel. I need it to work on my SGI IP22. If possible I do not want to use CSV since I do not have a high speed internet connection. Any help would be greatly appreciated.
Thanks,
Rob.
Quoted 3 lines · Robert Rusek
Where can I obtain the latest stable build of the kernel. I need it to work on my SGI IP22. If possible I do not want to use CSV since I do not have a high speed internet connection. Any help would be greatly appreciated.
I dont think there are regular tarballs - Take the pain once - checkout the kernel and before modifying make a tarball. Then you can just
cvs -z3 update -Pd
Your tarball all the time. BTW: You should checkout -r linux_2_4 as i dont think 2.5 has success reports on mips already.
Flo
Signature · 2 lines
Florian Lohoff [email protected] +49-5201-669912 Nine nineth on september the 9th Welcome to the new billenium
Quoted 11 lines · Florian Lohoff
Quoted 3 lines
Where can I obtain the latest stable build of the kernel. I need it to work on my SGI IP22. If possible I do not want to use CSV since I do not have a high speed internet connection. Any help would be greatly appreciated.
I dont think there are regular tarballs - Take the pain once - checkout the kernel and before modifying make a tarball. Then you can just
cvs -z3 update -Pd
Your tarball all the time. BTW: You should checkout -r
linux_2_4as i dont think 2.5 has success reports on mips already.
I received success reports for some eval boards but at the same time 2.5 is a construction zone ...
Ralf
Florian,
I checked the oss.sgi.com cvs and they do not seem to have linux_2_4 only linux-2.4-xfs. Is that what I am looking for? Will that give me a working 2.4.x kernel?
Thanks in advance,
Rob.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Florian Lohoff
Sent: Wednesday, February 20, 2002 2:15 PM
To: Robert Rusek
Cc: [email protected]
Subject: Re: Latest kernel?
Quoted 4 lines · Robert Rusek
Where can I obtain the latest stable build of the kernel. I need it to work on my SGI IP22. If possible I do not want to use CSV since I do not have a high speed internet connection. Any help would be greatly appreciated.
I dont think there are regular tarballs - Take the pain once - checkout the kernel and before modifying make a tarball. Then you can just
cvs -z3 update -Pd
Your tarball all the time. BTW: You should checkout -r linux_2_4 as i dont think 2.5 has success reports on mips already.
Flo
Signature · 4 lines
Florian Lohoff [email protected] +49-5201-669912 Nine nineth on september the 9th Welcome to the new billenium
Quoted 3 lines · Robert Rusek
I checked the oss.sgi.com cvs and they do not seem to have
linux_2_4only linux-2.4-xfs. Is that what I am looking for? Will that give me a working 2.4.x kernel?
cvs -z3 -d :pserver:[email protected]:/cvs co -rlinux_2_4 linux
Regards,
Karsten
Signature · 4 lines
#include <standard_disclaimer> Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder Meinungsforschung.
Quoted 5 lines · Robert Rusek
Florian,
I checked the oss.sgi.com cvs and they do not seem to have
linux_2_4only linux-2.4-xfs. Is that what I am looking for? Will that give me a working 3.4.x kernel?
Nope - The repository is "linux" and the tag is "linux_2_4"
Flo
Signature · 2 lines
Florian Lohoff [email protected] +49-5201-669912 Nine nineth on september the 9th Welcome to the new billenium
Problem Cross compiling simple test program
I am trying to cross compile a simple "Hello World" use app. I have the rpms (obtained from sgi site ) for binutils-mipsel-linux-2.8.1-2 and egcs-mipsel-linux-1.1.2-4 installed. I first started using redhat 6.1 available on the sgi website and extracted the glibc libraries from
glibc-2.0.6-5lm.mipsel.rpm
glibc-devel-2.0.6-5lm.mipsel.rpm
to/usr/mipsel-linux/lib &/usr/mipsel-linux/include
When I compile my little test app using the following it compiles OK and when executed on the MIPS target it prints out "Hello World" on cue.
mipsel-linux-gcc -o hello hello.c
I wanted to use the redhat 7.0 distribution on sgi, so I backed up the include and lib directories of /usr/mipsel-linux and cleaned them out, then extracted the redhat 7.0 glibc libraries. I then compiled the same hello user app, but this time the app won't even link and gives me the error :
/usr/mipsel-linux/bin/ld:/usr/mipsel-linux/lib/libc.so.6: __libc_enable_secure:
invalid version 6 (max 5) /usr/mipsel-linux/lib/libc.so.6: could not read
symbols: Bad value
Note, I hand edit /usr/mipsel-linux/lib/libc.so to reflect the path to /usr/mipsel-linux instead of /lib and /usr/lib.
Note if I go back to the backed up dirs I can still compile hello.c.
I used the following files to extarct the glibc libraries :
glibc-2.2.2-1.mipsel.rpm glibc-common-2.2.2-1.mipsel.rpm
I use the following simple script to extract libraries in both cases :
--start script---
mkdir tmp
cd tmp
# fileone=glibc-2.0.6-5lm.mipsel.rpm
# filetwo=glibc-devel-2.0.6-5lm.mipsel.rpm
fileone=glibc-2.2.2-1.mipsel.rpm
filetwo=glibc-devel-2.2.2-1.mipsel.rpm
rpm2cpio ../$fileone | cpio --extract
--make-directories
rpm2cpio ../$filetwo | cpio --extract
--make-directories
cp -a usr/include /usr/mipsel-linux
cp -a lib/* /usr/mipsel-linux/lib
cp -a usr/lib/* /usr/mipsel-linux/lib
cd ../
rm -fr tmp
cd /usr/mipsel-linux/lib
ls -l | grep "../../lib" | sed 's|../../lib/||' | awk '{print "ln -sf", $11, $9 }' | tee fixit
sh fixit
rm fixit
--- end of simple script ---
So that's what I am doing, and I would really appreciate if anyone on the list could answer my questions :
1, To cross compile target apps for redhat7.0, I do really need to cross compile against the glibc-2.2.2 libraries don't I ? Could I get away with compiling against the glibc-2.0.6 libraries ?
2, Has anyone managed to cross compile user apps against redhat 7.0 ? If so how did you do it ? Please give details.
3, Can anyone see anything wrong in what I have done and if so, can you tell me what and where ?
TIA
Wayne
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com