From owner-freebsd-questions Fri Sep 15 7: 1:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id 9B44837B423 for ; Fri, 15 Sep 2000 07:01:38 -0700 (PDT) Received: from parish ([62.255.96.110]) by mta05-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000915140136.ZFME317.mta05-svc.ntlworld.com@parish>; Fri, 15 Sep 2000 15:01:36 +0100 Received: (from mark@localhost) by parish (8.11.0/8.11.0) id e8FE1Z901649; Fri, 15 Sep 2000 15:01:35 +0100 (BST) (envelope-from mark) Date: Fri, 15 Sep 2000 15:01:34 +0100 From: Mark Ovens To: Matt Bettinger Cc: freebsd-questions@freebsd.org Subject: Re: Kernel compile problems Message-ID: <20000915150134.F257@parish> References: <71F816A89AA9D3119F4C00D0B7094EFC198F50@FIN_SYN> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <71F816A89AA9D3119F4C00D0B7094EFC198F50@FIN_SYN>; from mattb@finsyn.com on Fri, Sep 15, 2000 at 08:45:22AM -0500 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Sep 15, 2000 at 08:45:22AM -0500, Matt Bettinger wrote: > Hello, > > System: > > dell dimension xps 750 > nvidia riva tnt2 32 meg AGP 4 video > ensoniq 1371 chipset sound card > GENERIC kernel > 4.1 Realease via purchased CD's. > 20 gig HDD dangerously dedicated to FreeBSD ;-o > > Last night i followed the procedure to the T in Greg's book on compiling a > kernel to support my sound card. > > The only thing i changed from the GENERIC kernel was the name of the kernel > itself and added options pcm for my sound card. Everything else was left > untouched with the exception of ident where i changed GENERIC to the name of > my new kernel. > > i did a make make install and rebooted and tried to load up this new kernel > so i can get a little sound going. > > the kernel doesn't boot up. it stops and says something about the CPU not > being specified. > > this has happened to me numerous times. This time i am going to have to > reinstall EVERYTHING since i 'forgot' to cp kernel.old and the working one > has now been overwritten by a broken kernel. > > what do i need to do to specify CPU type? > machine "i386" > cpu "I586_CPU" > ident > Firstly the double-quotes around numbers is no longer required (I don't think it causes any problems if you still use them, but I'm not sure). As a failsafe way to make it work leave all these in your initial kernel: machine i386 cpu I386_CPU cpu I486_CPU cpu I586_CPU cpu I686_CPU Then look at the boot messages to determine which one is the correct one for your machine: # dmesg | grep ^CPU CPU: AMD-K6tm w/ multimedia extensions (233.86-MHz 586-class CPU) ^^^^^^^^^^^^^ You can then comment out all the other ``cpu'' lines. HTH > ? do i have to uncomment out the others? Am i choosing the right machine > and cpu type for this dell? Do i need quotes etc? If i could just get > past this problem (trivial yes i know but i'm still learning this stuff > here) i would be a happy camper and then can go on to bigger and better > things. ;-) > > thanks for any input folks > > > Matthew Bettinger > Financial Synergies,Inc. > 1177 West Loop South, Suite 1400 > Houston,Texas 77027-9086 > www.fwalling.com > 713-623-6600 > 713-623-6771 FAX > > -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message