Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65059 - ipw2200 and ipw2100 have to put firmware /lib/firmware to use the new hotplug
Summary: ipw2200 and ipw2100 have to put firmware /lib/firmware to use the new hotplug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 64869
  Show dependency tree
 
Reported: 2004-09-23 03:20 UTC by Raphael Slinckx
Modified: 2004-10-17 02:05 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Slinckx 2004-09-23 03:20:55 UTC
Those two ebuilds put the firmware files in /usr/lib/hotplug/ and should place them in /lib/firmware to work with the new hotplug script !

See bug http://bugs.gentoo.org/show_bug.cgi?id=64869

Reproducible: Always
Steps to Reproduce:
1. emerge hotplug-20040920
2. try to modprobe ipw2200 or ipw2100

Actual Results:  
Fails because firmware isn't loaded

Expected Results:  
should modprobe fine
Comment 1 Henrik Brix Andersen 2004-09-23 11:06:12 UTC
I'll try to come up with a patch for the ipw ebuild which detects the version of hotplug installed - and places the firmware in the correct place.
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2004-09-23 11:44:15 UTC
Detecting the version is not really a good solution. Imagine: emerge stable hotplug; emerge ipw2100; upgrade hotplug.. *broken*

For now, we should put the file in where the stable hotplug expects it, and symlink to it in the new location. Eventually we trade those roles, and once all the older versions of hotplug are removed from portage, we can zap the symlink.
Comment 3 Christoph Brill (egore) (RESIGNED) 2004-09-26 03:22:35 UTC
Same problems for DVB drivers from kernel. Kernel (2.6.8) doc still states that firmware should be in /usr/lib/hotplug/firmware, but hotplug scripts search in /lib/firmware

How about symlinking??
/lib/firmware -> /usr/lib/hotplug/firmware
/usr/lib/hotplug/firmware -> /lib/firmware
Comment 4 Jeremy Maitin-Shepard 2004-10-01 10:48:28 UTC
Fixed in the ebuild for version 0.11.
Comment 5 Henrik Brix Andersen 2004-10-01 11:07:39 UTC
This has not been fixed for the ipw2100 yet.
Comment 6 Henrik Brix Andersen 2004-10-01 13:59:26 UTC
Ok. I added the symlinks to ipw2100-0.55-r2.

I've added the symlinks the other way around though (firmware files in /lib/firmware, symlinks in /usr/lib/hotplug/firmware) since /lib/ will always be mounted at boot time but /usr might not be.

I suggest the ipw2200-0.11.ebuild is changed to do this as well.
Comment 7 Edwin Shin 2004-10-02 01:26:01 UTC
I agree with Henrix (#6). For instance, I have LVM2 set up. The default behavior, even with the "old" hotplug, is that the ipw2200 firmware is not loaded at boot, because /usr (an LVM volume) is not yet available.

So I have been putting the firmware in /lib and symlinking from /usr/lib with the "old" hotplug anyway.

I'm sure others can imagine even more cases where it would be desirable to have the firmware in /lib rather than just symlinked.
Comment 8 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-10-06 16:20:25 UTC
Care to change the owner of this to the owner of the firmware packages, that's 
not me...
Comment 9 Henrik Brix Andersen 2004-10-07 00:01:25 UTC
Reassigning to mobile@g.o
Comment 10 Sebastian Bergmann (RETIRED) gentoo-dev 2004-10-14 20:27:40 UTC
I have the ipw2100 firmware in /lib/firmware but after a recent hotplug update (I am currently using sys-apps/hotplug-20040923) it's not found anymore:

wopr-mobile ~ # ls -la /lib/firmware
total 616
drwxr-xr-x   2 root root    184 Oct 14 18:40 .
drwxr-xr-x  10 root root   4248 Oct 15 04:17 ..
-rw-r--r--   1 root root  11880 Oct 14 18:40 ipw2100-1.3-LICENSE
-rw-r--r--   1 root root 201138 Oct 14 18:40 ipw2100-1.3-i.fw
-rw-r--r--   1 root root 196458 Oct 14 18:40 ipw2100-1.3-p.fw
-rw-r--r--   1 root root 209190 Oct 14 18:40 ipw2100-1.3.fw


ipw2100: 0000:02:0a.0: Detected at mem: 0xC2005000-0xC2005FFF -> e1940000, irq: 11
eth1: Using hotplug firmware load.
eth1: Firmware 'ipw2100-1.3.fw' not available or load failed.
eth1: ipw2100_get_firmware failed: -2
eth1: Failed to power on the adapter.
eth1: Failed to start the firmware.
Comment 11 Alan Schmitt 2004-10-15 05:53:08 UTC
I had the same problem, and reverting to udev-36 solved the issue, so it might be udev-38 related.
Comment 12 Raphael Slinckx 2004-10-15 06:23:26 UTC
I too got problems with udev 038, reverting to 036 worked for me
Comment 13 Peter Johanson (RETIRED) gentoo-dev 2004-10-15 07:18:09 UTC
Concerning the udev problem, I've opened a new bug #65059 for this issue. Please track that problem/discussion there, as it's not a ipw2{100,200} problem, but a problem in general with firmware uploading and this version of udev (my prism54 also breaks with that version of udev). Thanks.
Comment 14 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-10-15 14:15:41 UTC
*** Bug 67664 has been marked as a duplicate of this bug. ***
Comment 15 Henrik Brix Andersen 2004-10-17 02:05:39 UTC
net-wireless/ipw2200-0.12 installs firmware to /lib/firmware and symlinks to /usr/lib/hotplug/firmware. Closing as FIXED.