linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ben@callahans.org: Bug#221739: /etc/hotplug/usb.agent generates 100s of lines of error output]
@ 2003-12-04 10:43 Marco d'Itri
  2003-12-10  1:07 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Marco d'Itri @ 2003-12-04 10:43 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 61 bytes --]

Debian bug report.

-- 
ciao, |
Marco | [3453 fu5T9iT/VZLEk]

[-- Attachment #2: Type: message/rfc822, Size: 4653 bytes --]

From: root <ben@callahans.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#221739: /etc/hotplug/usb.agent generates 100s of lines of error output
Date: Wed, 19 Nov 2003 16:06:50 -0500
Message-ID: <E1AMZXG-0000SW-00@callahans.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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-10  1:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-04 10:43 [ben@callahans.org: Bug#221739: /etc/hotplug/usb.agent generates 100s of lines of error output] Marco d'Itri
2003-12-10  1:07 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).