netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <hawk@diku.dk>
To: Andrew Brooks <arb@sat.dundee.ac.uk>
Cc: Linux Net-Dev Mailing List <netdev@vger.kernel.org>,
	Jesper Brouer <brouer@redhat.com>
Subject: Re: How to debug a driver which hangs (niu)?
Date: Wed, 14 Aug 2013 15:30:35 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.1308141525110.25045@ask.diku.dk> (raw)
In-Reply-To: <CAHOfOo0kYpa3OtJ2w5xzdi=V6ccm9PKNJ8Pzj+7avNPmZDr9Gg@mail.gmail.com>


On Mon, 12 Aug 2013, Andrew Brooks wrote:

> I'm using a network driver (niu) which regularly locks-up after
> printing the message "transmit timed out"
> (i.e. nothing else can be sent/received over that interface after the event).

What kernel version are you using?
I seem to remember to have fixed an issue with NIU driver, long time ago.


> Does anyone have any tips for helping me to debug this?

First thing you could do is to increase the message level in the driver (I 
remeber NIU uses these msglvl settings).

By command:
  ethtool -s eth0 msglvl $((0x7fff))

View the message level by command:
  ethtool eth0


Cheers,
   Jesper Brouer

--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------

      reply	other threads:[~2013-08-14 14:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12 15:06 How to debug a driver which hangs (niu)? Andrew Brooks
2013-08-14 13:30 ` Jesper Dangaard Brouer [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=Pine.LNX.4.64.1308141525110.25045@ask.diku.dk \
    --to=hawk@diku.dk \
    --cc=arb@sat.dundee.ac.uk \
    --cc=brouer@redhat.com \
    --cc=netdev@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).