Package: ipw2100-source Version: 1.1.3-1 Severity: important Tags: patch Hello!
Linux kernel 2.6.14 includes (an old version of) ipw2100 (as well as ieee80211), so in the stock Debian 2.6.14, ipw2100 is compiled as modules: ===== gismo:/home/luca/src# apt-file search ipw2100.ko linux-image-2.6.14-1-386: lib/modules/2.6.14-1-386/kernel/drivers/net/wireless/ipw2100.ko linux-image-2.6.14-1-686: lib/modules/2.6.14-1-686/kernel/drivers/net/wireless/ipw2100.ko linux-image-2.6.14-1-686-smp: lib/modules/2.6.14-1-686-smp/kernel/drivers/net/wireless/ipw2100.ko linux-image-2.6.14-1-k7: lib/modules/2.6.14-1-k7/kernel/drivers/net/wireless/ipw2100.ko linux-image-2.6.14-1-k7-smp: lib/modules/2.6.14-1-k7-smp/kernel/drivers/net/wireless/ipw2100.ko gismo:/home/luca/src# ===== Thus, compiling an external ipw2100 results in a non-installable package: ===== gismo:/home/luca/src# dpkg -i \ ipw2100-modules-2.6.14_1.1.3-1+02.20051107_i386.deb Selecting previously deselected package ipw2100-modules-2.6.14. (Reading database ... 103274 files and directories currently installed.) Unpacking ipw2100-modules-2.6.14 (from ipw2100-modules-2.6.14_1.1.3-1+02.20051107_i386.deb) ... dpkg: error processing ipw2100-modules-2.6.14_1.1.3-1+02.20051107_i386.deb (--install): trying to overwrite `/lib/modules/2.6.14/kernel/drivers/net/wireless/ipw2100.ko', which is also in package linux-image-2.6.14 Errors were encountered while processing: ipw2100-modules-2.6.14_1.1.3-1+02.20051107_i386.deb gismo:/home/luca/src# ===== Now, I'm not a linux developer, but AFAIK the correct folder should be /lib/modules/`uname -r`/updates, as this is the case for external ALSA modules (bug #261618 or bug #276660). Moreover, you should depend on module-init-tools >= 3.1 (so that /lib/modules/`uname -r`/updates gets magic priority). The attached patch versus debian/rules solves the problem. Thx, bye, Gismo / Luca -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages ipw2100-source depends on: ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy ii debhelper 5.0.2 helper programs for debian/rules ii ieee80211-source 1.1.6-2 Source for the 802.11 (wireless) n ii module-assistant 0.9.10 tool to make module package creati ipw2100-source recommends no packages. -- debconf information: * ipw2100/firmware_note:
--- rules.ORG 2005-11-06 15:53:03.000000000 +0100 +++ rules 2005-11-07 10:38:43.000000000 +0100 @@ -35,6 +35,8 @@ -include $(MA_DIR)/include/generic.make -include $(MA_DIR)/include/common-rules.make +KMISC=/lib/modules/$(KVERS)/updates/net/wireless + configure: configure-stamp configure-stamp: patch-stamp touch configure-stamp @@ -57,10 +59,10 @@ dh_clean -k # Build the module - $(MAKE) -C driver KSRC=$(KSRC) KVER=$(KVERS) IEEE80211_INC=/usr/include/ieee80211 + $(MAKE) -C driver KSRC=$(KSRC) KVER=$(KVERS) KMISC=$(KMISC) IEEE80211_INC=/usr/include/ieee80211 # Install the module - $(MAKE) install -C driver DESTDIR=$(CURDIR)/debian/$(PKGNAME) KSRC=$(KSRC) KVER=$(KVERS) IEEE80211_INC=/usr/include/ieee80211 + $(MAKE) install -C driver DESTDIR=$(CURDIR)/debian/$(PKGNAME) KSRC=$(KSRC) KVER=$(KVERS) KMISC=$(KMISC) IEEE80211_INC=/usr/include/ieee80211 dh_installdebconf dh_installdocs debian/README.firmware debian/README.updates
pgpFThYAiFjLZ.pgp
Description: PGP signature

