[Pkg-alsa-devel] Bug#275794: marked as done (alsa-utils: Please cope with discover loading OSS modules)
Debian Bug Tracking System
owner@bugs.debian.org
Tue Oct 19 00:18:16 UTC 2004
Your message dated Mon, 18 Oct 2004 13:02:05 -0400
with message-id <E1CJatZ-0001Bf-00@newraff.debian.org>
and subject line Bug#220616: fixed in alsa-driver 1.0.6a-4
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Oct 2004 10:23:31 +0000
>From directhex@apebox.net Sun Oct 10 03:23:31 2004
Return-path: <directhex@apebox.net>
Received: from smtp.nildram.co.uk [195.112.4.54]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CGarT-0008NH-00; Sun, 10 Oct 2004 03:23:31 -0700
Received: from [127.0.0.1] (shields.gotadsl.co.uk [82.133.124.222])
by smtp.nildram.co.uk (Postfix) with ESMTP
id ED6B825713F; Sun, 10 Oct 2004 11:23:27 +0100 (BST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jo Shields <directhex@apebox.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: alsa-utils: Needs to gracefully cope with ALSA/OSS double-loading
X-Mailer: reportbug 2.99.5
Date: Sun, 10 Oct 2004 11:25:09 +0100
Message-Id: <20041010102327.ED6B825713F@smtp.nildram.co.uk>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: alsa-utils
Version: 1.0.6-3
Severity: wishlist
On Sarge, a default installation includes Hotplug and Discover. Both of
these will endeavour to load all possible appropriate sound drivers,
which in every case I've seen involves loading OSS and ALSA modules at
the same time. Examples:
Oct 09 21:29:02 <Brenda> snd_mixer_oss 16640 0
Oct 09 21:29:02 <Brenda> snd_via82xx 26660 0
Oct 09 21:29:02 <Brenda> snd_ac97_codec 59268 1
snd_via82xx
Oct 09 21:29:03 <Brenda> snd_pcm 85384 1
snd_via82xx
Oct 09 21:29:03 <Brenda> snd_timer 23172 1 snd_pcm
Oct 09 21:29:04 <Brenda> snd_page_alloc 11144 2
snd_via82xx,snd_pcm
Oct 09 21:29:05 <Brenda> snd_mpu401_uart 7296 1
snd_via82xx
Oct 09 21:29:07 <Brenda> snd_rawmidi 23204 1
snd_mpu401_uart
Oct 09 21:29:08 <Brenda> snd_seq_device 7944 1
snd_rawmidi
Oct 09 21:29:10 <Brenda> snd 50660 8
snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
Oct 09 21:29:13 <Brenda> gameport 4736 2
snd_via82xx,analog
Oct 09 21:29:15 <Brenda> soundcore 9824 3
snd,via82cxxx_audio,sound
Oct 09 16:44:15 <Vyrus001> snd_ac97_codec 59268 1
snd_intel8x0
Oct 09 16:44:15 <Vyrus001> snd_pcm 85412 1
snd_intel8x0
Oct 09 16:44:15 <Vyrus001> snd_timer 23172 1 snd_pcm
Oct 09 16:44:15 <Vyrus001> snd_page_alloc 11144 2
snd_intel8x0,snd_pcm
Oct 09 16:44:15 <Vyrus001> gameport 4736 1
snd_intel8x0
Oct 09 16:44:16 <Vyrus001> snd_mpu401_uart 7296 1
snd_intel8x0
Oct 09 16:44:18 <Vyrus001> snd_rawmidi 23232 1
snd_mpu401_uart
Oct 09 16:44:20 <Vyrus001> snd_seq_device 7944 1
snd_rawmidi
Oct 09 16:44:22 <Vyrus001> snd 50148 7
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
Oct 09 16:44:25 <Vyrus001> soundcore 9824 3
snd,i810_audio
Installing the alsa-base package neuters Hotplug, by writing the file
/etc/hotplug/blacklist.d/alsa-base. Discover, however, remains
problematic, unless a user knows to copy the contents of
/usr/share/doc/alsa-base/alsa-base.discover into /etc/discover.conf. Due
to installation of new packages generally leaving a user's config files
alone, this is normal.
However, alsaconf is designed to write config files for a user, and as
it stands, produces VERY unhelpful results in situations such as these,
by seemingly working then throwing an alsactl restore "No soundcards
found" error at the final step (see
http://img.hexus.net/v2/features/foss/a3/images/alsa3.png).
It would seem not only logical, but vital for ease of use of ALSA, that
alsactl checks for ALSA/OSS dual-loding in the first instance, and does
something about it - either by selectively blacklistig the offending
modules with discover, or by adding the complete list of OSS modules
from /usr/share/doc/alsa-base. As it stands, the output given by
alsaconf is completely unhelpful, and leads to a lot of confusion.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8
Versions of packages alsa-utils depends on:
ii alsa-base 1.0.6a-3 ALSA sound driver common files
ii libasound2 1.0.6-2 Advanced Linux Sound Architecture
ii libc6 2.3.2.ds1-17 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii module-init-tools 3.1-pre6-1 tools for managing Linux kernel mo
ii modutils 2.4.26-1 Linux module utilities
ii pciutils 1:2.1.11-15 Linux PCI Utilities
ii whiptail 0.51.6-17 Displays user-friendly dialog boxe
-- no debconf information
--Jo Shields
_______________________________
/ BOFH excuse #430: \
| |
\ Mouse has out-of-cheese-error /
-------------------------------
\ ,__,
\ (oo)____
(__) )\
||--|| *
---------------------------------------
Received: (at 220616-close) by bugs.debian.org; 18 Oct 2004 17:10:18 +0000
>From katie@ftp-master.debian.org Mon Oct 18 10:10:18 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CJb1W-0006uv-00; Mon, 18 Oct 2004 10:10:18 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1CJatZ-0001Bf-00; Mon, 18 Oct 2004 13:02:05 -0400
From: Jordi Mallach <jordi@debian.org>
To: 220616-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#220616: fixed in alsa-driver 1.0.6a-4
Message-Id: <E1CJatZ-0001Bf-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 18 Oct 2004 13:02:05 -0400
Delivered-To: 220616-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Source: alsa-driver
Source-Version: 1.0.6a-4
We believe that the bug you reported is fixed in the latest version of
alsa-driver, which is due to be installed in the Debian FTP archive:
alsa-base_1.0.6a-4_all.deb
to pool/main/a/alsa-driver/alsa-base_1.0.6a-4_all.deb
alsa-driver_1.0.6a-4.diff.gz
to pool/main/a/alsa-driver/alsa-driver_1.0.6a-4.diff.gz
alsa-driver_1.0.6a-4.dsc
to pool/main/a/alsa-driver/alsa-driver_1.0.6a-4.dsc
alsa-headers_1.0.6a-4_all.deb
to pool/main/a/alsa-driver/alsa-headers_1.0.6a-4_all.deb
alsa-source_1.0.6a-4_all.deb
to pool/main/a/alsa-driver/alsa-source_1.0.6a-4_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 220616@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jordi Mallach <jordi@debian.org> (supplier of updated alsa-driver package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 18 Oct 2004 18:42:38 +0200
Source: alsa-driver
Binary: alsa-source alsa-headers alsa-base
Architecture: source all
Version: 1.0.6a-4
Distribution: unstable
Urgency: medium
Maintainer: Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jordi@debian.org>
Description:
alsa-base - ALSA configuration files
alsa-headers - transitional package that can be safely removed
alsa-source - ALSA sound driver sources
Closes: 220616 261618 265845 275386 275794 276272 276985
Changes:
alsa-driver (1.0.6a-4) unstable; urgency=medium
.
* Thomas Hood:
- Remove more XSIisms
- debian/rules:
+ Fix ownership and perms of installed files (Closes: #275386)
+ Install alsa-base.discover as /etc/discover.d/alsa-base
instead of as /usr/share/doc/alsa-base/alsa-base.discover.
This stops discover1 from loading OSS modules at boot time
so that ALSA modules can be loaded instead. This only works
with discover1 >= 1.7.2. If you have an earlier version of
discover1 or if you have discover (version 2) then this
blacklist file has no effect.
(Closes: #220616, #265845, #275794, #276272)
- debian/control:
+ Tweak description
+ Suggest discover1 (>= 1.7.2) which is the first release that
has the blacklisting feature
- alsa-base.config:
+ Tweak
- alsa-base.README.Debian:
+ Update
- alsa-source.control
+ Tweak description
+ alsa-modules-x.y.z should depend on module-init-tools >= 3.1 so
that /lib/modules/x.y.z/updates gets magic priority
- alsa-source.rules
+ Put modules in /lib/modules/x.y.z/updates/alsa/ rather than in
/lib/modules/x.y.z/alsa/ so that module-init-tools's depmod
gives them priority over the ones from the kernel.
(Closes: #261618)
- alsa-modules.postrm
+ Do depmod -a (Closes: #276985)
+ Don't run the initscript stop method
* Jordi Mallach:
- debian/control:
+ Make alsa-headers a dummy package for transitional purposes, as
it's apparently not needed any more. Packages should use
libasound2-dev instead.
- debian/alsa-headers.{dirs,headers}:
+ Remove
- debian/rules:
+ Remove alsa-headers-related bits
Files:
c9bb5f2c26b2ffd4249dbbf36c093d1c 844 sound optional alsa-driver_1.0.6a-4.dsc
73f852aba7d97f71c15ea483c582e4da 87784 sound optional alsa-driver_1.0.6a-4.diff.gz
02b11b2abd792ad243e33102fc64c93a 50206 sound optional alsa-base_1.0.6a-4_all.deb
2e65fcca94fc28416b654f13bf38c188 1856800 sound optional alsa-source_1.0.6a-4_all.deb
aae80d5cf6caafff13d1f76ebaf3243f 35006 sound optional alsa-headers_1.0.6a-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBc/M8JYSUupF6Il4RAkImAKC7Q5KlaLH9bv2fPOA3tCsTvKGyhQCg0J1/
scx3k9kQSLGsdU+lGBhRZ+c=
=y5u6
-----END PGP SIGNATURE-----
More information about the Pkg-alsa-devel
mailing list