Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2009 05:22:52 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Dan Allen <danallen46@airwired.net>
Cc:        alc@freebsd.org, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: GCC build causes panic: page already inserted
Message-ID:  <7d6fde3d0903170522l6c7d7df8w3bff02ba5eee560f@mail.gmail.com>
In-Reply-To: <C52C353F-437B-4FFC-87A3-A25DDBF36505@airwired.net>
References:  <7381363A-9B55-4A3B-99BF-A05B2F879403@airwired.net> <ca3526250903161201w303977beg446c6623b49b2ce4@mail.gmail.com> <C52C353F-437B-4FFC-87A3-A25DDBF36505@airwired.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 16, 2009 at 5:47 PM, Dan Allen <danallen46@airwired.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0903170522l6c7d7df8w3bff02ba5eee560f>