Date: Fri, 15 Sep 2000 15:01:34 +0100 From: Mark Ovens <marko@freebsd.org> To: Matt Bettinger <mattb@finsyn.com> Cc: freebsd-questions@freebsd.org Subject: Re: Kernel compile problems Message-ID: <20000915150134.F257@parish> In-Reply-To: <71F816A89AA9D3119F4C00D0B7094EFC198F50@FIN_SYN>; from mattb@finsyn.com on Fri, Sep 15, 2000 at 08:45:22AM -0500 References: <71F816A89AA9D3119F4C00D0B7094EFC198F50@FIN_SYN>
index | next in thread | previous in thread | raw e-mail
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 <new kernel name>
>
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000915150134.F257>
