From owner-freebsd-stable@FreeBSD.ORG Tue Mar 17 12:52:52 2009 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 42AC710656FE for ; Tue, 17 Mar 2009 12:52:52 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id C997B8FC0C for ; Tue, 17 Mar 2009 12:52:51 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by gxk24 with SMTP id 24so29991gxk.19 for ; Tue, 17 Mar 2009 05:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3ThjrtlPcWmkfUIYWAJNfPbwW/qJZn4zQjSh8UD/5VQ=; b=OVthrLgjOfV5mP/4Dnh1owPCuXg6mfXrj7TdNzZTRccXB3zE8rUe9YWG8eeYzxFFgd u7VUXiiU8tqFjkgimpNBnH9Td3W6+2RyMaDovPPcqjAJ7oeaULHiKDB6PX0aq/+PA8P3 bmRpJNAuqz663PNPT6xJxsu02ijixuKsKDjG4= 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=oTE7RetzjmAD+ITY34qxzL12eThgb4ZiXzCyS5BTxwiGnwmEdta3CO2ymiW/mFhtzn bE3FgMYcASkY6pnzTbz5+vhPLhktdRM4G3YwiQskmP2ZuYqdwTKgu/8EpEDjty5RL2g7 kPzsR0KGdMt+6jGRcfJKXvT84cKjGzKJqjb4c= MIME-Version: 1.0 Received: by 10.142.156.2 with SMTP id d2mr2747747wfe.179.1237292572159; Tue, 17 Mar 2009 05:22:52 -0700 (PDT) In-Reply-To: References: <7381363A-9B55-4A3B-99BF-A05B2F879403@airwired.net> Date: Tue, 17 Mar 2009 05:22:52 -0700 Message-ID: <7d6fde3d0903170522l6c7d7df8w3bff02ba5eee560f@mail.gmail.com> From: Garrett Cooper To: Dan Allen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: alc@freebsd.org, FreeBSD-STABLE Mailing List Subject: Re: GCC build causes panic: page already inserted 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: Tue, 17 Mar 2009 12:52:53 -0000 On Mon, Mar 16, 2009 at 5:47 PM, Dan Allen wrote: > > On 16 Mar 2009, at 1:01 PM, Alan Cox wrote: > >> For now, can you just provide the stack trace? > > As I mentioned, I am unable to do so - I have no kernel.debug. > > However, I am trying to reproduce the bug again. =A0(It takes a while.) > =A0Although it has not yet crashed, I noticed another unusual behavior: > > Normally during my gcc builds the 1 GB of swap space is never touched. = =A0My > main 1 GB of RAM is sufficient and there is always at least 100 MB of fre= e > memory. > > Today I saw a STATE listed when running top that I have never seen, calle= d > "wdrain". =A0This happened when I saw my free memory plummet down to only= 20 > MB free (out of 1 GB). =A0This state appears to be set in > /usr/src/sys/kern/vfs_bio.c in a routine called waitrunningbufspace(). = =A0This > file also was modified March 1st. =A0I do not know if there is a connecti= on... > > The last time I built gcc-4.4 was probably just before this. =A0(I build = gcc > whenever there is a new version, within a couple of days of it being adde= d > to ports. =A0There was about two weeks with no new versions this first ha= lf of > March so it has been a couple of weeks...) > > I am tempted to go back to about Feb 28th kernel-wise and try the gcc bui= ld > again and see if it works or panics. > > Any suggestions as to how I can help narrow this down? - Which platform are you using: i386 or amd64? - Is there a particular file that it tries to compile when it runs out of memory? - What are your CFLAGS in make.conf? Thanks, -Garrett