From owner-freebsd-net@freebsd.org Sat Feb 20 11:51:10 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CB1EAAF132 for ; Sat, 20 Feb 2016 11:51:10 +0000 (UTC) (envelope-from lolo@troll.free.org) Received: from troll.free.org (troll6.free.org [IPv6:2a01:e0d:1:58:58bf:f921:0:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E407811 for ; Sat, 20 Feb 2016 11:51:10 +0000 (UTC) (envelope-from lolo@troll.free.org) Received: by troll.free.org (Postfix, from userid 500) id AC4BC1FD701; Sat, 20 Feb 2016 12:50:58 +0100 (CET) Date: Sat, 20 Feb 2016 12:50:58 +0100 From: Laurent Frigault To: freebsd-net@FreeBSD.org Cc: andrew.daugherity@gmail.com Subject: Re: [Bug 196944] [bge] [ipmi] regression IPMI access disabled when bge driver is loaded Message-ID: <20160220115058.GA46655@troll.free.org> Reply-To: freebsd-net@FreeBSD.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: X-Powered-By: UUCP User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 11:51:10 -0000 On Sat, Feb 20, 2016 at 03:42:02AM +0000, bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196944 > > --- Comment #2 from Andrew Daugherity --- > I've found the commit that breaks it: base r241438 (which was MFC into stable/9 > as 243546). Reading the commit history between 9.1 and 9.2, I saw that r248226 > (MFC onto 9-stable as r248858) claims to fix IPMI on a Sun X2200 that broke > with 241838, so my first test was to see if it was working just before that. > > I built a 9.2 kernel with sys/dev/bge/if_bge.c rolled back to the commit before > the "bad" one, 243541 (MFC from 241436), and IPMI works! (I did not touch any > other files.) Also works for a stable/9 kernel (identified as 9.3-STABLE #1 > r243541:295788) with if_bge.c at 243541. > > If I update if_bge.c to the commit in question (241438 aka 243546), IPMI is > broken once more. I also tried r248858 (248226) which supposedly fixed IPMI on > those Sun servers but it did not help here. I have not tried any other > commits, as it appears that for my hardware, it works on <=241436 and is broken > for >=241438. > > I also fixed my 10.2 kernel in the same way by rolling back if_bge.c to > r241436. I had to merge r242426 and r242625 to get it to build; after doing so > IPMI works in 10.2! > > Obviously rolling all the way back like this isn't the solution for everyone, > as there have been many other commits since then, but at least I found the > breakage point. I don't know the bge driver or kernel well enough to properly > fix it, but hopefully this is good information for someone who does. Is there any chance that a patch for this bug will be available before 10.3 ? -- Laurent Frigault | Free.org