From owner-freebsd-hackers Fri Jan 19 02:06:36 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA04514 for hackers-outgoing; Fri, 19 Jan 1996 02:06:36 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA04494 for ; Fri, 19 Jan 1996 02:06:22 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id VAA32089; Fri, 19 Jan 1996 21:06:16 +1100 Date: Fri, 19 Jan 1996 21:06:16 +1100 From: Bruce Evans Message-Id: <199601191006.VAA32089@godzilla.zeta.org.au> To: freebsd-hackers@FreeBSD.org, mpp@mpp.minn.net Subject: Re: kern/subr_diskslice debug messages 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. Bruce