LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-11-2018, 07:38 AM   #16
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,400

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336

I doubt if much of the linux stuff matters. There's no kernel loaded. It's the apparently dodgy BIOS and whatever 'start-up state' eth0 is programmed into before shutdown that will affect the start-up state.
 
Old 12-11-2018, 08:43 AM   #17
Altoid
Member
 
Registered: Oct 2016
Location: Southern Hemisphere
Distribution: Devuan
Posts: 112

Original Poster
Rep: Reputation: Disabled
Hello:
Quote:
Originally Posted by business_kid View Post
I doubt if much of the linux stuff matters. There's no kernel loaded. It's the apparently dodgy BIOS and whatever 'start-up state' eth0 is programmed into before shutdown that will affect the start-up state.
OK.

But PM-Utils reads the disable_wol script and acts according to a flag. ie: 'true' / 'false'.

Code:
groucho@devuan:~$ cat /usr/lib/pm-utils/power.d/disable_wol
#!/bin/sh

. "${PM_FUNCTIONS}"

command_exists ethtool || exit $NA

set_wol_status() {
    for d in "/sys/class/net/"*; do
	[ -e "$d/wireless" ] && continue
	[ -h "$d/device/driver" ] || continue
	printf "Setting Wake On Lan for %s to %s..." "${d##*/}" "$1"
	case $1 in
	    disable) ethtool -s "${d##*/}" wol d>/dev/null 2>&1;;
	    enable) ethtool -s "${d##*/}" wol g>/dev/null 2>&1;;
	esac
	[ "$?" -eq 0 ] && echo Done. || echo Failed.
    done
}

case $1 in
    true) set_wol_status disable;;
    false) set_wol_status enable;;
    *) exit $NA;;
esac

exit 0
groucho@devuan:~$
And the script seems to get some sort of data/setting from whatever is in /sys/class/net/?
I don't know how to interpret the script ie: step by step.

Thanks for your input.

Cheers,

A.
 
Old 12-13-2018, 06:48 AM   #18
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,400

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
If you run that script in shutdown with the word 'true' after it, that should disable WOL. 'false' would enable it. I thought only us Irish were into double negatives "Don't tell me you're not going to (such and such)."
 
Old 12-13-2018, 07:59 AM   #19
Altoid
Member
 
Registered: Oct 2016
Location: Southern Hemisphere
Distribution: Devuan
Posts: 112

Original Poster
Rep: Reputation: Disabled
Good morning:
Quote:
Originally Posted by business_kid View Post
If you run that script in shutdown ...
After my last post and with WoL not set, my shutdown issue (sidelined due to this WoL thing) came up again.

Unfortunately, I have not found anything significant in syslog.
Maybe I set that up incorrectly, must check.

In any case, fed up with all this PM-Utils stuff, I uninstalled it as I don't need it.

After all, the problem was there before I installed it and surely/probably (?) due to the combination of bad BIOS and whatever ... 8^/

Mentioned here:
https://wiki.archlinux.org/index.php/Wake-on-LAN

After I did a complete uninstall, WoL went to 'on' again, as expected.
I still have to find out how it is that it is on and not off by default.

But for the time being I added a line to /etc/rc.local

Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" 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.
#
# Disable WoL - 20181212
/sbin/ethtool -s eth0 wol d

exit 0
Now athtool reports it as being off after booting ie: set to to d.

Code:
[root@devuan groucho]# ethtool eth0
Settings for eth0:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 1
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: off (auto)
	Supports Wake-on: pumbg
	Wake-on: d
	Current message level: 0x00000007 (7)
			       drv probe link
	Link detected: yes
[root@devuan groucho]#
I tested it by disconnecting and reconnecting the eth0 interface while logged in to see if it survived a disconnect and it did.

Nevertheless, it may be better (?) to have a script somewhere that set it to 'd' on 'ifup' and 'ifdown'

Now I have to continue with the shutdown issue, so this is not closed.
I'll see if it comes up again now, with all the PM-Utils stuff removed.

