If you don't need the real time stuff, don't load in the real time
modules.  

If you really want to use the distro's kernel, you'll probably have to
build the module against the header files for that kernel version before
you can insmod it.

If you're not using symlinks to build different kernels on your machine,
rename  /usr/src/linux to /usr/src/rtl_linux-2.2.14.
Install the kernel source rpm, the source should be installed in
/usr/src/linux
rename the /usr/src/linux directory to /usr/src/linux_<whatever version>
ln -s /usr/src/linux_<whatever version> /usr/src/linux

now build your kernel module and install it in
/lib/modules/<kernel_version>/misc/
then do a depmod -a

Boot up into the old kernel and give it a whirl.

cheers,
Stuart Warren
-----Original Message-----
From: B. Lin [mailto:[EMAIL PROTECTED]]
Sent: Friday, 2 March 2001 6:10
To: [EMAIL PROTECTED]
Subject: [rtl] How to install non real-time device driver


Hi,

I'd like a ask a newbie question. I have installed RTLinux on Redhat
Linux. How can I install a non real-time PMAC driver to the original
Linux
kernel? If I use "insmod" to insert the module, it will appear in
RTLinux
kernel. But This driver was written for Linux and I do not need
real-time
performance for this driver. I am using Readhat 6.2 and RTLinux 2.2.14.

Thanks in advance.

Ben
Dept. of Mech. Eng.
UC, Davis 

-- [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/rtlinux/

-- [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/rtlinux/

Reply via email to