From: Wolfgang Grandegger <wg@grandegger.com>
To: Andreas Gareis <andreas.gareis@hs-augsburg.de>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] rtdm can on mpc5121e - no rtcan devices detected
Date: Tue, 10 Dec 2013 09:01:52 +0100 [thread overview]
Message-ID: <bb483f27032aa36db668e1ebedda5bf9@grandegger.com> (raw)
In-Reply-To: <000001cef515$c786ed70$5694c850$@hs-augsburg.de>
On Mon, 9 Dec 2013 20:35:12 +0100, "Andreas Gareis"
<andreas.gareis@hs-augsburg.de> wrote:
> Von: Wolfgang Grandegger
> Gesendet: Montag, 9. Dezember 2013 20:10
>>
>> On Mon, 9 Dec 2013 19:17:47 +0100, "Andreas Gareis"
>> <andreas.gareis@hs-augsburg.de> wrote:
>> > Von: Tom Evans
>> > Gesendet: Sonntag, 8. Dezember 2013 23:07
>> >>
>> >> Did the CAN devices work before you installed Xenomai? Get them
>> >> working there first.
>> >>
>> >
>> > Yes, the CAN devices worked before Xenomai installation. They were
>> > shown in
>> > ifconfig and communication with other CAN-devices was possible.
>> >
>> > When I select normal (non rt) CAN-support and xenomai kernel (without
>> > RT-CAN) in the kernelconfig, working CAN devices are also available.
>> >
>> > Now I want to use RT-CAN with xenomai. So, I activated
"RT-Socket-CAN"
>> > and "MSCAN driver for MPC52xx and MPC512x" in the kernelconfig.
>> > When "normal" CAN support (Networking support => CAN bus
>> > subsystem support => CAN Device Drivers Freescale MPC5xxx
>> > onboard CAN controller) is disabled, the xenomai module
>> > "xeno_can_mscan.ko" isn't able to start. When "normal" CAN support
>>
>> That's the real problem. What happen's if you want to start the CAN
>> device?
>
> First I call "insmod xeno_can.ko". dmesg shows:
> RT-Socket-CAN 0.90.2 - (C) 2006 RT-Socket-CAN Development Team
>
> Then I call "insmod xeno_can_mscan.ko".
> This operation gets stuck (the insmod doesn't return).
> In dmesg there are no messages.
> lsmod shows that xeno_can is running and xeno_can_mscan is still
loading.
Add some pr_info/printk to the drivers probe function to see where it
hangs.
Wolfgang.
next prev parent reply other threads:[~2013-12-10 8:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-09 19:35 [Xenomai] rtdm can on mpc5121e - no rtcan devices detected Andreas Gareis
2013-12-10 8:01 ` Wolfgang Grandegger [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-30 16:00 Andreas Gareis
2013-12-09 18:17 Andreas Gareis
2013-12-09 19:09 ` Wolfgang Grandegger
2013-12-08 19:44 Andreas Gareis
2013-12-08 22:06 ` Tom Evans
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=bb483f27032aa36db668e1ebedda5bf9@grandegger.com \
--to=wg@grandegger.com \
--cc=andreas.gareis@hs-augsburg.de \
--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.