But it may be more useful to start a new thread with a reference to this one to continue as it went on for a good while being just about WoL.

What say ye?

Best,

A.
 
Old 12-14-2018, 02:37 AM   #20
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,400

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Next obvious question is - what kernel are you on? Distro kernel or your own compile?With pm-utils gone, do you still have the shutdown program?? What's the response to
Code:
shutdown -h now
 
Old 12-14-2018, 04:15 AM   #21
Altoid
Member
 
Registered: Oct 2016
Location: Southern Hemisphere
Distribution: Devuan
Posts: 112

Original Poster
Rep: Reputation: Disabled
Maidin mhaith: =-)

Quote:
Originally Posted by business_kid View Post
Next obvious question is - what kernel are you on?
I'm on Devuan latest:
Quote:
Originally Posted by Altoid
Code:
groucho@devuan:~$ uname -a
Linux devuan 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
groucho@devuan:~$
Code:
[root@devuan groucho]# apt-get update
Hit:1 http://deb.devuan.org/merged ascii InRelease
Get:2 http://deb.devuan.org/merged ascii-updates InRelease [25.6 kB]
Hit:3 http://deb.devuan.org/merged ascii-security InRelease
Fetched 25.6 kB in 5s (4944 B/s)
Reading package lists... Done
[root@devuan groucho]#
Code:
[root@devuan groucho]# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[root@devuan groucho]#
Code:
[root@devuan groucho]# 
[root@devuan groucho]# apt-get check
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[root@devuan groucho]#
It's the plain vainilla out of the box kernel version, up to date.
I'm afraid compiling a custom kernel is out of my league.

Quote:
Originally Posted by business_kid View Post
With pm-utils gone, do you still have the shutdown program?
No, but that may be just for the time being.

Like I mentioned earlier on in the thread:
Quote:
Originally Posted by Altoid
This happens ocasionally and I have not been able to reliably reproduce the behaviour, no idea what causes it.
Quote:
Originally Posted by business_kid View Post
What's the response to
Code:
shutdown -h now
It shuts down gracefully.
But like I said, for the time being.

eg: I've seen it not happen for days and then out of nowhere happen again.
And I've also seen it happen two or three times on the same day.
No idea why, was not able to detect a pattern.

The bug that affects some motherboards (link in another post) that use WoL obviously also affecs mine and I suspect (?) that it could be because PM-Utils (or something else?) at some point and in spite of my setting it to 'off', re-enabled WoL momentaily.

Can't think of any other reason now.
Unless the problem crops up again without PM-Utils installed and running.

The only way to find out is to see if it happens again in the course of the next few days.

As I don't have the habit of leaving my rig on when I'm not working/using it, I shut down/start a few times a day so if the issue is still present, it's just a question of time till it shows up again.

Any other ideas?
I've run out.

Thanks a lot for your input.

Cheers,

A.

Last edited by Altoid; 12-18-2018 at 05:58 AM.
 
Old 12-14-2018, 05:03 AM   #22
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,400

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Conas atá tú?

What's a speaker of the Erse doing in the Southern Hemisphere? Do they sell Guinness down there?
Anyhow, while you're exhaustively checking this, 2 things. There's a kernel setting for a custom dsdt file. That's normally in the bios and controls this sort of thing. I went very near to messing with it for a different laptop 10 years back, but didn't have to in the end.

The other thing I would do is an extensive google for your box or m/b and acpi problems. Try adding LQ or linux-laptop.net as search terms

BTW, is devuan any use?
 
Old 12-14-2018, 06:34 AM   #23
Altoid
Member
 
Registered: Oct 2016
Location: Southern Hemisphere
Distribution: Devuan
Posts: 112

Original Poster
Rep: Reputation: Disabled
Hello:
Quote:
Originally Posted by business_kid View Post
Conas atá tú?
I'm afraid my Irish goes no further.
But I do have a distinct preference for green eyed red-headed ladies. =-)

