From nobody Tue Apr 2 16:38:48 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V8D993Lwfz5Gy34 for ; Tue, 2 Apr 2024 16:38:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V8D991fNvz4ZbH for ; Tue, 2 Apr 2024 16:38:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712075933; a=rsa-sha256; cv=none; b=x5KXyA57DbPJQzhvuN0W6Fib16nR8DDwVRhvBy4z0DoU8005gwUcQVqT35MUt/GqBkZtlu 68OUmNoVTGjOoNl7pIl7wwtW4Mc/QetHOqfV0YaaE6pvqpA0zIn6yVtIlcT3X2w7jG+7vI nvhGLZQD9JSPW6za5hin27aR2Xy/T6oBhpPdlAiY2AxyQWnqwY86HHozwbAUThzEqbkJTe /D1zOYfrD6ZV1m5jvRx3kbgx4jON7Uu208N4L3oFWnIaWWSZkhFYnK07xchbY+Pa4cPw9l 1TE5jmKIobrCTlQDigq/gKY3TuWp2kybLdo7wt/ZNQXN5W3u/FumAPULYqCEwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712075933; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K2V2IbDOYBwRJuGIKFbsm5+zNhL2BeYaBIpJ2eXr1u4=; b=K8KgfrqJEIQY77PaHsEn44u5/SCv4l2se7IMnBBNU+FknAVc4T1PRVGcdNLTktAUgSh29K eu/21+vtd6aR8nQl3rd0ybIfDMHR7YVdBcSF+6bTM2O84WMgQ6JEHx/EPHohwg08VY4YTL wbOo4KsRdBZ9SoBc+++5qEcTRarSmJxhW5obnZdlRu/9ENiy1FnCLVwgwwBRrZvJ4k1z/W JI6jovQblYsFQfUZeR8Iq63EVsnHyxhed56/F21Rsgexw7exTyMxloDwF8WJJx2lO2hI3w MWFbHFvvi5XaLO+pOdav5MfaiKVRKu/zMvrCPpoog7Tky+J6Qhy8OftH5CKA7w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V8D991GfmzxJ3 for ; Tue, 2 Apr 2024 16:38:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 432GcrLi018860 for ; Tue, 2 Apr 2024 16:38:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 432Gcqso018853 for net@FreeBSD.org; Tue, 2 Apr 2024 16:38:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 218579] bge(4): Wake on Lan (WoL) does not work Date: Tue, 02 Apr 2024 16:38:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd.bug@nagykeve.e4ward.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: mfc-stable14+ mfc-stable13+ mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218579 --- Comment #61 from Keve Nagy --- Q1. Does power off still work if the system was woken using WOL and no intervening reboot performed? A1. In my tests, I experienced no unexpected reboots/autostarts. I always finished with a "shutdown -p now;exit" command, and the computer properly s= hut down and powered off each time. Regarless of which computer I used (T610 or MicroServer), which version of FreeBSD I used (13.3R or 14.0R), or which ke= rnel I booted (bge patched GENERIC or factory GENERIC). So powering down worked always fine. The difference in unpatched or patched kernel meant that "wake" did wake the computer up or did not. When I used "shutdown -r now", THEN and ONLY THEN the computer automatically restarted after shutting down. Q2. Does ifconfig wol do anything? A2. On those of my computers with an on-board bge interface, "ifconfig bge0 wol" seems to make no difference at all. If I boot with the factory GENERIC kernel, then WOL_MAGIC is off by default, and this command does not enable = it. If I boot the bge-patched GENERIC kernel, then WOL_MAGIC is enabled by defa= ult, and it stays that way after an "ifconfig bge0 wol" with nothing new added either. Hence, again, this command seems to make no difference. On the Optiplex 7050 with no bge interface and an on-board em interface, "ifconfig em0 wol" enables WOL_MAGIC and some other WOL_ options. The uploaded files will show you all details about this. I stay away from FREEBSD-CURRENT, but if you see the bge interface on 14-CURRENT coming up by default without WOL_MAGIC and then "ifconfig bge0 w= ol" enables WOL_MAGIC, then there is already a significant difference between 14-RELEASE and 14-CURRENT. --=20 You are receiving this mail because: You are on the CC list for the bug.=