Re: How to load iwi firmware at boot time



Hello,

On 9/26/06, Ivan Rambius Ivanov <rambiusparkisanius@xxxxxxxxx> wrote:
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

I was able to fix it.

I created an executable script located at /etc/start_if.iwi0. It
contains the following line:

iwicontrol -i iwi0 -d /boot/firmware -m bss

This script is executed at boot time and it loads the firmware.

Thank you for the nice docs althought scattered in the Web.

Regards
Ivan

--
Tangra Mega Rock: http://www.radiotangra.com
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: problems configuring wireless using iwi
    ... Am I supposed to download the firmware from somewhere or not? ... and then all future ifconfig command should refer to wlan0 instead of iwi0. ... timeout waiting for firmware initialization to complete ... could not load boot firmware ...
    (freebsd-current)
  • Re: problems configuring wireless using iwi
    ... Am I supposed to download the firmware from somewhere or not? ... iwi0. ... timeout waiting for firmware initialization to complete ... could not load boot firmware ...
    (freebsd-current)
  • Re: iwi0 firmware error on Dell Inspiron 6000 w/ Intel PRO/Wireless 2200BG
    ... iwi0 had worked OK under FreeBSD 6.2. ... iwi0 reports "firmware error" and nothing more happens. ... and dhclient are running with the same configurations that worked under ...
    (freebsd-current)
  • Re: iwi0: could not load boot firmware iwi_bss
    ... firmware from base shouldn't hurt either. ... % iwi0: timeout waiting for iwi_bss firmware initialization to complete ... This time I've attached my kernel configuration file :-). ...
    (freebsd-current)
  • How to load iwi firmware at boot time
    ... I have IntelPRO/Wireless 2200BG wireless network card which I use ... iwi0: bpf attached ... I have to manually load the firmrare invoking the following commands as root: ...
    (freebsd-questions)