Quote:
Originally Posted by business_kid View Post
What's a speaker of the Erse doing in the Southern Hemisphere?
Born here but lived in Jamaica, USA and Barbados for a good while.

Quote:
Originally Posted by business_kid View Post
Do they sell Guinness down there?
Yes, I believe you can get it at some stores. ($$$!)
But whiskey is really my preferred spirit.

Quote:
Originally Posted by business_kid View Post
... kernel setting for a custom dsdt file.
Indeed ...
I've already gone through that sometime ago.

Actually managed to hack a working DSDT file with no errors/warnings.
But never found a way to be able load it at boot time (!), highly frustrating.

By the time I found out about it, some switch had been turned off at the base kernel resulting in no longer being possible to load a custom DSDT at boot time or even compile that option in the kernel.

From what I recall reading on the web, the idea behind that smart decision was that the kernel had to be able to solve buggy BIOS issues at boot time.

And yes, I'm still waiting for the kernel to get around my buggy Sun Microsystems BIOS.

Whoever made that particular call (a real dickhead IMO) forgot to think about all the buggy BIOS issues that will not ever be addressed for various reasons eg: hardware too old or not enough affected rigs, amongst a good number of other reasons that maintainers give for not wanting to invest time to fix code with problems.

I asked and asked (and asked) but was not able to get a straightforward answer from anyone wrt that, so I finally gave up on a custom DSDT.

Quote:
Originally Posted by business_kid View Post
... an extensive google for your box or m/b and acpi problems.
Been there, done that ...

The Ultra24 (released in 2007) was a rather unique offering from Sun in that it was it's return to x86 in the form of a high-end workstation, offering both Intel and AMD based rigs. Oracle then gobbled up Sun Microsystems in 2009, dropped anything x86 related and sequestered ($$$) all available BIOS updates and basic tech support ($$$).

By that time only a comparatively small amount of U24s had been sold and this lack of commercial sense on behalf of Oracle prompted a great many users (who had paid top money for their ws) to get rid of a really fine piece of hardware, so there's a general lack of information on the web.

The most complained about problem with the U24 is probably its crap BIOS.

Quote:
Originally Posted by business_kid View Post
... is devuan any use?
For what it is worth, I can tell you this: I have over 24 years of PC use on my back, essentially from DOS 5.0 up to XPSP3 and 5+ years of desktop support at work. One day I finally got fed up with MS.

I had already toyed with some early Debians on recovered laptops but never really managed to get a fully working rig on line. After that, I started with early Ubuntus and went through Mint, CrunchBang, PCLinux to finally settle with Devuan.

I think it is as good as it gets.

The fact that it is systemd free (an MS Windows system registry in disguise) is what decided me to stay with it.
But (as always) it's just my 0.02 so YMMV.

Thanks for your input.

Cheers,

A.
 
Old 12-14-2018, 02:12 PM   #24
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,400

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Quote:
Originally Posted by business_kid
Conas atá tú?
As Google translate will tell you, it means 'How Are You?' Really, Irish is dead. People are being paid to speak it, and certain people e.g. Police, and solicitors, indeed Government need to be able to do business in Irish.

