From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marco d'Itri" Date: Thu, 04 Dec 2003 10:43:08 +0000 Subject: [ben@callahans.org: Bug#221739: /etc/hotplug/usb.agent generates 100s of lines of error output] MIME-Version: 1 Content-Type: multipart/mixed; boundary="wRRV7LY7NUeQGEoC" Message-Id: List-Id: To: linux-hotplug@vger.kernel.org --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Debian bug report. -- ciao, | Marco | [3453 fu5T9iT/VZLEk] --wRRV7LY7NUeQGEoC Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: md@wonderland.linux.it Delivered-To: md@wonderland.linux.it Received: from attila.bofh.it (localhost [127.0.0.1]) by wonderland.linux.it (Postfix) with ESMTP id 23E721BE12 for ; Wed, 19 Nov 2003 22:18:38 +0100 (CET) Received: from picard.linux.it (picard.linux.it [62.177.1.107]) by attila.bofh.it (Postfix) with ESMTP id 32B915F7F2 for ; Wed, 19 Nov 2003 22:18:37 +0100 (CET) Received: from master.debian.org (master.debian.org [::ffff:146.82.138.7]) by picard.linux.it (Postfix) with ESMTP id B63503EE9 for ; Wed, 19 Nov 2003 22:18:33 +0100 (CET) Received: from hertzog by master.debian.org with local (Exim 3.35 1 (Debian)) id 1AMZia-0000tL-00; Wed, 19 Nov 2003 15:18:32 -0600 Received: from debbugs by master.debian.org with local (Exim 3.35 1 (Debian)) id 1AMZi7-0000lQ-00; Wed, 19 Nov 2003 15:18:03 -0600 X-Loop: owner@bugs.debian.org Subject: Bug#221739: /etc/hotplug/usb.agent generates 100s of lines of error output Reply-To: root , 221739@bugs.debian.org Resent-From: root Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Fumitoshi UKAI Resent-Date: Wed, 19 Nov 2003 21:18:02 UTC Resent-Message-Id: X-Debian-PR-Message: report 221739 X-Debian-PR-Package: hotplug X-Debian-PR-Keywords: Received: via spool by submit@bugs.debian.org id=B.106927604327386 (code B ref -1); Wed, 19 Nov 2003 21:18:02 UTC Received: (at submit) by bugs.debian.org; 19 Nov 2003 21:07:23 +0000 Received: from (callahans.org) [170.206.250.81] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1AMZXk-00076h-00; Wed, 19 Nov 2003 15:07:21 -0600 Received: from root by callahans.org with local (BubbaMail 7.7 (NetBSD)) id 1AMZXG-0000SW-00; Wed, 19 Nov 2003 16:06:50 -0500 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: root To: Debian Bug Tracking System X-Mailer: reportbug 2.34 Date: Wed, 19 Nov 2003 16:06:50 -0500 Message-Id: Delivered-To: submit@bugs.debian.org X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE version=2.53-bugs.debian.org_2003_11_15 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_15 (1.174.2.15-2003-03-30-exp) Resent-Sender: Debian BTS Delivered-To: hotplug@packages.qa.debian.org Precedence: list X-Loop: hotplug@packages.qa.debian.org X-PTS-Package: hotplug X-PTS-Keyword: bts X-Unsubscribe: echo 'unsubscribe hotplug' | mail pts@qa.debian.org Package: hotplug Version: 0.0.20031008-1 Severity: normal If there's an unparseable line in /lib/modules/modules.usbmap, usb.agent generates hundreds (in my case, over 600) lines of output during the boot; specifically, it repeatedly prints out the environment, which includes all the functions it has just loaded. Easy fix: change this: -------------------------------------------------------- while read line do # comments are lines that start with "#" ... # be careful, they still get parsed by bash! case "$line" in \#*) continue ;; esac -------------------------------------------------------- to this: -------------------------------------------------------- while read line do # comments are lines that start with "#" ... # be careful, they still get parsed by bash! case "$line" in \#*) continue ;; "") continue ;; esac -------------------------------------------------------- (note the added line in the case statement.) It might also be a good idea to count the lines in modules.usbmap and report the one that fails to parse... I still have to hunt down which one it is. :) Regards, Ben Okopnik -=-=-=-=-=- -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux Fenrir.Thor 2.4.22 #5 Wed Nov 19 15:20:15 EST 2003 i686 Locale: LANG=en_US, LC_CTYPE=en_US Versions of packages hotplug depends on: ii debconf 1.3.15 Debian configuration management sy ii module-init-tools 0.9.15-pre2-2 tools for managing Linux kernel mo ii modutils 2.4.25-1 Linux module utilities ii procps 1:3.1.12-1 The /proc file system utilities -- debconf information: * hotplug/usb_keyboard: hotplug/x11_usbmice_hack: false * hotplug/static_module_list: usb-uhci * hotplug/usbd_enable: true --wRRV7LY7NUeQGEoC-- ------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel