Bug 733148

Summary: wlan non-functional. Kernel-firmware not installed with openSUSE-12.1-DVD-i586.iso
Product: [openSUSE] openSUSE 12.1 Reporter: Forgotten User VemhkgUZvV <forgotten_VemhkgUZvV>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P3 - Medium CC: forgotten_S7BaJJXAH-, forgotten_SNh8s-Gz29
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Zypper log of an affected system
output of hwinfo and rpm queries
brcmsmac: Document firmware dependencies

Description Forgotten User VemhkgUZvV 2011-11-28 19:31:01 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0

Installing openSUSE-12.1-DVD-i586.iso (new install from an USB over version 11.4, /home not formated, language spanish, default install) doesn't install package kernel-firmware by default and in my case Broadcom 4313 doesn't work. Other hardware may fail as well.
Installing opensuse 12.1 KDE Live-CD over the same PC with the same defaults installs correctly package kernel-firmware by default and Broadcom 4313 works.
This bug was reported on Beta1 and RC1 (724611, 725096 and 727234) and was marked as resolved.

Reproducible: Always

Steps to Reproduce:
1.Install openSUSE-12.1-DVD-i586.iso from an USB, new install over version 11.4, /home not formated, language spanish, default installation.
2.
3.
Actual Results:  
Package kernel-firmware not installed and so Broadcom 4313 wireless card doesn't work

Expected Results:  
Package kernel-firmware installed by default

