From owner-freebsd-stable@FreeBSD.ORG Fri Aug 8 17:56:45 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 97DB61065672 for ; Fri, 8 Aug 2008 17:56:45 +0000 (UTC) (envelope-from markus@vervier.info) Received: from mail.system360.de (mail.system360.de [84.254.79.40]) by mx1.freebsd.org (Postfix) with ESMTP id 53BB08FC08 for ; Fri, 8 Aug 2008 17:56:45 +0000 (UTC) (envelope-from markus@vervier.info) Received: from localhost (mail [84.254.79.40]) by mail.system360.de (Postfix) with ESMTP id 7FF54BE51C for ; Fri, 8 Aug 2008 20:07:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at system360.de Received: from mail.system360.de ([84.254.79.40]) by localhost (mail.system360.de [84.254.79.40]) (amavisd-new, port 10024) with ESMTP id 1WSV4Ha3sGCs for ; Fri, 8 Aug 2008 20:07:07 +0200 (CEST) Received: from [192.168.2.15] (p5B394E2B.dip.t-dialin.net [91.57.78.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.system360.de (Postfix) with ESMTP id 04079BE50F for ; Fri, 8 Aug 2008 20:07:06 +0200 (CEST) Message-ID: <489C88DB.6030000@vervier.info> Date: Fri, 08 Aug 2008 19:56:43 +0200 From: Markus Vervier User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <489C4129.4090303@vervier.info> <2a41acea0808080936n589e277ao33ec08a75fdcbac2@mail.gmail.com> In-Reply-To: <2a41acea0808080936n589e277ao33ec08a75fdcbac2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: em(4) on FreeBSD is sometimes annoying X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 17:56:45 -0000 Jack Vogel schrieb: > "me too" 's are of little help. Please elaborate on your "exact same", since > each person's perception will be slightly different. > > Hi Jack, maybe read it like: Thinkpad X60 1706GMG affected too, so the problem is not specific to Martins machine. I can write the same steps to reproduce the behaviour as Martin here: <--> Once again, steps to reproduce this behavior: 1) Power the laptop OFF. Really OFF, I mean. No reboots! 2) Detach the cable from NIC. 3) Boot FreeBSD. Let it pass the DHCP phase (ifconfig_em0="DHCP") until login appears. 4) Attach the cable to the NIC. 5) Voila... no link. <--> My perception is that if the em driver gets loaded without a cable being plugged in, no link can be established. I can workaround the problem when em was not build into the kernel, by unloading the em-kmod and reloading it again with the cable plugged in. If the cable is not plugged in the interface will always stay in state "no carrier". The NIC works fine under Windows / Linux on the same machine. -- Markus