hotplug needs to conflict with alsa-base << 1.0.4-2

Bug #6787 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
hotplug (Debian)
Fix Released
Unknown
hotplug (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #246765
http://bugs.debian.org/246765

Revision history for this message
In , Nathanael Nerode (neroden-twcny) wrote : hotplug needs to conflict with alsa << (future version)

Package: hotplug
Version: 0.0.20040329-8
Severity: normal
Followup-For: Bug #246765

So, I've calmed down and have some data.

Hotplug has the functionality needed for alsa to tell it to behave itself.
For me, adding the following lines to /etc/hotplug/blacklist was sufficient:

# Do not load OSS drivers; we want ALSA
emu10k1
sound
ac97_codec

However, it's wholly unreasonable to expect everyone to manually enter magic
lines in /etc/hotplug/blacklist just in order to maintain the same
functionality; I expect that this will happen with any sound card which has
both an ALSA and an OSS driver (quite a few cards, many extremely common).

Some future version of ALSA could put an appropriate blacklist of OSS modules
into /etc/hotplug/blacklist.d -- unfortunately, the current versions don't.
This means that current hotplug breaks out-of-the-box ALSA.

In order for partial upgrades to work, hotplug needs to conflict wih
versions of alsa-base which it breaks, which means all current versions.

Alternatively, hotplug could simply include all the OSS sound drivers (for
which there are ALSA replacements) in the default blacklist. This would
also solve the main breakage, and is probably quite reasonable given that
those drivers are obsolete. (If this alternative is chosen, then *alsa*
should conflict with the previous versions of hotplug.)

Revision history for this message
In , Marco d'Itri (md) wrote : Re: Bug#246765: hotplug: Hotplug broke alsa, dammit!

On May 01, Nathanael Nerode <email address hidden> wrote:

> Nice work. I thought you were going to coordinate with the ALSA mantainers
> to prevent this breakage from getting into sarge?
We did. Next time you feel inclined to open stupid bugs first try to do
your homeworks.

--
ciao, |
Marco | [6048 abGzzneh5OgiA]

Revision history for this message
In , Nathanael Nerode (neroden-twcny) wrote : Further information

severity 246765 serious
tags 246765 +patch
thanks

After further investigation, it seems that alsa-base in unstable (but not
testing!) properly adds to etc/hotplug/blacklist.d.

You need to add to hotplug a Conflicts: alsa-base << 1.0.4-2,
since 1.0.4-2 is the first version of alsa-base which hotplug doesn't break.

So, simple fix. :-)

--
There are none so blind as those who will not see.

Revision history for this message
In , Eric Van Buggenhaut (ericvb) wrote : hotplug keeps computer from loading alsa modules

Package: hotplug
Version: 0.0.20040329-8
Severity: normal
Followup-For: Bug #246765

Same problem here. After apt-get upgrading my system, hotplug now
automatically loads the OSS driver of my sound card _before_ ALSA is
started thus no alsa modules are loaded and I have no more sound on my
system.

Thank

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.2
Locale: LANG=fr_BE@euro, LC_CTYPE=fr_BE@euro (ignored: LC_ALL set to fr_BE@euro)

Versions of packages hotplug depends on:
ii debconf 1.4.21 Debian configuration management sy
ii module-init-tools 3.0-pre10-2 tools for managing Linux kernel mo
ii modutils 2.4.26-1 Linux module utilities
ii procps 1:3.2.0-1 The /proc file system utilities

-- debconf information:
* hotplug/ignore_pci_class_display: true
* hotplug/net_agent_policy: hotplug
* hotplug/static_module_list: usb-storage
  hotplug/usbd_enable: true
* hotplug/usb_keyboard:
  hotplug/x11_usbmice_hack: false

Revision history for this message
In , Nathanael Nerode (neroden-twcny) wrote : Re: Bug#246765 acknowledged by developer (Re: Bug#246765: hotplug: Hotplug broke alsa, dammit!)

reopen 246765
retitle 246765 hotplug needs to conflict with alsa-base << 1.0.4-2

>>Nice work. I thought you were going to coordinate with the ALSA mantainers
>>to prevent this breakage from getting into sarge?
>

