Date: Fri, 19 Jan 1996 11:44:48 +0100 From: Poul-Henning Kamp <phk@critter.tfs.com> To: Bruce Evans <bde@zeta.org.au> Cc: freebsd-hackers@FreeBSD.org, mpp@mpp.minn.net Subject: Re: kern/subr_diskslice debug messages Message-ID: <1115.822048288@critter.tfs.com> In-Reply-To: Your message of "Fri, 19 Jan 1996 21:06:16 %2B1100." <199601191006.VAA32089@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> >I've noticed that if I shutdown into single user mode and > >unmount all my disks, and then do something to access my second > >SCSI hard disk (e.g. fsck it), I will get debug output from > >sys/kern/subr_diskslice.c. These are messages generated by the TRACE > >macro defined in that module. These messages are only printed if ds_debug > >is set, which it should not be, and I can't find anything that does > >set it. One odd this is that ds_debug is declared as volatile. > >Anyone else seen this, or have any clue why these messages are coming out? > > It's volatile just to stop gcc deleting it. Nothing in the kernel should > set it. Look for array overruns etc. Likely to come form the sprintf or thereabout, I'm looking at it... -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1115.822048288>