[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [rtl] lsmod and segmentation fault
Comment out all of the code in the startup function of the module until it
works, then add a few lines at a time back in.
Alternately, sprinkle some printk() statements along the logic path so you
can see how far you've gotten.
Norm
> -----Original Message-----
> From: Alain Rolle [SMTP:Alain.Rolle@rug.ac.be]
> Sent: Wednesday, May 03, 2000 6:33 AM
> To: real time linux mailing list
> Subject: [rtl] lsmod and segmentation fault
>
> Hello,
>
> I have the following problem: after having loaded a RT module, executing a
> "lsmod" causes a segmentation fault. This only happens with a test module
> I wrote, so it is not a general problem. (e.g. all the examples work well)
>
> The test module requests a IRQ handler and a region, but has no threads.
> Has anyone experienced this problem before ?
>
> Alain.
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/