Bug 2254 - Sound interrupts when HDD buffers flushing.
Summary: Sound interrupts when HDD buffers flushing.
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: IDE (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: drivers_sound
: 2348 (view as bug list)
Depends on:
Reported: 2004-03-04 22:31 UTC by SGh
Modified: 2005-06-29 00:08 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.3, 2.6.4, 2.6.5, 2.6.6, 2.6.7, 2.4.27
Regression: ---
Bisected commit-id:


Description SGh 2004-03-04 22:31:14 UTC
Distribution: Mandrake 9.2
Hardware Environment:
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:0b.0 Multimedia audio controller: Yamaha Corporation YMF-724F [DS-1 Audio Controller] (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)

Problem Description:
When I listen musik with any player and copy big (>20Mb) file to the HDD, then sound 
interrupts every few seconds for few seconds. I think it happened when bdflush 
flushing buffers, cause when I copy file to filesystem mounted with option "sync" 
sound not interrupted.

Steps to reproduce:
Play sound simultaneously with writing on HDD
Comment 1 JJ Luza 2004-03-06 04:42:12 UTC
I'm not a devel but since you haven't get an answer yet, I will try to help 
you. (but I'm not an expert) 
I had the same problem before, when I used kernel 2.6.2 
When I got kernel 2.6.3, I patched it with ck patches which you can get here : 
These patch contain cfq scheduler and other things. 
Now I have no problem when I play some song, even if I copy a large file or if 
I run apt-get (which is really intensive). 
So I think it's not a sound driver problem but a io-sched related one instead. 
PS : I use directly alsa to play sound, I don't use any sound server like arts 
or esd 
Comment 2 SGh 2004-03-09 00:39:10 UTC
Thanks for advice, this patch helped me, but not enough :(
It sounds much better, but I still hear interrupts, they are not so long, and not so frequent, but they are still here...

May be need to make kernel not preemptible, I will try it...
Comment 3 Diego Calleja 2004-03-26 11:52:25 UTC
*** Bug 2348 has been marked as a duplicate of this bug. ***
Comment 4 SGh 2004-04-01 03:30:34 UTC
Not matter preemptible kernel or not preemptible. Interrupts are still there :(
Comment 5 SGh 2004-06-03 22:54:01 UTC
In version 2.6.6 if I use cfq I/O sheduler, interrupts are stil there, but not so frequent.
Comment 6 Nishanth Aravamudan 2005-06-17 11:47:30 UTC
Can you try a more recent kernel? 2.6.12-rc6 or No activity in more
than a year...

Comment 7 SGh 2005-06-29 00:08:27 UTC
Seems like kernel 2.6.12 work fine for me... Thanks guys!

P.S. Sorry for delay, I really forget about this bugreport... :-/

Note You need to log in before you can comment on or make changes to this bug.