From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 16 00:42:53 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9DC4AFBD; Wed, 16 Jan 2013 00:42:53 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 3377D944; Wed, 16 Jan 2013 00:42:53 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id r0G0gnDa063657; Tue, 15 Jan 2013 17:42:49 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r0G0glVj004056; Tue, 15 Jan 2013 17:42:47 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Subject: RE: kgzip(1) is broken From: Ian Lepore To: Devin Teske In-Reply-To: <0a2301cdf37d$ebe705a0$c3b510e0$@fisglobal.com> References: <09b701cdf367$12737530$375a5f90$@freebsd.org> <1358291098.32417.134.camel@revolution.hippie.lan> <0a0001cdf375$60ddbc40$229934c0$@freebsd.org> <0a2301cdf37d$ebe705a0$c3b510e0$@fisglobal.com> Content-Type: text/plain; charset="us-ascii" Date: Tue, 15 Jan 2013 17:42:47 -0700 Message-ID: <1358296967.32417.137.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, dteske@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2013 00:42:53 -0000 On Tue, 2013-01-15 at 16:10 -0800, Devin Teske wrote: > > > -----Original Message----- > > From: Devin Teske [mailto:devin.teske@fisglobal.com] On Behalf Of > > dteske@freebsd.org > > Sent: Tuesday, January 15, 2013 3:10 PM > > To: 'Ian Lepore' > > Cc: freebsd-hackers@freebsd.org; dteske@freebsd.org > > Subject: RE: kgzip(1) is broken > > > > > > > > > -----Original Message----- > > > From: Ian Lepore [mailto:freebsd@damnhippie.dyndns.org] > > > Sent: Tuesday, January 15, 2013 3:05 PM > > > To: dteske@freebsd.org > > > Cc: freebsd-hackers@freebsd.org > > > Subject: Re: kgzip(1) is broken > > > > > > On Tue, 2013-01-15 at 13:27 -0800, dteske@freebsd.org wrote: > > > > Hello, > > > > > > > > I have been sad of-late because kgzip(1) no longer produces a usable > kernel. > > > > > > > > All versions of 9.x suffer this. > > > > > > > > And somewhere between 8.3-RELEASE-p1 and 8.3-RELEASE-p5 this recently > > > broke in > > > > the 8.x series. > > > > > > > > I haven't tried the 7 series lately, but if whatever is making the rounds > > gets > > > > MFC'd that far back, I expect the problem to percolate there too. > > > > > > > > The symptom is that the machine reboots immediately and unexpectedly the > > > moment > > > > the kernel is executed by the loader. > > > > > > > > This is quite troubling and I am looking for someone to help find the > > culprit. I > > > > don't know where to start looking. > > > > > > Here are some possible candidates from the things that were MFC'd to 8 > > > in that timeframe. I haven't looked at what these do, they're just > > > changes that affect files related to booting. > > > > > > r233211 > > > r233377 > > > r233469 > > > r234563 > > > > > > > Thanks Ian! > > > > I'll test each one individually to see if regressing any one (or all) > addresses > > the problem. > > Progress... > > Looks like I found the culprit. > > Turns out it's a back-ported bxe(4) driver (back-ported from 9 -- where kgzip > seems to never work). > > I wonder why back-porting bxe(4) from stable/9 to releng/8.3 would cause kgzip > to produce non-working kernels. > Yeah, it'll be interesting to see how a device driver can lead to "the machine reboots immediately and unexpectedly the moment the kernel is executed by the loader," which I took to mean "before seeing the copyright or anything." > I'm emailing the maintainers (davidch + other Broadcom folk) -- Ian