netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Hutchings <bhutchings@solarflare.com>
To: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>
Cc: "Brandeburg, Jesse" <jesse.brandeburg@intel.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	e1000-devel <e1000-devel@lists.sourceforge.net>
Subject: Re: 3.0.0rc6: ethtool not working without a cable
Date: Thu, 07 Jul 2011 18:03:54 +0100	[thread overview]
Message-ID: <1310058234.3227.0.camel@bwh-desktop> (raw)
In-Reply-To: <201107071847.14362.a.miskiewicz@gmail.com>

On Thu, 2011-07-07 at 18:47 +0200, Arkadiusz Miskiewicz wrote:
> On Wednesday 06 of July 2011, Arkadiusz Miskiewicz wrote:
> > On Wednesday 06 of July 2011, Brandeburg, Jesse wrote:
> > > On Wed, 2011-07-06 at 08:26 -0700, Ben Hutchings wrote:
> > > > On Wed, 2011-07-06 at 16:53 +0200, Arkadiusz Miskiewicz wrote:
> > > > > On Wednesday 06 of July 2011, Ben Hutchings wrote:
> > > > > > On Wed, 2011-07-06 at 13:38 +0200, Arkadiusz Miskiewicz wrote:
> > > > > > > 3.0.0rc6, thinkpad t400 notebook.
> > > > > > > 
> > > > > > > If there is no cable then ethtool reports no device. It wasn't
> > > > > > > that before AFAIK.
> > > > > > > 
> > > > > > > ethtool version 2.6.36
> > > 
> > > snip
> > > 
> > > > Then the only other explanation I can think of is that the driver has
> > > > 'detached' the device due to some kind of error.  The ethtool core does
> > > > have a check for that.
> > > 
> > > could it be that aspm is enabled
> > 
> > I have CONFIG_PCIEASPM=y
> > 
> > > or that you've enabled runtime power
> > > management?
> > 
> > In e1000e? no (unless it's default somehow).
> 
> And if this is normal behaviour (when apsm is enabled) then maybe ethtool 
> could disable apsm/power management for device for time of querying?

No, it's a driver bug if the device comes up in a 'detached' state.

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.


  reply	other threads:[~2011-07-07 17:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06 11:38 3.0.0rc6: ethtool not working without a cable Arkadiusz Miskiewicz
2011-07-06 14:28 ` Ben Hutchings
2011-07-06 14:53   ` Arkadiusz Miskiewicz
2011-07-06 15:26     ` Ben Hutchings
2011-07-06 16:52       ` Brandeburg, Jesse
2011-07-06 16:57         ` Arkadiusz Miskiewicz
2011-07-07 16:47           ` Arkadiusz Miskiewicz
2011-07-07 17:03             ` Ben Hutchings [this message]
2011-07-20 17:53     ` Brandeburg, Jesse
2011-07-20 17:57       ` Arkadiusz Miskiewicz

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=1310058234.3227.0.camel@bwh-desktop \
    --to=bhutchings@solarflare.com \
    --cc=a.miskiewicz@gmail.com \
    --cc=e1000-devel@lists.sourceforge.net \
    --cc=jesse.brandeburg@intel.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).