From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: ali hagigat <hagigatali@gmail.com>
Cc: xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] kernel panic for rt_task_add_hook
Date: Sun, 29 Dec 2013 10:17:46 +0100 [thread overview]
Message-ID: <52BFE8BA.9060308@xenomai.org> (raw)
In-Reply-To: <CAKKWdtdP_fvvMwzC8YpZriL6mC_QbwRkmjzpPYVB8Ue8yBFt5Q@mail.gmail.com>
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.
next prev parent reply other threads:[~2013-12-29 9:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-12-29 10:53 ` Philippe Gerum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52BFE8BA.9060308@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=hagigatali@gmail.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.