Hello ! I've took a snapshot of the xenomai-abe (Comedi port related) git repos pointing to the last update and tried it up and it seems that are some errors.
/usr/xenomai/sbin # ./comedi_config -v comedi0 comedi_pcimio Comedi: comedi_pcimio: pcimio_attach: found pci-6024e board Comedi: MITE: 0x90000000 mapped to c907a000 <6>Comedi: DAQ: 0x90001000 mapped to c907c000 Comedi: MITE: version = 2, type = 1, mite mode = 1, interface mode = 3 Comedi: MITE: num channels = 1, write post fifo depth = 1, wins = 0, iowins = 2 Comedi: comedi_pcimio: pcimio_attach: found irq 48 Unable to handle kernel paging request for data at address 0x00012400 Faulting instruction address:* 0xc023dd08* Oops: Kernel access of bad area, sig: 11 [#1] MPC831x RDB Modules linked in: *NIP: c023dd08* LR: c0246b70 CTR: 00000000 REGS: c7a51c30 TRAP: 0300 Not tainted (2.6.24.2) MSR: 00001032 <ME,IR,DR> CR: 84008422 XER: 00000000 DAR: 00012400, DSISR: 20000000 TASK = c7864430[898] 'comedi_config' THREAD: c7a50000 GPR00: c0246b70 c7a51ce0 c7864430 00012400 00000001 00000000 c79062c0 c03c0000 GPR08: 00000000 c7900a00 c03d6144 c03a37e8 c7906200 1004a5b8 c033e0b8 c03c0000 GPR16: c03ba578 c03d1a00 c02464fc c03b4d60 c0244e5c c024509c c024535c c0245380 GPR24: c03da628 c02453a4 20001040 00000000 00000000 c03a2e50 c03c0000 00012400 Call Trace: [c7a51ce0] [c024bae0] (unreliable) [c7a51d00] [c0246b70] [c7a51d20] [c0246bdc] [c7a51d40] [c024b88c] [c7a51d90] [c024c69c] [c7a51dc0] [c0238b2c] [c7a51de0] [c0238c64] [c7a51e20] [c0239094] [c7a51e40] [c023ba00] [c7a51e70] [c008b404] [c7a51eb0] [c008d634] [c7a51ec0] [c0059eb8] [c7a51ee0] [c004ad5c] [c7a51f30] [c0009644] [c7a51f40] [c0010ca4] --- Exception: c01Instruction dump: 7d6b1a14 39290010 38000001 7fe34a14 900b00b0 90ff0010 4bffff9c 9421ffe0 7c0802a6 bf61000c 7c7f1b78 90010024 <83c30000> 7c0000a6 5400045e 7c000124 ---[ end trace f35e90f95f5de008 ]--- A quick disassembly shows that the error is generated in the mite driver as pointed next, c023dcf4 <mite_release_channel>: mite_release_channel(): /home/haustiq/development/eldk/ppc_6xx/usr/src/linux-2.6.24-xc1/drivers/xenomai/comedi/national_instruments/mite.c:308 c023dcf4: 94 21 ff e0 stwu r1,-32(r1) c023dcf8: 7c 08 02 a6 mflr r0 c023dcfc: bf 61 00 0c stmw r27,12(r1) c023dd00: 7c 7f 1b 78 mr r31,r3 c023dd04: 90 01 00 24 stw r0,36(r1) /home/haustiq/development/eldk/ppc_6xx/usr/src/linux-2.6.24-xc1/drivers/xenomai/comedi/national_instruments/mite.c:309 *c023dd08:* 83 c3 00 00 lwz r30,0(r3) Some hints would be appreciated ! Best !
_______________________________________________ Xenomai-core mailing list Xenomai-core@gna.org https://mail.gna.org/listinfo/xenomai-core