From owner-freebsd-stable@FreeBSD.ORG Fri Oct 10 01:23:02 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 B8536106568C for ; Fri, 10 Oct 2008 01:23:02 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 8183A8FC15 for ; Fri, 10 Oct 2008 01:23:02 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so262131rvf.43 for ; Thu, 09 Oct 2008 18:23:02 -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=SZH3/hioAIf53ZNeAoHCXAodfVeObppiXAipl3JDXy8=; b=MPaAgZH3pErBSDJGqlfsEM6ntusNOL2Lli4sY3mthgQaa8jXMtcvwLl7cHqkugIzKS G3a78eENPMUgX8sq+ckOmEvPHRzgcd8A1NiKDaYMnbf12Q5om0KFwEzRAf9Ov85Fkpw+ /cJoZXEkhJXX6JKyflYPUvndZOMzVXQllhlzo= 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=ey1PCel6HLbkv5qCsNpZ3MZBsjNieKLxeJ1547nwpQjET9vmTynwSkBt0j3henPlzT wRj3KEJUaDad5pcf4yRhcIRb3zgCBSopm2ZlXviaS4oOBD5mbb5RHPfTqWqoJi1/5Qed 74lNteYsVd93M8T/ILrtoWgQ8YarqbMYCFhtM= Received: by 10.140.127.20 with SMTP id z20mr661761rvc.77.1223601782187; Thu, 09 Oct 2008 18:23:02 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id f21sm2408797rvb.5.2008.10.09.18.22.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Oct 2008 18:23:00 -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 m9A1L0I4099701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Oct 2008 10:21:00 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m9A1KwGK099700; Fri, 10 Oct 2008 10:20:58 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 10 Oct 2008 10:20:58 +0900 From: Pyun YongHyeon To: Georgi Iovchev Message-ID: <20081010012058.GA99376@cdnetworks.co.kr> References: <596673353.20081006181334@pulsar.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <596673353.20081006181334@pulsar.bg> User-Agent: Mutt/1.4.2.1i Cc: 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: Fri, 10 Oct 2008 01:23:02 -0000 On Mon, Oct 06, 2008 at 06:13:34PM +0300, Georgi Iovchev wrote: > Hello list > > 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. > Don't know WOL issue of em(4) but re(4) should respond to WOL. 7.0-RELEASE had no support for WOL so RELENG_7 or 7.1-PRERELEASE should be used to experiment WOL. > 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 Because you can wake up your sytem from Windows shutdown I think your BIOS is already configured to allow wakeup from WOL. Would you compare ethernet address of re(4) to Winwods? Have you tried to send Magic packets to FreeBSD box? You may also try suspend your box with acpiconf and resume from WOL. > indication on the switch port says that after shut down there is > active link. > That indicates the controller is alive so it shall respond to WOL if it was correctly configured to receive WOL packets. Have you tried to send Magic packets to FreeBSD box? > Here is some information after last update: > > [root@backup ~]# uname -a > FreeBSD backup.pulsar.bg 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Mon Oct 6 17:01:26 EEST 2008 root@backup.pulsar.bg:/usr/obj/usr/src/sys/MYCONF amd64 > > [root@backup ~]# pciconf -lv > ... > re0@pci0:3:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x01 hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > class = network > subclass = ethernet > ... Show me dmesg output pertinent to re(4). -- Regards, Pyun YongHyeon