Joe Woodward | 27 Feb 11:09 2012
Picon

libertas firmware loading slow with latest UDEV

Hi,

Im running on a stock 3.2 kernel and have updated from udev-175 to udev-181/kmod-5, and loading the
libertas firmware (WiFi SD8686 SDIO) 
takes a *lot* longer (it does eventually succeed).

In fact, it takes 30 seconds longer, which seems to imply some timeout somewhere is being hit.

# modprobe libertas_sdio
[  108.600311] libertas_sdio: Libertas SDIO driver
[  108.613891] libertas_sdio: Copyright Pierre Ossman
[  139.116882] libertas_sdio mmc1:0001:1: (unregistered net_device): 00:19:88:3e:4f:f9, fw
9.70.3p36, cap 0x00000303
[  139.191223] libertas_sdio mmc1:0001:1: wlan0: Marvell WLAN 802.11 adapter

After doing an initial Google it seems that changes in udev-177 may have caused this issue, and that this is
due to the way certain drivers load 
firmware, which needs fixing in the kernel.

So I have a couple of questions:
 - Is this analysis correct?
 - In my case is this a libertas_sdio-specific driver issue?
 - And is anyone working on a fix or have a patch for a fix?
 - Or is there anything I can do to work around this problem in the mean time?

Thanks,
Joe

References:
http://www.spinics.net/lists/netdev/msg185742.html
(Continue reading)

Dan Williams | 27 Feb 16:27 2012
Picon

Re: libertas firmware loading slow with latest UDEV

On Mon, 2012-02-27 at 10:09 +0000, Joe Woodward wrote:
> Hi,
> 
> Im running on a stock 3.2 kernel and have updated from udev-175 to udev-181/kmod-5, and loading the
libertas firmware (WiFi SD8686 SDIO) 
> takes a *lot* longer (it does eventually succeed).

Yeah, because latest udev requires async firmware loading, and libertas
hasn't been converted for that.  The fault is really udev's for
requiring it, as nothing has changed in libertas, but async firmware
loading is a good thing anyway, so udev is doing us a service by pulling
the world forward a bit :)  It's a problem for any of the libertas bus
types, USB, SDIO, GSPI, CF.  I don't think anyone is working on a fix,
though if I have some time I'd look into it.  But don't let that stop
somebody from doing it first.

Dan

> In fact, it takes 30 seconds longer, which seems to imply some timeout somewhere is being hit.
> 
> # modprobe libertas_sdio
> [  108.600311] libertas_sdio: Libertas SDIO driver
> [  108.613891] libertas_sdio: Copyright Pierre Ossman
> [  139.116882] libertas_sdio mmc1:0001:1: (unregistered net_device): 00:19:88:3e:4f:f9, fw
9.70.3p36, cap 0x00000303
> [  139.191223] libertas_sdio mmc1:0001:1: wlan0: Marvell WLAN 802.11 adapter
> 
> After doing an initial Google it seems that changes in udev-177 may have caused this issue, and that this is
due to the way certain drivers load 
> firmware, which needs fixing in the kernel.
(Continue reading)


Gmane