Your message dated Fri, 18 Feb 2011 22:48:55 +0000
with message-id <201102182248.55719.el...@debianpt.org>
and subject line
has caused the Debian Bug report #415400,
regarding discover1: modules described in configuration should have '-'
replaced by '_'
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
415400: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415400
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: discover1
Version: 1.7.19
Severity: normal
Hello,
As I have a conflict with USB2 on my computer (see #376652), I have to
forbid the ehci-hcd module loading. At first, I had a rule in udev
configuration to avoid it, but it was always loaded. I found that
discover1 was loading it as udev didn't do it anymore, so I added a rule
in /etc/discover.conf :
skip ehci-hcd
But, when rebooting, I've noticed that discover reloaded it anyway. I've
done some debug inside the /etc/init.d/discover script to find that
module names given in configuration has to be written with underscores
('_') instead of dashes ('-') ! Even examples given in configuration
don't work :
# Don't load the i810-tco and i8xx-tco module by default:
skip i810-tco
skip i8xx-tco
To work, it should be written :
# Don't load the i810-tco and i8xx-tco module by default:
skip i810_tco
skip i8xx_tco
and my specific rule :
skip ehci_hcd
The script part responsible of this behaviour in /etc/init.d/discover is
:
MODULES=$(discover $DISCOVER_ARGS --module $TYPES | discover_uniq)
# Get rid of ide-scsi for kernels that don't need it. This is a horrible
# hack,
# but since we're retiring this version anyway I don't care
case "$KVERS" in
2.[0-4].*) true;;
*) MODULES=$(echo $MODULES | sed -e 's/ide-scsi //' -e 's/-/_/g');;
esac
The second rule of the 'sed' command change module names... Don't know
why... But this should be noted in the discover.conf man page and
perhaps even as a note in /etc/discover.conf.
With regards,
Fred.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-dev
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Versions of packages discover1 depends on:
ii discover1-data 2.2007.02.02 Data lists for Discover hardware d
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libdiscover1 1.7.19 hardware identification library
discover1 recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Closing as discover1 is no longer used.
--- End Message ---