Report forwarded to debian-bugs-dist@lists.debian.org, Simon Guest <simon@guests.plus.com>, Fumitoshi UKAI <ukai@debian.or.jp>: Bug#297481; Package hotplug.
(full text, mbox, link).
Acknowledgement sent to Simon Guest <simon@guests.plus.com>:
New Bug report received and forwarded. Copy sent to Simon Guest <simon@guests.plus.com>, Fumitoshi UKAI <ukai@debian.or.jp>.
(full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: hotplug: Fails to load firmware for ipw2200 after upgrade
Date: Mon, 28 Feb 2005 22:56:01 +0000
Package: hotplug
Version: 0.0.20040329-17
Severity: normal
I've been using ipw2200 successfully with the previous hotplug
version, 0.0.20040329-16. Following a dist-upgrade, my hotplug was
upgraded to 0.0.20040329-17, and after the next reboot, my ipw2200
wireless driver could no longer get its firmware loaded (via
hotplug). Reverting to hotplug version 0.0.20040329-16 (and making no
other changes to my configuration) caused the problem to go away.
Lines logged in /var/log/kern.log as follows (for the broken case):
Feb 28 22:31:38 localhost kernel: ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.0
Feb 28 22:31:38 localhost kernel: ipw2200: Copyright(c) 2003-2004 Intel Corporation
Feb 28 22:31:38 localhost kernel: ACPI: PCI interrupt 0000:02:06.0[A] -> GSI 10 (level, low) -> IRQ 10
Feb 28 22:31:38 localhost kernel: ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
Feb 28 22:31:48 localhost kernel: ipw2200: ipw-2.2-boot.fw load failed: Reason -2
Feb 28 22:31:48 localhost kernel: ipw2200: Unable to load firmware: 0xFFFFFFFE
Feb 28 22:31:48 localhost kernel: ipw2200: failed to register network device
Feb 28 22:31:48 localhost kernel: ipw2200: probe of 0000:02:06.0 failed with error -5
Of course, it may be that the bug is in ipw2200 or somewhere else.
I've built ipw2200 from the debian package ipw2200-source, version
1.0.0-1, running on standard Debian kernel image 2.6.8-1-686.
For reference, when it works (using the previous hotplug), I get this
logged:
Feb 28 22:36:23 localhost kernel: ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.0
Feb 28 22:36:23 localhost kernel: ipw2200: Copyright(c) 2003-2004 Intel Corporation
Feb 28 22:36:23 localhost kernel: ACPI: PCI interrupt 0000:02:06.0[A] -> GSI 10 (level, low) -> IRQ 10
Feb 28 22:36:23 localhost kernel: ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
Also, I certainly have the right firmware files is the right place:
$ pwd
/usr/lib/hotplug/firmware
$ ls
ipw-2.2-boot.fw ipw-2.2-bss_ucode.fw ipw-2.2-ibss_ucode.fw
ipw-2.2-bss.fw ipw-2.2-ibss.fw
Ah, is it possible that having these as symlinks could cause a problem
for hotplug? As you can see below, I have them all symlink'd into /usr/local.
(The links are not dangling - see wc output.)
$ ls -l
total 0
lrwxrwxrwx 1 root root 47 2005-02-06 19:28 ipw-2.2-boot.fw -> /usr/local/lib/hotplug/firmware/ipw-2.2-boot.fw
lrwxrwxrwx 1 root root 46 2005-02-06 19:28 ipw-2.2-bss.fw -> /usr/local/lib/hotplug/firmware/ipw-2.2-bss.fw
lrwxrwxrwx 1 root root 52 2005-02-06 19:28 ipw-2.2-bss_ucode.fw -> /usr/local/lib/hotplug/firmware/ipw-2.2-bss_ucode.fw
lrwxrwxrwx 1 root root 47 2005-02-06 19:28 ipw-2.2-ibss.fw -> /usr/local/lib/hotplug/firmware/ipw-2.2-ibss.fw
lrwxrwxrwx 1 root root 53 2005-02-06 19:28 ipw-2.2-ibss_ucode.fw -> /usr/local/lib/hotplug/firmware/ipw-2.2-ibss_ucode.fw
$ wc -c *
6472 ipw-2.2-boot.fw
166960 ipw-2.2-bss.fw
16334 ipw-2.2-bss_ucode.fw
161568 ipw-2.2-ibss.fw
16312 ipw-2.2-ibss_ucode.fw
367646 total
Any ideas?
cheers,
Simon
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages hotplug depends on:
ii debconf 1.4.46 Debian configuration management sy
ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep
ii module-init-tools 3.2-pre1-2 tools for managing Linux kernel mo
ii modutils 2.4.26-1.2 Linux module utilities
ii procps 1:3.2.5-1 /proc file system utilities
-- debconf information:
hotplug/ignore_pci_class_display: true
hotplug/net_agent_policy: hotplug
* hotplug/usb_keyboard:
hotplug/static_module_list:
hotplug/x11_usbmice_hack: false
Information forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>: Bug#297481; Package hotplug.
(full text, mbox, link).
Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>.
(full text, mbox, link).
On Feb 28, Simon Guest <simon@guests.plus.com> wrote:
> Feb 28 22:31:38 localhost kernel: ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
> Feb 28 22:31:48 localhost kernel: ipw2200: ipw-2.2-boot.fw load failed: Reason -2
I do not know what -2 means, but I see that it fails after the timeout
so I think that the agent is not even trying to upload the firmware.
What happens if you unload and then reload the module?
The changes to firmware.agent between the two versions are very simple,
can you also check what happens if you use -17 with the firmware.agent
file from -16?
Are you using udev?
> Ah, is it possible that having these as symlinks could cause a problem
> for hotplug? As you can see below, I have them all symlink'd into /usr/local.
No, files are checked with -e.
--
ciao,
Marco
Information forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>: Bug#297481; Package hotplug.
(full text, mbox, link).
Acknowledgement sent to Simon Guest <simon@guests.plus.com>:
Extra info received and forwarded to list. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>.
(full text, mbox, link).
Subject: Re: Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade
Date: Tue, 01 Mar 2005 17:37:41 +0000
At Tue, 1 Mar 2005 00:43:49 +0100,
Marco d'Itri wrote:
> I do not know what -2 means, but I see that it fails after the timeout
> so I think that the agent is not even trying to upload the firmware.
>
> What happens if you unload and then reload the module?
It does the same, i.e. fails in the same way with the same log message.
>
> The changes to firmware.agent between the two versions are very simple,
> can you also check what happens if you use -17 with the firmware.agent
> file from -16?
OK, this makes no difference. Using the older firmware.agent with the
newer hotplug fails in the same way.
>
> Are you using udev?
Yes, using udev. Does this help to explain it?
cheers,
Simon
Information forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>: Bug#297481; Package hotplug.
(full text, mbox, link).
Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>.
(full text, mbox, link).
On Mar 01, Simon Guest <simon@guests.plus.com> wrote:
> > Are you using udev?
> Yes, using udev. Does this help to explain it?
Maybe. Try to comment the line in /etc/init.d/udev which updates
/proc/sys/kernel/hotplug and reboot.
--
ciao,
Marco
Information forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>: Bug#297481; Package hotplug.
(full text, mbox, link).
Acknowledgement sent to Simon Guest <simon@guests.plus.com>:
Extra info received and forwarded to list. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>.
(full text, mbox, link).
Subject: Re: Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade
Date: Tue, 01 Mar 2005 18:09:58 +0000
At Tue, 1 Mar 2005 18:39:34 +0100,
Marco d'Itri wrote:
>
> On Mar 01, Simon Guest <simon@guests.plus.com> wrote:
> > Yes, using udev. Does this help to explain it?
> Maybe. Try to comment the line in /etc/init.d/udev which updates
> /proc/sys/kernel/hotplug and reboot.
OK, this fixed my problem.
I commented out the following line from /etc/init.d/udev
echo /sbin/udevsend > /proc/sys/kernel/hotplug
So, everything works again for me, and I'm happy. Thanks for your
help.
Is this then a bug in udev (for which I see you are also the Debian
maintainer)? Is there anything else you need from me?
cheers,
Simon
Information forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>: Bug#297481; Package hotplug.
(full text, mbox, link).
Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>.
(full text, mbox, link).
reassign 297481 udev
thanks
On Mar 01, Simon Guest <simon@guests.plus.com> wrote:
> Is this then a bug in udev (for which I see you are also the Debian
> maintainer)? Is there anything else you need from me?
Which version of udev are you using?
--
ciao,
Marco
Bug reassigned from package `hotplug' to `udev'.
Request was from md@Linux.IT (Marco d'Itri)
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>: Bug#297481; Package udev.
(full text, mbox, link).
Acknowledgement sent to Simon Guest <simon@guests.plus.com>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>.
(full text, mbox, link).
Subject: Re: Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade
Date: Tue, 01 Mar 2005 19:11:21 +0000
At Tue, 1 Mar 2005 19:24:04 +0100,
Marco d'Itri wrote:
> Which version of udev are you using?
It got upgraded with everything else, so now on 0.054-1.
cheers,
Simon
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>: Bug#297481; Package kernel-image-2.6.8-i386.
(full text, mbox, link).
Acknowledgement sent to Kay Sievers <kay.sievers@vrfy.org>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
To: md@linux.it, debian-kernel@lists.debian.org,
linux-hotplug-devel@lists.sourceforge.net
Cc: control@bugs.debian.org
Subject: Re: Bug#297481: hotplug: Fails to load firmware for ipw2200 after
upgrade
Date: Tue, 01 Mar 2005 21:41:29 +0100
On Tue, 2005-03-01 at 21:26 +0100, Marco d'Itri wrote:
>reassign 297481 kernel-image-2.6.8-i386
>thanks
>
>On Mar 01, Kay Sievers <kay.sievers@vrfy.org> wrote:
>
>> This kernel will not work correctly with managed events. It has holes in
>> the sequence numbers. You need at least 2.6.10 if I remember correctly.
>This sucks, because the next Debian release will ship 2.6.8 as the
>default 2.6 kernel. Do you know what needs to be backported to fix this?
It's all in lib/kobject_uevent.c and should be trivial. It was changed
to increment the seqnum counter only if the kset wants to emit the
event.
>What else does this break?
I should be safe, I think.
Kay
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>: Bug#297481; Package kernel-image-2.6.8-i386.
(full text, mbox, link).
Subject: Re: Bug#297481: hotplug: Fails to load firmware for ipw2200 after
upgrade
Date: Tue, 01 Mar 2005 21:02:49 +0100
On Tue, 2005-03-01 at 20:25 +0100, Marco d'Itri wrote:
>What's wrong? The user is running udev 0054 with udevsend as the
>hotplug multiplexer, if /sbin/hotplug is restored then the firmware
>loader works again.
>(In the report he talks about hotplug, but we later verified that udev
>was upgraded at the same time.)
>1.0.0-1, running on standard Debian kernel image 2.6.8-1-686.
This kernel will not work correctly with managed events. It has holes in
the sequence numbers. You need at least 2.6.10 if I remember correctly.
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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
Severity set to `important'.
Request was from md@Linux.IT (Marco d'Itri)
to control@bugs.debian.org.
(full text, mbox, link).
Merged 297481297686.
Request was from md@Linux.IT (Marco d'Itri)
to control@bugs.debian.org.
(full text, mbox, link).
Subject: Bug#297481: fixed in hotplug 0.0.20040329-18
Date: Mon, 14 Mar 2005 10:02:04 -0500
Source: hotplug
Source-Version: 0.0.20040329-18
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-18.diff.gz
to pool/main/h/hotplug/hotplug_0.0.20040329-18.diff.gz
hotplug_0.0.20040329-18.dsc
to pool/main/h/hotplug/hotplug_0.0.20040329-18.dsc
hotplug_0.0.20040329-18_all.deb
to pool/main/h/hotplug/hotplug_0.0.20040329-18_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 297481@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Fumitoshi UKAI <ukai@debian.or.jp> (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: Mon, 14 Mar 2005 23:33:28 +0900
Source: hotplug
Binary: hotplug
Architecture: source all
Version: 0.0.20040329-18
Distribution: unstable
Urgency: high
Maintainer: Fumitoshi UKAI <ukai@debian.or.jp>
Changed-By: Fumitoshi UKAI <ukai@debian.or.jp>
Description:
hotplug - Linux Hotplug Scripts
Closes: 297481299154
Changes:
hotplug (0.0.20040329-18) unstable; urgency=high
.
* workaound fix to load firmware problem for sarge release.
closes: Bug#297481, Bug#299154
/sbin/hotplug may have potential problem in hotplug event multiplexing,
but /sbin/udevsend has grave problem in firmware loading in old kernel,
so I add workaround fix to this.
Recommends upgrade kernel 2.6.10 or later.
* fix purge problem in hotplug.postrm.
Files:
a20b5a26734aed204d9465546f80fcaf 673 admin standard hotplug_0.0.20040329-18.dsc
26563987878f58c78c0bac582f52c460 48763 admin standard hotplug_0.0.20040329-18.diff.gz
e0849499b8b8e77e1fa53f8ab36abe0d 66202 admin standard hotplug_0.0.20040329-18_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCNaZE9D5yZjzIjAkRAoJUAKCdlnn/vECOOjlHRzPqQ6lA9jnTOACfaEfA
mz4WcpPH9kRY3beSPXOGsEY=
=0uf/
-----END PGP SIGNATURE-----
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>: Bug#297481; Package kernel-image-2.6.8-i386.
(full text, mbox, link).
Acknowledgement sent to md@Linux.IT (Marco d'Itri):
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
reopen 297481
thanks
The bug still exists and you should not close it unless the
debian-kernel team will say that they are not going to fix it.
--
ciao,
Marco
Bug reopened, originator not changed.
Request was from md@Linux.IT (Marco d'Itri)
to control@bugs.debian.org.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>: Bug#297481; Package kernel-image-2.6.8-i386.
(full text, mbox, link).
Acknowledgement sent to Horms <horms@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
To: Kay Sievers <kay.sievers@vrfy.org>, 297481@bugs.debian.org
Subject: Re: Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade
Date: Tue, 15 Mar 2005 17:56:48 +0900
On Tue, Mar 01, 2005 at 09:41:29PM +0100, Kay Sievers wrote:
> On Tue, 2005-03-01 at 21:26 +0100, Marco d'Itri wrote:
> >reassign 297481 kernel-image-2.6.8-i386
> >thanks
> >
> >On Mar 01, Kay Sievers <kay.sievers@vrfy.org> wrote:
> >
> >> This kernel will not work correctly with managed events. It has holes in
> >> the sequence numbers. You need at least 2.6.10 if I remember correctly.
> >This sucks, because the next Debian release will ship 2.6.8 as the
> >default 2.6 kernel. Do you know what needs to be backported to fix this?
>
> It's all in lib/kobject_uevent.c and should be trivial. It was changed
> to increment the seqnum counter only if the kset wants to emit the
> event.
Sounds suspiciously like it will alter the kernel ABI,
but if you have a patch please send it here.
--
Horms
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/.