RTLinux 3.1 on RH7.3 using the 2.4.4 kernel installation notes for Wobbegong. Wobbegong has same motherboard chipset (including graphic, ethernet) as aoic. 08/2002 - Initial Installation 09/2002 - Updated to reflect kgcc installation. 0. My installation based on "Open RTLinux V3.1 Installation notes from Gerhard Schlager " But I separate the steps: Install the correct kernel, reboot, check linux; then Install RTLinux to the new kernel. This file are just my notes on what I did. The wobbegong has: 700Mhz Intel celeron 256 MB RAM Intel CA810E chipset (integrated video, sound). Intel PCI EtherExpress Pro100 82557 -> use eepro100 driver. a1 - swap a2 - / for RH7.3 2.4.4-rtl a3 - / for smokey_clone. a4 - / for aoic_clone 1. Install a standard redhat 7.3 distrubtion. 1.1 Perform normal RedHat install. I did the following: custom configuration No Firewall options. Install services: telnet, rsh, rdist, ssh-server; and edit /etc/xinetd.d to enable. 1.2 Install the kgcc compiler. Put RH disk 2 in the CD-ROM drive. # mount /mnt/cdrom # cd /mnt/cdrom/RedHat/RPMS # rpm -i compat-glibc-6.2-2.1.3.2.i386.rpm # rpm -i compat-egcs-6.2-1.1.2.16.i386.rpm This gives you the kgcc ( egcs-2.91.66). 1.3. Post installation. a. Add accounts: aroot, droot, ao, denault. c. nfs mountings, nis, telnet, rlogin, ssh c. up2date d. Other need apps: dump/restore 2. Get 2.4.4 kernel, Open RTLinux 3.1. 2.1. Get 2.4.4 kernel source: > ftp ftp.kernel.org user: ftp password: me@ ftp> cd pub/linux/kernel/v2.4/ ftp> get linux-2.4.4.tar.bz2 ftp> quit 2.1. Get Open RTLinux 3.1, rtlinux documentation, and patch for 2.4.18 kernel to run RTLinux 3.1 >ftp ftp.fsmlabs.at user: ftp password: me@ ftp> cd pub/rtlinux ftp> get rtlinux-3.1.tar.bz2 ftp> get rtldoc-3.1.tar.bz2 ftp> quit 3. Installed the standard kernel to be used with RTLinux. I prefer to first compile & install the standard kernel before appling the RTL patches. 3.1 Install kernel source: > su root # cd /usr/src # bunzip2 -c ~/rtlinux/linux-2.4.4.tar.bz2 | tar xvf - [make sure /usr/src/linux -> new kernel directory ] 3.2 Check that /usr/include/linux is a link to /usr/src/linux/include/linux (Need to fix on RH7.3). # cd /usr/include # rm -R -f linux # ln -s /usr/src/linux/include/linux 3.3. Change makefile for kernel so it used kgcc compiler - edit /usr/src/linux/Makefile. Change the line CC = $(CROSS_COMPILE)gcc to CC = kgcc 3.4 configure & make kernel: # make menuconfig Code maturity level options -> Prompt for development and/or incomplete code/drivers ENABLE Processor type and features -> your CPU type MTRR (Memory type range register) ENABLE Symmetric mulit-processing support DISABLE General setup -> Power Management support -> DISABLE enable NFS v3 Recompile kernel, modules & install # make dep # make clean # make install # make modules # make modules_install # reboot 4. Patch the kernel with the RTLinux Patch: 4.1 unpack the downloaded files to /usr/src > su root # cd /usr/src # bunzip2 -c ~/rtlinux/rtlinux-3.1.tar.bz2 | tar xvf - 4.2 Need to patch the standard kernel to use with RTLinux. First do a dry-run and inspect the log file. If everthing look good do the patch for real # cd /usr/src/linux # patch -p1 --dry-run < ../rt-patch-2.4.4/patch_rtl-2.4.4 > mylogfile # patch -p1 < ../rt-patch-2.4.4/patch_rtl-2.4.4 4.3 Prepare to recompile the kernel. Save your .config before doing make mrproper, then restore it. The make oldconfig just check it: cp .config my_config make mrproper cp my_config .config make oldconfig 4.7 Recompile kernel, modules & install # make dep # make clean # make install # make modules # make modules_install # reboot 5. Install/Make RT Linux. 5.1. Install RTlinux, first make a symbolic links: # cd /usr/src # ln -s rtlinux-3.1 rtlinux # cd rtlinux # ln -s ../linux linux 5.2 Make RTLinux # cd /usr/src/rtlinux # make menuconfig # make # make devices 5.3 Configure so that RTLinux modules are loaded at boot time. Add these line to /etc/rc.d/rc.local install rtl modules at boot time. #----------------------------------------- echo "Installing RTLinux Modules ... " sleep 1 insmod /usr/src/rtlinux/modules/rtl.o insmod /usr/src/rtlinux/modules/rtl_time.o insmod /usr/src/rtlinux/modules/rtl_sched.o insmod /usr/src/rtlinux/modules/rtl_posixio.o insmod /usr/src/rtlinux/modules/rtl_fifo.o insmod /usr/src/rtlinux/modules/mbuff.o