From owner-freebsd-current@FreeBSD.ORG Thu Apr 29 21:46:33 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 536E3106566B for ; Thu, 29 Apr 2010 21:46:33 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 252018FC0A for ; Thu, 29 Apr 2010 21:46:32 +0000 (UTC) Received: by pvg3 with SMTP id 3so218646pvg.13 for ; Thu, 29 Apr 2010 14:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0aaEHz68IF3EfWcXWwHWJdalg1d9y+kcNuZJOoUfVcE=; b=UfMvN3+ZmMDB8L/Onb7tH3NdlzV2SP1UzopwAxlisIOMHA7kWo9BC6k24Sd4/jOMou KwYnH6xycKOj8qUig0UhBswceC4Y1khOMAr19q2NG3d2JtFnE+im/mleT8KZt0E9DCY+ Ro3sLfS6L82tLjvVddvGnf4SqoT786cjRbC80= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OFeqLUnfVQMoilBkJUbyjHHZW+UpWpaKQFWlpKj0w6tLwe4FtpCW4xLKgeRZ5WlHQd DSmUFop+43/6NZbXEqp5UfjFXTlDogUz+MHW3rq0ZzSkg7p1eb3cNgQyBarvau5ie9nz WD5YNd8g+qvc9dVKYyAhuZdOKrcnJdNv8K3rA= MIME-Version: 1.0 Received: by 10.142.201.17 with SMTP id y17mr1479389wff.283.1272577590095; Thu, 29 Apr 2010 14:46:30 -0700 (PDT) Received: by 10.142.69.2 with HTTP; Thu, 29 Apr 2010 14:46:29 -0700 (PDT) In-Reply-To: <201004292241.30915.bruce@cran.org.uk> References: <20100429153154.GA70173@darkthrone.kvedulv.de> <20100429211256.GA73377@darkthrone.kvedulv.de> <4BD9F7F1.7020607@icyb.net.ua> <201004292241.30915.bruce@cran.org.uk> Date: Thu, 29 Apr 2010 14:46:29 -0700 Message-ID: From: Garrett Cooper To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Michael Moll , freebsd-current@freebsd.org, Andriy Gapon Subject: Re: config(8) dumps core X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 21:46:33 -0000 On Thu, Apr 29, 2010 at 2:41 PM, Bruce Cran wrote: > On Thursday 29 April 2010 22:19:45 Andriy Gapon wrote: >> on 30/04/2010 00:12 Michael Moll said the following: >> > Hi, >> > >> > On Thu, Apr 29, 2010 at 11:33:30PM +0300, Andriy Gapon wrote: >> >> on 29/04/2010 18:31 Michael Moll said the following: >> >> You can use hd to see if you indeed have '\0' (0x00) symbol somewhere >> >> within your kernel config file. >> > >> > Thanks, I checked this and there are no 0x00s in the config file itsel= f, >> >> Then that assert message is strange. >> Or there is something else to this situation. >> >> > but a hd to /boot/kernel/kernel reveals: >> > >> > 09 66 77 69 70 0a 64 65 =A076 69 63 65 09 64 63 6f |.fwip.device.dco| >> > 6e 73 0a 64 65 76 69 63 =A065 09 64 63 6f 6e 73 5f |ns.device.dcons_| >> > 63 72 6f 6d 0a 00 00 00 =A000 00 00 00 00 00 00 00 |crom............| >> > 00 00 00 00 00 00 00 00 =A000 00 00 00 00 00 00 00 |................| >> > >> > This also explains why a recent config-binary worked against the old >> > kernel... The were some commits to /src/usr.sbin/config/* in the last >> > weeks, maybe one of them broke this. >> >> Actually I think that this doesn't mean anything. >> /boot/kernel/kernel is a binary, an executable, it is expected to have a >> fair amount of 0x00 in it. >> That assert was specifically about kernel _config_ file. > > It's expected to have some 0x00s, but hopefully not in the middle of the > embedded kernel configuration file that has recently been added to GENERI= C :) Michael, Does a version prior to last week work, and could you please attach your kernel configuration file(s) for analysis? Thanks, -Garrett