Marco D'Itri wrote:
> We did. Next time you feel inclined to open stupid bugs first try to do
> your homeworks.

You failed to prevent breakage getting into sarge. Do *your* homework.

Reopening and titling with the necessary fix.

Revision history for this message
In , Marco d'Itri (md) wrote : tagging 248836, tagging 246765

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 248836 pending
tags 246765 pending

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #246765
http://bugs.debian.org/246765

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <20040430220622.B1CAC43C11@doctormoo>
Date: Fri, 30 Apr 2004 18:06:22 -0400
From: Nathanael Nerode <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: hotplug: Hotplug broke alsa, dammit!

Package: hotplug
Version: 0.0.20040329-8
Severity: grave
Justification: breaks other packages

This is very irritating. The most recent upgrade to hotplug caused
ALSA to stop loading properly, and consequently did the same thing to ARTS,
which declared that it couldn't open /dev/dsp.

Nice work. I thought you were going to coordinate with the ALSA mantainers
to prevent this breakage from getting into sarge?

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (90, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages hotplug depends on:
ii debconf 1.4.22 Debian configuration management sy
ii module-init-tools 3.0-pre10-2 tools for managing Linux kernel mo
ii procps 1:3.2.1-2 The /proc file system utilities

-- debconf information:
  hotplug/ignore_pci_class_display: true
  hotplug/net_agent_policy: hotplug
  hotplug/usbd_enable: true
* hotplug/usb_keyboard:
  hotplug/static_module_list:
  hotplug/x11_usbmice_hack: false

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <20040430222953.2E4AD43C11@doctormoo>
Date: Fri, 30 Apr 2004 18:29:53 -0400
From: Nathanael Nerode <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: hotplug needs to conflict with alsa << (future version)

Package: hotplug
Version: 0.0.20040329-8
Severity: normal
Followup-For: Bug #246765

So, I've calmed down and have some data.

Hotplug has the functionality needed for alsa to tell it to behave itself.
For me, adding the following lines to /etc/hotplug/blacklist was sufficient:

# Do not load OSS drivers; we want ALSA
emu10k1
sound
ac97_codec

However, it's wholly unreasonable to expect everyone to manually enter magic
lines in /etc/hotplug/blacklist just in order to maintain the same
functionality; I expect that this will happen with any sound card which has
both an ALSA and an OSS driver (quite a few cards, many extremely common).

Some future version of ALSA could put an appropriate blacklist of OSS modules
into /etc/hotplug/blacklist.d -- unfortunately, the current versions don't.
This means that current hotplug breaks out-of-the-box ALSA.

In order for partial upgrades to work, hotplug needs to conflict wih
versions of alsa-base which it breaks, which means all current versions.

Alternatively, hotplug could simply include all the OSS sound drivers (for
which there are ALSA replacements) in the default blacklist. This would
also solve the main breakage, and is probably quite reasonable given that
those drivers are obsolete. (If this alternative is chosen, then *alsa*
should conflict with the previous versions of hotplug.)

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 30 Apr 2004 18:35:49 -0400
From: <email address hidden> (Nathanael Nerode)
To: <email address hidden>, <email address hidden>
Subject: Further information

severity 246765 serious
tags 246765 +patch
thanks

After further investigation, it seems that alsa-base in unstable (but not
testing!) properly adds to etc/hotplug/blacklist.d.

You need to add to hotplug a Conflicts: alsa-base << 1.0.4-2,
since 1.0.4-2 is the first version of alsa-base which hotplug doesn't break.

So, simple fix. :-)

--
There are none so blind as those who will not see.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 1 May 2004 00:32:00 +0200
From: Marco d'Itri <email address hidden>
To: <email address hidden>
Subject: Re: Bug#246765: hotplug: Hotplug broke alsa, dammit!

On May 01, Nathanael Nerode <email address hidden> wrote:

> Nice work. I thought you were going to coordinate with the ALSA mantainers
> to prevent this breakage from getting into sarge?
We did. Next time you feel inclined to open stupid bugs first try to do
your homeworks.

--
ciao, |
Marco | [6048 abGzzneh5OgiA]

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sat, 01 May 2004 15:07:39 +0200
From: Eric Van Buggenhaut <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: hotplug keeps computer from loading alsa modules

