From owner-freebsd-stable@FreeBSD.ORG Fri Aug 1 13:27:51 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 870231065672 for ; Fri, 1 Aug 2008 13:27:51 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from gidgate.gid.co.uk (host-83-146-60-88.dslgb.com [83.146.60.88]) by mx1.freebsd.org (Postfix) with ESMTP id 2BAD38FC1E for ; Fri, 1 Aug 2008 13:27:49 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from [194.32.164.28] ([194.32.164.6]) by gidgate.gid.co.uk (8.13.8/8.13.8) with ESMTP id m71DGvlR033272; Fri, 1 Aug 2008 14:16:57 +0100 (BST) (envelope-from rb@gid.co.uk) Message-Id: From: Bob Bishop To: Martin In-Reply-To: <20080801142005.473c17ca@zelda.local> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Fri, 1 Aug 2008 14:16:57 +0100 References: <20080801142005.473c17ca@zelda.local> X-Mailer: Apple Mail (2.928.1) Cc: freebsd-stable@freebsd.org 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 13:27:51 -0000 Hi, On 1 Aug 2008, at 13:20, Martin wrote: > > Hello, > > 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)? > > 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. Well it's not a problem for my TP T41 (just tested with 5.0R and 7.0R), the NIC probes as: and I've never seen it on sundry other boxes with em. That doesn't mean it can't happen, of course. > -- > Martin -- Bob Bishop +44 (0)118 940 1243 rb@gid.co.uk fax +44 (0)118 940 1295 mobile +44 (0)783 626 4518