[Pkg-alsa-devel] Bug#400499: alsa-utils: aplaymidi plays only 1 note: conflict with chrony

ael law_ence.dev at ntlworld.com
Sun Nov 26 18:37:18 UTC 2006


Subject: alsa-utils: aplaymidi plays but 1 note: conflict with chrony
Package: alsa-utils
Version: 1.0.11-3bpo1
Severity: normal

*** Please type your report below this line ***

aplaymidi plays only the first note of a midi file. Strace shows that it
stops after
ioctl(3, SNDRV_SEQ_IOCTL_SET_CLIENT_POOL, 0xbf8f1130) = 0
However the cpu becomes very busy and top shows that this abnormal
activity is
associated with chronyd.

Stopping chrony resolves the problem.
aplaymidi will usually function after restarting chronyd.

I suspect this problem has been present ever since I installed chrony
several months
ago. I am currently running a locally compiled stock 2.6.18.3 kernel.
Similar problems with pmidi, playmidi etc.: I suspect this is an alsa
driver problem
rather than application level.

Soundboard:   kernel: isapnp: Card 'Creative SB AWE64  PnP'

Sound modules:
--------------
# lsmod|grep snd
snd_emu8000_synth      14820  0
snd_emux_synth         34560  1 snd_emu8000_synth
snd_seq_virmidi         5504  1 snd_emux_synth
snd_util_mem            3520  2 snd_emu8000_synth,snd_emux_synth
snd_opl3_synth         13636  0
snd_seq_instr           7232  1 snd_opl3_synth
snd_seq_midi_emul       6752  2 snd_emux_synth,snd_opl3_synth
snd_ainstr_fm           2144  1 snd_opl3_synth
snd_rtctimer            2688  0
snd_seq_oss            31904  0
snd_seq_midi            6528  0
snd_seq_midi_event      5728  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq                47056  10
snd_emux_synth,snd_seq_virmidi,snd_opl3_synth,snd_seq_instr,snd_seq_midi_emul,snd_seq_oss,snd_se
q_midi,snd_seq_midi_event
snd_sbawe              31168  1 snd_emu8000_synth
snd_opl3_lib            9088  2 snd_opl3_synth,snd_sbawe
snd_sb16_dsp            9376  1 snd_sbawe
snd_sb16_csp           18368  1 snd_sbawe
snd_sb_common          14592  3 snd_sbawe,snd_sb16_dsp,snd_sb16_csp
snd_hwdep               7268  3 snd_emux_synth,snd_opl3_lib,snd_sb16_csp
snd_mpu401_uart         6688  1 snd_sbawe
snd_rawmidi            19520  3 snd_seq_virmidi,snd_seq_midi,snd_mpu401_uart
snd_seq_device          6636  9
snd_emu8000_synth,snd_emux_synth,snd_opl3_synth,snd_seq_oss,snd_seq_midi,snd_seq,snd_sbawe,snd_o
pl3_lib,snd_rawmidi
snd_pcm_oss            44160  0
snd_mixer_oss          16288  1 snd_pcm_oss
snd_pcm                72392  4
snd_emu8000_synth,snd_sbawe,snd_sb16_dsp,snd_pcm_oss
snd_timer              20132  4 snd_rtctimer,snd_seq,snd_opl3_lib,snd_pcm
snd                    44612  19
snd_emu8000_synth,snd_emux_synth,snd_seq_virmidi,snd_opl3_synth,snd_seq_oss,snd_seq,snd_sbawe,sn
d_opl3_lib,snd_sb16_dsp,snd_sb16_csp,snd_sb_common,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq
_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc          8232  1 snd_pcm
soundcore               7328  1 snd
rtc                    10132  1 snd_rtctimer

RTC related modules:
-------------------
# lsmod|grep rtc
snd_rtctimer            2688  0
snd_timer              20132  4 snd_rtctimer,snd_seq,snd_opl3_lib,snd_pcm
rtc                    10132  1 snd_rtctimer

Since this appears to be clock related, I include from /var/log/messages:

--------------------------------------------------------------------------------
Nov 26 13:54:02 co kernel: PCI: Probing PCI hardware
Nov 26 13:54:02 co kernel: * Found PM-Timer Bug on the chipset. Due to
workarounds for a bug,
Nov 26 13:54:02 co kernel: * this clock source is slow. Consider trying
other clock
sources

Nov 26 13:54:03 conquest3 kernel: Real Time Clock Driver v1.12ac

-----------------------------------------------------------------------------------
>From .config :
-------------

# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

CONFIG_RTC=m
# CONFIG_GEN_RTC is not set

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
CONFIG_SND_MPU401=m

#
# ISA devices
#
# CONFIG_SND_ADLIB is not set
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_MIRO is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
CONFIG_SND_SBAWE=m
CONFIG_SND_SB16_CSP=y
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_WAVEFRONT is not set

(no PCI sound devices set)

#
# Real Time Clock
#
# CONFIG_RTC_CLASS is not set

--------------------------------------------------------------------

# lspci
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX
Host bridge (rev
02)
0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX
AGP bridge (rev
02)
0000:00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE
(rev 01)
0000:00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB
(rev 01)
0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:08.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U
(rev 01)
0000:00:0a.0 Ethernet controller: Lite-On Communications Inc LNE100TX
(rev 20)
0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200
AGP (rev 01)
 (The sound card is isa, of course, so does not appear above)

--------------------------------------------------------------------------------

System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.18.3
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ANSI_X3.4-1968) (ignored:
LC_ALL set to C)

Versions of packages alsa-utils depends on:
ii  dialog                1.0-20050306-1     Displays user-friendly
dialog boxe
ii  libasound2            1.0.11-7~bpo.1     ALSA library
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared
libraries an
ii  libncurses5           5.4-4              Shared libraries for
terminal hand
ii  linux-sound-base      1.0.11-5~bpo.1     base package for ALSA and
OSS soun
ii  lsb-base              3.1-15~bpo.1       Linux Standard Base 3.1
init scrip
ii  module-init-tools     3.2-pre1-2         tools for managing Linux
kernel mo
ii  modutils              2.4.26-1.2         Linux module utilities
ii  pciutils              1:2.1.11-15        Linux PCI Utilities
ii  python                2.3.5-2            An interactive high-level
object-o
ii  whiptail              0.51.6-20          Displays user-friendly
dialog boxe

-- no debconf information

A E Lawrence






More information about the Pkg-alsa-devel mailing list