Your message dated Mon, 18 Jul 2005 19:06:50 +0200 with message-id <[EMAIL PROTECTED]> and subject line Bug#318914: hotplug: coldplug mechanism breaks systems 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; 18 Jul 2005 15:50:14 +0000 >From [EMAIL PROTECTED] Mon Jul 18 08:50:14 2005 Return-path: <[EMAIL PROTECTED]> Received: from gate.ibr.ch [213.144.140.114] (root) by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1DuXsj-0000hU-00; Mon, 18 Jul 2005 08:50:13 -0700 Received: from bacardi.ibr.ch (bacardi.ibr.ch [172.16.1.1]) by gate.ibr.ch (8.12.6/8.12.6/Debian-6Woody) with ESMTP id j6IFoBIS001632 for <[EMAIL PROTECTED]>; Mon, 18 Jul 2005 17:50:11 +0200 Received: from coruba.ibr.ch (coruba [172.16.8.23]) by bacardi.ibr.ch (Postfix) with ESMTP id 5EDD715EAA for <[EMAIL PROTECTED]>; Mon, 18 Jul 2005 17:50:10 +0200 (CEST) Received: from uwe by coruba.ibr.ch with local (Exim 3.36 #1 (Debian)) id 1DuXsd-0004X5-00 for <[EMAIL PROTECTED]>; Mon, 18 Jul 2005 17:50:07 +0200 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Uwe Storbeck <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: hotplug: coldplug mechanism breaks systems X-Mailer: reportbug 3.8 Date: Mon, 18 Jul 2005 17:50:07 +0200 Message-Id: <[EMAIL PROTECTED]> Sender: Uwe Storbeck <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 Package: hotplug Version: 0.0.20040329-22 Severity: important This is my third system where hotplug breaks a lot of things after upgrading to sarge / kernel 2.4 (graphic, sound, network cards). The problem is the coldplug mechanism which loads a lot of unnecessary and partly wrong modules. Even worse it is bypassing the kerneld mechanism and ignores module aliases. This coldplug mechanism should be disabled by default and hotplug should not try to do the job of the kerneld process (by loading modules itself). It should assign the corresponding devices instead and let the kerneld do it's job, i.e. load a module if it is needed by a process and not preload it at startup. As a simple example: I never use a joystick on my system. So why should hotplug load a module for the joystick at startup? Only because my soundcard has a joystick port? This wastes my memory and by the way breaks the soundcard driver. It should instead assign the appropriate module to a joystick device (if not already an assignment exist) and let kerneld load the module if a process accesses the device. Preloading all modules for the build in hardware on startup breaks one of the advantages of the loadable module concept. Regards, Uwe -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (750, 'testing'), (650, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.4.31 Locale: LANG=C, LC_CTYPE=de_CH (charmap=ISO-8859-1) Versions of packages hotplug depends on: ii bash 2.05b-26 The GNU Bourne Again SHell ii debconf 1.4.30.13 Debian configuration management sy ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep ii modutils 2.4.26-1.2 Linux module utilities ii procps 1:3.2.1-2 The /proc file system utilities ii sed 4.1.2-8 The GNU sed stream editor -- debconf information: hotplug/ignore_pci_class_display: true hotplug/net_agent_policy: hotplug hotplug/static_module_list: hotplug/x11_usbmice_hack: false --------------------------------------- Received: (at 318914-done) by bugs.debian.org; 18 Jul 2005 17:07:03 +0000 >From [EMAIL PROTECTED] Mon Jul 18 10:07:03 2005 Return-path: <[EMAIL PROTECTED]> Received: from attila.bofh.it [213.92.8.2] (postfix) by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1DuZ55-0000nG-00; Mon, 18 Jul 2005 10:07:03 -0700 Received: by attila.bofh.it (Postfix, from userid 10) id 0A8B55F86D; Mon, 18 Jul 2005 19:06:59 +0200 (CEST) Received: by wonderland.linux.it (Postfix, from userid 1001) id 0FBA81C29A; Mon, 18 Jul 2005 19:06:51 +0200 (CEST) Date: Mon, 18 Jul 2005 19:06:50 +0200 To: Uwe Storbeck <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: Bug#318914: hotplug: coldplug mechanism breaks systems Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <[EMAIL PROTECTED]> User-Agent: Mutt/1.5.9i From: [EMAIL PROTECTED] (Marco d'Itri) Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 18, Uwe Storbeck <[EMAIL PROTECTED]> wrote: > The problem is the coldplug mechanism which loads a lot of unnecessary > and partly wrong modules. Even worse it is bypassing the kerneld > mechanism and ignores module aliases. This coldplug mechanism should > be disabled by default and hotplug should not try to do the job of > the kerneld process (by loading modules itself). It should assign the > corresponding devices instead and let the kerneld do it's job, i.e. > load a module if it is needed by a process and not preload it at > startup. Sorry, you are very confused. Coldplugging has nothing to do with kerneld, and hotplug just uses modprobe. If you do not like automatic hardware detection then disable it as explained in README.Debian. This is not a bug. > As a simple example: I never use a joystick on my system. So why > should hotplug load a module for the joystick at startup? Only because > my soundcard has a joystick port? This wastes my memory and by the way Yes. If one or two pages are a big issue for you then you should obviously build your own kernels and probably not even use modules. > breaks the soundcard driver. It should instead assign the appropriate Open a bug against the kernel then, this should not happen. > module to a joystick device (if not already an assignment exist) and > let kerneld load the module if a process accesses the device. Except that this is not possible if the devices does not exist yet, as it happens when udev is installed. --=20 ciao, Marco --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC2+GqFGfw2OHuP7ERAl8IAJ9WDoFsNlymt1sBPNieFYnM2MW8fQCfXbpr MxXmx4kXfOUJdlHIBYDcKyI= =twF4 -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]