All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Antoine Hoarau <hoarau.robotics@gmail.com>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] rtnet issue with xenomai-3.git next branch
Date: Wed, 25 Feb 2015 11:36:04 +0100	[thread overview]
Message-ID: <20150225103604.GN14148@hermes.click-hack.org> (raw)
In-Reply-To: <CAB6vvj=9Mt0tq-=kNhv+Agr6WTH3j0+3F3kPNcMKspNzXr0NKg@mail.gmail.com>

On Wed, Feb 25, 2015 at 10:23:24AM +0000, Antoine Hoarau wrote:
> This works:
> modprobe rtnet
> modprobe rt_e1000e
> modprobe rtipv4
> modprobe rtudp
> 
> I get :
> 
> [  282.200776] *** RTnet for Xenomai v3.0-rc3 ***
> [  282.200776]
> [  282.200778] RTnet: initialising real-time networking
> [  289.201612] rt_e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k-rt
> [  289.201614] rt_e1000e: Copyright(c) 1999 - 2011 Intel Corporation.
> [  289.201630] rt_e1000e 0000:05:00.0: Disabling ASPM L0s
> [  289.201842] rt_e1000e 0000:05:00.0: irq 48 for MSI/MSI-X
> [  289.201845] rt_e1000e 0000:05:00.0: irq 49 for MSI/MSI-X
> [  289.201847] rt_e1000e 0000:05:00.0: irq 50 for MSI/MSI-X
> [  289.317567] RTnet: registered rteth0
> [  289.317570] rt_e1000e: (PCI Express:2.5GT/s:Width x1) 68:05:ca:32:c9:ab
> [  289.317571] rt_e1000e: Intel(R) PRO/1000 Network Connection
> [  289.317582] rt_e1000e: MAC: 3, PHY: 8, PBA No: E46981-008
> 
> I can unload/load them without any problems.
> Then I can do :
> 
> ./rtifconfig rteth0 up 192.168.100.101
> ./rtifconfig
> 
> rteth0    Medium: Ethernet  Hardware address: 68:05:CA:32:C9:AB
>           IP address: 192.168.100.101  Broadcast address: 192.168.100.255
>           UP BROADCAST RUNNING  MTU: 1500
> 
> Then I plug the cable and turn on the slave:
> [  572.581589] e1000e: rteth0 NIC Link is Up 1000 Mbps Full Duplex, Flow
> Control: Rx/Tx
> 
> I need to 'solicit' it by launching :
> ./rtroute solicit 192.168.100.102 dev rteth0
> 
> I can see the slave:
> ./rtroute
> Host Routing Table
> Hash Destination HW Address Device
> 26 192.168.100.102 90:E2:BA:26:72:15 rteth0
> 3F 192.168.100.255 FF:FF:FF:FF:FF:FF rteth0
> 
> But I can't ping :
> 
> ./rtping 192.168.100.102
> Real-time PING 192.168.100.102 56(84) bytes of data.
> ioctl: Inappropriate ioctl for device

Run this with strace to see which ioctl is failing.

> 
> And wireshark does not see the rteth0 interface.

You need to load rtcap.ko (after the interface) to have the capture
interface.

-- 
					    Gilles.


  parent reply	other threads:[~2015-02-25 10:36 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-25 10:23 [Xenomai] rtnet issue with xenomai-3.git next branch Antoine Hoarau
2015-02-25 10:26 ` Antoine Hoarau
2015-02-25 10:36 ` Gilles Chanteperdrix [this message]
2015-02-25 10:47   ` Antoine Hoarau
2015-02-25 12:34     ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2015-02-25 13:23 Antoine Hoarau
2015-02-25 20:46 ` Gilles Chanteperdrix
2015-02-25 21:11   ` Antoine Hoarau
2015-02-25 21:21     ` Gilles Chanteperdrix
2015-02-24 10:39 Antoine Hoarau
2015-02-24 12:00 ` Antoine Hoarau
2015-02-24 12:51   ` Gilles Chanteperdrix
2015-02-24 12:50 ` Gilles Chanteperdrix
     [not found] <CAB6vvjn7=j2LpfwVhVAQBPcYiK6a-owoCaFXqY00+JnU2jGm9A@mail.gmail.com>
2015-02-24  9:34 ` Gilles Chanteperdrix
2014-12-16 23:29 Jeff Webb
2014-12-17 10:29 ` Gilles Chanteperdrix
2014-12-17 10:59   ` Gilles Chanteperdrix
2014-12-18 21:59     ` Jeff Webb
2014-12-19 10:39       ` Gilles Chanteperdrix
2014-12-30 22:38       ` Gilles Chanteperdrix
2015-09-29  5: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=20150225103604.GN14148@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=hoarau.robotics@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.