Bugzilla – Bug 727234
Installation process does not install kernel-firmware package when needed
Last modified: 2011-11-02 12:39:49 UTC
Just installed 12.1 on a thinkpad t420 laptop which has a Centrino Ultimate-N 6300 (rev 05), this wifi card isn't showed in yast lan module and isn't configured of course. After some googling seems this wifi network device needs to load some firmware found in the kernel-firmware package. With openSUSE 11.4 this was automated, so I open this bugfix request.
I forgot to mention, kernel-firmware package was not installed. After insatlling this package and rebooting, the card was detected and directly usable from gnome3 network manager.
Please attach the YaST log files as explained at http://en.opensuse.org/openSUSE:Bugreport_YaST
Created attachment 459452 [details] YaST2 log files
Jordi, next time click the button "This comment provides the needed information. Remove the status of NEEDINFO from this bug." when providing information.
Ok, I'll do next time, I have more things to report.
Lada, do we have a mechanism for pulling in a firmware package during the installation?
Um, maybe some hardware dependency could pull it in... But kernel-firmware provides just this kind of dependencies (taken from "rpm -q --provides kernel-firmware" output): ... firmware(iwlwifi-100-5.ucode) firmware(iwlwifi-1000-3.ucode) firmware(iwlwifi-1000-5.ucode) firmware(iwlwifi-3945-2.ucode) ... No idea how can be these requirements added to the package manager... Michael, any idea? It's also strange that in 11.4 it was OK...
For hardware dependencies you have to look at the 'supplements' (rpm -q --supplements), in particular at the modaliases: modalias(kernel-desktop:pci:v000010DEd00000635sv*sd*bc03sc0[02]i00*) The 'PACKAGE:' prefix (kernel-desktop:) is optional and will simply require hardware being present _and_ PACKAGE being installed. Question would be if, in absence off the kernel-firmware package, 'zypper install-new-recommends' would have selected it. If not, it might be some hardwaredep missing. In doubt it might be helpful so send the list of modaliases found on the system to check whether kernel-firmware should have been matching. A command to get them would be: find /sys -name modalias | xargs grep . >/tmp/modaliases (The file will contain '/sys/PATH/modalias:MODALIAS' lines. kernel-firmware should have been selected, if a modalias template supplemented by kernel- firmware matches (shell glob) a MODALIAS in the above list. And of course kernel-firmware must not be involved in some dependency conflict) -- BUT be sure it is not related to bug #721810 - "Ignore recommended packages for already installed packages". In the log I see some 'ignorealreadyrecommended=1' during installation. This disables hardware dependencies, as it's an always-installed-system-peudo-package which would recommend the supplementing kernel-firmware package.
*** Bug 724611 has been marked as a duplicate of this bug. ***
unsubmited fix *** This bug has been marked as a duplicate of bug 725096 ***
Just a note to comment #8: I have fixed yast2-packager to set ignoreAlreadyRecommended to false during fresh installation/upgrade (in yast2-packager-2.21.14), so this should not be a problem.