* [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* Re: [ben@callahans.org: Bug#221739: /etc/hotplug/usb.agent generates 100s of lines of error output]
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
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-12-10 1:07 UTC (permalink / raw)
To: linux-hotplug
On Thu, Dec 04, 2003 at 11:43:08AM +0100, Marco d'Itri wrote:
> Debian bug report.
>
> --
> ciao, |
> Marco | [3453 fu5T9iT/VZLEk]
> Date: Wed, 19 Nov 2003 16:06:50 -0500
> 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
>
> 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.
modules.usbmap is generated from depmod. It should NEVER be edited by
hand.
thanks,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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
^ 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).