<?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=4291&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4291</link>
		<description><![CDATA[The most recent posts in Linux e1000e module removal and e1000e EEE timer - Part II.]]></description>
		<lastBuildDate>Thu, 13 May 2021 19:56:13 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29802#p29802</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>... and report back.</p></div></blockquote></div><p>Done.</p><div class="codebox"><pre><code>groucho@devuan:~$ uname -a
Linux devuan 5.10.0-0.bpo.3-amd64 #1 SMP Debian 5.10.13-1~bpo10+1 (2021-02-11) x86_64 GNU/Linux
groucho@devuan:~$ </code></pre></div><div class="codebox"><pre><code>groucho@devuan:~$  apt policy nvidia-legacy-340xx-kernel-dkms
nvidia-legacy-340xx-kernel-dkms:
  Installed: 340.108-10~bpo10+1
  Candidate: 340.108-10~bpo10+1
  Version table:
 *** 340.108-10~bpo10+1 100
        100 http://deb.devuan.org/merged beowulf-backports/non-free amd64 Packages
        100 /var/lib/dpkg/status
     340.108-3~deb10u1 500
        500 http://deb.devuan.org/merged beowulf/non-free amd64 Packages
groucho@devuan:~$ </code></pre></div><p>Q: what does <span class="bbc">***</span> after <span class="bbc">Version table:</span> mean?</p><p>With respect to <span class="bbc">e1000e-3.8.7</span>, I guess now it&#039;s time to wait and see if there&#039;s another bad_shutdown or bad_boot and if they leave any trace<br />Maybe the additons to <span class="bbc">/etc/default/acpi-support</span> have some effect?</p><p>---<br /><span class="bbu">Edit:</span><br />Last night I realised that the <span class="bbc">e1000e</span> driver module now put in use by the 5.10 kernel upgrade was most probably the current one ie: <span class="bbc">e1000e-3.8.7</span>.<br />But I had not applied the five patches, so that&#039;s done now.<br />---</p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 13 May 2021 19:56:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29802#p29802</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29801#p29801</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>Did you try nvidia drivers from backports / <strong>non-free</strong>?</p></div></blockquote></div><p>Yes.<br />I do have that in my /etc/apt/sources.list.<br />Must be a question of package priorities.</p><p>Will have to specifically install that: <span class="bbc">apt install nvidia-legacy-340xx-kernel-dkms/stable-backports</span><br />I&#039;ll get it done and report back.</p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 13 May 2021 17:17:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29801#p29801</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29770#p29770</link>
			<description><![CDATA[<p>Did you try nvidia drivers from backports / <strong>non-free</strong>?<br />See: <a href="https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&amp;q=nvidia-legacy-340xx-driver-bin=340.108-10~bpo10+1" rel="nofollow">https://pkginfo.devuan.org/cgi-bin/pack … 10~bpo10+1</a></p><p>And there are other packages for that from backports/non-free. That seems to be supported by kernel 5.10.</p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Thu, 13 May 2021 07:36:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29770#p29770</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29768#p29768</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>I&#039;ll apply patch 1005 and report back with whatever results I get.</p></div></blockquote></div><p>Right, here we go.</p><div class="codebox"><pre><code>groucho@devuan:/usr/src/e1000e-3.8.7$ sudo patch -p0 -i /usr/src/e1000e-patch/1005-e1000e_387_pm_freeze_sane_detach.patch
patching file src/netdev.c
groucho@devuan:/usr/src/e1000e-3.8.7$</code></pre></div><div class="codebox"><pre><code>groucho@devuan:/usr/src/e1000e-3.8.7/src$ sudo make
make[1]: Entering directory &#039;/usr/src/linux-headers-4.19.0-16-common&#039;
make[2]: Entering directory &#039;/usr/src/linux-headers-4.19.0-16-amd64&#039;
  CC [M]  /usr/src/e1000e-3.8.7/src/netdev.o
/usr/src/e1000e-3.8.7/src/netdev.c: In function &#039;e1000e_pm_freeze&#039;:
/usr/src/e1000e-3.8.7/src/netdev.c:7401:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   int count = E1000_CHECK_RESET_COUNT;
   ^~~
  LD [M]  /usr/src/e1000e-3.8.7/src/e1000e.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /usr/src/e1000e-3.8.7/src/e1000e.mod.o
  LD [M]  /usr/src/e1000e-3.8.7/src/e1000e.ko
make[2]: Leaving directory &#039;/usr/src/linux-headers-4.19.0-16-amd64&#039;
make[1]: Leaving directory &#039;/usr/src/linux-headers-4.19.0-16-common&#039;
groucho@devuan:/usr/src/e1000e-3.8.7/src$</code></pre></div><div class="codebox"><pre class="vscroll"><code>groucho@devuan:/usr/src/e1000e-3.8.7/src$ sudo modinfo /usr/src/e1000e-3.8.7/src/e1000e.ko
filename:       /usr/src/e1000e-3.8.7/src/e1000e.ko
version:        3.8.7-NAPI
license:        GPL
description:    Intel(R) PRO/1000 Network Driver
author:         Intel Corporation, &lt;linux.nics@intel.com&gt;
srcversion:     7C3F06437067F7EF077432C
alias:          pci:v00008086d00001A1Dsv*sd*bc*sc*i*
--- snip ---
alias:          pci:v00008086d0000105Esv*sd*bc*sc*i*
depends:
retpoline:      Y
name:           e1000e
vermagic:       4.19.0-16-amd64 SMP mod_unload modversions
parm:           copybreak:Maximum size of packet that is copied to a new buffer on receive (uint)
parm:           TxIntDelay:Transmit Interrupt Delay (array of int)
parm:           TxAbsIntDelay:Transmit Absolute Interrupt Delay (array of int)
parm:           RxIntDelay:Receive Interrupt Delay (array of int)
parm:           RxAbsIntDelay:Receive Absolute Interrupt Delay (array of int)
parm:           InterruptThrottleRate:Interrupt Throttling Rate (array of int)
parm:           IntMode:Interrupt Mode (array of int)
parm:           SmartPowerDownEnable:Enable PHY smart power down (array of int)
parm:           KumeranLockLoss:Enable Kumeran lock loss workaround (array of int)
parm:           CrcStripping:Enable CRC Stripping, disable if your BMC needs the CRC (array of int)
parm:           EEE:Enable/disable on parts that support the feature (array of int)
parm:           Node:[ROUTING] Node to allocate memory on, default -1 (array of int)
parm:           debug:Debug level (0=none,...,16=all) (int)
groucho@devuan:/usr/src/e1000e-3.8.7/src$</code></pre></div><p><span class="bbc">dmesg</span> at boot</p><div class="codebox"><pre><code>groucho@devuan:~$ sudo dmesg | grep -i &quot;e1000e\|00:19&quot;
[    1.079755] pci 0000:00:19.0: [8086:10bd] type 00 class 0x020000
[    1.079770] pci 0000:00:19.0: reg 0x10: [mem 0xf5fc0000-0xf5fdffff]
[    1.079776] pci 0000:00:19.0: reg 0x14: [mem 0xf5ffe000-0xf5ffefff]
[    1.079783] pci 0000:00:19.0: reg 0x18: [io  0xac00-0xac1f]
[    1.079830] pci 0000:00:19.0: PME# supported from D0 D3hot D3cold
[    2.147352] e1000e: loading out-of-tree module taints kernel.
[    2.215009] e1000e: module verification failed: signature and/or required key missing - tainting kernel
[    2.316026] e1000e: Intel(R) PRO/1000 Network Driver - 3.8.7-NAPI
[    2.333730] e1000e: Copyright(c) 1999 - 2020 Intel Corporation.
[    2.357402] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    2.368687] e1000e 0000:00:19.0: PHY Smart Power Down Disabled
[    2.390290] e1000e 0000:00:19.0: EEE Support was initialized to be enabled
[    2.412085] e1000e 0000:00:19.0: EEE Support has been reset to be disabled
[    2.897162] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:14:4f:4a:a2:81
[    2.897164] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    2.897182] e1000e 0000:00:19.0 eth0: MAC: 7, PHY: 6, PBA No: FFFFFF-0FF
[   27.302085] e1000e 0000:00:19.0 eth0: NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[   27.314226] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
groucho@devuan:~$</code></pre></div><p><span class="bbc">dmesg</span> for <span class="bbc">rmmod -v e1000e</span></p><div class="codebox"><pre class="vscroll"><code>groucho@devuan:~$ sudo dmesg
--- snip ---
[10140.513586] e1000e: PCI REMOVE PTP
[10140.513590] e1000e: PCI REMOVE TIMER
[10140.513593] e1000e: PCI REMOVE CANCEL WORK SYNC
[10140.513595] e1000e: PCI REMOVE HW TIMESTAMP
[10140.513617] e1000e: NETDEV CLOSE ENTERED
[10140.513619] e1000e: NETDEV CLOSE WAIT DONE
[10140.513620] e1000e: NETDEV CLOSE DEV IS PRESENT
[10140.741067] e1000e: NETDEV CLOSE DEV IS DOWN
[10140.741081] e1000e: NETDEV CLOSE FREE IRQ
[10140.741086] e1000e 0000:00:19.0 eth0: NIC Link is Down
[10140.741087] e1000e: NETDEV CLOSE LINK DOWN MSG
[10140.741089] e1000e: NETDEV CLOSE NAPI DISABLED
[10140.741099] e1000e: NETDEV CLOSE FREE TX RES
[10140.741121] e1000e: NETDEV CLOSE FREE RX RES
[10140.741123] e1000e: NETDEV CLOSE VLAN DONE
[10140.741125] e1000e: NETDEV CLOSE HW CTRL RELEASED
[10140.741128] e1000e: NETDEV CLOSE DONE
[10140.756902] e1000e: PCI REMOVE UNREGISTER NETDEV
[10140.756908] e1000e: PCI REMOVE WAKE NO RESUME
[10140.756911] e1000e: PCI REMOVE RELEASE HW CONTROL
[10140.756951] e1000e: PCI REMOVE INT AND TX RX RING
[10140.756968] e1000e: PCI REMOVE SELECTED REGIONS
[10140.772962] e1000e: PCI REMOVE FREE NETDEV
[10140.772965] e1000e: PCI REMOVE DISABLE ERR REPORTING
[10140.773065] e1000e: PCI REMOVE DISABLE DEVICE
--- snip ---
groucho@devuan:~$</code></pre></div><p><span class="bbc">dmesg</span> for <span class="bbc">modprobe -v e1000e</span></p><div class="codebox"><pre><code>groucho@devuan:~$ sudo dmesg
--- snip ---
[10200.634814] e1000e: Intel(R) PRO/1000 Network Driver - 3.8.7-NAPI
[10200.634819] e1000e: Copyright(c) 1999 - 2020 Intel Corporation.
[10200.635004] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[10200.635007] e1000e 0000:00:19.0: PHY Smart Power Down Disabled
[10200.635008] e1000e 0000:00:19.0: EEE Support was initialized to be enabled
[10200.635010] e1000e 0000:00:19.0: EEE Support has been reset to be disabled
[10200.949099] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:14:4f:4a:a2:81
[10200.949104] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[10200.949129] e1000e 0000:00:19.0 eth0: MAC: 7, PHY: 6, PBA No: FFFFFF-0FF
[10202.829745] e1000e 0000:00:19.0 eth0: NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[10202.829854] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
groucho@devuan:~$</code></pre></div><p>Seems everything is where/how it should be?</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Thu, 13 May 2021 00:03:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29768#p29768</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29767#p29767</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... here it shuts down properly...</p></div></blockquote></div><p>Any idea why it would not shut down properly in my box?<br />How can I troubleshoot that?</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>Last patch:<br /><a href="https://geki.selfhost.eu/hacks/1005-e1000e_387_pm_freeze_sane_detach.patch" rel="nofollow">https://geki.selfhost.eu/hacks/1005-e10 … tach.patch</a></p></div></blockquote></div><p>Right.<br />Thanks. 8^) </p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... if your system entered sleep and e1000e called the pm_freeze function things could be corrupted, indeed.</p></div></blockquote></div><p>Which ones?</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... next shutdown and start may go boom?!</p></div></blockquote></div><p>Nah !&#160; &#160;8^D</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... WoL, too tricky ...<br />... disable WoL command early in boot process ...</p></div></blockquote></div><p>That&#039;s what I am <span class="bbu">already</span> doing, remember?</p><p>First at <span class="bbc">/etc/rc.local</span> ...</p><div class="codebox"><pre><code>groucho@devuan:~$ cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will &quot;exit 0&quot; on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# to set all /proc/acpi/wakeup entries to &#039;disabled&#039;
# no wakeup from S4 for anything
# does not survire reboot that&#039;s why it is here
# see https://dev1galaxy.org/viewtopic.php?pid=29113#p29113
/usr/local/bin/acpi_wakeups.sh

