From owner-freebsd-hardware@FreeBSD.ORG Mon Feb 13 08:45:13 2006 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 0368216A420; Mon, 13 Feb 2006 08:45:13 +0000 (GMT) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (omega.nanophys.kth.se [130.237.35.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5387F43D45; Mon, 13 Feb 2006 08:45:11 +0000 (GMT) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (localhost [127.0.0.1]) by omega.nanophys.kth.se (8.13.4/8.13.1) with ESMTP id k1D8jAgr043710; Mon, 13 Feb 2006 09:45:10 +0100 (CET) (envelope-from kono@kth.se) Received: from localhost (localhost [[UNIX: localhost]]) by omega.nanophys.kth.se (8.13.4/8.13.1/Submit) id k1D8j9eC043624; Mon, 13 Feb 2006 09:45:09 +0100 (CET) (envelope-from kono@kth.se) X-Authentication-Warning: omega.nanophys.kth.se: kono set sender to kono@kth.se using -f From: Alexander Konovalenko Organization: KTH To: John Baldwin Date: Mon, 13 Feb 2006 09:45:09 +0100 User-Agent: KMail/1.8.3 References: <20051226172520.V29157@omega.nanophys.kth.se> <200512271117.15361.jhb@freebsd.org> <200602061642.56603.jhb@freebsd.org> In-Reply-To: <200602061642.56603.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602130945.09885.kono@kth.se> Cc: Adriaan de Groot , freebsd-acpi@freebsd.org, 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 Reply-To: kono@kth.se List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2006 08:45:13 -0000 On Monday 06 February 2006 22.42, John Baldwin wrote: > On Tuesday 27 December 2005 11:17, John Baldwin wrote: > > On Monday 26 December 2005 04:36 pm, Adriaan de Groot wrote: > > > 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; it's not a laptop, but I felt it needed to suspend anyway. > > > Suspend into S3 causes the vr0 to hang on resume, in my case with > > > regular vr0: watchdog timeout messages. > > > > > > Solution: reset the driver. > > > > > > Implementation: build a custom kernel with _no_ vr interface built in. > > > Make sure vr is built as a module. In the suspend script, unload the > > > module. In resume, reload it, then run rc.d/netif and rc.d/routing. For > > > simple machines with uncomplicated interfaces and routing, that ought > > > to do the trick. > > > > You can try stopping the chip during suspend and init on resume. > > Something like this: > > Did the patch below work (did you try it)? > Unfortunately it did not work, suspend cause "no carrier" anyway :-( Thanks for help anyway /Alexander Konovalenko