How to crash FreeBSD for educational purposes?

2002-07-30 Thread Rath, Egon

Hi there!

I am currently playing around with analyzing crash dumps on FreeBSD.
Are there any ways to crash the system to get a dump? For example,
on Solaris it's easy to change the Inode-Number of the root-filesystem,
so it crashes the next time it tries to access / - but can i do the
same on FBSD?

Or can i force the system to write the current memory content to the
dump-device without crashing the whole system?

Thanks, Egon




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: How to crash FreeBSD for educational purposes?

2002-07-30 Thread David Malone

On Tue, Jul 30, 2002 at 01:15:36PM +0200, Rath, Egon wrote:
 Or can i force the system to write the current memory content to the
 dump-device without crashing the whole system?

If you compile DDB into the kernel, you can break to the debugger
(with ctrl-alt-esc) and then type panic.

David.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: How to crash FreeBSD for educational purposes?

2002-07-30 Thread Takanori Watanabe

In message EB808F8B7354D311AE3200508B319CC7CE7F24@OOELKHCO12, Rath, Egon wrote:
Hi there!

I am currently playing around with analyzing crash dumps on FreeBSD.
Are there any ways to crash the system to get a dump? For example,

Check ddb(4). Use panic subcommand.

Or can i force the system to write the current memory content to the
dump-device without crashing the whole system?

No, as far as I know.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message