* [Xenomai] kernel panic for rt_task_add_hook
@ 2013-12-29 8:15 ali hagigat
2013-12-29 8:26 ` Gilles Chanteperdrix
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ali hagigat @ 2013-12-29 8:15 UTC (permalink / raw)
To: xenomai
I am using a 32 bit Fedora 13, linux kernel 3.5.7 and xenomai-2.6.3.
Please do the followings:
1) insmod ./kerneltask2.ko
2) rmmod kerneltask2
The first time is OK. The second time the computer freezes and i have
a kernel panic and carsh dump every time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config1
Type: application/octet-stream
Size: 131428 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20131229/41017747/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kerneltask2.c
Type: text/x-csrc
Size: 1201 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20131229/41017747/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 2338 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20131229/41017747/attachment-0001.obj>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] kernel panic for rt_task_add_hook
2013-12-29 8:15 [Xenomai] kernel panic for rt_task_add_hook ali hagigat
@ 2013-12-29 8:26 ` Gilles Chanteperdrix
2013-12-29 9:17 ` Gilles Chanteperdrix
2013-12-29 10:53 ` Philippe Gerum
2 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2013-12-29 8:26 UTC (permalink / raw)
To: ali hagigat; +Cc: xenomai
On 12/29/2013 09:15 AM, ali hagigat wrote:
> I am using a 32 bit Fedora 13, linux kernel 3.5.7 and xenomai-2.6.3.
> Please do the followings:
>
> 1) insmod ./kerneltask2.ko
> 2) rmmod kerneltask2
>
> The first time is OK. The second time the computer freezes and i have
> a kernel panic and carsh dump every time.
Please post the panic somewhere.
--
Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] kernel panic for rt_task_add_hook
2013-12-29 8:15 [Xenomai] kernel panic for rt_task_add_hook ali hagigat
2013-12-29 8:26 ` Gilles Chanteperdrix
@ 2013-12-29 9:17 ` Gilles Chanteperdrix
2013-12-29 10:53 ` Philippe Gerum
2 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2013-12-29 9:17 UTC (permalink / raw)
To: ali hagigat; +Cc: xenomai
On 12/29/2013 09:15 AM, ali hagigat wrote:
> I am using a 32 bit Fedora 13, linux kernel 3.5.7 and xenomai-2.6.3.
> Please do the followings:
>
> 1) insmod ./kerneltask2.ko
> 2) rmmod kerneltask2
>
> The first time is OK. The second time the computer freezes and i have
> a kernel panic and carsh dump every time.
You have to call rt_task_remove_hook in the module cleanup function.
Otherwise the hook remains registered with a module address no longer valid.
--
Gilles.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] kernel panic for rt_task_add_hook
2013-12-29 8:15 [Xenomai] kernel panic for rt_task_add_hook ali hagigat
2013-12-29 8:26 ` Gilles Chanteperdrix
2013-12-29 9:17 ` Gilles Chanteperdrix
@ 2013-12-29 10:53 ` Philippe Gerum
2 siblings, 0 replies; 4+ messages in thread
From: Philippe Gerum @ 2013-12-29 10:53 UTC (permalink / raw)
To: ali hagigat, xenomai
On 12/29/2013 09:15 AM, ali hagigat wrote:
> I am using a 32 bit Fedora 13, linux kernel 3.5.7 and xenomai-2.6.3.
> Please do the followings:
>
> 1) insmod ./kerneltask2.ko
> 2) rmmod kerneltask2
>
> The first time is OK. The second time the computer freezes and i have
> a kernel panic and carsh dump every time.
rt_task_remove_hook().
--
Philippe.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-12-29 10:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-29 8:15 [Xenomai] kernel panic for rt_task_add_hook ali hagigat
2013-12-29 8:26 ` Gilles Chanteperdrix
2013-12-29 9:17 ` Gilles Chanteperdrix
2013-12-29 10:53 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.