linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hubert Denkmair <xor@xor.wtf>
To: ajneu <ajneu1@gmail.com>
Cc: linux-can@vger.kernel.org
Subject: Re: socketcan and libnl3
Date: Tue, 14 Jun 2016 15:57:39 +0200	[thread overview]
Message-ID: <c6d6b34a0c475ec5cf433c90cfa0c26b@xor.wtf> (raw)
In-Reply-To: <loom.20160614T125640-218@post.gmane.org>

Greetings ajneu,

> I've tried your canifconfig under Debian Stretch
> with the following command:
> 
>     sudo ./canifconfig -i can0 -u -b 250000
seems right to me, works for me (tm) [ubuntu 16.04/pcan and candleLight 
devices]

> and wow that sure is one destructive command!!
> Command Line shows: "Killed"
> 
> And from then on issuing command
> 
>     sudo ifconfig
> 
> hangs. I cannot even stop it with Ctrl-C.
> 
> This may be a problem with libnl, or with the Debian Testing (Strech) 
> that
> I'm running!! Completely destructive!

So much wow. Glad I could help :-)

No really, i haven't seen something like that on my PC.
Haven't finished debugging the listen-only stuff, but setting bitrate 
and taking interfaces up/down has never been a problem.

Which can hardware and which kernel do you use?
I would suspect the problem is most likely in a socketcan driver?
If not (or if I can get hold of the hardware), maybe I can reproduce 
that in a VM?

Cheers,

Hubert

      reply	other threads:[~2016-06-14 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-22 10:17 socketcan and libnl3 Hubert Denkmair
2016-06-14 11:05 ` ajneu
2016-06-14 13:57   ` Hubert Denkmair [this message]

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=c6d6b34a0c475ec5cf433c90cfa0c26b@xor.wtf \
    --to=xor@xor.wtf \
    --cc=ajneu1@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).