All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodolfo <rolfetas@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] loading module
Date: Wed, 23 May 2007 14:16:17 +0200	[thread overview]
Message-ID: <46543091.3040308@domain.hid> (raw)

Hi,
I am totally new to Xenomai and have no experience with RTAI. I'm trying
to load a kernel module that uses the native API for testing, but I get
the following segmentation fault. Can anyone help me out??
Thanks


Running 2.6.20 Kernel and Xenomai is statically built into the Kernel,
on a VIA Eden

----------------------------------------------------------------------------------------------------------------------------
Jun 13 03:58:04 login[345]: root login on 'ttyS0'


BusyBox v1.5.0 (2007-05-16 14:24:12 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# cd usr
# insmod hallo.ko
task start<1>BUG: unable to handle kernel NULL pointer dereference at
virtual address 00000068
 printing eip:
c0157cd9
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: hallo
CPU:    0
EIP:    0060:[<c0157cd9>]    Not tainted VLI
EFLAGS: 00010286   (2.6.20-default #4)
EIP is at rt_task_start+0x25/0x13e
eax: 00000060   ebx: 00000000   ecx: 00000000   edx: 00000286
esi: c8010780   edi: c118716c   ebp: 00000000   esp: c119de88
ds: 007b   es: 007b   ss: 0068
Process insmod (pid: 346, ti=c119c000 task=c77ccb10 task.ti=c119c000)
Stack: c011d8ea c800f088 c119deb0 c800f031 c118714c c1187000 c118716c
c800f580
       c800f021 c800f088 c0136cc4 c800f5c8 c033bda6 c800f58c 00000000
00001524
       00000230 c77fbba0 00000260 c0190271 00000000 00000000 00000000
00000000
Call Trace:
 [<c011d8ea>] printk+0x62/0xd6
 [<c800f031>] fun+0x0/0x57 [hallo]
 [<c800f021>] hello_init+0x20/0x30 [hallo]
 [<c0136cc4>] sys_init_module+0x1771/0x18b8
 [<c0190271>] do_sync_read+0xc7/0x10a
 [<c019f0bb>] dput+0x49/0x11f
 [<c0102dbf>] syscall_call+0x7/0xb
 =======================
Code: d8 5b 5e 5f 5d c3 55 57 56 53 83 ec 10 89 c6 8b 1d bc bc 46 c0 89
cd 89 54 24 0c ff 15 44 aa 37 c0 69 c0 c0 03 00 00 8d 44 18 60 <8b> 40
08 85
EIP: [<c0157cd9>] rt_task_start+0x25/0x13e SS:ESP 0068:c119de88
 Segmentation fault




             reply	other threads:[~2007-05-23 12:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-23 12:16 Rodolfo [this message]
2007-05-23 12:34 ` [Xenomai-help] loading module Gilles Chanteperdrix
2007-05-23 12:49   ` Rodolfo
2007-05-23 13:13     ` Gilles Chanteperdrix
     [not found]     ` <1179925338.6119.56.camel@domain.hid>
2007-05-23 13:31       ` Rodolfo
     [not found]   ` <46543535.5090106@domain.hid>
2007-05-23 13:07     ` Gilles Chanteperdrix
2007-05-23 13:32       ` Rodolfo
2007-05-23 13:44         ` Gilles Chanteperdrix

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=46543091.3040308@domain.hid \
    --to=rolfetas@domain.hid \
    --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.