From owner-freebsd-questions Sat Jun 22 23:17: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [193.162.153.4]) by hub.freebsd.org (Postfix) with ESMTP id 0249337B401 for ; Sat, 22 Jun 2002 23:16:54 -0700 (PDT) Received: from there (0x3ef34d50.albnxx2.adsl.tele.dk [62.243.77.80]) by pfepc.post.tele.dk (Postfix) with SMTP id 61CE9263871; Sun, 23 Jun 2002 08:16:51 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Bjarne Wichmann Petersen To: dsyphers@uchicago.edu, Bjarne Wichmann Petersen Subject: Kernelbuild "the new way" (Was: APM not even a sign) Date: Sun, 23 Jun 2002 08:17:56 +0200 X-Mailer: KMail [version 1.3.2] Cc: freebsd-questions@FreeBSD.ORG References: <20020622205830.A8B59481B46@pfepa.post.tele.dk> <200206221620.45619.dsyphers@uchicago.edu> In-Reply-To: <200206221620.45619.dsyphers@uchicago.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020623061651.61CE9263871@pfepc.post.tele.dk> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday 22 June 2002 23:20, David Syphers wrote: > On Saturday 22 June 2002 03:59 pm, Bjarne Wichmann Petersen wrote: > > On Friday 21 June 2002 23:24, jogegabsd wrote: > > > Hello all. I'm trying to run apm on my laptop with 4.6-RELEASE. > > > Now I had also this problem with 4.5-RELEASE. > > > I reconfigure my kernel from this > > How do you build your kernel? By "the new way" ('make buildkernel > > KERNCONF=MYKERNEL' etc.)? > > I just went through the same hell this afternoon trying to get apm > > working on > > my ThinkPad. Followed every guidelines. Didn't work. (device not > > configured). > > Then I just went in and build the kernel "the old way" > > #cd /usr/src/sys/i386/config > > #/usr/sbin/config MYKERNEL > > #cd ../../compile/MYKERNEL > > #make depend > > #make > > #make install > > > > Voila... suddenly apm worked like a charm.... isn't the first time "the > > new way" have given me headaches. > I belive the "new way" is _only_ for when you're upgrading the entire > system - it's for use between buildworld and installworld. The "old way" > is still the way for when you're just building your kernel. Well, I think Handbook is a bit vague on this. It does say that "the old way" should be used when the source haven't been updated. But since I alway cvsup my sourcetree prior to a kernelbuild (and subsequent make world) this really doesn't apply. "The new way" should be fine for me, but alas, isn't. > Did you actually check to see if a new kernel was being installed? Yup. Bjarne -- Homepage: http://www.mekanix.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message