From owner-freebsd-questions@FreeBSD.ORG Sun Jul 30 13:42:43 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C11116A4E0 for ; Sun, 30 Jul 2006 13:42:43 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id B485943D55 for ; Sun, 30 Jul 2006 13:42:42 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 20250 invoked from network); 30 Jul 2006 13:42:40 -0000 Received: from unknown (HELO localhost) (775067@[217.50.135.94]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 30 Jul 2006 13:42:40 -0000 Date: Sun, 30 Jul 2006 15:42:15 +0200 From: Fabian Keil To: "Only OpenSource" Message-ID: <20060730154215.42a9ca28@localhost> In-Reply-To: References: X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; i386-portbld-freebsd6.1) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2006-08-19.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_dNVeLIaCGZqa/CkANZ=8hn."; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-questions@freebsd.org Subject: Re: how to panic FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 13:42:43 -0000 --Sig_dNVeLIaCGZqa/CkANZ=8hn. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "Only OpenSource" wrote: > I am trying to learn kernel debugging and one of the approaches I > have come up with is to introduce situations in the sys code by which > the compiled kernel is buggy > and will panic. >=20 > My query is what are the typical bugs that I can introduce in say by > which the kernel > would panic. If you browse the filed problem reports, you will find more than enough real panics and if you also have a look at the closed ones, you'll find solutions as well. You could also panic your systems with classics like: - kldloading /dev/mem - kldloading kernel modules that aren't in sync with the kernel - mounting a file system through USB and then unplugging the drive without umounting first=20 Fabian --=20 http://www.fabiankeil.de/ --Sig_dNVeLIaCGZqa/CkANZ=8hn. Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEzLdOjV8GA4rMKUQRAhfoAJ96t7u/SR6iL2JrZGNC5vEx35Ix5QCgiRft 1zcrBvi7ldtCzNK6VLtFfLc= =CX2p -----END PGP SIGNATURE----- --Sig_dNVeLIaCGZqa/CkANZ=8hn.--