Tuan Minh Nguyen wrote:
> Hi all,
> 
> I am newbee to RTnet trying to install it on Ubuntu 8.0.4 mit kernel 2.6.23 
> und RTAI 3.6
> After doing all steps described on the website www.rtnet.org i executed the 
> following scripts:
> 
>       1. load_rtai: 
> 
>  #!/bin/sh
> MOD_DIR=/usr/realtime/modules
> 
> sync
> # make -f /usr/src/rtai/GNUmakefile dev
> insmod ${MOD_DIR}/rtai_hal.ko
> insmod ${MOD_DIR}/rtai_sched.ko
> insmod ${MOD_DIR}/rtai_fifos.ko
> insmod ${MOD_DIR}/rtai_sem.ko
> insmod ${MOD_DIR}/rtai_mbx.ko
> insmod ${MOD_DIR}/rtai_msg.ko
> insmod ${MOD_DIR}/rtai_netrpc.ko ThisNode="127.0.0.1"
> insmod ${MOD_DIR}/rtai_math.ko
> insmod /usr/realtime/modules/rtai_rtdm.ko
> sync
> 
>     2. loadRTnet
>          #!/bin/sh
> 
> 
> MOD_DIR=/usr/local/rtnet/modules
> 
> sync
> mknod /dev/rtnet c 10 240
> insmod /usr/realtime/modules/rtai_rtdm.ko
> insmod ${MOD_DIR}/rtnet.ko
> insmod ${MOD_DIR}/rtipv4.ko
> insmod ${MOD_DIR}/rtpacket.ko
> insmod ${MOD_DIR}/rt_loopback.ko
> insmod ${MOD_DIR}/rt_8139too.ko
> insmod ${MOD_DIR}/rtcap.ko
> /usr/local/rtnet/sbin/rtifconfig rtlo up 127.0.0.1
> /usr/local/rtnet/sbin/rtifconfig rteth0 up 10.2.12.149
> /usr/local/rtnet/sbin/rtroute add 10.2.12.150 00:04:50:48:3B:47 dev rteth0
> sync    
> 
> But my computer automatically restart by executing 
> /usr/local/rtnet/sbin/rtifconfig rteth0 up 10.2.12.149

You probably face an IRQ conflict between the rteth0 NIC and some Linux
device. Check /proc/interrupts when that NIC is still under Linux
control if there are several devices using the same IRQ line. That won't
work under realtime constraints. Either disable the conflicting Linux
device or check if you can otherwise change the IRQ assignment (via BIOS
or by flipping PCI cards in their slots).

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to