lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 7 Jul 2011 18:47:14 +0200
From:	Arkadiusz Miskiewicz <a.miskiewicz@...il.com>
To:	"Brandeburg, Jesse" <jesse.brandeburg@...el.com>
Cc:	Ben Hutchings <bhutchings@...arflare.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 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?

-- 
Arkadiusz Miƛkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