Driver used by this card Broadcom 4313 that is brcmsmac is in the staging kernel
Comment 1 Forgotten User SNh8s-Gz29 2012-01-22 21:49:00 UTC
I would like to confirm this bug observation on an Asus Eee PC 1016P with a fresh openSUSE 12.1 installation (openSUSE-12.1-DVD-i586.iso via PXE): After the original installation WLAN did not work. After manually adding the package kernel-firmware it does work. Bugs 728395 and 729996 seem to refer to the same effect.
Comment 2 Kun Kun Zhang 2012-03-08 14:35:51 UTC
Long time no response.So closed.Feel free to reopen it.Thanks.
Comment 3 Kun Kun Zhang 2012-03-08 14:36:55 UTC
Long time no response.So closed.Feel free to reopen it.Thanks
Comment 4 Jan Engelhardt 2012-03-15 15:19:46 UTC
(Revert bogus close.)
Comment 5 Kun Kun Zhang 2012-03-29 07:20:42 UTC
Hi,could you please have a look this?I am not sure whether it is right to assign it to you.Feel free to reassign it.Thanks.
Comment 6 Forgotten User S7BaJJXAH- 2012-03-29 16:17:52 UTC
Not my bug, this is an installation issue, sorry.
Comment 7 Kun Kun Zhang 2012-04-18 08:50:19 UTC
Hi,Thank you for your report.Could you please help to provide zypper-logs?Thank you.
Comment 8 Forgotten User SNh8s-Gz29 2012-04-19 17:06:12 UTC
Created attachment 487016 [details]
Zypper log of an affected system
Comment 9 Kun Kun Zhang 2012-04-23 02:50:34 UTC
HI,could you please help to have a look this?I am not sure whether it is right yo assign it to you.Feel free to reassign it.Thank you.
Comment 10 Michael Andres 2012-04-25 13:36:15 UTC
(In reply to comment #0)
> Installing openSUSE-12.1-DVD-i586.iso (new install from an USB over version
> 11.4, /home not formated, language spanish, default install) doesn't install
> package kernel-firmware by default
..
> Installing opensuse 12.1 KDE Live-CD over the same PC with the same defaults
> installs correctly package kernel-firmware

Coolo: Is there a broken kernel-firmware on the openSUSE-12.1-DVD-i586.iso?
Comment 11 Forgotten User SNh8s-Gz29 2012-04-25 16:55:09 UTC
(In reply to comment #10)
> Coolo: Is there a broken kernel-firmware on the openSUSE-12.1-DVD-i586.iso?

As far as I remember it, the kernel-firmware package was not selected after the original installation on my system. After I selected it in YaST everything worked fine. As I see it, the bug is that it was not automatically selected, even though the hardware requires this package.
Comment 12 Stephan Kulow 2012-07-10 14:45:34 UTC
well, someone needs to check the hardware in this eeepc against the supplements of the kernel-firmware package.
Comment 13 Forgotten User SNh8s-Gz29 2012-07-10 18:17:13 UTC
@Stephan Kulow: I'm not keen on trashing the existing installation, now that I got it working as I like it. Do you know of a way to test this without doing an actual installation?
Comment 14 Stephan Kulow 2012-07-10 20:50:36 UTC
this has nothing to do with installation actually.

Check rpm -q --supplements kernel-firmware and check
hwinfo --network and hwinfo --wlan

It will output things like

SysFS Device Link: /devices/pci0000:00/0000:00:19.0

With that info, use 
cat /sys/devices/pci0000:00/0000:00:19.0/modalias

This info should match against the supplements. If not, the bug is in the driver. If it matches, the bug is in the installer.
Comment 15 Forgotten User SNh8s-Gz29 2012-07-10 21:32:23 UTC
Created attachment 498062 [details]
output of hwinfo and rpm queries

I have done as you asked and attached the collected output. Please note that I have made a kernel update since the original installation.
Comment 16 Stephan Kulow 2012-07-11 06:17:51 UTC
So you have 
pci:v000014E4d00004727sv00001A3Bsd00002047bc02sc80i00

And those are the ones with prefix pci:v000014E4d0000
modalias(pci:v000014E4d0000164[EF]sv*sd*bc*sc*i*)
modalias(pci:v000014E4d00001650sv*sd*bc*sc*i*)
modalias(pci:v000014E4d0000166[23]sv*sd*bc*sc*i*)
modalias(pci:v000014E4d0000168[ADE]sv*sd*bc*sc*i*)
modalias(pci:v000014E4d000016A[5BE]sv*sd*bc*sc*i*)

The driver doesn't need any hardware actually:

/sbin/modinfo -F firmware /lib/modules/3.1.10-1.16-desktop/kernel/drivers/staging/brcm80211/brcmsmac/brcmsmac.ko

-> empty

This even applies to 3.4.4 on 12.2. Not sure if it's worth a special hack in kernel-firmware or if the driver should be fixed. But this is for sure not a bug in the installation.
Comment 17 Jeff Mahoney 2012-07-25 21:10:25 UTC
Created attachment 499996 [details]
brcmsmac: Document firmware dependencies
Comment 18 Jeff Mahoney 2012-07-26 01:18:30 UTC
Fix applied to master, 12.2, and 12.1. Closing as fixed.
Comment 19 Swamp Workflow Management 2013-03-05 17:05:19 UTC
openSUSE-SU-2013:0396-1: An update that solves 10 vulnerabilities and has 25 fixes is now available.

Category: security (important)
Bug References: 714906,720226,733148,755546,762693,765524,768506,769784,769896,770695,773406,773831,774285,774523,774859,776144,778630,779432,781134,783515,784192,786013,787168,792500,793671,797175,799209,800280,801178,801782,802153,802642,804154,804652,804738
CVE References: CVE-2012-0957,CVE-2012-2745,CVE-2012-3412,CVE-2012-4530,CVE-2013-0160,CVE-2013-0216,CVE-2013-0231,CVE-2013-0268,CVE-2013-0309,CVE-2013-0871
Sources used:
openSUSE 12.1 (src):    kernel-docs-3.1.10-1.19.2, kernel-source-3.1.10-1.19.1, kernel-syms-3.1.10-1.19.1
Comment 20 Forgotten User VemhkgUZvV 2013-03-07 10:58:51 UTC
(In reply to comment #19)
> openSUSE-SU-2013:0396-1: An update that solves 10 vulnerabilities and has 25
> fixes is now available.
> 
> Category: security (important)
> Bug References:
> 714906,720226,733148,755546,762693,765524,768506,769784,769896,770695,773406,773831,774285,774523,774859,776144,778630,779432,781134,783515,784192,786013,787168,792500,793671,797175,799209,800280,801178,801782,802153,802642,804154,804652,804738
> CVE References:
> CVE-2012-0957,CVE-2012-2745,CVE-2012-3412,CVE-2012-4530,CVE-2013-0160,CVE-2013-0216,CVE-2013-0231,CVE-2013-0268,CVE-2013-0309,CVE-2013-0871
> Sources used:
> openSUSE 12.1 (src):    kernel-docs-3.1.10-1.19.2, kernel-source-3.1.10-1.19.1,
> kernel-syms-3.1.10-1.19.1

Is it going to be fixed for 12.2 (bug nÂș 804521) and even more important (althought not still tested if present) for 12.3?
Comment 21 Michael Andres 2013-07-16 14:08:32 UTC
*** Bug 804521 has been marked as a duplicate of this bug. ***