From owner-freebsd-current@FreeBSD.ORG Wed Apr 11 21:37:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8AD7F16A402; Wed, 11 Apr 2007 21:37:24 +0000 (UTC) (envelope-from marcel@piglet.slowthinkers.net) Received: from piglet.slowthinkers.net (piglet.slowthinkers.net [62.251.101.114]) by mx1.freebsd.org (Postfix) with ESMTP id 242DE13C459; Wed, 11 Apr 2007 21:37:23 +0000 (UTC) (envelope-from marcel@piglet.slowthinkers.net) Received: from piglet.slowthinkers.net (localhost [127.0.0.1]) by piglet.slowthinkers.net (8.13.3/8.13.3) with ESMTP id l3BLDXUu063020; Wed, 11 Apr 2007 23:13:33 +0200 (CEST) (envelope-from marcel@piglet.slowthinkers.net) Message-Id: <200704112113.l3BLDXUu063020@piglet.slowthinkers.net> To: freebsd-current , freebsd-stable@freebsd.org In-Reply-To: Message from "Kimi Ostro" of "Wed, 11 Apr 2007 21:36:24 BST." <42b497160704111336m24249f7axa8b80ba84083bd97@mail.gmail.com> Date: Wed, 11 Apr 2007 23:13:33 +0200 From: Anne Marcel Roorda X-Mailman-Approved-At: Wed, 11 Apr 2007 22:04:11 +0000 Cc: Subject: Re: WOL question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 21:37:24 -0000 In message <42b497160704111336m24249f7axa8b80ba84083bd97@mail.gmail.com>, "Kimi Ostro" writes: > On 10/04/07, Jack Vogel wrote: > > I am hoping someone here who has more familiarity with the ACPI > > code can enlighten me.... > > > > I have an internal bug filed complaining that FreeBSD disables > > wake-on-lan on the hardware. > > > > Now, I would like to have explicit WOL support added into the > > em driver, but before I even worry about that I need to understand > > where the kernel turns this off without the driver even needed. > > This isnt specific to em, it also happens on other ethernet cards > (rl(8) fxp(8)) that support WOL/MagicPacket. Might be idea to check PR > database see if someone has same problem, maybe fix? it was nice > installing ports/net/wol and getting a computer to fire up remotely, > but as soon as it rebooted from FreeBSD, WOL stopped :( Hi, FreeBSD isn't disabling WOL. It needs to be enabled on shutdown for most cards. I have patches for ifconfig, and the xl driver to enable WOL. It should be possible to add support to other drivers, but it's different for each card. You should be able to find a diff against 5-stable in the archives. Changes against -CURRENT aren't _that_ different. - marcel