All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Wolfgang Grandegger <wg@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] BUG: sleeping function called from invalid context at kernel/xenomai/skins/posix/syscall.c:272
Date: Wed, 18 Oct 2006 21:19:31 +0200	[thread overview]
Message-ID: <45367E43.5020208@domain.hid> (raw)
In-Reply-To: <45366314.5000904@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

Wolfgang Grandegger wrote:
> Hello,
> 
> when I start the RT-Socket-CAN program rtcan_rtt.c, I get the attached
> error message. Any idea where the problem could be? It was working with
> Xenomai under Linux 2.4.25.
> 
> Thanks.
> 
> Wolfgang.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> bash-3.00# rtcan_rtt rtcan0 rtcan1
> BUG: sleeping function called from invalid context at kernel/xenomai/skins/posix/syscall.c:272
> in_atomic():0, irqs_disabled():1

Leaking lock somewhere? Some suggestions:

- Does it also happen with rtcan_virt?
- If no: switch on XENO_OPT_DEBUG and then XENO_OPT_DEBUG_RTDM (may
  catch leaking locks of the CAN driver)
- If yes: what arch are you on? PPC? On x86/2.6 I do not have problems
  with your demo over rtcan_virt.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-10-18 19:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18 17:23 [Xenomai-core] BUG: sleeping function called from invalid context at kernel/xenomai/skins/posix/syscall.c:272 Wolfgang Grandegger
2006-10-18 19:19 ` Jan Kiszka [this message]
2006-10-19  7:23   ` Wolfgang Grandegger
2006-10-19 14:43   ` Wolfgang Grandegger

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=45367E43.5020208@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=wg@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.