Report forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>: Bug#248304; Package speedtouch.
(full text, mbox, link).
Acknowledgement sent to Carey Evans <careye@spamcop.net>:
New Bug report received and forwarded. Copy sent to Marco d'Itri <md@linux.it>.
(full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /etc/hotplug/usb/speedtouch runs multiple times at boot
Date: Tue, 11 May 2004 00:37:42 +1200
Package: speedtouch
Version: 1.2-rel-1
Severity: normal
I added some code to /etc/hotplug/usb/speedtouch to find out why my
Linux 2.6.5 system takes so long to load the speedtouch firmware during
boot, and found that the script is run 19 times at boot, once for the
USB device, once each for the three USB interfaces, and another five
times for each USB interface but under the PCI namespace:
$ grep DEVPATH *
speedtch1396.txt:DEVPATH=bus/usb/devices/2-1
speedtch1511.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0
speedtch1515.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1
speedtch1562.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.2
speedtch1704.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1
speedtch1747.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0
speedtch1774.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.2
speedtch1823.txt:DEVPATH=bus/usb/devices/2-1/2-1:1.0
speedtch1930.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1
speedtch1947.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0
speedtch1992.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.2
speedtch2036.txt:DEVPATH=bus/usb/devices/2-1/2-1:1.1
speedtch2158.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0
speedtch2164.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1
speedtch2211.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.2
speedtch2264.txt:DEVPATH=bus/usb/devices/2-1/2-1:1.2
speedtch2371.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.1
speedtch2388.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0
speedtch2440.txt:DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.2
It seems to me that further processing should only take place in the
first instance, i.e. when $DEVPATH matches bus/usb/devices/usb/* but not
bus/usb/devices/usb/*/*.
case "$DEVPATH" in
bus/usb/devices/usb/*/*) exit 1 ;;
bus/usb/devices/usb/*) ;;
*) exit 1 ;;
esac
I don't know how well this would work on Linux 2.4, though.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8
Versions of packages speedtouch depends on:
ii libatm1 2.4.1-15 shared library for ATM (Asynchrono
ii libc6 2.3.2.ds1-12 GNU C Library: Shared libraries an
ii ppp 2.4.2+20040202-3 Point-to-Point Protocol (PPP) daem
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>: Bug#248304; Package speedtouch.
(full text, mbox, link).
Acknowledgement sent to Marco d'Itri <md@Linux.IT>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>.
(full text, mbox, link).
To: Carey Evans <careye@spamcop.net>, 248304@bugs.debian.org
Cc: control@bugs.debian.org, ukai@debian.or.jp
Subject: Re: Bug#248304: /etc/hotplug/usb/speedtouch runs multiple times at boot
Date: Mon, 10 May 2004 14:55:15 +0200
reassign 248304 hotplug
thanks
On May 10, Carey Evans <careye@spamcop.net> wrote:
> I added some code to /etc/hotplug/usb/speedtouch to find out why my
> Linux 2.6.5 system takes so long to load the speedtouch firmware during
> boot, and found that the script is run 19 times at boot, once for the
> USB device, once each for the three USB interfaces, and another five
> times for each USB interface but under the PCI namespace:
This is an hotplug bug, but I did not have time yet to investigate it.
--
ciao, |
Marco | [6199 nonosFM8r/hJw]
Bug reassigned from package `speedtouch' to `hotplug'.
Request was from Marco d'Itri <md@Linux.IT>
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>: Bug#248304; Package hotplug.
(full text, mbox, link).
Acknowledgement sent to Carey Evans <careye@spamcop.net>:
Extra info received and forwarded to list. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>.
(full text, mbox, link).
Subject: Re: Bug#248304: /etc/hotplug/usb/speedtouch runs multiple times at boot
Date: Tue, 11 May 2004 08:09:40 +1200
Marco d'Itri wrote:
> This is an hotplug bug, but I did not have time yet to investigate it.
According to a comment in /etc/hotplug/usb.agent:
> For Linux 2.5+ kernels ... hotplug is invoked for each interface, not
> just the first one.
So there should still be some kind of test to only run once rather than
four times, as long as $DEVPATH is set (i.e. running on Linux 2.6).
I've now tried this on Linux 2.6.6, and the speedtouch script was run
four times, once for the device and once for each interface. However,
ppp didn't work and khubd Oopsed, which seems to be a known problem:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0404.3/1362.html
--
"Hanging is too good for a man who makes puns; he should be drawn and
quoted."
-- Fred Allen
Information forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>: Bug#248304; Package hotplug.
(full text, mbox, link).
Acknowledgement sent to Carey Evans <carey@paradise.net.nz>:
Extra info received and forwarded to list. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>.
(full text, mbox, link).
tags 248304 patch
thanks
Regardless of whether this is a speedtouch bug, a hotplug bug or a
kernel bug, the attached patch makes my PC boot much more smoothly.
Subject: Bug#248304: fixed in hotplug 0.0.20040329-12
Date: Sun, 18 Jul 2004 10:17:03 -0400
Source: hotplug
Source-Version: 0.0.20040329-12
We believe that the bug you reported is fixed in the latest version of
hotplug, which is due to be installed in the Debian FTP archive:
hotplug_0.0.20040329-12.diff.gz
to pool/main/h/hotplug/hotplug_0.0.20040329-12.diff.gz
hotplug_0.0.20040329-12.dsc
to pool/main/h/hotplug/hotplug_0.0.20040329-12.dsc
hotplug_0.0.20040329-12_all.deb
to pool/main/h/hotplug/hotplug_0.0.20040329-12_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 248304@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Marco d'Itri <md@linux.it> (supplier of updated hotplug package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 18 Jul 2004 01:20:44 +0200
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-12
Distribution: unstable
Urgency: low
Maintainer: Fumitoshi UKAI <ukai@debian.or.jp>
Changed-By: Marco d'Itri <md@linux.it>
Description:
hotplug - Linux Hotplug Scripts
Closes: 237952243716243716243716245500248070248304248900252287253927256893256897257043257723257849257867259141259488
Changes:
hotplug (0.0.20040329-12) unstable; urgency=low
.
* Install the isapnp modprobe aliases in the right place.
* New patch 012_usb.rc_fix_coldplugging to generate more correct
coldplugging events for USB. Requires kernel >= 2.6.7.
Remove obsolete patches 012_usb.rc_no_usbmodules and
012_usb.rc_try_all_interfaces.
(Closes: #243716, #245500, #243716, #243716, #248900, #237952, #248304)
(Closes: #252287, #253927)
* Removed patch 009_usb.agent_remover, it's broken (the $DEVPATH does
not exist anymore on removal) and useless because now $DEVICE should
always be generated. (Closes: #248070)
* Create the net.enable flag file in postinst. (Closes: #256897)
* Updated patch 050_net.agent_ifupdown to make net.ifup print a debug
message only if net.enable does not exist yet. (Closes: #256893)
* Updated patch firmware_dirs to search for firmware files in
/usr/local/lib/firmware/ too. (Closes: #257849)
* New patch 017_pci.rc_pcimodules_once to run pcimodules only once on
2.4 systems. (Closes: #259488)
* Updated po templates: da, fr. (Closes: #257867, #259141)
* Updated isapnp.rc to support blacklisting by module name.
Patch courtesy of Santi Béjar. (Closes: #257043)
* Depend on grep >= 2.5.1.ds1-2, which fixes -q. (Closes: #257723)
Files:
fbc3277dd3eb1849a8df8dabaec15f9f 673 admin standard hotplug_0.0.20040329-12.dsc
45b332380fa4aa817d099864e73482b5 40361 admin standard hotplug_0.0.20040329-12.diff.gz
c6f06f279fead4f1524187d233f88309 60824 admin standard hotplug_0.0.20040329-12_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA+oKrFGfw2OHuP7ERAgcvAJ9SpxeW28+j//HCV8V7Hbhr+4/RwgCgpct6
WYsdt6twGihzROhtA0fPQfU=
=UK7A
-----END PGP SIGNATURE-----
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.