Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2010 14:44:29 +0300
From:      Dmitry Krivenok <krivenok.dmitry@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        Weongyo Jeong <weongyo@freebsd.org>
Subject:   Problem with bwn and firmware (bwn0: the fw file(bwn_v4_lp_ucode15) not found)
Message-ID:  <AANLkTim2LwQABcWqiRvJ6jP3W49156wmCyjm9oJe4f73@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello!

I have the following wi-fi card on my Dell Latitude E6400:

siba_bwn0@pci0:12:0:0:  class=0x028000 card=0x000c1028 chip=0x431514e4
rev=0x01 hdr=0x00
   vendor     = 'Broadcom Corporation'
   device     = 'Broadcom Wireless b/g (BCM4315/BCM22062000)'
   class      = network

Grepping for 0x4315 I found that my card is supported by bwn driver:

root@olimpico-freebsd 22:08:00 ~ # [0] grep -r 4315 /usr/src/sys/dev/
| grep -i bcm
/usr/src/sys/dev/siba/siba_bwn.c:       { PCI_VENDOR_BROADCOM, 0x4315,
"Broadcom BCM4312 802.11b/g Wireless" },
root@olimpico-freebsd 22:08:01 ~ # [0 0]

I have recompiled my kernel (slightly modified 8.1 kernel) with the
following options set:
          device siba_bwn
          device bwn
          device wlan
          device wlan_amrr
          device firmware

Then I installed bwn-firmware-kmod port and now I have the following
modules loaded:

root@olimpico-freebsd 21:57:25 ~ # [0] kldstat
Id Refs Address    Size     Name
 1    9 0xc0400000 7bde40   kernel
 2    1 0xc0bbe000 37248    if_bwn.ko
 3    1 0xc0bf6000 2b770    bwn_v4_ucode.ko
 4    1 0xc0c22000 2cb24    bwn_v4_lp_ucode.ko
root@olimpico-freebsd 21:57:27 ~ # [0]

These modules were created during bwn-firmware-kmod build using
firmware extracted
from broadcom-wl-4.178.10.4.tar.bz2 by means of b43-fwcutter tool.

I also noticed that bwn0 interface was created:

root@olimpico-freebsd 21:57:37 ~ # [0] ifconfig bwn0
bwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
       ether 90:4c:e5:21:44:ec
       media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
       status: no carrier
root@olimpico-freebsd 21:57:44 ~ # [0]

My problem, however, is that when I run

root@olimpico-freebsd 21:59:45 ~ # [0] ifconfig wlan create wlandev
bwn0 ssid olimpico wepmode on wepkey 0120119850 weptxkey 1 up
wlan0
root@olimpico-freebsd 21:59:54 ~ # [0]

I see the following in dmesg output:

wlan0: Ethernet address: 90:4c:e5:21:44:ec
bwn_v4_lp_ucode15: firmware image loaded, but did not register
bwn0: the fw file(bwn_v4_lp_ucode15) not found
bwn-open_v4_lp_ucode15: could not load firmware image, error 2
bwn0: the fw file(bwn-open_v4_lp_ucode15) not found

Am I missing something important?

Thanks!

-- 
Sincerely yours, Dmitry V. Krivenok
e-mail: krivenok.dmitry@gmail.com
skype: krivenok_dmitry
jabber: krivenok_dmitry@jabber.ru
icq: 242-526-443



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim2LwQABcWqiRvJ6jP3W49156wmCyjm9oJe4f73>