Bug 282140 - igc(4): Wake on LAN not working with Intel I226-V and GENERIC Kernel
Summary: igc(4): Wake on LAN not working with Intel I226-V and GENERIC Kernel
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 14.1-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords: IntelNetworking
Depends on:
Blocks:
 
Reported: 2024-10-16 14:13 UTC by Mario Agustin Carranza
Modified: 2024-10-16 18:47 UTC (History)
1 user (show)

See Also:


Attachments
if_igc_i226v_output (4.94 KB, text/plain)
2024-10-16 14:13 UTC, Mario Agustin Carranza
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Agustin Carranza 2024-10-16 14:13:49 UTC
Created attachment 254288 [details]
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!
Comment 1 Mario Agustin Carranza 2024-10-16 16:13:13 UTC
I add a link to the FreeBSD Forums where I discussed this issue:

https://forums.FreeBSD.org/threads/wake-on-lan-not-working-on-igc-driver-nic-intel-i226-v.94598/
Comment 2 Kevin Bowling freebsd_committer freebsd_triage 2024-10-16 18:47:37 UTC
This is a known (to me) issue, the e1000 driver also does not currently support WoL.

It will be a fair amount of work to audit the driver and datasheets to make it work.  If there is some use case that would benefit a corporate sponsor, it would be good to make acquaintance.