From owner-freebsd-questions Tue Jun 22 8:16:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from titan.metropolitan.at (mail.metropolitan.at [195.212.98.131]) by hub.freebsd.org (Postfix) with ESMTP id 7E3FB14F4E; Tue, 22 Jun 1999 08:15:56 -0700 (PDT) (envelope-from mladavac@metropolitan.at) Received: by TITAN with Internet Mail Service (5.0.1458.49) id ; Tue, 22 Jun 1999 17:18:55 +0200 Message-ID: <55586E7391ACD211B9730000C1100276179690@r-lmh-wi-100.corpnet.at> From: Ladavac Marino To: 'Marty C' , freebsd-newbies@FreeBSD.ORG Cc: freebsd-questions@FreeBSD.ORG Subject: RE: Custom Kernel Date: Tue, 22 Jun 1999 17:13:11 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Marty C [SMTP:lalala@globalserve.net] > Sent: Tuesday, June 22, 1999 12:44 PM > To: freebsd-newbies@FreeBSD.ORG > Cc: freebsd-questions@FreeBSD.ORG > Subject: Custom Kernel > > Is there some type of utility program to help someone make a custom > kernel? [ML] Yes. Several, in fact. I prefer /usr/bin/vi :) > Does anyone out there have an already written "MYKERNEL" (or > know where > to get one etc...) for a kernel with sound support (sb16) on a > computer > that has an AMD-K6-2 cpu, a dual boot win98 (hda4) and FreeBSD > (wd0s1a) > hd (swap is wd0s1b), a floppy (fd0), a 32x Creative CROM (wcd0c), > 2x/6x > ACER CD-ReWriter (wcd1c), modem, Matrox Mystique G200 4MB, and a HP > DeskJet 672C printer? [ML] It is not that hard. Install kernel sources (sys source package) for your particular version of FreeBSD--I don't know which one since you did not tell, and my crystal ball is out for repair. Once you do that, cd /usr/src/sys/i386/conf cp GENERIC MYKERNEL vi MYKERNEL (and edit to taste; use LINT as a list/description of possible options; use man to find out what devices do--man sio explains sio, etc) config MYKERNEL cd ../../compile/MYKERNEL make depend make make install reboot Your Windows slice will be /dev/wd0s4 (slices are 1-based, IIRC), your modem will be /dev/cuaa0 if it is COM1, the rest should JustWork(TM). Since I don't know what a K6-2 is, I'd keep both 586 and 686 cpu lines in MYKERNEL > Is it true that FreeBSD was developed using MS Visual Basic 4.0? > (joke) [ML] Hey, careful about that--it is not a joke; it is a fact! If I didn't use my VB4.0 manuals and media to prop up the monitor, I'd have had such a horrible pain in the neck, and would not have been able to use, much less to develop on my FreeBSD box. And, please don't think I'm the only one to have found use for VB :) /Marino > -- > ======================================= > | from Martin, lalala@globalserve.net | > | -Destroyer of Hard Drives | > | -Mangler of partition tables | > | -Data's worst nightmare | > ======================================= > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message