From owner-freebsd-questions@FreeBSD.ORG Fri Feb 13 05:53:21 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EE9816A4CE for ; Fri, 13 Feb 2004 05:53:21 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 892C343D1D for ; Fri, 13 Feb 2004 05:53:21 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.196.44]) by comcast.net (rwcrmhc12) with ESMTP id <2004021313532101400f3f4re>; Fri, 13 Feb 2004 13:53:21 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 2A45711; Fri, 13 Feb 2004 08:53:17 -0500 (EST) Sender: lowell@be-well.ilk.org To: Edward Carmody References: <000001c3f119$a1cb7d90$3268a8c0@edsdell8200> From: Lowell Gilbert Date: 13 Feb 2004 08:53:16 -0500 In-Reply-To: <000001c3f119$a1cb7d90$3268a8c0@edsdell8200> Message-ID: <447jyrf5mb.fsf@be-well.ilk.org> Lines: 72 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: First time building new kernel 5.1-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2004 13:53:21 -0000 Do you need to be using 5.1? It's an outdated "early adopters'" release, after all... Edward Carmody writes: > Trying to build a new kernel, having some > issues... And you didn't show the kernel configuration. > > First, I tried to follow the FreeBSD Handbook, > Section 9.3, Procedure 1. Building a Kernel the > ``Traditional'' Way; experienced the following > issue: ================================= > [root@Oberon conf]# pwd /usr/src/sys/i386/conf Surely you mean "cd" rather than "pwd". Next time, please use cut-and-paste to show *exactly* what happened (script(1) can help if necessary). > [root@Oberon conf]# config OBERON > config: OBERON:226: devices with zero units are > not likely to be correct [root@Oberon conf]# > I man config, and see that "The line numbers > reported in error messages are usually off by > one." I did not experience this with a previous > mistake, but here are the lines around line 226: > ================================= > device isa > device eisa > device pci > device fdc0 at isa? port IO_FD1 irq 6 > drq 2 > device fd0 at fdc0 drive 0 > device fd1 at fdc0 drive 1 That's definitely not right on 5.1. Where did you get it from? It looks more like a config from 4.x. > ================================= > > Again, I don't see what's wrong. > > > So, I tried Procedure 2. Building a Kernel the > ``New'' Way: ================================= # > cd /usr/src # make buildkernel KERNCONF=MYKERNEL # I'll assume that '#' wasn't in the middle of the line... > The Regents of the University of > California. All rights reserved. FreeBSD > 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 Definitely not a new kernel. > [root@Oberon sys]# pwd /usr/obj/usr/src/sys > [root@Oberon sys]# ls GENERIC OBERON boot > [root@Oberon sys]# What you put here obviously isn't exactly what you typed originally, so I'm quite hesitant to draw any conclusions from it... Good luck. -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password "public"