Package: hotplug
Version: 0.0.20040329-8
Severity: normal
Followup-For: Bug #246765

Same problem here. After apt-get upgrading my system, hotplug now
automatically loads the OSS driver of my sound card _before_ ALSA is
started thus no alsa modules are loaded and I have no more sound on my
system.

Thank

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.2
Locale: LANG=fr_BE@euro, LC_CTYPE=fr_BE@euro (ignored: LC_ALL set to fr_BE@euro)

Versions of packages hotplug depends on:
ii debconf 1.4.21 Debian configuration management sy
ii module-init-tools 3.0-pre10-2 tools for managing Linux kernel mo
ii modutils 2.4.26-1 Linux module utilities
ii procps 1:3.2.0-1 The /proc file system utilities

-- debconf information:
* hotplug/ignore_pci_class_display: true
* hotplug/net_agent_policy: hotplug
* hotplug/static_module_list: usb-storage
  hotplug/usbd_enable: true
* hotplug/usb_keyboard:
  hotplug/x11_usbmice_hack: false

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 06 May 2004 00:12:33 -0400
From: Nathanael Nerode <email address hidden>
To: <email address hidden>
Subject: Re: Bug#246765 acknowledged by developer (Re: Bug#246765:
 hotplug: Hotplug broke alsa, dammit!)

reopen 246765
retitle 246765 hotplug needs to conflict with alsa-base << 1.0.4-2

>>Nice work. I thought you were going to coordinate with the ALSA mantainers
>>to prevent this breakage from getting into sarge?
>

Marco D'Itri wrote:
> We did. Next time you feel inclined to open stupid bugs first try to do
> your homeworks.

You failed to prevent breakage getting into sarge. Do *your* homework.

Reopening and titling with the necessary fix.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Sat, 5 Jun 2004 16:56:17 +0200
From: Marco d'Itri <email address hidden>
To: <email address hidden>
Subject: tagging 248836, tagging 246765

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 248836 pending
tags 246765 pending

Revision history for this message
In , Marco d'Itri (md) wrote : Bug#246765: fixed in hotplug 0.0.20040329-9
Download full text (3.2 KiB)

Source: hotplug
Source-Version: 0.0.20040329-9

We believe that the bug you reported is fixed in the latest version of
hotplug, which is due to be installed in the Debian FTP archive:

hotplug_0.0.20040329-9.diff.gz
  to pool/main/h/hotplug/hotplug_0.0.20040329-9.diff.gz
hotplug_0.0.20040329-9.dsc
  to pool/main/h/hotplug/hotplug_0.0.20040329-9.dsc
hotplug_0.0.20040329-9_all.deb
  to pool/main/h/hotplug/hotplug_0.0.20040329-9_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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <email address hidden> (supplier of updated hotplug 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 <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 26 Jun 2004 15:04:09 +0200
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-9
Distribution: unstable
Urgency: medium
Maintainer: Fumitoshi UKAI <email address hidden>
Changed-By: Marco d'Itri <email address hidden>
Description:
 hotplug - Linux Hotplug Scripts
Closes: 242012 243117 243702 244337 244510 244615 244617 244954 245100 246074 246765 246911 247658 247972 248836 249170 249457 249542 249600 250513
Changes:
 hotplug (0.0.20040329-9) unstable; urgency=medium
 .
   * Added support for boot time synthesis of isapnp events.
   * patches/blacklist: added usbmouse and usbkbd. closes: Bug#242012
   * patches/blacklist: added all watchdog drivers. closes: Bug#249600
   * hotplug.postinst: do not fail when $STATIC_MODULE_LIST contains a slash.
     closes: #248836
   * Conflict with alsa-base << 1.0.4-2, which blacklists OSS drivers.
     closes: #246765
   * patches/hotplug.functions_typo: fix a typo. closes: #246911
   * New/updated debconf translations: ru, tr, de, ja.
     closes: #250513, #246074, #244510, #244337
   * Search for firmwares in /lib/firmware/ too, to allow firmware loading
     before /usr has been mounted. closes: #245100
   * patches/pci_agent_direct: in pci.rc, call pci.agent instead of
     /sbin/hotplug. closes: #243117
   * patches/050_net.agent_ifupdown updated with new code from Thomas Hood
     to fix many issues in network interfaces handling.
     closes: #244615, #244617, #244954, #249542, #249170
   * Rearranged the messages printed by the init script in the hope they
     will be less confusing. closes: #247658, #247972, #249457
   * patches/012_usb.rc_no_usbmodules: do not depend on the usbmodules
     program when using 2.6 kernels. closes: #243702
Files:
 5b4ff2afa391433a079f26f7d6435202 671 admin standard hotplug_0.0.20040329-9.dsc
 b76173f287d63e9e15a7c28f2cd1a0f9 38521 admin standard hotplug_0.0.20040329-9.diff.gz
 8a9d932c0d1e08bc66d5ceb08a81d9f1 59256 admin standard hotplug_0.0.20040329-9_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA3bPjFGfw2OHuP7ERAh4EAJ4ugP9KlSt6pWV7IyfHcK76cU...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.4 KiB)