Barbados & Jamaica, but it's a case of hoping you're away every time a tornado/hurricane/earthquake. I have friends from Martinique, Dominican Republic & Haiti. I worked for years with the guy Phillipe (Tatlot - he's French) mentioned in thisin_this . He comes in around paragraph 3 or 4.

The thing to do with your box seems to be
  1. Grab your kernel config of choice and put it in the top kernel source as .config.
  2. Drop your DSDT in /lib/firmware.
  3. Go to General Setup & change LOCALVERSION, so you can tell it's yours.
  4. In Power Management & ACPI, set the DSDT file location (/lib/somewhere/my-dodgy-file).
  5. Set Use Custom DSDT=y & make your kernel, & modules.
  6. Boot it and see what blows up, or works.

Buggy BIOS in a SUN box doesn't surprise me. They're not fighting the sort of competition PC manufacturers are. You seem to have done all the right things. /lib/modules/<version>/misc seems like a good place for it, because you could build it into the initrd. So you won't need the path. Google that and find out where it goes.

EDIT: 'Maidin mhaith' is literally 'Morning good' but it's not a recognised Irish greeting. I gave you about the only one that doesn't involve prayers or invocations to the dead, non-existent, or misrepresented. Fairies are alive and well in Gaelic tradition and the crossover between pagan, superstition and Christian tolerated here for so long is alarming.

Last edited by business_kid; 12-14-2018 at 02:20 PM.
 
Old 12-14-2018, 03:34 PM   #25
Altoid
Member
 
Registered: Oct 2016
Location: Southern Hemisphere
Distribution: Devuan
Posts: 112

Original Poster
Rep: Reputation: Disabled
Hello:
Quote:
Originally Posted by business_kid View Post
... Irish is dead.
A real pity.

Quote:
Originally Posted by business_kid View Post
... a case of hoping you're away every time a tornado/hurricane ...
Bbdos is far enough to the east (the farthest) to be quite safe.
Jca on the other hand most always gets a very rough time.
In the early 1690's, an earthquake sunk Port Royal into the sea.
I think in 190X there was another one with great damage.

Quote:
Originally Posted by business_kid View Post
The thing to do with your box ...
Yes, I have to roll my own kernel using a DIY trouble free DSDT.

I was willing to go as far as loading a custom one from the kernel line which was easy enough once I achieved a problem free one, but to roll my own kernel was not what I had in mind.

But many thanks for the tips, I'll think about it.

Quote:
Originally Posted by business_kid View Post
Buggy BIOS in a SUN box ...
A strange combination ie: good company/great hardware/crap BIOS.
To the extent of being commercially negligent.
Incredible. =-/

Quote:
Originally Posted by business_kid View Post
You seem to have done all the right things.
I think so.
If this WoL/BIOS thing (hopefully) does not crop up again I think I'll be able to manage.

Quote:
Originally Posted by business_kid View Post
'Maidin mhaith' is literally 'Morning good' but it's not a recognised Irish greeting.
I see.
Like the very popular Top o'the mornin' to you which has never been said by any Irishman. =-)

Quote:
Originally Posted by business_kid View Post
... only one that doesn't involve prayers or invocations to the dead, non-existent, or misrepresented.
Well, that's folklore for you.

But FWIW, I do believe fairies exist. =-D!

Thanks a lot for your input.
Cheers,

A.

Last edited by Altoid; 12-14-2018 at 03:35 PM.
 
Old 12-15-2018, 05:47 AM   #26
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,400

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Quote:
theBut FWIW, I do believe fairies exist. =-D!
Gqroan!
I will go this far with you. I believe that EXTRATERRESTRIALS exist. I mean the Spirit world. The Bible names some, and numbers more but this is dangerously OT
 
Old 12-15-2018, 06:45 AM   #27
Altoid
Member
 
Registered: Oct 2016
Location: Southern Hemisphere
Distribution: Devuan
Posts: 112

Original Poster
Rep: Reputation: Disabled
Hello:
Quote:
Originally Posted by business_kid View Post
...this is dangerously OT
Indeed it is ...

But it was meant to be in jest.
Sorry.

Have a good week-end.

Cheers,

A.
 
Old 12-17-2018, 04:26 PM   #28
Altoid
Member
 
Registered: Oct 2016
Location: Southern Hemisphere
Distribution: Devuan
Posts: 112

Original Poster
Rep: Reputation: Disabled
Hello:

UPDATE

Much to my chagrin, the problem that gave origin to this thread has cropped up again.

To recap:
Quote:
Originally Posted by OP
Description of the problem:

On shutdown, the rig will do one of three things:

1. shut down properly
2. shut down properly and after about 5s. reboot start reboot and freeze
3. freeze during the shutdown at this point ...

