From owner-freebsd-stable@FreeBSD.ORG Tue Oct 14 06:58:36 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 896DD1065693 for ; Tue, 14 Oct 2008 06:58:36 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id 4E0988FC26 for ; Tue, 14 Oct 2008 06:58:36 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1847778rvf.43 for ; Mon, 13 Oct 2008 23:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=KoOCTwne6wvhq+KbHQAYEsfuKQ5oUuHElRS5nNxWG7E=; b=CsiS7NJfiqcasqWsYME2li1lTMTpHOZmS9Lu1dLNhY2oC9WASUo6sw2umDX0WhyXLt thIeYfphJsnMkXa6d6GakIjf/f1nQe0Q6a38DEohSNarJ/NXh1d9VLBex0wHXFVBDQ5B i5yOidJwhkZkqq0nQtAx4A/tmZSJBDF3zddBQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=wQKBSv0Vw+aYoNARtr6B2c7265RYfgpjulB5HRF4n2fDPeue0uUvlGb+KP37PK1+N4 LgJggvdV+QiDUOBfK+jbGQtwCUyL5As+1BTjsYIzwnko89R2A7+jNP0teOjeC8ohrxc4 2CBiQLxm7lDy5Ly2yreJ8uz7Dp+dqcPa7Pyyo= Received: by 10.141.74.17 with SMTP id b17mr4295949rvl.119.1223967515814; Mon, 13 Oct 2008 23:58:35 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id l31sm8640737rvb.2.2008.10.13.23.58.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Oct 2008 23:58:34 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m9E6uYT3016019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Oct 2008 15:56:34 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m9E6uXj9016018; Tue, 14 Oct 2008 15:56:33 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 14 Oct 2008 15:56:33 +0900 From: Pyun YongHyeon To: David Adam Message-ID: <20081014065633.GF14769@cdnetworks.co.kr> References: <596673353.20081006181334@pulsar.bg> <20081010060013.GB99376@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: Georgi Iovchev , freebsd-stable@freebsd.org Subject: Re: can not wake on lan after halt -p (or shutdown -p now) on releng_7 and releng_7_0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 06:58:36 -0000 On Sat, Oct 11, 2008 at 10:53:39AM +0800, David Adam wrote: > On Fri, 10 Oct 2008, Pyun YongHyeon wrote: > > On Fri, Oct 10, 2008 at 11:41:59AM +0800, David Adam wrote: > > > On Mon, 6 Oct 2008, Georgi Iovchev wrote: > > > > I have a shutdown problem. I have a machine with gigabyte GA-G33M-DS2R > > > > motherboard. Integrated network card is Realtek 8111B. > > > > I can not wake the computer after I shutdown it from FreeBSD. > > > > It is a dualboot system - windows xp and freebsd. If I shutdown the > > > > computer from windows - later I can wake it up with magic packet. Even > > > > if i shutdown the machine on the boot menu with the power button - than > > > > later I can wake on lan. The only situation where I CANNOT wake it is > > > > when I shutdown the machine from freebsd (halt -p). > > > > > > > > First I tested with 7.0-RELEASE-p5 amd64 (RELENG_7_0) and than I > > > > upgraded to 7.1 PRERELASE amd64 (RELENG_7). I also tested with two > > > > network cards - the integrated one Realtek 8111B and another one Intel > > > > PRO1000PT PCI-E with WOL enabled. > > > > > > > > With both nics and both freebsd versions the situation is the same - > > > > after shutdown from bsd the computer is not able to wake on lan. The > > > > indication on the switch port says that after shut down there is > > > > active link. > > > > > > I have a similar problem with an Intel SR1200 Pentium 3-class system, > > > using fxp(4) cards, although I haven't yet tried the `halt -p` command. > > > > > > > fxp(4) should be taught to support WOL. Also note, not all fxp(4) > > hardwares support WOL. > > Both of the fxp(4) interfaces on my development system certainly support > WOL, so although I'm no kernel programmer I'd be more than happy to test > patches or provide developer access. > I have a bunch of fxp cards donated by andre@ so I guess I'm one of the best one that can experiment WOL capability on fxp(4). Before that expeimentation I guess I have to read documentation of E100 to write a WOL patch. These days I'm somewaht overloaded for paid work and other network drivers so I can't promise but I'll try if I manage to find spare time. -- Regards, Pyun YongHyeon