Message-Id: <email address hidden>
Date: Sat, 26 Jun 2004 13:47:04 -0400
From: Marco d'Itri <email address hidden>
To: <email address hidden>
Subject: Bug#246765: fixed in hotplug 0.0.20040329-9

Source: hotplug
Source-Version: 0.0.20040329-9

We believe that the bug you reported is fixed in the latest version of
hotplug, which is due to be installed in the Debian FTP archive:

hotplug_0.0.20040329-9.diff.gz
  to pool/main/h/hotplug/hotplug_0.0.20040329-9.diff.gz
hotplug_0.0.20040329-9.dsc
  to pool/main/h/hotplug/hotplug_0.0.20040329-9.dsc
hotplug_0.0.20040329-9_all.deb
  to pool/main/h/hotplug/hotplug_0.0.20040329-9_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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <email address hidden> (supplier of updated hotplug 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 <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 26 Jun 2004 15:04:09 +0200
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-9
Distribution: unstable
Urgency: medium
Maintainer: Fumitoshi UKAI <email address hidden>
Changed-By: Marco d'Itri <email address hidden>
Description:
 hotplug - Linux Hotplug Scripts
Closes: 242012 243117 243702 244337 244510 244615 244617 244954 245100 246074 246765 246911 247658 247972 248836 249170 249457 249542 249600 250513
Changes:
 hotplug (0.0.20040329-9) unstable; urgency=medium
 .
   * Added support for boot time synthesis of isapnp events.
   * patches/blacklist: added usbmouse and usbkbd. closes: Bug#242012
   * patches/blacklist: added all watchdog drivers. closes: Bug#249600
   * hotplug.postinst: do not fail when $STATIC_MODULE_LIST contains a slash.
     closes: #248836
   * Conflict with alsa-base << 1.0.4-2, which blacklists OSS drivers.
     closes: #246765
   * patches/hotplug.functions_typo: fix a typo. closes: #246911
   * New/updated debconf translations: ru, tr, de, ja.
     closes: #250513, #246074, #244510, #244337
   * Search for firmwares in /lib/firmware/ too, to allow firmware loading
     before /usr has been mounted. closes: #245100
   * patches/pci_agent_direct: in pci.rc, call pci.agent instead of
     /sbin/hotplug. closes: #243117
   * patches/050_net.agent_ifupdown updated with new code from Thomas Hood
     to fix many issues in network interfaces handling.
     closes: #244615, #244617, #244954, #249542, #249170
   * Rearranged the messages printed by the init script in the hope they
     will be less confusing. closes: #247658, #247972, #249457
   * patches/012_usb.rc_no_usbmodules: do not depend on the usbmodules
     program when using 2.6 kernels. closes: #243702
Files:
 5b4ff2afa391433a079f26f7d6435202 671 admin standard hotplug_0.0.20040329-9.dsc
 b76173f287d63e9e15a7c28f2cd1a0f9 38521 admin standard hotplug_0.0.20040329-9.diff....

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

This bug was fixed in Debian hotplug 0.0.20040329-9; Warty has -10 and therefore
includes the fix

Changed in hotplug:
status: Unconfirmed → Rejected
Changed in hotplug:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.