Andreas Erler wrote: > Hello all, > > I have got a problem in my pci driver module which is freezing my system > completely. > I don't even have a chance to see the last messages written with printk... > So my question: is there any way to debug kernel module tasks like in > RTLinux by connecting gdb over rtfifos?
For 2.6.16 and .17, I adapted kgdb to work with ipipe [1]. That means you were able to attach gdb to your system via a serial nullmodem link. Unfortunately, the kgbd development itself became unsteady again (it stalled for more than half a year), so we have no recent vanilla kgdb patches ATM. May change again in the future, but doesn't help right now. What you can try meanwhile is to direct your console output to a serial console and use ipipe_set_printk_sync(&rthal_root) to force synchronous printk even for the Xenomai domain. Moreover, switch on debug support in Xenomai, specifically CONFIG_XENO_OPT_DEBUG_RTDM and CONFIG_XENO_OPT_WATCHDOG. Jan [1] http://download.gna.org/adeos/patches/v2.6/i386/kgdb/
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [EMAIL PROTECTED] https://mail.gna.org/listinfo/xenomai-help
