How to force a kernel panic?

michael michael at nettmail.de
Tue Aug 26 23:30:13 PDT 2003


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.
 >



More information about the freebsd-stable mailing list