From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 26 21:37:14 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E99C416A41F; Mon, 26 Dec 2005 21:37:14 +0000 (GMT) (envelope-from groot@kde.org) Received: from pandora.cs.kun.nl (pandora.cs.kun.nl [131.174.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E453F43D80; Mon, 26 Dec 2005 21:37:05 +0000 (GMT) (envelope-from groot@kde.org) Received: from odin.cs.kun.nl [131.174.33.33] (helo=localhost.englishbreakfastnetwork.org) by pandora.cs.kun.nl (8.13.5/5.7) with ESMTP id jBQLb262012580; Mon, 26 Dec 2005 22:37:02 +0100 (MET) From: Adriaan de Groot To: freebsd-acpi@freebsd.org Date: Mon, 26 Dec 2005 22:36:56 +0100 User-Agent: KMail/1.9 References: <20051226172520.V29157@omega.nanophys.kth.se> In-Reply-To: <20051226172520.V29157@omega.nanophys.kth.se> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1591578.ScZFQImDFy"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512262237.02342.groot@kde.org> X-Spam-Score: -0.01 () BAYES_40,FORGED_RCVD_HELO X-Scanned-By: MIMEDefang 2.48 on 131.174.33.4 Cc: Alexander Konovalenko , freebsd-hardware@freebsd.org Subject: Re: "no carrier" on vr0 caused by suspend (FreeBSD 6.0) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2005 21:37:15 -0000 --nextPart1591578.ScZFQImDFy Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 26 December 2005 17:44, Alexander Konovalenko wrote: > recently I have upgraded my AMD Athlono-XP laptop to 6.0 STABLE, > everything works fine, even suspending with zzz works except > network interface vr0 which is in state "no carrier" right after wake up. > The only thing which helps is reboot. I just finished working on a Via C3-mini ITX box, also with a vr0 interface= ;=20 it's not a laptop, but I felt it needed to suspend anyway. Suspend into S3= =20 causes the vr0 to hang on resume, in my case with regular vr0: watchdog=20 timeout messages. Solution: reset the driver. Implementation: build a custom kernel with _no_ vr interface built in. Make= =20 sure vr is built as a module. In the suspend script, unload the module. In= =20 resume, reload it, then run rc.d/netif and rc.d/routing. For simple machine= s=20 with uncomplicated interfaces and routing, that ought to do the trick. =2D-=20 These are your friends - Adem GPG: FEA2 A3FE Adriaan de Groot --nextPart1591578.ScZFQImDFy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDsGJ+dqzuAf6io/4RAtjjAJ9kFr2KydYZeb8mF625Zk0Ab9kCjQCfaZOr uhKegr8HdPq/q4UHwQo4aI4= =/ijv -----END PGP SIGNATURE----- --nextPart1591578.ScZFQImDFy--