NetBSD Problem Report #13101

Received: (qmail 23827 invoked from network); 3 Jun 2001 23:24:57 -0000
Message-Id: <200106032326.f53NQTa02409@zorkmid.mit.edu>
Date: Sun, 3 Jun 2001 19:26:29 -0400 (EDT)
From: John Hawkinson <jhawk@mit.edu>
Reply-To: jhawk@mit.edu
To: gnats-bugs@gnats.netbsd.org
Subject: AUDIO_DEBUG prints with audiodebug=0
X-Send-Pr-Version: 3.95

>Number:         13101
>Category:       kern
>Synopsis:       AUDIO_DEBUG prints with audiodebug=0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 03 23:25:00 +0000 2001
>Closed-Date:    Sun Jun 03 23:51:52 +0000 2001
>Last-Modified:  Sun Jun 03 23:53:00 +0000 2001
>Originator:     John Hawkinson
>Release:        -current of 21 May 2001
>Organization:
MIT
>Environment:

System: NetBSD zorkmid.mit.edu 1.5U NetBSD 1.5U (ZORKMID-$Revision: 1.10 $) #103: Mon May 21 21:10:47 EDT 2001 jhawk@zorkmid.mit.edu:/usr/local/netbsd-current/src/sys/arch/i386/compile/ZORKMID i386


>Description:
	After various audio operations, my kernel with AUDIO_DEBUG
turned on (but audiodebug=0) prints:

audio_sleep: woke up st=-1


>How-To-Repeat:
	Run audiorecord.

	Does this mean something? Is it supposed to happen? Is it a bug?

	I should think the printf in question should be a DPRINTF(), in
	sys/dev/audio.c:
#ifdef AUDIO_DEBUG
        if (st != 0 && st != EINTR)
            printf("audio_sleep: woke up st=%d\n", st);
#endif

>Fix:
	Make it a DPRINTF()? Or is there a real bug here?
>Release-Note:
>Audit-Trail:

From: Lennart Augustsson <lennart@mail.augustsson.net>
To: jhawk@mit.edu
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/13101: AUDIO_DEBUG prints with audiodebug=0
Date: Sun, 03 Jun 2001 19:33:45 -0400

 It's normal, please change it to a DPRINTF.

     -- Lennart

 John Hawkinson wrote:

 > >Number:         13101
 > >Category:       kern
 > >Synopsis:       AUDIO_DEBUG prints with audiodebug=0
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    kern-bug-people
 > >State:          open
 > >Class:          change-request
 > >Submitter-Id:   net
 > >Arrival-Date:   Sun Jun 03 16:25:00 PDT 2001
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     John Hawkinson
 > >Release:        -current of 21 May 2001
 > >Organization:
 > MIT
 > >Environment:
 >
 > System: NetBSD zorkmid.mit.edu 1.5U NetBSD 1.5U (ZORKMID-$Revision: 1.10 $) #103: Mon May 21 21:10:47 EDT 2001 jhawk@zorkmid.mit.edu:/usr/local/netbsd-current/src/sys/arch/i386/compile/ZORKMID i386
 >
 > >Description:
 >         After various audio operations, my kernel with AUDIO_DEBUG
 > turned on (but audiodebug=0) prints:
 >
 > audio_sleep: woke up st=-1
 >
 > >How-To-Repeat:
 >         Run audiorecord.
 >
 >         Does this mean something? Is it supposed to happen? Is it a bug?
 >
 >         I should think the printf in question should be a DPRINTF(), in
 >         sys/dev/audio.c:
 > #ifdef AUDIO_DEBUG
 >         if (st != 0 && st != EINTR)
 >             printf("audio_sleep: woke up st=%d\n", st);
 > #endif
 >
 > >Fix:
 >         Make it a DPRINTF()? Or is there a real bug here?
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:

State-Changed-From-To: open->closed 
State-Changed-By: jhawk 
State-Changed-When: Sun Jun 3 16:51:23 PDT 2001 
State-Changed-Why:  
Per Lennart, I've made it a DPRINTF. 

From: John Hawkinson <jhawk@MIT.EDU>
To: Lennart Augustsson <lennart@mail.augustsson.net>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/13101: AUDIO_DEBUG prints with audiodebug=0
Date: Sun, 3 Jun 2001 19:54:23 -0400

 Lennart Augustsson <lennart@mail.augustsson.net> wrote on Sun,  3 Jun 2001
 at 19:33:45 -0400 in <3B1AC958.F91DD115@mail.augustsson.net>:

 > It's normal, please change it to a DPRINTF.

 Thanks. Done.

 --jhawk
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.