Hello again: I an experiencing a rough issue about pSoS+ skin. I am using linux kernel 2.6.33.4, xenomai 2.5.4 and adeos-ipipe-2.6.33.4-powerpc-2.9-01.patch on MPC870. The pSoS+ emulator is built as module. Attached is the demo.c used to test. When I run the demo at first time as follow step: insmod xeno_psos.ko ./demo It can run normally. But when I run it again with the following steps rmmod xeno_psos insmod xeno_psos.ko ./demo the kernel will crash with below information: kernel BUG at fs/buffer.c:1271! Oops: Exception in kernel mode, sig: 5 [#1] RxT-Carrier Modules linked in: module_mem xeno_psos NIP: c00d6608 LR: c00d682c CTR: c010ff78 REGS: c1a15ba0 TRAP: 0700 Not tainted (2.6.33.4) MSR: 00029032 <EE,ME,CE,IR,DR> CR: 44820442 XER: 20000000 TASK = c190ed60[348] 'MAIN' THREAD: c1a14000 GPR00: 00000001 c1a15c50 c190ed60 c14021a0 00040002 00001000 00000080 00004000 GPR08: 00000fff c0390000 00000000 02000400 44820442 109eb2a0 01ffe800 01ff50a0 GPR16: 01fd05d8 01ff507c ffffff9c c1a15e64 fffffff4 c03b0000 c1a15d98 c1a15da0 GPR24: c14a72c0 c1942d80 00040002 c14021a0 c14a7cd0 00001000 c0394ae0 c193ec00 NIP [c00d6608] __find_get_block+0x28/0x22c LR [c00d682c] __getblk+0x20/0x220 Call Trace: [c1a15c50] [20000000] 0x20000000 (unreliable) [c1a15ca0] [c00d682c] __getblk+0x20/0x220 [c1a15cd0] [c0105e90] __ext3_get_inode_loc+0xe4/0x364 [c1a15d00] [c0109d08] ext3_iget+0x60/0x56c [c1a15d30] [c010dbd0] ext3_lookup+0xf8/0x164 [c1a15d60] [c00bb270] do_lookup+0x1b4/0x210 [c1a15d90] [c00bccfc] link_path_walk+0x564/0xbfc [c1a15df0] [c00bd3dc] path_walk+0x48/0xcc [c1a15e20] [c00bd550] do_path_lookup+0x64/0x6c [c1a15e40] [c00be370] do_filp_open+0xd8/0x9a8 [c1a15f10] [c00afff4] do_sys_open+0x64/0x130 [c1a15f40] [c000f8a0] ret_from_syscall+0x0/0x38 Instruction dump: 813f000c 4bffffac 7c0802a6 9421ffb0 7d800026 bf210034 90010054 91810030 3d20c039 80094ae0 3bc94ae0 540007fe <0f000000> 38000008 7c0903a6 3d20c039 ---[ end trace f21c6826c169a5b9 ]--- The problem seemed to caused by t_delete(0). Sometimes, once the issue happens, after I power off the target and power on again, and do nothing, the kerenl will still crach with above information. Do anyone have an idea about the issues. Thanks in advance. Best regards, Wenyi Gao
<<Blank Bkgrd.gif>>
demo.c
Description: Binary data
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
