Subject: kern/37543: clcs0: unexpected interrupts messages flood
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <mmondor@pulsar-zone.net>
List: netbsd-bugs
Date: 12/14/2007 17:50:02
	Note: There was a bad value `' for the field `Priority'.
	It was set to the default value of `medium'.

	Note: There was a bad value `' for the field `Severity'.
	It was set to the default value of `serious'.

>Number:         37543
>Category:       kern
>Synopsis:       clcs0: unexpected interrupts messages flood
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 14 17:50:02 +0000 2007
>Originator:     Matthew Mondor
>Release:        NetBSD 4.99.42
>Organization:
>Environment:
	
	
System: NetBSD sat.xisop 4.99.42 NetBSD 4.99.42 (GENERIC_LAPTOP_MM) #1: Fri Dec 14 00:35:33 EST 2007  root@sat.xisop:/usr/obj/sys/arch/i386/compile/GENERIC_LAPTOP_MM i386
Architecture: i386
Machine: i386
>Description:
	On the following hardware:

	clcs0 at pci0 dev 5 function 0: Cirrus Logic CS4280 CrystalClear Audio Interface (rev. 0x01)
	clcs0: IBM ThinkPad 600X/A20/T20/T22 Audio
	clcs0: enabling CLKRUN hack
	clcs0: power management port 0x1000
	clcs0: interrupting at irq 11
	clcs0: ac97: Crystal CS4297A codec; headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
	clcs0: ac97: ext id 200<AMAP>
	audio0 at clcs0: full duplex, independent

	Since upgrade from 4.99.37 to 4.99.42 the following messages now flood
	the kernel logs at a rather high frequency when the device is not
        playing:

	clcs0: unexpected play intr
	clcs0: unexpected record intr

	Note that the kernel uses APM, not ACPI.  In BIOS PCI power bus power
	saving was also disabled as the audio wouldn't previously play
        properly with it enabled.
	This might be related to the recent HEAD sync with yamt-kmem branch:
	http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/pci/cs4280.c.diff?r1=1.47&r2=1.48

>How-To-Repeat:
>Fix: