broken WoL with vanilla kernel on Debian

by Lucio Crusca   Last Updated March 14, 2019 20:00 PM

I'm on Debian Buster/Sid, but I like to compile new vanilla kernels myself, just to try them out. However I face a recurring problem: if I use a Debian packaged kernel, Wake On Lan works correctly and I can wake my pc by sending the magic packet to it. If I use a vanilla kernel I compile myself, it doesn't.

Here is the procedure I use:

$ wget ''
$ tar xJf linux-5.0.2.tar.xz 
$ cd linux-5.0.2/
linux-5.0.2 $ cp /boot/config-4.19.0-2-amd64 .config
linux-5.0.2 $ make oldconfig

[KCONFIG questions omitted] I eventually add something, but I never remove anything

linux-5.0.2 $ CONCURRENCY_LEVEL=20 fakeroot make-kpkg --initrd binary-arch
linux-5.0.2 $ cd..
$ su -
# dpkg -i linux-image-*.deb linux-headers-*.deb
# reboot

[... the new kernel boots ...]

# init 0

Now I try to send the magic WoL packet from another networked device, but my PC does not start. If I boot it with a Debian packaged kernel and then shutdown it, the WoL packet works as expected.

What am I missing?

Related Questions

Updated July 13, 2017 18:00 PM

Updated December 14, 2017 15:00 PM

Updated February 22, 2017 09:00 AM

Updated March 25, 2018 13:00 PM