From owner-freebsd-stable@FreeBSD.ORG Fri Aug 1 16:24:56 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 0C98C1065672 for ; Fri, 1 Aug 2008 16:24:56 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 8ECB28FC15 for ; Fri, 1 Aug 2008 16:24:55 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1436866fkk.11 for ; Fri, 01 Aug 2008 09:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=BHkBByYJdDAuo1kEkdMduyURHhEgKr2MYs6e3BipjIY=; b=TTTRdBVvoCFdgaD8iNQBR0U8ViuPBI8mTjcBYTszoioyoYoiPvM9LzdBvL4fqORxOX kkeswUcSDnlbDNKO4JnqgkS8uYxbxq9wMaeL8GHKpSPc89zR5R32loEeOJmf7iwbkSd1 lYw0E4vXVV2AR1AKoCnZ/MECbR7IFUX56WM0Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Gz3/hlOU6qgxrPKvClQN6z8j1rvqhjdFnXY2zVsfonQVXph+5iydVeczfyfJEJesPT YgZq2RdwF8+t78pF9TGmVG1wsyMiGCN6BDDtVVhm20YoVNe8w1WJniGe+VwAfLlrqmSK GC6dZ3zsibUd5nH0GwBMsG2wR2fKSqbaat7/g= Received: by 10.180.208.5 with SMTP id f5mr4109563bkg.42.1217607894237; Fri, 01 Aug 2008 09:24:54 -0700 (PDT) Received: by 10.125.74.17 with HTTP; Fri, 1 Aug 2008 09:24:53 -0700 (PDT) Message-ID: <2a41acea0808010924u22603c61p10e47237fad5b6fb@mail.gmail.com> Date: Fri, 1 Aug 2008 09:24:53 -0700 From: "Jack Vogel" To: "Robert Watson" In-Reply-To: <20080801154208.W6085@fledge.watson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080801142005.473c17ca@zelda.local> <20080801154208.W6085@fledge.watson.org> Cc: jfv@freebsd.org, freebsd-stable@freebsd.org, Martin 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, 01 Aug 2008 16:24:56 -0000 If the poster gives me EXACT hardware list I will see about repro'ing the problem inhouse. We do not do much of anything with laptops but I will see. Oh and a pciconf would help too. Jack On Fri, Aug 1, 2008 at 7:43 AM, Robert Watson wrote: > > On Fri, 1 Aug 2008, Martin wrote: > >> I don't remember anymore when I reported it the first time. I think it was >> around 4.x or something like that. The em(4) bug is still there after years. >> >> Hasn't anyone really noticed yet that em(4) only appears when you boot >> FreeBSD with the interface physically attached to a switch for example? If >> you attach it later, after boot up, the interface won't power up and appear >> in the interface list (ifconfig)? > > The card range supported by the if_em driver is huge, so it wouldn't be > surprising if this is a hardware bug affecting a relatively narrow line of > parts. I've added Jack Vogel to the CC line, as he's the Intel developer > responsible for maintaining our if_em driver. I don't promise he can help > either, but it's worth a try :-). > > Robert > >> >> Steps to reproduce: >> 1) Switch your PC/laptop off. Really OFF, no reboot. >> 2) Disconnect the em(4) NIC from your switch. >> 3) Boot FreeBSD. >> 4) Plug in the ethernet cable. >> 5) Tataa! All leds at the NIC stay off. You won't be able to use em(4) >> unless you reboot your machine. >> >> Something is not being initialized properly on em(4) devices, it seems. >> >> I have had 3 of 3 em(4) NICs so far, where this bug shows up. And it's >> extremely annoying on Thinkpads, when you just want to plug in your >> laptop somewhere. >> >> -- >> Martin >> >