Code:
e1000e: EEE Tx LPI Timer
Preparing to enter sleep state S5
Reboot: Power Down
… with the fans blowing at full speed.
This is happening even after getting rid of all PM-Utils files and finally being able to get WoL disabled at boot, something which was a problem with PM-Utils installed.

Seeing that this involved the e1000e: EEE Tx LPI Timer, I searched and found this:

https://en.wikipedia.org/wiki/Energy-Efficient_Ethernet

My guess was that if the EEE TX LPI timer was what was giving me trouble (?), turning it off would do away with the issue.

Searching around I found this on the web:

https://unix.stackexchange.com/quest...green-ethernet

It seems that this EEE thing is also a source of grief to others.
So I tried seeing what the EEE setting was for my on-board NIC using ethtool:

Code:
[root@devuan groucho]# ethtool --show-eee eth0
Cannot get EEE settings: Operation not supported
[root@devuan groucho]#
Just to try and see, I attempted to turn EEE off:

Code:
[root@devuan groucho]# ethtool --set-eee eth0  eee off
Cannot get EEE settings: Operation not supported
From the last link it seems that the EEE settings can be modified with the Windows driver but not with the Linux driver, at least not using ethtool.

Which was really unexpected. 8 ^/

The ethtool version installed in Devuan is 4.8 (20161004)

Code:
[root@devuan groucho]# ethtool -h | grep version
ethtool version 4.8
[root@devuan groucho]#
The latest available version is 4.19 (20181102)

The installed e1000e driver version is 3.2.6-k and it has SmartPowerDown enabled.

Code:
[root@devuan groucho]# modinfo e1000e
filename:       /lib/modules/4.9.0-8-amd64/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
version:        3.2.6-k
license:        GPL
description:    Intel(R) PRO/1000 Network Driver
author:         Intel Corporation, <linux.nics@intel.com>
srcversion:     5EA033004005330EC3218BD
alias:          pci:v00008086d000015D6sv*sd*bc*sc*i*
---- snip ---
depends:        ptp
retpoline:      Y
intree:         Y
vermagic:       4.9.0-8-amd64 SMP mod_unload modversions 
parm:           debug:Debug level (0=none,...,16=all) (int)
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:           WriteProtectNVM:Write-protect NVM [WARNING: disabling this can lead to corrupted NVM] (array of int)
parm:           CrcStripping:Enable CRC Stripping, disable if your BMC needs the CRC (array of int)
[root@devuan groucho]#
Any ideas as to how to get around this?
Turning off the EEE feature is the only thing I can think of now.
But how?

Thanks in advance.

A.
 
Old 12-18-2018, 04:26 AM   #29
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,400

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Code:
Preparing to enter sleep state S5
I've news for you friend . . .
S5 = Hibernate, if I'm not very much mistaken. That's ok, but I wonder where "off" went? What happens if you, as root, enter this on a terminal/console
Code:
shutdown -h now
FYI, I took a look in Slackware's pm-utils, and the script /usr/lib64/pm-utils/power.d/disable_wol struck me as interesting. Here it is
Code:
#!/bin/sh

. "${PM_FUNCTIONS}"

command_exists ethtool || exit $NA

set_wol_status() {
    for d in "/sys/class/net/"*; do
        [ -e "$d/wireless" ] && continue
        [ -h "$d/device/driver" ] || continue
        printf "Setting Wake On Lan for %s to %s..." "${d##*/}" "$1"
        case $1 in
            disable) ethtool -s "${d##*/}" wol d>/dev/null 2>&1;;
            enable) ethtool -s "${d##*/}" wol g>/dev/null 2>&1;;
        esac
        [ "$?" -eq 0 ] && echo Done. || echo Failed.
    done
}

case $1 in
    true) set_wol_status disable;;
    false) set_wol_status enable;;
    *) exit $NA;;
esac

