public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* emu10k emits buzzing and crackling
@ 2001-11-02  1:09 Benjamin LaHaise
  2001-11-02  8:10 ` Steven Spence
  2001-11-04 16:39 ` Rui Sousa
  0 siblings, 2 replies; 28+ messages in thread
From: Benjamin LaHaise @ 2001-11-02  1:09 UTC (permalink / raw)
  To: Linux Kernel

Hey folks,

One of the workstations I use really doesn't like the emu10k driver in 
2.4.13-ac5.  The box is a dual athlon running rh7.2.  Playing mp3s seems 
to work well, but other samples from xfce on shutdown and window close 
result in buzzing and popping noises.  If anyone wants details or patches 
tested, drop me a note.

		-ben

es1371: version v0.30 time 17:42:30 Nov  1 2001
Creative EMU10K1 PCI Audio Driver, version 0.16, 17:42:24 Nov  1 2001
emu10k1: EMU10K1 rev 7 model 0x8040 found, IO at 0x2400-0x241f, IRQ 19
ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23)
usb.c: registered new driver hub

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Re: emu10k1 - interrupt storm?
@ 2002-02-11 22:49 Jakub Travnik
  2002-02-12  8:12 ` Zlatko Calusic
  0 siblings, 1 reply; 28+ messages in thread
From: Jakub Travnik @ 2002-02-11 22:49 UTC (permalink / raw)
  To: linux-kernel; +Cc: zlatko.calusic

Hello and sorry for replying late,

I did experienced same problems with emu10k1 on 2.4.8 (as is in Mandrake 8.1).

After modprobing emu10k1, interrupts per second (as reported by vmstat)
start to increase and in few minutes they were as high as 70000 per second.
rmmod-ing emu10k1 caused number of interrupts per second to slowly decrease.

Following setting affected this:

In BIOS setup, PCI options:
Interrupts triggered by
1, edge
2, level

value 'edge' causes problems,
value 'level' makes thing work without problems.

If you are experiencing problems with this, set to 'level'.


Jakub Travnik
jabber://jtra@jabber.com



----Replied message follows----
From: Zlatko Calusic (zlatko.calusic@iskon.hr)
Date: Sun Dec 09 2001 - 16:54:03 EST
Rui Sousa <rui.p.m.sousa@clix.pt> writes:
 >
 > The current emu10k1 driver uses a hardware clock to generate periodic
 > interrupts. These apparently ran at the wrong rate in some Alpha machines.
 > It's possible that the same problem occur now with more recent i386
 > machines.
 >

Hi!

Sorry to quote a really old email. :)

I'm currently investigating why is my emu10k1 doing so much
interrupts. They are so frequent that they usually show on a kernel
profile report on the top, no matter what I've been doing with the
poor machine (interrupts are there even if I'm not using my
Soundblaster live).

Kernel is the most recent 2.5.x. dmesg says:

Creative EMU10K1 PCI Audio Driver, version 0.16, 16:17:32 Dec 9 2001
emu10k1: EMU10K1 rev 6 model 0x8027 found, IO at 0xc400-0xc41f, IRQ 10
ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23)

This is my /proc/interrupts:

            CPU0 CPU1
   0: 423348 425806 IO-APIC-edge timer
   1: 13674 13371 IO-APIC-edge keyboard
   2: 0 0 XT-PIC cascade
   8: 2 1 IO-APIC-edge rtc
  10: 5956299 5956064 IO-APIC-level EMU10K1 <===========
  11: 19803 20033 IO-APIC-level ide2
  12: 104203 101822 IO-APIC-edge PS/2 Mouse
  14: 4356 4285 IO-APIC-edge ide0
  15: 7 9 IO-APIC-edge ide1
NMI: 0 0
LOC: 849167 849165
ERR: 2
MIS: 0

Yes, this is a SMP machine, but I don't know why would that make any
difference. As you can see, number of emu10k1 interrupts is enormous
(I also tried noapic, no changes).

procinfo -d quickly shows that emu10k1 is generating ~1412 interrupts
per second (7060/2).

irq 0: 500 timer irq 10: 7060 EMU10K1
irq 1: 1 keyboard irq 11: 10 ide2
irq 2: 0 cascade [4] irq 12: 164 PS/2 Mouse
irq 3: 0 irq 14: 2 ide0
irq 4: 0 irq 15: 0 ide1
irq 8: 0 rtc

Is that the periodic hardware interrupt you're talking about, and why
are there so many interrupts? Is there a way to stop that storm?

Regards,

-- 
Zlatko
-



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2002-02-12  8:12 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-02  1:09 emu10k emits buzzing and crackling Benjamin LaHaise
2001-11-02  8:10 ` Steven Spence
2001-11-02 10:07   ` Morgan Collins [Ax0n]
2001-11-04 16:48     ` Rui Sousa
2001-11-04 16:54       ` Jeff Garzik
2001-11-04 17:06         ` Alan Cox
2001-11-04 17:18         ` Rui Sousa
2001-11-04 17:29           ` Alan Cox
2001-11-04 17:31             ` Alex Buell
2001-12-09 21:54       ` emu10k1 - interrupt storm? Zlatko Calusic
2001-12-10 10:39         ` Rui Sousa
2001-12-10 10:52           ` Zlatko Calusic
2001-12-11 20:03           ` Zlatko Calusic
2001-12-12 10:26             ` Rui Sousa
2001-12-12 13:24               ` Marcelo ''Mosca'' de Paula Bezerra
2001-12-12 21:47                 ` Zlatko Calusic
2001-12-12 22:23                   ` Doug McNaught
2001-12-13  7:47                     ` Zlatko Calusic
2001-12-12 22:41                   ` Morgan Collins
2001-12-13  7:50                     ` Zlatko Calusic
2001-12-14  7:38                   ` Philipp Matthias Hahn
2001-12-12 21:54               ` Zlatko Calusic
2001-11-02 14:52   ` emu10k emits buzzing and crackling Paul Fulghum
2001-11-02 14:57     ` Benjamin LaHaise
2001-11-03  0:47       ` Steven Spence
2001-11-04 16:39 ` Rui Sousa
  -- strict thread matches above, loose matches on Subject: below --
2002-02-11 22:49 emu10k1 - interrupt storm? Jakub Travnik
2002-02-12  8:12 ` Zlatko Calusic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox