Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 17:13:11 +0200
From:      Ladavac Marino <mladavac@metropolitan.at>
To:        'Marty C' <lalala@globalserve.net>, freebsd-newbies@FreeBSD.ORG
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: Custom Kernel
Message-ID:  <55586E7391ACD211B9730000C1100276179690@r-lmh-wi-100.corpnet.at>

next in thread | raw e-mail | index | archive | help
> -----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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55586E7391ACD211B9730000C1100276179690>