Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 14:36:06 +0300
From:      "Ivan \"Rambius\" Ivanov" <rambiusparkisanius@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   How to load iwi firmware at boot time
Message-ID:  <89ce7f740609260436r41dade3dyc60f330fff66b0ee@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
------=_Part_2826_31528245.1159270566845
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

I have an Acer TravelMate 4060 laptop with FreeBSD 6.1 running on it.
I have Intel(R) PRO/Wireless 2200BG wireless network card which I use
successfully. I have the following iwi related entries in rc.conf:

## Intel Wireless Adapter settings
iwi_enable="YES"
iwi_interfaces="iwi0"
iwi_mode="bss"
ifconfig_iwi0="ssid **** DHCP"

This used to bring up my iwi0 interface at boot time and I had a
working internet connection after the machine had booted.

However, this morning I did "make world" (attaching cvsup files for
the kernel and ports for completeness). The iwi firmware was not
loaded at boot time and the following messages are given:

$ dmesg | grep iwi
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xb0101000-0xb0101fff irq 17
at device 4.0 on pci6
iwi0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xb0101000
iwi0: bpf attached
iwi0: Ethernet address: 00:13:ce:0c:45:a1
iwi0: bpf attached
iwi0: bpf attached
iwi0: [MPSAFE]
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
iwi0: Please load firmware

I have to manually load the firmrare invoking the following commands as root:
# iwicontrol -i iwi0 -d /boot/firmware -m bss
# ifconfig iwi0 up

Could you please advise me how I can load automatically the firmware
during boot time?

Regards
Ivan

P.S. Here is the output of uname -a:
FreeBSD ****.**** 6.1-RELEASE-p7 FreeBSD 6.1-RELEASE-p7 #0: Tue Sep 26
13:13:00 EEST 2006     root@****.****:/usr/obj/usr/src/sys/GENERIC
i386

-- 
Tangra Mega Rock: http://www.radiotangra.com

------=_Part_2826_31528245.1159270566845
Content-Type: application/octet-stream; name=cvsupfile
Content-Transfer-Encoding: base64
X-Attachment-Id: f_esk7fwp9
Content-Disposition: attachment; filename="cvsupfile"

KmRlZmF1bHQgaG9zdD1jdnN1cDgudXMuRnJlZUJTRC5vcmcKKmRlZmF1bHQgcHJlZml4PS91c3IK
KmRlZmF1bHQgYmFzZT0vdmFyL2RiCipkZWZhdWx0IHJlbGVhc2U9Y3ZzCipkZWZhdWx0IGRlbGV0
ZSB1c2UtcmVsLXN1ZmZpeAoqZGVmYXVsdCBjb21wcmVzcwoqZGVmYXVsdCB0YWc9UkVMRU5HXzZf
MQoKc3JjLWFsbApkb2MtYWxsCg==
------=_Part_2826_31528245.1159270566845
Content-Type: application/octet-stream; name=portsupfile
Content-Transfer-Encoding: base64
X-Attachment-Id: f_esk7g7ma
Content-Disposition: attachment; filename="portsupfile"

IyAkRnJlZUJTRDogc3JjL3NoYXJlL2V4YW1wbGVzL2N2c3VwL3BvcnRzLXN1cGZpbGUsdiAxLjMz
LjIuMSAyMDA1LzExLzA5IDEwOjE1OjIwIHBhdiBFeHAgJAojCiMgVGhpcyBmaWxlIGNvbnRhaW5z
IGFsbCBvZiB0aGUgIkNWU3VwIGNvbGxlY3Rpb25zIiB0aGF0IG1ha2UgdXAgdGhlCiMgRnJlZUJT
RC1jdXJyZW50IHBvcnRzIGNvbGxlY3Rpb24uCiMKIyBDVlN1cCAoQ1ZTIFVwZGF0ZSBQcm90b2Nv
bCkgYWxsb3dzIHlvdSB0byBkb3dubG9hZCB0aGUgbGF0ZXN0IENWUwojIHRyZWUgKG9yIGFueSBi
cmFuY2ggb2YgZGV2ZWxvcG1lbnQgdGhlcmVmcm9tKSB0byB5b3VyIHN5c3RlbSBlYXNpbHkKIyBh
bmQgZWZmaWNpZW50bHkgKGZhciBtb3JlIHNvIHRoYW4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1haWwKI3Bv
cnRzLW1hdGgKI3BvcnRzLW1ib25lCiNwb3J0cy1taXNjCiNwb3J0cy1tdWx0aW1lZGlhCiNwb3J0
cy1uZXQKI3BvcnRzLW5ldC1pbQojcG9ydHMtbmV0LW1nbXQKI3BvcnRzLW5ld3MKI3BvcnRzLXBh
bG0KI3BvcnRzLXBvbGlzaAojcG9ydHMtcG9ydHVndWVzZQojcG9ydHMtcHJpbnQKI3BvcnRzLXJ1
c3NpYW4KI3BvcnRzLXNjaWVuY2UKI3BvcnRzLXNlY3VyaXR5CiNwb3J0cy1zaGVsbHMKI3BvcnRz
LXN5c3V0aWxzCiNwb3J0cy10ZXh0cHJvYwojcG9ydHMtdWtyYWluaWFuCiNwb3J0cy12aWV0bmFt
ZXNlCiNwb3J0cy13d3cKI3BvcnRzLXgxMQojcG9ydHMteDExLWNsb2NrcwojcG9ydHMteDExLWZt
CiNwb3J0cy14MTEtZm9udHMKI3BvcnRzLXgxMS1zZXJ2ZXJzCiNwb3J0cy14MTEtdGhlbWVzCiNw
b3J0cy14MTEtdG9vbGtpdHMKI3BvcnRzLXgxMS13bQo=
------=_Part_2826_31528245.1159270566845--



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