Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64869 - hotplug-20040920 changes location for firmware
Summary: hotplug-20040920 changes location for firmware
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 65059
Blocks:
  Show dependency tree
 
Reported: 2004-09-21 08:53 UTC by Mike Chavoustie
Modified: 2004-09-23 11:38 UTC (History)
3 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 Mike Chavoustie 2004-09-21 08:53:05 UTC
Older versions of hotplug had the user store their firmware in /usr/lib/hotplug/firmware.  This new revision looks for firmware stored in /lib/firmware, yet the new ebuild does not notify the user/move old firmwares to the new directory.

Reproducible: Always
Steps to Reproduce:
1. emerge hotplug-20040920
2. try and load any module requiring firmware
3. firmware is not found




All I had to do was check /etc/hotplug/firmware.agent to see the change.  I'd
just either prompt the user to move their own stuff or move it automatically.
Comment 1 Alan Schmitt 2004-09-21 09:56:10 UTC
This breaks using ipw2100 for instance (wireless driver).
Comment 2 Marc V 2004-09-21 13:53:55 UTC
same problem here with ipw2200 wireless drivers, fixed copying the firmwar to /lib/firmware
Comment 3 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-21 15:39:55 UTC
I can't automatically move the stuff.

How would I know to prompt to move the firmware files?  I don't want to bug
all users with such a message.
Comment 4 Mike Chavoustie 2004-09-21 16:43:32 UTC
Hotplug looks in a completely different place for firmware in this new version.  It makes sense for you to prompt users after compile with a simple einfo in in pkg_postinst().  It doesn't have to be complicated -- something to the effect of "make sure if you have hardware that requires firmware to move it to /lib/firmware, as this location has changed in the current version". 
Comment 5 Ray Tsang 2004-09-22 08:20:08 UTC
perhaps ipw2200 ebuild should be fixed also?
Comment 6 Raphael Slinckx 2004-09-23 03:22:01 UTC
Created bug http://bugs.gentoo.org/show_bug.cgi?id=65059 for the ipw drivers
Comment 7 Simon Cooper 2004-09-23 04:29:27 UTC
I get the same problem with the prism54 firmware (isl3890). However it is NOT solved by moving the firmware to /lib/firmware:

eth1: islpci_open()
eth1: resetting device...
eth1: uploading firmware...
prism54: request_firmware() failed for 'isl3890'
eth1: could not upload firmware ('isl3890')

as a side point, change the dodir reference in the ebuild to /lib/firmware:
dodir /usr/lib/hotplug/firmware
Comment 8 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-23 11:38:16 UTC
Ok, I'm closing this bug, as I'm adding a notice to the hotplug package that
the firmware has moved.

Please create new bugs for the individual packages that need to be fixed
for the firmware change.