...so I can test my debugging kernel? Thanks, Mike H.
* Mike Harding <mvh@ix.netcom.com> [2003-08-26 09:41 -0700]:> ...so I can test my debugging kernel?kill -6 1
reboot -d On Tue, 26 Aug 2003 09:41:09 -0700 (PDT), "Mike Harding" <mvh@ix.netcom.com> said:> > ...so I can test my debugging kernel? > > Thanks, > > Mike H. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Hi,
	i got often kernel panic if i try to load or unload
	a soundcard-kernel-module,
	i have made a script what tests which kernel-module
	is useful for the system on whihc i would play
	soundfile w/o to know the chipset from the souncard.
	I append the script included in marks.
	----8<-SNIP-8<----
	#!/bin/sh
	for i in `ls /modules/snd_*.ko`
	do
	i=${i%%.ko}
	i=${i##*/}
	echo $i
	kldload $i
	sleep 2
	kldunload $i
	done
	---->8-SNAP->8----
	have fun and a good time
	michael
 >
 > ...so I can test my debugging kernel?
 >
 > Thanks,
 >
 > Mike H.
 >
Mike Harding wrote:> ...so I can test my debugging kernel?If you just need a debugger breakpoint, rather than a panic, then try one of these: sysctl debug.enter_debugger=ddb sysctl debug.enter_debugger=gdb -Archie __________________________________________________________________________ Archie Cobbs * Halloo Communications * http://www.halloo.com