Skip to contentSkip to conversation

Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade

DISCUSSION Marco d'Itri 2 participants 4 messages Mar 1, 2005

lore
Share & tools
lore
#0 lore raw

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.)

----- Forwarded message from Simon Guest <[email protected]> -----

Subject: Bug#297481: hotplug: Fails to load firmware for ipw2200 after upgrade
Reply-To: Simon Guest <[email protected]>, [email protected]
From: Simon Guest <[email protected]>
To: Debian Bug Tracking System <[email protected]>

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

[...]

-- 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

----- End forwarded message -----

Signature · 13 lines
ciao,
Marco


-------------------------------------------------------
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_ide95&alloc_id396&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw

Re: Bug#297481: hotplug: Fails to load firmware for ipw2200 after

Quoted 7 lines · Marco d'Itri

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_ide95&alloc_id396&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Marco d'Itri

reassign 297481 kernel-image-2.6.8-i386
thanks

Quoted 2 lines · Kay Sievers

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? What else does this break?

Signature · 2 lines
ciao,
Marco
#3 lore raw

Re: Bug#297481: hotplug: Fails to load firmware for ipw2200 after

In reply to Marco d'Itri
Quoted 9 lines · Marco d'Itri

reassign 297481 kernel-image-2.6.8-i386
thanks

Quoted 2 lines · Kay Sievers

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.

Quoted 1 line

What else does this break?

I should be safe, I think.

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_ide95&alloc_id396&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel