<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4274&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Linux e1000e module removal and e1000e EEE timer]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4274</link>
		<description><![CDATA[The most recent posts in Linux e1000e module removal and e1000e EEE timer.]]></description>
		<lastBuildDate>Tue, 27 Apr 2021 12:20:04 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29379#p29379</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... same function should be in the driver you compiled yourself and comment that line out there and recompile.</p></div></blockquote></div><p>No idea how that works.<br />Quite happy to actually have been able to compile the driver.</p><p>For some reason I expected to see a <span class="bbc">.config</span> file similar to what I have seen is used to compile a kernel.<br />So I&#039;d check the boxes of the functions I wanted to compile in the driver.<br />But none of that came up.</p><p>And have no idea where to look or how to do it.</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... if that EEE timer has anything to do with the bad shutdown.</p></div></blockquote></div><p>Well ...<br />That is precisely what I am attempting to find out by disabling EEE.<br />Something that (for unknown reasons) seems to be impossible.</p><p>If you had read Part II (post #2) ...&#160; 8^D</p><p>I ran my rig for more than a week without a bad shutdown using the shutdown script described. <br />With EEE (supposedly disabled) and a standard <span class="bbc">shutdown -h now</span> I immediately got a bad shutdown.</p><p>Could be a coincidence?<br />Maybe.</p><p>But I also got a line which would seem to be evidence of the <span class="bbc">EEE TX LPI Timer</span> being active at shutdown, before the system went to <span class="bbc">S5</span> and powered down.&#160; &#160; &#160;<br />This in spite of EEE being disabled albeit with nothing in <span class="bbc">dmesg</span> indicating that it was or it was not, like with <span class="bbc">Smart Power Down Disabled</span>.</p><p>eg: <span class="bbc">e1000e: EEE Disabled</span> or <span class="bbc">e1000e: unknown parameter &#039;eee&#039; ignored</span>.</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... may be wrong.</p></div></blockquote></div><p><em>I</em> may be wrong.<br />But up to &#039;now&#039; everything points to the EEE function in the NIC.</p><p>Would it be OK if we continue with this in PII?<br />That&#039;s where the driver module compilation (if it comes to that) would be discussed.</p><p>Thanks a lot for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 27 Apr 2021 12:20:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29379#p29379</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29378#p29378</link>
			<description><![CDATA[<p>Well the same function should be in the driver you compiled yourself and comment that line out there and recompile. I wonder if that EEE timer has anything to do with the bad shutdown. Though, I may be wrong. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Tue, 27 Apr 2021 11:32:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29378#p29378</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29370#p29370</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... posting my findings here.</p></div></blockquote></div><p>No problem ...<br />But I&#039;ll have to continue with the rest on Part II.<br />You&#039;ll see why.</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... you need to compile your favorite kernel version ...</p></div></blockquote></div><p>Hmm ...<br />Thanks for the suggestion but I&#039;ll pass on that one.<br />I&#039;m not confortable with having to do all that just to be able to disable this EEE crap.&#160; 8^7 </p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>[0] <a href="https://github.com/torvalds/linux/search?q=FLAG2_HAS_EEE" rel="nofollow">https://github.com/torvalds/linux/searc … G2_HAS_EEE</a><br />[1] <a href="https://github.com/torvalds/linux/search?q=e1000e_igp3_phy_powerdown_workaround_ich8lan" rel="nofollow">https://github.com/torvalds/linux/searc … nd_ich8lan</a></p></div></blockquote></div><p>Yes, I saw those links but didn&#039;t understand what was going on.</p><p>I had not done it before so I was rather apprehensive but I managed to follow the instructions and compiled the latest e1000e driver module.</p><p>Please bear with me and see the results of my efforts in PII.&#160; 8^)<br />Thanks a lot for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 26 Apr 2021 22:52:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29370#p29370</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29368#p29368</link>
			<description><![CDATA[<p>I continue posting my findings here. :-)</p><p>Looking at [0], there is just one e1000e device/phy/whatever type of many supporting ethtool EEE queries. Bad luck for you. Looking at [1], I guess you need to compile your favorite kernel version and comment out one line, to see if that helps. The call to <em>e1000e_igp3_phy_powerdown_workaround_ich8lan</em> in <em>drivers/net/ethernet/intel/e1000e/ich8lan.c</em>. Maybe your hardware hangs there, who knows. Maybe is no good on your hardware? Trial and error....</p><div class="quotebox"><cite>e1000e_igp3_phy_powerdown_workaround_ich8lan wrote:</cite><blockquote><div><p>/**<br /> *&#160; e1000_ipg3_phy_powerdown_workaround_ich8lan - Power down workaround on D3<br /> *&#160; @hw: pointer to the HW structure<br /> *<br /> *&#160; Workaround for 82566 power-down on D3 entry:<br /> *&#160; &#160; 1) disable gigabit link<br /> *&#160; &#160; 2) write VR power-down enable<br /> *&#160; &#160; 3) read it back<br /> *&#160; Continue if successful, else issue LCD reset and repeat<br /> **/</p></div></blockquote></div><p>[0] <a href="https://github.com/torvalds/linux/search?q=FLAG2_HAS_EEE" rel="nofollow">https://github.com/torvalds/linux/searc … G2_HAS_EEE</a><br />[1] <a href="https://github.com/torvalds/linux/search?q=e1000e_igp3_phy_powerdown_workaround_ich8lan" rel="nofollow">https://github.com/torvalds/linux/searc … nd_ich8lan</a></p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Mon, 26 Apr 2021 22:17:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29368#p29368</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29283#p29283</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... and hope for the best.</p></div></blockquote></div><p>The plot thickens ...</p><p>Since I set up the <span class="bbc">igb.EEE=0</span> stanza in the kernel command line, things had been coming along well enough.</p><p>But this morning I had another, albeit different, bad shutdown.<br />It had not reared its head for the longest while, probably because it was obscured by the other one.</p><p>This one reboots the box on shutdown with the fans on.<br />Not as bad but still quite annoying.</p><p>I then realised that I had not edited my shutdown script to its previous version.<br />ie: the one disabling WoL before shutting down and had left it at the version that removed the e1000e module before shutting down.</p><p>ie:</p><p>This one ...</p><div class="codebox"><pre><code>#!/bin/sh
# added to troubleshoot nic related bad shutdown 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:

# sync
# remove e1000e module
# shutdown system directly (no shutdownhelper) 
sync &amp;&amp; sudo rmmod -s -v e1000e &amp;&amp; sudo shutdown -h now</code></pre></div><p>instead of this other one ... </p><div class="codebox"><pre><code>#!/bin/sh
# added to troubleshoot nic related bad shutdown 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:

# sync
# disable onboard eth wol
# shutdown system directly (no shutdownhelper) 
sync &amp;&amp; sudo ethtool -s eth0 wol d &amp;&amp; sudo shutdown -h now</code></pre></div><p>Made me think that it was the reason for the <span class="bbc">tty1</span> output being different.<br />ie: no <span class="bbc">e1000e: eth0 NIC Link is Down</span> or <span class="bbc">e1000e: EEE TX LPI TIMER: 00000000</span> in the output.</p><p>And that maybe the <span class="bbc">igb.EEE=0</span> bit was <em>not</em> really working. 8^7</p><p>Once things were as I thought they should be, I rebooted and shutdown while getting a video and got the bad news:</p><p>The <span class="bbc">e1000e: eth0 NIC Link is Down</span> and <span class="bbc">e1000e: EEE TX LPI TIMER: 00000000</span> lines now show in the output again.<br />So, the added stanza does not really work.</p><p>So I decided to make my shutdown script work a bit more and edited it to this version:</p><div class="codebox"><pre><code>#!/bin/sh
# added to troubleshoot nic related bad shutdown 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:

# sync
# disable onboard eth wol
# remove e1000e module
# shutdown system directly (no shutdownhelper) 
sync &amp;&amp; sudo ethtool -s eth0 wol d &amp;&amp; sudo rmmod -s -v e1000e &amp;&amp; sudo shutdown -h now</code></pre></div><p>A shutdown, reboot and video grab later got me this*:<br />* times edited for simplicity&#039;s sake</p><div class="codebox"><pre><code>Devuan GNU/Linux 3 devuan tty1
devuan login: [        ] EXT4-fs (sda1): re-mounted. Opts: (null)
[        ] kvm: exiting hardware virtualization
[        ] sd 8:0:3:0: [sdg] Syncronizing SCSI cache
[        ] sd 8:0:2:0: [sdf] Syncronizing SCSI cache
[        ] sd 5:0:0:0: [sdb] Syncronizing SCSI cache
[        ] sd 5:0:0:0: [sdb] Stopping disk
[        ] sd 4:0:0:0: [sda] Syncronizing SCSI cache
[        ] sd 4:0:0:0: [sda] Stopping disk
[        ] ACPI: Preparing to enter sleep state S5
[        ] reboot: Power down</code></pre></div><p>Looking back, it makes sense as the NIC driver in use is not the <span class="bbc">igb</span> driver but the <span class="bbc">e1000e</span> one.<br />I&#039;ll have to try and see what using the <span class="bbc">e1000e.EEE=0</span> stanza gets me.</p><p><span class="bbu">Edit:</span></p><div class="codebox"><pre><code>groucho@devuan:~$ sudo dmesg | grep e1000e
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-16-amd64 root=UUID=d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 ro acpi_osi=Linux e1000e.eee=0 agp=off apparmor=0 ipv6.disable=1 enable_mtrr_cleanup nmi_watchdog=0
--- snip ---
[    2.158949] e1000e: unknown parameter &#039;eee&#039; ignored
--- snip ---
groucho@devuan:~$</code></pre></div><p>Very sorry for the screw up. 8^7</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 22 Apr 2021 19:55:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29283#p29283</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29262#p29262</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... cause of misbehaving intel NICs wrt EEE are (old!) CAT5 network cables.</p></div></blockquote></div><p>Would not be at all surprised.<br />But I don&#039;t think the POS router my telco provides has any EEE capability, so the problem is probably (in part) there.</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... try with CAT6/7 (S)FTP cable ...</p></div></blockquote></div><p>That could be a solution, <em>if</em> I had any need for EEE, which I don&#039;t.<br />Like I said, I think it is more a hindrance/problem for anything but a portable/non-mains device.<br />And then, after careful consideration of the pros/cons.</p><p>Just how much does a NIC in a portable device use?<br />How much energy is actually saved by adding this layer of complexity to an already very complex device?&#160; </p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>e1000e EEE driver part seems to need to &quot;see&quot; some link layer state ...</p></div></blockquote></div><p>From what I understand, EEE needs both devices (controller <em>and</em> router/switch/other controller) to autonegotiate what/how/when/whatever.<br />Otherwise it does not work.</p><p>More of a problem is (I think) that the Intel&#039;s e1000e driver blocks all access to EEE, both for querying status and changing settings. <br />And that Intel Support makes no mention of it whatsoever and throws Sun under the bus.</p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 21 Apr 2021 09:46:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29262#p29262</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29257#p29257</link>
			<description><![CDATA[<p>And another root cause of misbehaving intel NICs wrt EEE are (old!) CAT5 network cables. <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> <img src="https://dev1galaxy.org/img/smilies/roll.png" width="15" height="15" alt="roll" /> If you want, try with CAT6/7 (S)FTP cable, if you got such old cable. That solved the EEE issues with some, though, I wonder...</p><p>e1000e EEE driver part seems to need to &quot;see&quot; some link layer state and with old cables somehow gets it wrong and enters some bogus state, so that it cannot shutdown properly in your case?! That would be crazy, but I have seen all kind of things already. Always worth to try. <img src="https://dev1galaxy.org/img/smilies/yikes.png" width="15" height="15" alt="yikes" /></p><p>But yeah, its kind of energy savings feature, which is not always necessary. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Wed, 21 Apr 2021 06:14:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29257#p29257</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29248#p29248</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>I have not yet heard from ethtool&#039;s maintainer with respect to that.</p></div></blockquote></div><p>I got a reply from him this afternoon.</p><p>I had asked:</p><div class="quotebox"><blockquote><div><p>What does being able to disable the EEE TX LPI timer in my 2566DM-2 Gbe controller actually depend on?<br />Is it hardwired?<br />If so, could it be solved with a different firmware?</p></div></blockquote></div><p>Here&#039;s a transcription of the relevant part of his reply: </p><div class="quotebox"><blockquote><div><p>In this case, ethtool is almost certainly only a messenger.<br />A request like this is passed to kernel and it&#039;s the NIC driver to either implement it or report that it is not supported.<br />And in your case it&#039;s querying the current setting that fails so it looks like either the device does not support getting and setting EEE parameters or the support in its driver (e1000e) is missing.</p></div></blockquote></div><p>As clear as <em>Perrier</em> ...</p><p>So it&#039;s quite definitely the e1000e driver that is blocking access to both the status and configuration of the EEE settings in the 82566DM-2 GbE controller.<br />No doubt about that because I <em>have</em> been able to disable it completely via the <span class="bbc">igb.EEE=0</span> bit added to the kernel command line.</p><p>What is really irritating is that Intel Ethernet Products support insisted from the start that the only way to get it done was either through <span class="bbc">ethtool</span> or <span class="bbc">modprobe</span>, something which I repetedly reported as being non-working solutions:</p><p>This is the last I heard from them back in 01/2019:</p><div class="quotebox"><cite>Intel Ethernet Products wrote:</cite><blockquote><div><p><em>We typically turn off EEE using ethtool. Another method to do this is through modprobe as described in the readme for e1000e (<a href="https://downloadmirror.intel.com/15817/eng/readme.txt" rel="nofollow">https://downloadmirror.intel.com/15817/eng/readme.txt</a>). It is not normal that EEE cannot be turned off with the previous methods, so it may be a change on the OEM end, and we are not aware of the modifications made by Sun. We strongly recommend to check with them on the root cause of your issue. Best regards ...</em></p></div></blockquote></div><p>Draw your own conclusions.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 20 Apr 2021 21:19:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29248#p29248</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29223#p29223</link>
			<description><![CDATA[<div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... above-mentioned link says something different AFAIUI.</p></div></blockquote></div><p>I&#039;ll have another look.</p><p>Maybe I missed something.<br />Thanks for the heads up.</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... use the latest kernel with its newest e1000e driver ...</p></div></blockquote></div><p>From what I have seen, the e1000e driver has always been very problematic, its link to the Intel ME and how it works probably having much to do with that being so.<br />ie: up to now, an Intel network controller has been essential for IME to work. </p><p>The fact that I cannot disable my GbE controller (WTF?) or access <em>all</em> of its settings in Linux via the tool used to that effect (ethtool) speaks volumes. <br />I have not yet heard from ethtool&#039;s maintainer with respect to that.</p><p>Problems with this driver are known to exist as far back as 2012 (!) and it seems that, almost 10 years later, things have not changed much.<br />From where I sit, I don&#039;t see any need for the EEE feature in a desktop, workstation or server.<br />To me it is just another layer of complication, so I want it turned off.</p><p>I posted the solution I found to the Intel e1000e support forum.<br />But haven&#039;t heard from them yet and it&#039;s quite possible I won&#039;t. </p><p>In my view, this EEE thing it is only useful (and only to a limited extent) in a portable, battery operated device or one in which the network component tends to run hot.<br />eg: some SoCs </p><p>And the same goes for any other energy saving <em>features</em> they come up with.</p><p>If disabling the controller&#039;s EEE does effectively do away with the bad shutdown problem I have, that will be it for the time being.<br />I&#039;ll upgrade my kernels conservatively, as I have always done.<br />Which is why I ultimately chose Debian as my distribution.<br />And when the developers/maintainers turned into DebHoles, moved to Devuan.</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... and hope for the best.</p></div></blockquote></div><p>Hope is in very short supply in this day and age.<br />I&#039;d rather use the little there is for other, more important things.&#160; 8^D!</p><p>Thanks a lot for you input, your post steered me in the right direction.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 20 Apr 2021 11:42:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29223#p29223</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29218#p29218</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>But the <em>last</em> information you would get would be the <span class="bbc">tty1</span> output, ...</p></div></blockquote></div><p>I wonder, the above-mentioned link says something different AFAIUI. But it seems to be the best to use the latest kernel with its newest e1000e driver and hope for the best. <img src="https://dev1galaxy.org/img/smilies/roll.png" width="15" height="15" alt="roll" /></p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Tue, 20 Apr 2021 06:22:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29218#p29218</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29216#p29216</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... this kernel (early) log piped to serial line feature.<br />... works for shutdown, too?</p></div></blockquote></div><p>I suppose it would.</p><p>But the <em>last</em> information you would get would be the <span class="bbc">tty1</span> output, up to where the screen reads <span class="bbc">reboot: Power down</span> but doesn&#039;t power down and stays there.<br />Like you pointed out, waiting for a signal that it will never receive.</p><p>There&#039;s nothing more after that because at that stage, the OS is in a frozen and totally unresponsive state.<br />The only way out of that is a hard shutdown.</p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 19 Apr 2021 22:50:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29216#p29216</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29214#p29214</link>
			<description><![CDATA[<p>Hmm, on a second thought. For embedded hardware, there is this kernel (early) log piped to serial line feature. To debug early errors. I wonder if that feature works for shutdown, too?! To debug late errors? Never actually used that feature. At some point mounts are ro, right, and gfx stops updates to monitor. Is there some kernel commandline to activate that for debian kernels?</p><p>See: <a href="https://kernelnewbies.org/Linux_Kernel_Tester%27s_Guide_Chapter3" rel="nofollow">https://kernelnewbies.org/Linux_Kernel_ … e_Chapter3</a></p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Mon, 19 Apr 2021 21:47:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29214#p29214</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29213#p29213</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... see kernel log of the shutdown.<br />... needs to be configured to generate them.<br />... check <em>/var/log/kern.log*</em> ...</p></div></blockquote></div><p>Yes, that would be <span class="bbc">/var/log/kern.log</span>.</p><p>But at that stage, (preparing to enter S5), <em>all</em> system files are read only.<br />ie: all drives have been synced and stopped, the last one being the one with the <span class="bbc">/boot</span> partition.</p><p>I have never found <em>any</em> useful data with respect to this bad shutdown problem in the log files.<br />It happens when no one is looking and save for the useless and volatile <span class="bbc">tty1</span> printout, leaves no trace behind. 8^7</p><p>According to <span class="bbc">/var/log/auth.log</span>, I added the <span class="bbc">igb.EEE=0</span> instruction to the kernel command line @08:27.<br />I then shutdown and got another bad shutdown instance.</p><p>But the kernel line addition was <em>not</em> active yet, so that bad shutdown only means that everything done to that point had had no effect. <br />Nothing new ...</p><p>These are the kernel log entries from that time forward, the last one at shutdown and the first one at boot:</p><div class="codebox"><pre><code>groucho@devuan:/var/log$ tail -6000 kern.log
--- snip ---
Apr 19 08:29:27 devuan kernel: [ 3556.858961] e1000e: eth0 NIC Link is Down                                           &lt;--- | fix not active |
Apr 19 08:31:30 devuan kernel: [    0.000000] microcode: microcode updated early to revision 0xa0b, date = 2010-09-28 &lt;--- | fix active |
--- snip ---
Apr 19 08:45:16 devuan kernel: [  858.318960] e1000e: eth0 NIC Link is Down
Apr 19 08:47:43 devuan kernel: [    0.000000] microcode: microcode updated early to revision 0xa0b, date = 2010-09-28
--- snip ---
Apr 19 08:48:06 devuan kernel: [   58.328174] e1000e: eth0 NIC Link is Down
Apr 19 08:50:08 devuan kernel: [    0.000000] microcode: microcode updated early to revision 0xa0b, date = 2010-09-28
--- snip ---
Apr 19 11:42:27 devuan kernel: [10373.487079] e1000e: eth0 NIC Link is Down
Apr 19 12:51:32 devuan kernel: [    0.000000] microcode: microcode updated early to revision 0xa0b, date = 2010-09-28
--- snip ---
Apr 19 16:08:27 devuan kernel: [ 2166.724262] e1000e: eth0 NIC Link is Down
Apr 19 16:10:32 devuan kernel: [    0.000000] microcode: microcode updated early to revision 0xa0b, date = 2010-09-28
--- snip ---
groucho@devuan:/var/log$</code></pre></div><p>Nothing in the log after the NIC is down.<br />The fact that the <span class="bbc">tty1</span> print out has no entries indicating the status of the NIC link or EEE (always present before) would seem to imply that we may be on the right track.</p><p>Now I just have to wait 15 days and see if stanza added to the kernel command line actually fixed the problem.<br />A &#039;bad shutdown&#039; quarantine if you&#039;ll willing to pardon the pun.</p><p>Thanks a lot for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 19 Apr 2021 19:58:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29213#p29213</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29211#p29211</link>
			<description><![CDATA[<p>The next step is to see kernel log of the shutdown. Dunno, if it needs to be configured to generate them. You could check <em>/var/log/kern.log*</em>, if there is a kernel oops or such.</p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Mon, 19 Apr 2021 17:25:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29211#p29211</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29206#p29206</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>Just the symptoms from the far.</p></div></blockquote></div><p>I have found a way to disable this Energy-Efficient Ethernet thing in my Intel e1000e on-board controller.</p><p>Where the ethool utility has no access, the kernel does: adding <span class="bbc">igb.EEE=0</span> to the kernel cmdline disables EEE during boot.</p><p><a href="https://www.toradex.com/community/questions/14403/how-to-disable-energy-efficient-ethernet.html" rel="nofollow">https://www.toradex.com/community/quest … ernet.html</a></p><p>This EEE issue seems to be something that has been around for a long time:<br /><a href="https://thatbytes.co.uk/posts/fun-with-energy-efficient-ethernet-poweredge-720-i350-controller/" rel="nofollow">https://thatbytes.co.uk/posts/fun-with- … ontroller/</a>&#160; &#160;&lt;---&#160; 05/2012!</p><p><span class="bbu">EDIT:</span><br />Doing all this again helped me remember that at one time (back in 2019) I tried solving this problem by adding the stanza <span class="bbc">e1000e.EEE=0</span> to the kernel command line.<br />It did <em>not</em> work: the <span class="bbc">e1000e: EEE TX LPI TIMER: 00000000</span> bit was also present in the <span class="bbc">tty1</span> output in case of a normal shutdown and the bad shutdowns kept happening.</p><p>See <a href="https://www.linuxquestions.org/questions/linux-hardware-18/shutdown-problem-e1000-driver-bug-4175643746/page3.html#post5954899" rel="nofollow">https://www.linuxquestions.org/question … ost5954899</a></p><div class="quotebox"><blockquote><div><p>Basically in order for EEE to kick in both devices need negotiate ...<br />... but the switch didn’t support this ...</p></div></blockquote></div><p>Maybe my ISP provided <em>cheapo</em> router does not (most probably) support EEE.<br />But I was already having this problem when I was on a shared WiFi connection.</p><p>But not everything is good news.<br />After setting this parameter and rebooting to see the results, I got a bad shudown, albeit without the presence of the <span class="bbc">e1000e: EEE TX LPI TIMER: 00000000</span> bit:</p><div class="codebox"><pre><code>Devuan GNU/Linux 3 devuan tty1
devuan login: [   864.785061] EXT4-fs (sda1): re-mounted. Opts: (null)
[   864.824466] kvm: exiting hardware virtualization
[   864.910856] sd 7:0:3:0: [sde] Syncronizing SCSI cache
[   864.911235] sd 7:0:2:0: [sdd] Syncronizing SCSI cache
[   864.911634] sd 5:0:0:0: [sda] Syncronizing SCSI cache
[   864.913092] sd 5:0:0:0: [sda] Stopping disk
[   865.013903] ACPI: Preparing to enter sleep state S5
[   865.014444] reboot: Power down</code></pre></div><p>Note that there are no lines referring to the status of the NIC link or EEE:<br />ie:<br /><span class="bbc">e1000e: eth0 NIC Link is Down</span> or <span class="bbc">e1000e: EEE TX LPI TIMER: 00000000</span>.</p><p>Maybe (?) the bad shutdown was a consequence of having disabled EEE on the controller.<br />Won&#039;t know till at least 15 days go by without another bad shutdown. </p><p>Meanwhile, I&#039;ll enjoy my having found this tidbit of information.</p><p>[rant]<br />Information I asked for but the DHs at Intel e1000e support were unable to give me.<br />I&#039;ll assume that they did not know what I was talking about.<br />[/rant]</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 19 Apr 2021 12:34:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29206#p29206</guid>
		</item>
	</channel>
</rss>
