Hello. I want to install rtnet. My machine: 96Mo-Intel celeron 275MHz-2 realtek 8129 network cards. My system: corel linux 1.2 (linux-2.2.16)- rtai-1.6 - rtnet-0.9.0 I've added these lines in my /usr/src/rtnet/drivers/net/Makefile:
... obj-$(CONFIG_RTNET_TULIP) += tulip_rt.o # these lines obj-$(CONFIG_RTNET_8390) += 8390_rt.o obj-$(CONFIG_RTNET_NE) += ne_rt.o # end of my lines ... I've added these lines in my /usr/src/rtnet/drivers/net/config.in: ... tristate 'Tulip support' CONFIG_RTNET_TULIP # these lines tristate '8390 support' CONFIG_RTNET_8390 tristate 'ne support' CONFIG_RTNET_NE # end of my lines ... My installation: 1) I've made modbuild directory. wallace:/usr/src/rtnet/include# ls -l total 4 drwxr-sr-x 2 bruno bruno 4096 Jul 22 2000 rtnet wallace:/usr/src/rtnet/include# mkdir modbuild wallace:/usr/src/rtnet/include# ls -l total 8 drwxr-sr-x 2 root bruno 4096 Sep 24 14:44 modbuild drwxr-sr-x 2 bruno bruno 4096 Jul 22 2000 rtnet 2) I've listed my /usr/src directory. wallace:/usr/src# ls -l total 19936 drwxr-xr-x 2 root root 4096 Sep 21 06:56 awedrv -rw-r--r-- 1 root root 18276738 Jul 18 2000 kernel-source-2.2.16.tar.gz lrwxrwxrwx 1 root src 12 Sep 24 10:43 linux -> linux-2.2.16 drwxr-sr-x 15 root root 4096 Sep 24 11:09 linux-2.2.16 drwxr-xr-x 2 root root 4096 Jul 18 2000 modules -rw-r--r-- 1 root root 778233 Jul 18 2000 pcmcia-cs.tar.gz drwxr-xr-x 7 root root 4096 Sep 21 06:49 redhat lrwxrwxrwx 1 root src 8 Sep 24 10:29 rtai -> rtai-1.6 drwxr-sr-x 23 110 users 4096 Sep 24 12:07 rtai-1.6 -rwxr-xr-x 1 root root 825703 Jul 27 10:38 rtai-1.6.tgz lrwxrwxrwx 1 root src 11 Sep 24 10:40 rtnet -> rtnet-0.9.0 drwxr-sr-x 9 bruno bruno 4096 Sep 24 14:39 rtnet-0.9.0 -rwxr-xr-x 1 root root 228303 Sep 24 08:25 rtnet-0.9.0.tgz drwxr-sr-x 9 bruno bruno 4096 Apr 18 14:48 rtnet-0.9.1 -r-xr-xr-x 1 root root 228765 May 28 07:50 rtnet-0.9.1.tgz 3) I've started installation. I've compiled for realtek 8129, 8390 and ne modules because of rtl8139 module doesn't work for my realtek ethernet cards. You can see: 3.1) Starting make. wallace:/usr/src/rtnet# make scripts/Configure Enter location of Linux source tree [/usr/src/linux]: using LINUXDIR=/usr/src/linux You appear to be running an RTAI-patched kernel Enter location of RTAI source tree [/usr/src/rtai]: # # Using defaults found in ./scripts/config.dist # * * RTnet features * 3com Vortex/Boomerang (old) (CONFIG_RTNET_3C59X_OLD) [Y/m/n/?] n 3com Vortex/Boomerang (new) (CONFIG_RTNET_3C59X_NEW) [Y/m/n/?] n RTL8139 support (CONFIG_RTNET_RTL8139) [Y/m/n/?] n Tulip support (CONFIG_RTNET_TULIP) [Y/m/n/?] n 8390 support (CONFIG_RTNET_8390) [N/y/m/?] (NEW) m ne support (CONFIG_RTNET_NE) [N/y/m/?] (NEW) m Makefiles for rtnet should now be configured. Run 'make' to compile, and then 'make install' to install. 3.2) Starting make. wallace:/usr/src/rtnet# make mkdir modules make -C drivers CFLAGS="-Wall -O2 -Wstrict-prototypes -include /usr/src/rtnet-0.9.0/include/modbuild/confi.h -D__KERNEL__ -I /usr/src/linux/include -I /usr/src/rtnet-0.9.0/include -I . -I /usr/src/rtai/include -I usr/src/rtai/include/rtai -DMODULE" MAKING_MODULES=1 modules make[1]: Entering directory `/usr/src/rtnet-0.9.0/drivers' make -C net modules make[2]: Entering directory `/usr/src/rtnet-0.9.0/drivers/net' cc -Wall -O2 -Wstrict-prototypes -include /usr/src/rtnet-0.9.0/include/modbuild/config.h -D__KERNEL__ -I /ur/src/linux/include -I /usr/src/rtnet-0.9.0/include -I . -I /usr/src/rtai/include -I /usr/src/rtai/include/tai -DMODULE -c -o 8390_rt.o 8390_rt.c 8390_rt.c: In function `NS8390_trigger_send': 8390_rt.c:1177: warning: unused variable `ei_local' 8390_rt.c: At top level: 8390_rt.c:1195: parse error before `EXPORT_SYMTAB_not_defined' 8390_rt.c:1195: warning: type defaults to `int' in declaration of `EXPORT_SYMTAB_not_defined' 8390_rt.c:1195: warning: data definition has no type or storage class 8390_rt.c:1196: parse error before `EXPORT_SYMTAB_not_defined' 8390_rt.c:1196: warning: type defaults to `int' in declaration of `EXPORT_SYMTAB_not_defined' 8390_rt.c:1196: warning: data definition has no type or storage class 8390_rt.c:1197: parse error before `EXPORT_SYMTAB_not_defined' 8390_rt.c:1197: warning: type defaults to `int' in declaration of `EXPORT_SYMTAB_not_defined' 8390_rt.c:1197: warning: data definition has no type or storage class 8390_rt.c:1198: parse error before `EXPORT_SYMTAB_not_defined' 8390_rt.c:1198: warning: type defaults to `int' in declaration of `EXPORT_SYMTAB_not_defined' 8390_rt.c:1198: warning: data definition has no type or storage class 8390_rt.c:1199: parse error before `EXPORT_SYMTAB_not_defined' 8390_rt.c:1199: warning: type defaults to `int' in declaration of `EXPORT_SYMTAB_not_defined' 8390_rt.c:1199: warning: data definition has no type or storage class make[2]: *** [8390_rt.o] Error 1 make[2]: Leaving directory `/usr/src/rtnet-0.9.0/drivers/net' make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory `/usr/src/rtnet-0.9.0/drivers' make: *** [_mod_drivers] Error 2 wallace:/usr/src/rtnet# 3.3) And this error ? Can you tell me what to do? 4)I've another problem with rtnet: the /dev/rtnet device. I've compiled on another machine the rtl8139 module for rtl8139 ethernet card like this: make and choose rtl8139 as module. make again. make modules_install. make install. make dev. ifconfig eth0 down. (to bring down linux network) rtifconfig eth0 up. (to bring up rtnet network) 4.1)... and this error: no such device! (even if /dev/rtnet exists) Can you tell me what to do ? Thanks for your help. Make a difference, help support the relief efforts in the U.S. http://clubs.lycos.com/live/events/september11.asp -- [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/
