Bug#830230: systemd disable wake-on-lan
Norbert Schulz
n.schulz at rotorwerk.de
Mon Jul 18 08:21:52 BST 2016
Christian Hofstaedtler schrieb:
> * Norbert Schulz <n.schulz at rotorwerk.de> [160714 15:12]:
>> output of ethtool eth0 with systemd
>> Settings for eth0:
> [..]
>> MDI-X: on (auto)
>> Wake-on: g
>>
>> output of ethtool eth0 with sysvinit
>> Settings for eth0:
> [..]
>> MDI-X: off (auto)
>> Wake-on: g
>
>> The difference between them is the MDI-X: value, with systemd it is 'on' and
>> with sysvinit it is 'off'.
>
> Which network card and which driver is this?
> Are you sure both boot options boot the same Linux kernel version?
> (Which ones?)
>
> Please check dmesg if the driver in use prints helpful messages
> about the link negotiation (some do, some don't), and if you see
> them please report back what they say (for both systemd/sysvinit).
>
Here are the required and some more information.
-----------------------------------------
sysvinit
bootoption from /boot/grub/grub.cfg is
menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (sysvinit)' --class
debian --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.16.0-4-amd64-init-sysvinit-ed3c905d-d891-4706-ae9d-7df24fb8f1c8'
linux /boot/vmlinuz-3.16.0-4-amd64
root=UUID=ed3c905d-d891-4706-ae9d-7df24fb8f1c8 ro quiet init=/lib/sysvinit/init
Here are some commands with there outputs.
uname -a
Linux backup-knecht 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3
(2016-07-02) x86_64 GNU/Linux
lspci |grep Ethernet
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network
Connection (rev 05)
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
I use only one ethernet network card.
dmesg |grep Intel
[ 0.279960] smpboot: CPU0: Intel(R) Pentium(R) CPU G620 @ 2.60GHz (fam: 06,
model: 2a, stepping: 07)
[ 0.279991] Performance Events: PEBS fmt1+, 16-deep LBR, SandyBridge events,
full-width counters, Intel PMU driver.
[ 0.671060] Intel P-state driver initializing.
[ 0.671070] Intel pstate controlling: cpu 0
[ 0.671165] Intel pstate controlling: cpu 1
[ 0.704576] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[ 0.704578] e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
[ 0.981126] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 1.094797] e1000e 0000:02:00.0 eth1: Intel(R) PRO/1000 Network Connection
[ 4.057498] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
dmesg |grep e1000
[ 0.704576] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[ 0.704578] e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
[ 0.704769] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to
dynamic conservative mode
[ 0.704793] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
[ 0.981119] e1000e 0000:00:19.0 eth0: registered PHC clock
[ 0.981124] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1)
00:25:90:57:7d:07
[ 0.981126] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 0.981163] e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF
[ 0.982579] e1000e 0000:02:00.0: Interrupt Throttling Rate (ints/sec) set to
dynamic conservative mode
[ 0.982609] e1000e 0000:02:00.0: irq 43 for MSI/MSI-X
[ 0.982613] e1000e 0000:02:00.0: irq 44 for MSI/MSI-X
[ 0.982617] e1000e 0000:02:00.0: irq 45 for MSI/MSI-X
[ 1.094791] e1000e 0000:02:00.0 eth1: registered PHC clock
[ 1.094795] e1000e 0000:02:00.0 eth1: (PCI Express:2.5GT/s:Width x1)
00:25:90:57:7d:06
[ 1.094797] e1000e 0000:02:00.0 eth1: Intel(R) PRO/1000 Network Connection
[ 1.094882] e1000e 0000:02:00.0 eth1: MAC: 3, PHY: 8, PBA No: FFFFFF-0FF
[ 9.981318] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control:
Rx/Tx
lsmod |grep e1000
e1000e 212128 0
ptp 17692 1 e1000e
end output with sysvinit
-------------------------------------------
The same with systemd.
------------------------------------------
systemd
bootoption from /boot/grub/grub.cfg is
menuentry 'Debian GNU/Linux, mit Linux 3.16.0-4-amd64' --class debian --class
gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.16.0-4-amd64-advanced-ed3c905d-d891-4706-ae9d-7df24fb8f1c8'
linux /boot/vmlinuz-3.16.0-4-amd64
root=UUID=ed3c905d-d891-4706-ae9d-7df24fb8f1c8 ro quiet
uname -a
Linux backup-knecht 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3
(2016-07-02) x86_64 GNU/Linux
lspci |grep Ethernet
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network
Connection (rev 05)
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
dmesg |grep Intel
[ 0.279027] smpboot: CPU0: Intel(R) Pentium(R) CPU G620 @ 2.60GHz (fam: 06,
model: 2a, stepping: 07)
[ 0.279058] Performance Events: PEBS fmt1+, 16-deep LBR, SandyBridge events,
full-width counters, Intel PMU driver.
[ 0.669844] Intel P-state driver initializing.
[ 0.669854] Intel pstate controlling: cpu 0
[ 0.669950] Intel pstate controlling: cpu 1
[ 0.702213] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[ 0.702215] e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
[ 0.995649] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 1.101757] e1000e 0000:02:00.0 eth1: Intel(R) PRO/1000 Network Connection
[ 4.659771] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
dmesg |grep e1000
[ 0.702213] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[ 0.702215] e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
[ 0.725607] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to
dynamic conservative mode
[ 0.725626] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X
[ 0.995643] e1000e 0000:00:19.0 eth0: registered PHC clock
[ 0.995647] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1)
00:25:90:57:7d:07
[ 0.995649] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 0.995683] e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF
[ 0.995912] e1000e 0000:02:00.0: Interrupt Throttling Rate (ints/sec) set to
dynamic conservative mode
[ 0.995939] e1000e 0000:02:00.0: irq 44 for MSI/MSI-X
[ 0.995943] e1000e 0000:02:00.0: irq 45 for MSI/MSI-X
[ 0.995946] e1000e 0000:02:00.0: irq 46 for MSI/MSI-X
[ 1.101742] e1000e 0000:02:00.0 eth1: registered PHC clock
[ 1.101754] e1000e 0000:02:00.0 eth1: (PCI Express:2.5GT/s:Width x1)
00:25:90:57:7d:06
[ 1.101757] e1000e 0000:02:00.0 eth1: Intel(R) PRO/1000 Network Connection
[ 1.101850] e1000e 0000:02:00.0 eth1: MAC: 3, PHY: 8, PBA No: FFFFFF-0FF
[ 9.203792] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control:
Rx/Tx
lsmod |grep e1000
e1000e 212128 0
ptp 17692 1 e1000e
end output with systemd
-------------------------------------------
regards
Norbert
More information about the Pkg-systemd-maintainers
mailing list