[Bug 282140] igc(4): Wake on LAN not working with Intel I226-V and GENERIC Kernel

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Oct 2024 14:13:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282140

            Bug ID: 282140
           Summary: igc(4): Wake on LAN not working with Intel I226-V and
                    GENERIC Kernel
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: marioagustincarranza@gmail.com

Created attachment 254288
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254288&action=edit
if_igc_i226v_output

This is my first PR for FreeBSD so please let me know any mistakes I might
make. 

SYSTEM INFO:

uname -a: "FreeBSD cube 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64"

See attachment for "ifconfig", "pciconf -lv" and verbose boot lines relevant to
IGC interfaces output. 

If any more information about my system is required please let me know. 

DESCRIPTION:

My motherboard and BIOS support WOL. I have confirmed this by booting my system
on a Linux ISO (KDE Neon - Ubuntu 22.04), setting WOL on (ethtool -s <ifname>
wol g", powering off and sending the WOL Magic packet. WOL also works as
expected when powering off my system when it is still on the BIOS. 

Whenever I power off my system when running FreeBSD 14.1-RELEASE, the network
interface is up and blinking but sending WOL Magic Packets doesnt power it on. 

STEPS TO REPRODUCE:

- Make sure WOL is enabled on FreeBSD. In my case by default it was on, and
"WOL_MAGIC" is seen on "ifconfig"
- Power off the machine. I used the command "poweroff". 
- After powering off, wait a bit for the network interface to come back up. 
- I have tried sending WOLs packets from Linux using the command "wakeonlan"
and from FreeBSD using "wake". Neither worked. 

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.