From owner-freebsd-acpi@FreeBSD.ORG Tue Dec 27 00:17:49 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 242DC16A41F for ; Tue, 27 Dec 2005 00:17:49 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by mx1.FreeBSD.org (Postfix) with SMTP id 3B64843D64 for ; Tue, 27 Dec 2005 00:17:47 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: (qmail 83070 invoked from network); 27 Dec 2005 00:17:47 -0000 Received: from unknown (HELO ?192.168.2.8?) (jinmtb@sbcglobal.net@68.127.171.235 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 27 Dec 2005 00:17:47 -0000 Message-ID: <43B08825.1050906@lbl.gov> Date: Mon, 26 Dec 2005 16:17:41 -0800 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051013 X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: Adriaan de Groot References: <20051226172520.V29157@omega.nanophys.kth.se> <200512262237.02342.groot@kde.org> In-Reply-To: <200512262237.02342.groot@kde.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Konovalenko , freebsd-acpi@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: "no carrier" on vr0 caused by suspend (FreeBSD 6.0) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2005 00:17:49 -0000 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. > Just bought a ECS P4M800-M7 (V3.1), and had some problems on vr0 with FreeBSD 6.0. Without carrier, system hangs. With cable plugged in, vr0 doesn't work properly. Dhclient fails. Even manually ifconfig vr0 to a IP, machine cannot ping the gateway. Plugged in a fxp0 NIC and dhclient works on fxp0. So, I wonder if this vr driver issue or is it a bad NIC? (vr0 is on board NIC). -- ------------ Jin Guojun ----------- v --- jin@george.lbl.gov --- Distributed Systems Department http://www.dsd.lbl.gov/~jin Lawrence Berkeley National Laboratory, Berkeley, CA 94720