# to disable wol via ethtool at boot
# does not survire reboot that&#039;s why it is here
/sbin/ethtool -s eth0 wol d
groucho@devuan:~$ </code></pre></div><p>... and just in case some #%&amp;?¡ <em>whatever</em> decides differently, with my shutdown script:</p><div class="codebox"><pre><code>groucho@devuan:~$ cat /usr/bin/shutdown.sh
#!/bin/sh
# added to shutdown directly - no shutdown helper 
# options added to troubleshoot nic related bad shutdown 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:

# 2
# sync
# disable onboard eth wol
# shutdown system directly 
sync &amp;&amp; sudo ethtool -s eth0 wol d &amp;&amp; sudo shutdown -h now</code></pre></div><p>I&#039;ve come across a couple of pages related to PM and <span class="bbc">/etc/default/acpi-support</span>.<br />As <span class="bbc">acpi-support</span> seesm to have been deprecated long ago, I had to look around for oldish pages or get <span class="bbc">systemd</span> only hits. </p><p>I added the links to the file so as to remember where it all came from: </p><div class="codebox"><pre><code>groucho@devuan:~$ cat /etc/default/acpi-support
# comment the next line to disable ACPI suspend to RAM
# ACPI_SLEEP=true
ACPI_SLEEP=false

# comment the next line to disable suspend to disk
# ACPI_HIBERNATE=true
ACPI_HIBERNATE=true

