Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2001 18:16:09 -0500
From:      Alfred Perlstein <bright@mu.org>
To:        David O'Brien <obrien@freebsd.org>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern kern_condvar.c kern_synch.c src/sys/sys proc.h
Message-ID:  <20010822181609.S81307@elvis.mu.org>
In-Reply-To: <20010821235437.A64706@dragon.nuxi.com>; from obrien@freebsd.org on Tue, Aug 21, 2001 at 11:54:37PM -0700
References:  <200108211842.f7LIgkp03186@freefall.freebsd.org> <20010821134601.J81307@elvis.mu.org> <20010821124428.B17739@xor.obsecurity.org> <20010821164833.D58026@leviathan.inethouston.net> <20010821170420.L81307@elvis.mu.org> <20010821235437.A64706@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* David O'Brien <obrien@freebsd.org> [010822 17:53] wrote:
> On Tue, Aug 21, 2001 at 05:04:21PM -0500, Alfred Perlstein wrote:
> > This is a pretty useless bug report.
> > 
> > Please read the section in the handbook about kernel debugging
> > and get us a useful traceback/crashdump as well as systat type
> > info.
> 
> OK Albert,
> 
> I am one of these people.  How the hell do you expect me to get
> crashdumps when my entire disk subsystem is what is freezing and going
> out to lunch???  I get to ddb and type `panic'.  All I get is the first
> part of the message of writing to disk.  But guess what!?!  Nothing
> happens because guess what!?!  I no longer have a disk subsystem to save
> the crashdump to.  `ps' will totally wedge the machine when it is in this
> state also.
> 
> Now would *YOU* like to offer something other than "pretty useless"
> debugging advice.

I assume you're familiar with the standard C library function
printf(3), it can be used as a handy debugging tool to output state
information when a debugger doesn't seem to be working.

The cool part is that someone took the time to port printf(3) into
the kernel so that you can use it.  Also see ktr(9).

best of luck,
-- 
-Alfred Perlstein [alfred@freebsd.org]
Ok, who wrote this damn function called '??'?
And why do my programs keep crashing in it?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010822181609.S81307>