exit 0
I'd look up that ethtool command man page but I gather you feed it 'disable' or 'enable' and it does the business with ethtool. I really like this about slackware; it isn't a big deal to see what's in each package. See what hackery you can manage with these nuggets.
 
Old 12-18-2018, 07:22 AM   #30
Altoid
Member
 
Registered: Oct 2016
Location: Southern Hemisphere
Distribution: Devuan
Posts: 112

Original Poster
Rep: Reputation: Disabled
Hello again:

Quote:
Originally Posted by business_kid View Post
S5 = Hibernate ...
Yes, I'm aware of that.

Quote:
Originally Posted by business_kid View Post
... wonder where "off" went?
That seems to be part of the problem at hand.

Quote:
Originally Posted by business_kid View Post
What happens if you ...
I think we've been through that in post #21

https://www.linuxquestions.org/quest...7/#post5936967

It shuts down gracefully.

But as I don't usually shutdown in that manner ie: via a terminal, I don't have enough data to say the problem also happens if I do so. I expect it would eventually show the same behaviour like when I do it from the desktop, no reason it would not do so as it is just a desktop shortcut to the command.

Quote:
Originally Posted by business_kid View Post
... Slackware's pm-utils, and the script /usr/lib64/pm-utils/power.d/disable_wol ...
It's exactly the same script that I found in /usr/lib/pm-utils/power.d/disable_wol.
See post #13

https://www.linuxquestions.org/quest...6/#post5935459

Quote:
Originally Posted by business_kid View Post
... ethtool command man page ...
Already done that, see my previous post.

Quote:
Originally Posted by previous post
So I tried seeing what the EEE setting was for my on-board NIC using ethtool:

Code:
[root@devuan groucho]# ethtool --show-eee eth0
Cannot get EEE settings: Operation not supported
[root@devuan groucho]#
Just to try and see, I attempted to turn EEE off:

Code:
[root@devuan groucho]# ethtool --set-eee eth0  eee off
Cannot get EEE settings: Operation not supported
[root@devuan groucho]#
From the last link it seems that the EEE settings can be modified with the Windows driver but not with the Linux driver, at least not using ethtool.
The path I see to attempting a solution is getting the latest version of the driver installed in Devuan and if it does not work with the installed version of ethtool, then getting the latest version to see if it does.

See https://mirrors.edge.kernel.org/pub/...twork/ethtool/

Quote:
Introduction

ethtool is the standard Linux utility for controlling network drivers and hardware, particularly for wired Ethernet devices. It can be used to:

Get identification and diagnostic information
Get extended device statistics
Control speed, duplex, autonegotiation and flow control for Ethernet devices
Control checksum offload and other hardware offload features
Control DMA ring sizes and interrupt moderation
Control receive queue selection for multiqueue devices
Upgrade firmware in flash memory

Most features are dependent on support in the specific driver. See the manual page for full information.
Having the latest available driver for the on-board 82566DM Gbe may do the trick.
How can I get it installed in Devuan?

---
For Intel® 82566DM Gigabit Ethernet PHY
Intel® Network Adapter Driver for PCIe* Intel® Gigabit Ethernet Network Connections Under Linux*
Version: 3.4.2.1 (Latest) Date: 8/26/2018
---

No idea on how to do that. =^/

https://downloadcenter.intel.com/dow...?product=34459

Thanks for your input.

A.
 
  


Reply

Tags
driver, e1000e, ethernet, intel, onboard



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Intel e1000 driver berg4091 Slackware 11 11-17-2006 09:17 PM
need insmod to load e1000 driver on boot pyroman59 Linux - Networking 4 07-25-2005 12:50 PM
driver problem with intel pro e1000 takatam Linux - Hardware 3 01-20-2005 01:58 AM
Fedora, e1000 driver, 6 ethernet ports pim42 Linux - Hardware 0 06-03-2004 05:02 PM
Backport e1000 driver mikewelter Linux - Hardware 1 05-14-2004 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration