From owner-freebsd-current Sat Jun 17 19:55:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from volatile.chemicals.tacorp.com (ci391991-a.grnvle1.sc.home.com [24.9.31.75]) by hub.freebsd.org (Postfix) with ESMTP id 73BB937BC12 for ; Sat, 17 Jun 2000 19:55:10 -0700 (PDT) (envelope-from morganw@chemicals.tacorp.com) Received: (from morganw@localhost) by volatile.chemicals.tacorp.com (8.9.3/8.9.3) id WAA00355; Sat, 17 Jun 2000 22:55:06 -0400 (EDT) (envelope-from morganw) Date: Sat, 17 Jun 2000 22:55:06 -0400 (EDT) From: Wes Morgan To: Donn Miller Cc: current@FreeBSD.ORG Subject: Re: GENERIC from today does not detect system console on my box In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 17 Jun 2000, Donn Miller wrote: > On Sat, 17 Jun 2000, Matthew Dillon wrote: > > > My test box, with a pristine 5.x kernel, crashes on boot... it only > > gets a few lines in, prints the amount of memory the machine has, > > and BEWM. Low memory page fault. > > I saw the same thing myself. It turns out, though, that I was using > > COPTFLAGS= -march=pentium -Os -pipe > > to compile my kernel. When I used the stock opt flags of > > COPTFLAGS= -O -pipe > > to compile my kernel, my machine booted OK. It appears as though some > changes were put in the tree that are sensitive to optimizations above -O > -pipe. My machine never behaved this way before with high optimizations > until the new changes were put into -current about 1 or 2 days ago. Well -pipe isn't technically an optimization... But I was using -O2 and couldn't boot... A kernel with -O will boot. One thing I noticed when changing the flags was that the modules built along with your kernel don't use the compiler flags set in my kernel config file. Has anyone considered addressing this by moving the module objects etc into the kernel build directory? Seems to me it would make maintaining multiple kernels on a single machine even easier. -- _ __ ___ ____ ___ ___ ___ Wesley N Morgan _ __ ___ | _ ) __| \ wesleymorgan@home.com _ __ | _ \._ \ |) | FreeBSD: The Power To Serve _ |___/___/___/ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message