From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Ssagarr Patil <hugarsagar@outlook.com>,
"linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Subject: Re: ip -details link fails
Date: Wed, 27 May 2015 19:24:53 +0200 [thread overview]
Message-ID: <5565FDE5.1040908@hartkopp.net> (raw)
In-Reply-To: <BAY176-W119C53753111D23AE6FA39D3CB0@phx.gbl>
On 05/27/2015 07:11 PM, Ssagarr Patil wrote:
Your backports from 3.14 are looking to work properly ..
E.g. the output from
# cat /proc/net/dev
and
# dmesg | grep -C 5 can0
look sane.
BUT:
> # ip -details link show wlan0
> RTNETLINK answers: Invalid argument
> Cannot send link get request: Invalid argument
The fact that your 'ip' tool doesn't work with wlan0 too your problem is
probably not CAN related.
Can you update the 'ip' tool to a recent version from iproute2:
http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/
What does your
ip -V
tells your about the ip version?
Regards,
Oliver
> # cat /proc/net/dev
> Inter-| Receive | Transmit
> face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
> lo: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> teql0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> eth0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> can0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> can1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> wlan0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> sit0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
> # uname -a
> Linux evm 2.6.37 #1 Wed May 6 10:43:07 BST 2015 armv7l ARMv7 Processor rev 2 (v7l) ti8148evm GNU/Linux
> # dmesg | grep -C 5 can0
> [ 8.320000] CAN device driver interface
> [ 8.380000] <30>systemd[1]: Started Trigger Flushing of Journal to Persistent Storage.
> [ 8.410000] <30>systemd[1]: Found device /dev/ttyO0.
> [ 8.420000] <30>systemd[1]: Started Recreate Volatile Files and Directories.
> [ 8.420000] <30>systemd[1]: Starting System Initialization.
> [ 8.440000] PM: Adding info for No Bus:can0
> [ 8.440000] c_can_platform d_can.0: c_can_platform device registered (regs=fa1cc000, irq=52)
> [ 8.440000] PM: Adding info for No Bus:can1
> [ 8.440000] c_can_platform d_can.1: c_can_platform device registered (regs=fa1d0000, irq=55)
> [ 8.440000] <30>systemd[1]: Reached target System Initialization.
> [ 8.440000] <30>systemd[1]: Starting OpenSSH Socket.
> --
> [ 38.570000] can: raw protocol (rev 20120528)
> [ 38.570000] hci0: type 1 len 36
> [ 38.580000] hci0: type 1 len 245
> [ 38.590000] hci0: type 1 len 7
> [ 38.600000] hci0: type 1 len 5
> [ 38.620000] c_can_platform d_can.0: can0: setting BTR=0504 BRPE=0000
> [ 38.630000] c_can_platform d_can.1: can1: setting BTR=0504 BRPE=0000
> [ 1953.040000] sit: Unknown symbol xfrm4_tunnel_register (err 0)
> [ 1953.050000] sit: Unknown symbol xfrm4_tunnel_deregister (err 0)
> [ 1980.800000] ipcomp: Unknown symbol ipcomp_input (err 0)
>
> Note: The Linux version is 2.6.37 but the network stack & CAN drivers are from 3.14 kernel backports.
>
> Thanks,
> -Sagar
>
>
>
next prev parent reply other threads:[~2015-05-27 17:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-27 16:38 ip -details link fails Ssagarr Patil
2015-05-27 17:06 ` Oliver Hartkopp
2015-05-27 17:11 ` Ssagarr Patil
2015-05-27 17:24 ` Oliver Hartkopp [this message]
2015-05-27 19:16 ` Marc Kleine-Budde
2015-05-28 9:48 ` Ssagarr Patil
2015-05-28 15:42 ` Oliver Hartkopp
2015-05-28 16:28 ` Ssagarr Patil
2015-05-28 17:19 ` Oliver Hartkopp
2015-05-28 0:46 ` 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=5565FDE5.1040908@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=hugarsagar@outlook.com \
--cc=linux-can@vger.kernel.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.