Hello Neelu, please keep this discussion public as it might be of interest for others as well.
It looks like you already hit various problems with old versions of Linux, RTAI and RTnet. On 09/29/2005 01:59 PM [EMAIL PROTECTED] wrote: > > HI Wolfgang , > > yes it works when include four symbols in ppc_ksyms.c it works fine , > except one consistent_alloc symbol , as it was not delclared in any *.h > file , i declared it in commproc.h , it works fine now , now no more > unresolved symbols In 2.4.25 consistent_alloc is declared in include/asm-ppc/io.h. > when i insmod rt_mpc8xx_enet.o it says device or resource busy ? > rtdev->irq = CPM_IRQ_OFFSET + CPMVEC_ENET; > i get CPM_IRQ_OFFSET as undeclared where is this defined ? CPM_IRQ_OFFSET is declared in include/asm-ppc/irq.h but it might be introduced into the Linux 2.4 kernel later after 2.4.19. In old versions of Linux 2.4 the CPM interrupts are not treated like the SIU interrupts but by a secondary interrupt handler, which is not visible by RTAI. For this reason we provide the "CONFIG_CPM_MULTILEVEL_IRQ" in the RTAI patch for Linux 2.4.4 (check patch-denx-linux-2.4-LABEL_2003_10_13_1740 in ftp://ftp.denx.de/pub/RTAI/old/24.1.12/). > and onemore chnage i did to code is > earlier it was SET_MODULE_OWNER(rtdev); > made as RTNET_SET_MODULE_OWNER(rtdev); This is fixed in more recent version of RTnet. > i got it compiled . but when i insmod i get the device or resource busy > , its not even entering the module , > > the sequence of insmod are as follows > /sbin/insmod rtai.o > /sbin/insmod rt_mem_rt_mgr.o > /sbin/insmod rtai_fifos.o > /sbin/insmod rtai_shm.o > /sbin/insmod rtai_sched.o > > for rtnet part > /sbin/insmod rtai_rtdm.o > /sbin/insmod rtnet.o > /sbin/insmod rt_mpc8xx_enet.o > thorows device or reosurce busy > is it that i am missing some parameters for module , or irq number ? Please check the output of "cat /proc/interrupts" to see if the CPM interrupts are visible. If not you need to backport the corresponing CPM part from Linux 2.4.25. Wolfgang. > > tahnks in advance > Neelu > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users