From owner-freebsd-hackers Fri Jan 19 02:45:16 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA06964 for hackers-outgoing; Fri, 19 Jan 1996 02:45:16 -0800 (PST) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA06949 for ; Fri, 19 Jan 1996 02:44:58 -0800 (PST) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0tdEJT-0003xNC; Fri, 19 Jan 96 02:44 PST Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id LAA01119; Fri, 19 Jan 1996 11:44:51 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: Bruce Evans cc: freebsd-hackers@FreeBSD.org, mpp@mpp.minn.net Subject: Re: kern/subr_diskslice debug messages In-reply-to: Your message of "Fri, 19 Jan 1996 21:06:16 +1100." <199601191006.VAA32089@godzilla.zeta.org.au> Date: Fri, 19 Jan 1996 11:44:48 +0100 Message-ID: <1115.822048288@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-hackers@FreeBSD.org Precedence: bulk > >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.