[118] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Re: sound

daemon@ATHENA.MIT.EDU (yoav@MIT.EDU)
Wed Mar 22 19:45:25 1995

From: yoav@MIT.EDU
Date: Wed, 22 Mar 1995 19:45:05 -0500
To: netbsd-help@MIT.EDU, sdfranks@MIT.EDU

Well, I'm not sure what the card is, but I believe NetBSD supports
SoundBlaster clones, Windows Sound System, and ProAudio spectrum (this
might be in -current). To compile your own kernel, you will need to have
sources (or symlinks). If you don't want to untar to local disk, do
the following:

	select a directory to build in (say /build/kernel -- whatever.. 
replace with wherever you'd lke to build -- I think you'll need about 40 meg).

	cd /build/kernel
	/usr/athena/etc/synctree -s /afs/sipb/project/netbsd/src/sys -d ./ -a /afs/sipb/project/sipb/src/src/Mosaic/.rconf

		that previous command makes symlinks, if you have an extra 30
		megs, just copy the entire thing over (yes, the previous thing
		is VERY gross).

	cd /build/kernel/arch/i386/conf
		look at some of the files, specifically, ATHENA-AHA, which is
		the one I suggest you modify. you'll need most of the stuff in
		there, but you'll need to add a device (sb I think -- look at
		some of the other files) with the correct IRQ and such.

		save the edited file as the name you want to give the kernel,
		lets say you call it SDFRANKS

	config SDFRANKS
	cd ../compile/SDFRANKS
	make depend
	make

		this will create a kernel named netbsd, which you should copy over
		to / (name it something like /netbsd.new.. I suggest you do it this way:

	cp ./netbsd /netbsd.new
	cd /
	ln netbsd netbsd.old
	rm netbsd
	ln netbsd.new netbsd

		the kernel should be ready for running, so just sync, halt, and reboot
		if you have problems running that kernel, you will want to boot off the
		olc one in single user mode... when you get the bootloader prompt (the
		silly netbsd thing that prints numbers and then boots the kernel), type

	netbsd.old -s

		then go in, throw away the new kernel, and replace the old.


Good luck  :-)
	yoav (who can build you a -current kernel if you want)

home help back first fref pref prev next nref lref last post