# added 20210511
# see https://forums.linuxmint.com/viewtopic.php?t=43068
# https://askubuntu.com/questions/47311/how-do-i-disable-my-system-from-going-to-sleep
SUSPEND_METHODS=&quot;none&quot;
groucho@devuan:~$ </code></pre></div><p>With respect to the &gt;5.5 kernel upgrade:<br />I installed 5.10 but there are no drivers for my Nvidia cards.<br />It seems that the <span class="bbc">nvidia-340xx-legacy</span> driver used by my <span class="bbu">perfectly working</span> Nvidia Quadro FX 580 cards has fallen out of favour with the powers that be.<br />And from what I have read, caused a lot of noise.</p><p>I think Manjaro and Ubuntu have put out patches, I expect Debian/Devuan will follow suit. (?)<br />So I&#039;ll have to wait.</p><p>I&#039;m not going to give up my 580&#039;s or use nouveau, unless it improves.<br />They still have a few years left in them.</p><p>I&#039;ll apply patch 1005 and report back with whatever results I get.</p><p>Thank you very much for your help.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 12 May 2021 21:42:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29767#p29767</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29763#p29763</link>
			<description><![CDATA[<p>Yes, here it shuts down properly...</p><p>Last patch:<br /><a href="https://geki.selfhost.eu/hacks/1005-e1000e_387_pm_freeze_sane_detach.patch" rel="nofollow">https://geki.selfhost.eu/hacks/1005-e10 … tach.patch</a></p><p>On a second thought, if your system entered sleep and e1000e called the pm_freeze function things could be corrupted, indeed. And next shutdown and start may go boom?! Another wild guess. <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>And for WoL, too tricky to patch actually. I just recommend you to set the ethtool disable WoL command early in boot process and not before shutdown. <img src="https://dev1galaxy.org/img/smilies/cool.png" width="15" height="15" alt="cool" /> e heh. Just because we want it to stay put from the beginning. <img src="https://dev1galaxy.org/img/smilies/roll.png" width="15" height="15" alt="roll" /></p><p>And yes, with this I am out of thoughts....</p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Wed, 12 May 2021 20:32:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29763#p29763</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29728#p29728</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>You got that <span class="bbc">PCI REMOVE</span> prints once out of <span class="bbc">dmesg</span>?</p></div></blockquote></div><p>Yes.<br />I posted them at your request.</p><p>But I got them <em>only</em> after a <span class="bbc">rmmod e1000e</span> and <span class="bbc">modprobe -v e1000e</span> cycle:</p><div class="codebox"><pre class="vscroll"><code>groucho@devuan:~$ sudo dmesg
--- snip ---
[    1.805846] e1000e: loading out-of-tree module taints kernel.    
[    1.808975] ACPI: Power Button [PWRB]
[    1.851745] e1000e: module verification failed: signature and/or required key missing - tainting kernel
[    1.851839] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[    1.873915] ACPI: Power Button [PWRF]
[    1.894607] SCSI subsystem initialized
[    1.906926] ACPI: bus type USB registered
[    1.917645] usbcore: registered new interface driver usbfs
[    1.934103] Fusion MPT base driver 3.04.20
[    1.944731] Copyright (c) 1999-2008 LSI Corporation
[    1.945571] usbcore: registered new interface driver hub
[    1.966487] usbcore: registered new device driver usb
[    1.979636] e1000e: Intel(R) PRO/1000 Network Driver - 3.8.7-NAPI
[    1.990206] e1000e: Copyright(c) 1999 - 2020 Intel Corporation.
[    2.002032] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    2.013157] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[    2.021243] e1000e 0000:00:19.0: PHY Smart Power Down Disabled
[    2.039474] e1000e 0000:00:19.0: EEE Support was initialized to be enabled
[    2.050107] e1000e 0000:00:19.0: EEE Support has been reset to be disabled
--- snip ----
[  431.874537] e1000e: PCI REMOVE PTP     &lt;-- here is rmmod e1000e
[  431.874542] e1000e: PCI REMOVE TIMER
[  431.874546] e1000e: PCI REMOVE CANCEL WORK SYNC
[  431.874547] e1000e: PCI REMOVE HW TIMESTAMP
[  431.874572] e1000e: NETDEV CLOSE ENTERED
[  431.874573] e1000e: NETDEV CLOSE WAIT DONE
[  431.874575] e1000e: NETDEV CLOSE DEV IS PRESENT
[  432.104194] e1000e: NETDEV CLOSE DEV IS DOWN
[  432.104210] e1000e: NETDEV CLOSE FREE IRQ
[  432.104215] e1000e 0000:00:19.0 eth0: NIC Link is Down
[  432.104217] e1000e: NETDEV CLOSE LINK DOWN MSG
[  432.104218] e1000e: NETDEV CLOSE NAPI DISABLED
[  432.104228] e1000e: NETDEV CLOSE FREE TX RES
[  432.104251] e1000e: NETDEV CLOSE FREE RX RES
[  432.104252] e1000e: NETDEV CLOSE VLAN DONE
[  432.104254] e1000e: NETDEV CLOSE HW CTRL RELEASED
[  432.104257] e1000e: NETDEV CLOSE DONE
[  432.120067] e1000e: PCI REMOVE UNREGISTER NETDEV
[  432.120072] e1000e: PCI REMOVE WAKE NO RESUME
[  432.120075] e1000e: PCI REMOVE RELEASE HW CONTROL
[  432.120110] e1000e: PCI REMOVE INT AND TX RX RING
[  432.120123] e1000e: PCI REMOVE SELECTED REGIONS
[  432.140044] e1000e: PCI REMOVE FREE NETDEV
[  432.140048] e1000e: PCI REMOVE DISABLE ERR REPORTING
[  432.140164] e1000e: PCI REMOVE DISABLE DEVICE
-----------------------------------------------------------------------------------------------------------------------------------
[  443.741628] e1000e: Intel(R) PRO/1000 Network Driver - 3.8.7-NAPI      &lt;--- here is modprobe -v e1000e
[  443.741632] e1000e: Copyright(c) 1999 - 2020 Intel Corporation.
[  443.741822] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[  443.741824] e1000e 0000:00:19.0: PHY Smart Power Down Disabled
[  443.741826] e1000e 0000:00:19.0: EEE Support was initialized to be enabled
[  443.741827] e1000e 0000:00:19.0: EEE Support has been reset to be disabled
[  444.060221] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:14:4f:4a:a2:81
[  444.060227] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[  444.060251] e1000e 0000:00:19.0 eth0: MAC: 7, PHY: 6, PBA No: FFFFFF-0FF
[  446.780888] e1000e 0000:00:19.0 eth0: NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[  446.780997] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
[  447.562186] e1000e: NETDEV CLOSE ENTERED
[  447.562190] e1000e: NETDEV CLOSE WAIT DONE
[  447.562192] e1000e: NETDEV CLOSE DEV IS PRESENT
[  447.792198] e1000e: NETDEV CLOSE DEV IS DOWN
[  447.792211] e1000e: NETDEV CLOSE FREE IRQ
[  447.792216] e1000e 0000:00:19.0 eth0: NIC Link is Down
[  447.792218] e1000e: NETDEV CLOSE LINK DOWN MSG
[  447.792219] e1000e: NETDEV CLOSE NAPI DISABLED
[  447.792227] e1000e: NETDEV CLOSE FREE TX RES
[  447.792251] e1000e: NETDEV CLOSE FREE RX RES
[  447.792252] e1000e: NETDEV CLOSE VLAN DONE
[  447.792254] e1000e: NETDEV CLOSE HW CTRL RELEASED
[  447.792257] e1000e: NETDEV CLOSE DONE
[  448.311058] e1000e: NETDEV CLOSE ENTERED
[  448.311062] e1000e: NETDEV CLOSE WAIT DONE
[  448.311064] e1000e: NETDEV CLOSE DEV IS PRESENT
[  448.532200] e1000e: NETDEV CLOSE DEV IS DOWN
[  448.532213] e1000e: NETDEV CLOSE FREE IRQ
[  448.532218] e1000e 0000:00:19.0 eth0: NIC Link is Down
[  448.532220] e1000e: NETDEV CLOSE LINK DOWN MSG
[  448.532221] e1000e: NETDEV CLOSE NAPI DISABLED
[  448.532230] e1000e: NETDEV CLOSE FREE TX RES
[  448.532254] e1000e: NETDEV CLOSE FREE RX RES
[  448.532255] e1000e: NETDEV CLOSE VLAN DONE
[  448.532257] e1000e: NETDEV CLOSE HW CTRL RELEASED
[  448.532260] e1000e: NETDEV CLOSE DONE
[  450.408891] e1000e 0000:00:19.0 eth0: NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[  450.409000] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
groucho@devuan:~$ </code></pre></div><p>I have found no other record of e1000e activity on a bad_sutdown.</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>A normal shutdown would not enter <span class="bbc">S3</span>?<br />Though, I am out with that.</p></div></blockquote></div><p>I don&#039;t know.<br />There&#039;s the issue of not being able to disable sleep state in the BIOS.<br />And that being set to S3.</p><p>The thing would be to avoid the system from picking it up and overriding what the BIOS says.<br />ie: the proper way to do things</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>I patch WOL and PM FREEZE detach thingie and that&#039;s it from me.</p></div></blockquote></div><p>Sorry to hear that, but I understand.<br />You&#039;ve done more than enough already.&#160; 8^)<br />And no one else has made any suggestions.</p><p>Maybe not patch WoL as that seems to be taken care of vie ethtool and boot and shutdown.</p><p>BTW: you have this in your system?</p><div class="codebox"><pre><code>     # Make it possible to not shut down network interfaces,
        # needed to use wake-on-lan
        netdown=&quot;-i&quot;
        if [ &quot;$NETDOWN&quot; = &quot;no&quot; ]; then
                netdown=&quot;&quot;
        fi

        log_action_msg &quot;Will now halt&quot;
        read -p &quot;Press enter to halt ($netdown $poweroff $hddown)&quot; reply     &lt;--- this line added
        halt -d -f $netdown $poweroff $hddown
}</code></pre></div><p>Does it shut down properly?</p><p>Thanks for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 11 May 2021 11:21:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29728#p29728</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29727#p29727</link>
			<description><![CDATA[<p>You got that <span class="bbc">PCI REMOVE</span> prints once out of <span class="bbc">dmesg</span>? A normal shutdown would not enter <span class="bbc">S3</span>? Though, I am out with that. :-D</p><p>I patch WOL and PM FREEZE detach thingie and that&#039;s it from me.&#160; :-)</p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Tue, 11 May 2021 07:27:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29727#p29727</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29725#p29725</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... and the <span class="bbc">dmesg</span> output shows what for the freeze?</p></div></blockquote></div><p>Screen was frozen, needed a hard shudown.<br /><span class="bbc">dmesg0</span> does not show anything strange.</p><p>I could reproduce the whole thing but how to get what <span class="bbc">dmesg</span> recorded, if anything at all?</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 10 May 2021 21:54:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29725#p29725</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29724#p29724</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... you got no pm tooling, I wonder who enters <span class="bbc">S3</span>.</p></div></blockquote></div><p>That&#039;s what I think is the question here.<br />I think the answer is in the U24&#039;s BIOS.</p><p>Remember that I have not been able to disable ME &quot;Firmware Power Control&quot; and &quot;Host Sleep States&quot; in BIOS. <br />It is set to <span class="bbc">S3</span>, I can set it back to <span class="bbc">S0</span> but I cannot disable it. </p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>Only one visible for now is <span class="bbc">/sbin/halt</span> with its unsetted <span class="bbc">NETDOWN</span>.</p></div></blockquote></div><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>If not that, it must be the kernel on its own, then?!</p></div></blockquote></div><p>Hmm ...<br />Why would that be?</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>Anyone here knows about sleep state handling?</p></div></blockquote></div><p>No one else has pitched in ...<br />But you <em>have</em> gathered quite a following.</p><p>Thanks for your input.</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 10 May 2021 21:45:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29724#p29724</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29723#p29723</link>
			<description><![CDATA[<p>Hello:<br />There&#039;s some alteration in the posting order ...</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... you want to put <span class="bbc">NETDOWN=no</span> into <span class="bbc">/etc/default/halt</span> to disable WoL handling of <span class="bbc">/sbin/halt</span>.</p></div></blockquote></div><p>Right.</p><div class="codebox"><pre><code>groucho@devuan:~$ cat /etc/default/halt
# Default behaviour of shutdown -h / halt. Set to &quot;halt&quot; or &quot;poweroff&quot;.
HALT=poweroff
NETDOWN=no
groucho@devuan:~$ </code></pre></div><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>Quite strange parameter to what it is doing in the end.</p></div></blockquote></div><p>I&#039;ll take your word for it.<br />Don&#039;t have a clue as to what is strange here ...</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>Though, you still want to disable WoL via ethtool. The more disabling, the better.</p></div></blockquote></div><p>That is supposed to be the tool to use.<br />When the HW or the driver does not undo it behind your back.</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>We can get a patch to forcefully disable WoL by module parameter. I already spotted the flag in code, which activates WoL.<br />We can, hypothetically for now, reset that in <span class="bbc">src/param.c</span> ...</p></div></blockquote></div><p>Thanks for sharing.<br />But it&#039;s <em>you</em> doing the patching.&#160; 8^)</p><div class="quotebox"><cite>geki wrote:</cite><blockquote><div><p>... even with that hypothetical patch, We want to disable WoL from <span class="bbc">/sbin/halt</span>.</p></div></blockquote></div><p>Right.<br />Would be like disabling it in the BIOS, which for whatever reason cannot be done without screwing up everything.</p><p>I discovered an old Sun Microsystems thread.<br />Had to find a catched copy.</p><p>Seems that this was a hard cookie from the very start of the Sun Ultra 24&#039;s market debut:<br /><a href="https://webcache.googleusercontent.com/search?q=cache:1n3s2V4blzYJ:https://community.oracle.com/tech/apps-infra/discussion/1907211/ultra-24-and-intel-boot-agent+&amp;cd=3&amp;hl=en&amp;ct=clnk&amp;gl=us" rel="nofollow">https://webcache.googleusercontent.com/ … clnk&amp;gl=us</a></p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 10 May 2021 21:36:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29723#p29723</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29722#p29722</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>I&#039;ll edit that into <span class="bbc">/etc/init.d/halt</span> and see how it behaves.<br />If I understand correctly, it will shut down on <span class="bbc">Enter</span>.</p></div></blockquote></div><p>Never got that far ...</p><p>Here&#039;s the part that I edited:</p><div class="codebox"><pre><code>        # Make it possible to not shut down network interfaces,
        # needed to use wake-on-lan
        netdown=&quot;-i&quot;
        if [ &quot;$NETDOWN&quot; = &quot;no&quot; ]; then
                netdown=&quot;&quot;
        fi

        log_action_msg &quot;Will now halt&quot;
        read -p &quot;Press enter to halt ($netdown $poweroff $hddown)&quot; reply     &lt;--- just this line
        halt -d -f $netdown $poweroff $hddown
}</code></pre></div><p>On shutdown, the box froze at this point:</p><p><a href="https://postimages.org/" rel="nofollow"><span class="postimg"><img src="https://i.postimg.cc/B6SxjZ6B/nofan-frz.png" alt="nofan-frz.png" /></span></a></p><p>Good sign is that there were no fans blowing.<br />Only way out was a hard shutdown.<br />REISUB did not work or maybe it was that I could not type and hold Alt+SysRq at the same time?</p><p>This happens whether I shut down with my script or with <span class="bbc">sudo shutdown -h now</span> from a terminal.</p><p>Thanks in advance.</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 10 May 2021 21:23:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29722#p29722</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29721#p29721</link>
			<description><![CDATA[<p>A ha, and the <span class="bbc">dmesg</span> output shows what for the freeze?</p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Mon, 10 May 2021 21:17:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29721#p29721</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29720#p29720</link>
			<description><![CDATA[<p>Since you got no pm tooling, I wonder who enters <span class="bbc">S3</span>. Only one visible for now is <span class="bbc">/sbin/halt</span> with its unsetted <span class="bbc">NETDOWN</span>. If not that, it must be the kernel on its own, then?! <img src="https://dev1galaxy.org/img/smilies/roll.png" width="15" height="15" alt="roll" /></p><p>Anyone here knows about sleep state handling? <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>Mon, 10 May 2021 21:12:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29720#p29720</guid>
		</item>
		<item>
			<title><![CDATA[Re: Linux e1000e module removal and e1000e EEE timer - Part II]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29719#p29719</link>
			<description><![CDATA[<p>Well, you want to put <span class="bbc">NETDOWN=no</span> into <span class="bbc">/etc/default/halt</span> to disable WoL handling of <span class="bbc">/sbin/halt</span>. Quite strange parameter to what it is doing in the end. <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>Though, you still want to disable WoL via ethtool. The more disabling, the better. <img src="https://dev1galaxy.org/img/smilies/cool.png" width="15" height="15" alt="cool" /></p><p>And yes, we want to disable WoL, too. We can get a patch to forcefully disable WoL by module parameter. I already spotted the flag in code, which activates WoL. We can, hypothetically for now, reset that in <span class="bbc">src/param.c</span>, e heh. <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> But even with that hypothetical patch, We want to disable WoL from <span class="bbc">/sbin/halt</span>. And <span class="bbc">ethtool</span> will be superfluous, then.</p>]]></description>
			<author><![CDATA[dummy@example.com (geki)]]></author>
			<pubDate>Mon, 10 May 2021 20:58:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29719#p29719</guid>
		</item>
	</channel>
</rss>
