Hi,
I have a custom C6A8167 board running Linux 2.6.37+. I am using ti-ezsdk_dm816x-evm_5_03_01_15 package. The following error message appears when loading the syslink.ko driver. If I check the /dev directory and I found that the syslinkipc_Notify is not there. The 15 other syslinkipc_xxxx are there in the /dev directory. Can some expert please tell me what is wrong with the syslink.ko module. Similar loading of cmemk.ko went OK without a problem.
Thanks,
Zhao
root@WCS:/opt/andrew/usr/bin# insmod syslink.ko TRACE=1
SysLink version : 2.00.05.85
SysLink module created on Date:Aug 23 2012 Time:09:43:05
Trace enabled
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0x88/0xa8()
sysfs: cannot create duplicate filename '/dev/char/251:1'
Modules linked in: syslink(+) uapifk icuk bbmdio bbjtag DonorIsrTask DonorISR DonorFpgak BpFpgak xcvrk fank actelk
Backtrace:
[<c0043ec0>] (dump_backtrace+0x0/0x110) from [<c0354f48>] (dump_stack+0x18/0x1c)
r6:c04140c5 r5:000001c3 r4:c975bcc8 r3:60000013
[<c0354f30>] (dump_stack+0x0/0x1c) from [<c0064978>] (warn_slowpath_common+0x54/0x6c)
[<c0064924>] (warn_slowpath_common+0x0/0x6c) from [<c0064a34>] (warn_slowpath_fmt+0x38/0x40)
r8:00000001 r7:c975bd18 r6:c952b3f0 r5:ffffffef r4:c96eb000
r3:00000009
[<c00649fc>] (warn_slowpath_fmt+0x0/0x40) from [<c00fe6a8>] (sysfs_add_one+0x88/0xa8)
r3:c96eb000 r2:c04140d4
[<c00fe620>] (sysfs_add_one+0x0/0xa8) from [<c00fed5c>] (sysfs_do_create_link+0xfc/0x1dc)
r7:ca0190c0 r6:c952b360 r5:c94cda08 r4:c952b3f0
[<c00fec60>] (sysfs_do_create_link+0x0/0x1dc) from [<c00fee50>] (sysfs_create_link+0x14/0x18)
[<c00fee3c>] (sysfs_create_link+0x0/0x18) from [<c02211a0>] (device_add+0x13c/0x49c)
[<c0221064>] (device_add+0x0/0x49c) from [<c022151c>] (device_register+0x1c/0x20)
[<c0221500>] (device_register+0x0/0x20) from [<c02215a8>] (device_create_vargs+0x88/0xcc)
r4:00000000 r3:c95b3900
[<c0221520>] (device_create_vargs+0x0/0xcc) from [<c0221614>] (device_create+0x28/0x30)
r8:0fb00001 r7:c975be0e r6:bf15173e r5:bf18819c r4:ca956000
r3:00000000
[<c02215ec>] (device_create+0x0/0x30) from [<bf0c0740>] (OsalDriver_registerDriver+0x248/0x308 [syslink])
[<bf0c04f8>] (OsalDriver_registerDriver+0x0/0x308 [syslink]) from [<bf10daa4>] (NotifyDrv_registerDriver+0x154/0x)
[<bf10d950>] (NotifyDrv_registerDriver+0x0/0x1e0 [syslink]) from [<bf1a0458>] (KnlUtilsDrv_initializeModule+0x458)
r6:00000001 r5:bf187e58 r4:bf187e58
[<bf1a0000>] (KnlUtilsDrv_initializeModule+0x0/0x5d4 [syslink]) from [<c00364a8>] (do_one_initcall+0xc0/0x194)
r5:00000000 r4:bf187d34
[<c00363e8>] (do_one_initcall+0x0/0x194) from [<c008e3ec>] (sys_init_module+0x1634/0x17f4)
r8:00000001 r7:c9576800 r6:00000001 r5:00000000 r4:bf187d34
[<c008cdb8>] (sys_init_module+0x0/0x17f4) from [<c0040340>] (ret_fast_syscall+0x0/0x30)
---[ end trace bf3094fd0b4d7dc2 ]---
root@WCS:/opt/andrew/usr/bin# Sep 12 01:02:13 WCS kernel: SysLink version : 2.00.05.85
Sep 12 01:02:13 WCS kernel: SysLink module created on Date:Aug 23 2012 Time:09:43:05
Sep 12 01:02:13 WCS kernel: Trace enabled
root@WCS:/dev# ls sys*
syslinkipc_ClientNotifyMgr syslinkipc_MultiProc
syslinkipc_FrameQ syslinkipc_NameServer
syslinkipc_FrameQBufMgr syslinkipc_Osal
syslinkipc_GateMP syslinkipc_ProcMgr
syslinkipc_HeapBufMP syslinkipc_RingIO
syslinkipc_HeapMemMP syslinkipc_RingIOShm
syslinkipc_Ipc syslinkipc_SharedRegion
syslinkipc_ListMP syslinkipc_SyslinkMemMgr
syslinkipc_MessageQ
root@WCS:/dev#