Hi,

You don't need to do it.

The following is the steps I will do to install the RTLinux, hope it can give
you some help.

/* You can get all following info from /usr/src/rtlinux/INSTALL */
/* now I am just try to concise the installation procedure. */
/* Created by Hai Xu on 05/07/2001 */
/* Note:
1.  Now, the newest version of RTLinux is 3.1, but it is just for Linux Kernel
 2.2.19, 2.4.0-pre2 and 2.4.4 above. So, choose the one you really want.
I just use Linux Kernel 2.2.18 and RTLinux 3.0
2. Updated by Hai Xu on 09/09/2001.
*/

1. donwload the Linux Kernel tarball and RTLinux tarball.
Now, I think the stable choice should be Linux Kernel 2.2.18 and RTLinux 3.0
fianl.
2. change the /usr/src/linux to /usr/src/oldlinux
3. untar Linux Kernel tarball and RTLinux tarball to /usr/src
4. mv /usr/srt/rtlinunx-3.0 to /usr/src/rtlinux
5. cd /usr/src/rtlinux; ln -sf /usr/src/linux ./linux
6. cd /usr/src/linux
   patch -p1 < /usr/src/rtlinux/kernel_patch-2.2
7. cd /usr/src/linux
   make xconfig, select the proper settings for your computer.
   make dep;make bzImage;make modules;make modules_install
8. cp arch/i386/boot/bzImage /boot/rtlImage30
9. modify the /etc/lilo.conf
10. run lilo
11 reboot and boot from rtlinux entrance.
12. cd /usr/src/rtlinux
13. make xconfig
14 make;make devices;make install
15. now you can load rtlinux modules with "rtlinux start".

NOTE:

As the psc moduel is not working well in RTLinux 3.0(it is good under RTLinux
3.1), so when you try to load it into the kernel, you will meet lots of strange
phenonenom. You can not reboot, you can not halt, your UID is changed to
4215.... strange number.

Solution:
1. run "rtlinux stop", unload the psc from the kernel, then everhthing is OK.
or
2. you can
1) cd /usr/rtlinux-3.0/modules
2) mv psc.o psc.o.orig
3) cd /usr/src/rtlinux/modules
4) mv psc.o psc.o.orig
5) rtlinux stop
6) rtlinux start

Now, see, the psc module is not loaded. I just hide it from the rtlinux. If
necessary, you can change it back future.



"Renfroe, Patrick B" wrote:

> I tried re-installing using the tar.bz2 file.  Still got the xargs:
> environment is too large for exec error (as shown below).
>
> Where in the process should I use make mrproper?
>
> 1. patch the kernel
> 2. make xconfig
> 3. make dep
> 4. make bzImage
> 5. make modules
> 6. make modules_install
>
> Thanks for your help
>
> -----Original Message-----
> From: Linus Gasser [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 15, 2002 5:44 AM
> To: [EMAIL PROTECTED]; Renfroe, Patrick B
> Subject: Re: [rtl] smp installation
>
> On Tuesday 05 March 2002 14:38, you wrote:
> > I am installing the 2.4.4 kernel with rtlinux 3.1 on a dual processor
> > (Pentium 4) machine.  I finally got the 2.4.4 kernel to boot but when I
> > attempt to compile RTLinux I get the following error:
> >
> > [/usr/src/rtlinux-3.1]# make
> > gcc -Wall -02 -o scripts/mkdep scripts/mkdep.c
> > Kernel version 2.4.4
> > for x in `find . -name Makefile`; do \
> >          F=`echo $x|sed 's/Makefile$//g''; \
> >          (cd $F; $RTL/scripts/mkdep *.c *.h *.S > .depend 2>/dev/null); \
> > done
> > xargs: environment is too large for exec
> > make: *** [.depend] Error 1
> >
> >
> > What am I doing wrong.
> Hi,
> hmm, I just had the same problem. Re-installing linux-2.4.4 from tar.bz2 did
>
> help. Perhaps a 'make mrproper' helps, too (don't forget to save your
> .config!)
>  Hope you found the solution yourself, in the meantime ;-)
>
> Greets
>
> Linus
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to