From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 12 00:51:29 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E432106566B; Sat, 12 Nov 2011 00:51:29 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1F4598FC0A; Sat, 12 Nov 2011 00:51:28 +0000 (UTC) Received: by yenl2 with SMTP id l2so3830216yen.13 for ; Fri, 11 Nov 2011 16:51:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=yvWvkYrvnHDGhDnI1G7tlpX4mgE02SLoFf1SOJwF03k=; b=of7GUa2FEd777r6eDFVaI+c1CeZZmRkYlD1j1YUvy+tvnCkReC6la4xIwxIXwuPMJ7 QzhQufkeYX6xtyI3Kb5oXkkB/lmdW1D2gYCHSv0cOECfYnCgGWkMBDHEHvNBQeBwjE4h DDMWcD2ZEbt2OoI7IBp7qoXnDdLbSMKA7vWag= Received: by 10.68.47.4 with SMTP id z4mr28625172pbm.39.1321057771134; Fri, 11 Nov 2011 16:29:31 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id wn14sm34132101pbb.5.2011.11.11.16.29.29 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Nov 2011 16:29:30 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 11 Nov 2011 16:27:27 -0800 From: YongHyeon PYUN Date: Fri, 11 Nov 2011 16:27:27 -0800 To: rank1seeker@gmail.com Message-ID: <20111112002727.GD17792@michelle.cdnetworks.com> References: <20111110.182948.630.1@DOMY-PC> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111110.182948.630.1@DOMY-PC> User-Agent: Mutt/1.4.2.3i Cc: freebsd-acpi@freebsd.org, hackers@freebsd.org Subject: Re: Adventure into S3 state and back X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2011 00:51:29 -0000 On Thu, Nov 10, 2011 at 07:29:48PM +0100, rank1seeker@gmail.com wrote: > 8.2-p4 RELEASE amd64 > > I've built a custom kernel, only with drivers, that I need > After resuming from S3 ... > > I hit: > # ifconfig > and all hells breaks loose: > ---- > bge0: PHY read timed out (phy 1, reg 5, val 0xffffffff) > bge0: PHY read timed out (phy 1, reg 10, val 0xffffffff) > bge0: PHY read timed out (phy 1, reg 25, val 0xffffffff) > media: Ethernet autoselect > status: no carrier > bge0: PHY read timed out (phy 1, reg 1, val 0xffffffff) > bge0: PHY read timed out (phy 1, reg 1, val 0xffffffff) > bge0: PHY read timed out (phy 1, reg 0, val 0xffffffff) > ugen3.2: at usbus3 (disconnected) > ukbd0: at uhub3, port 1, addr 2 (disconnected) > ums0: at uhub3, port 1, addr 2 (disconnected) > uhid0: at uhub3, port 1, addr 2 (disconnected) > bge0: PHY read timed out (phy 1, reg 4, val 0xffffffff) > ugen3.2: at usbus3 > ukbd0: on usbus3 > kbd2 at ukbd0 > ums0: on usbus3 > ums0: 16 buttons and [XYZT] coordinates ID=2 > uhid0: on usbus3 > bge0: PHY read timed out (phy 1, reg 5, val 0xffffffff) > bge0: PHY read timed out (phy 1, reg 10, val 0xffffffff) > bge0: PHY read timed out (phy 1, reg 25, val 0xffffffff) > pflog0: flags=141 metric 0 mtu 33152 > lo0: flags=8049 metric 0 mtu 16384 > options=3 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=3 > cruiser# ifconfig > bge0: flags=8802 metric 0 mtu 1500 > options=8009b > ether 00:21:70:70:01:df > bge0: PHY read timed out (phy 1, reg 1, val 0xffffffff) > bge0: PHY read timed out (phy 1, reg 1, val 0xffffffff) > > ... ... ... Known issue. kern/136876. Mobile bge(4) controllers seem to have this issue. > ---- > > So, taking into account: > "A common problem with suspend/resume is that many device drivers do not save, restore, or reinitialize their firmware, registers, or device memory properly." > > Next step was to get rid of 'bge' device from my KERNCONF and recompile it. > Voila! S3 works! > > But another, mouse problem, didn't go away! > In 9 out of 10 cases, mouse doesn't resume. > As it is USB mouse, I've did: > > # camcontrol rescan all > didn't help > > I've also tried adding into loader.conf and nada: > --- > hint.psm.0.flags="0x3000" > --- > But i think it is PS/2 related > > What works 100% for a mouse is to unplug and then plug back it's USB receiver > > This is Dell D830 laptop > > > > Domagoj Smol?i? > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >