[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 07 Jul 2011 18:03:54 +0100
From: Ben Hutchings <bhutchings@...arflare.com>
To: Arkadiusz Miskiewicz <a.miskiewicz@...il.com>
Cc: "Brandeburg, Jesse" <jesse.brandeburg@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
e1000-devel <e1000-devel@...ts.sourceforge.net>
Subject: Re: 3.0.0rc6: ethtool not working without a cable
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists