iwi config help

Da Rock rock_on_the_web at comcen.com.au
Sun Dec 14 02:16:27 PST 2008


On Fri, 2008-12-12 at 11:29 +0000, AN wrote:
> I'm trying to configure a wireless adapter on an IBM Thinkpad R51, and 
> need some help.  I followed the iwi man page, but the card is not 
> recognized.  I have the following in /boot/loader.conf:
> cat /boot/loader.conf
> 
> if_iwi_load="YES"
> wlan_load="YES"
> firmware_load="YES"
> loader_logo=beastie
> snd_ich_load="YES"
> 
> kldstat shows:
> Id Refs Address    Size     Name
>   1   18 0xc0400000 7c7990   kernel
>   2    1 0xc0bc8000 e6e4     if_iwi.ko
>   3    2 0xc0bd7000 2f9c     firmware.ko
>   4    1 0xc0bda000 6994     snd_ich.ko
>   5    2 0xc0be1000 239e8    sound.ko
>   6    1 0xc0c05000 5c838    acpi.ko
>   7    1 0xc5547000 19000    linux.ko
>   8    1 0xc5706000 1e000    radeon.ko
>   9    1 0xc5724000 e000     drm.ko
> 
>   pkg_info | grep iwi
> iwi-firmware-kmod-3.0_3 Intel PRO/Wireless 2200 Firmware Kernel Module
> 
>   dmesg |grep iwi
> Preloaded elf module "/boot/kernel/if_iwi.ko" at 0xc0c63188.
> 
> dmesg |grep firmware
> Preloaded elf module "/boot/kernel/firmware.ko" at 0xc0c63234.
> 
>   pciconf -lv
> agp0 at pci0:0:0:	class=0x060000 card=0x05291014 chip=0x33408086 rev=0x03 
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82855PM Processor to I/O Controller'
>      class      = bridge
>      subclass   = HOST-PCI
> pcib1 at pci0:1:0:	class=0x060400 card=0x00000000 chip=0x33418086 rev=0x03 
> hdr=0x01
>      vendor     = 'Intel Corporation'
>      device     = '82855PM Processor to AGP Controller'
>      class      = bridge
>      subclass   = PCI-PCI
> uhci0 at pci0:29:0:	class=0x0c0300 card=0x052d1014 chip=0x24c28086 
> rev=0x01 hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI 
> Controller'
>      class      = serial bus
>      subclass   = USB
> uhci1 at pci0:29:1:	class=0x0c0300 card=0x052d1014 chip=0x24c48086 
> rev=0x01 hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI 
> Controller'
>      class      = serial bus
>      subclass   = USB
> uhci2 at pci0:29:2:	class=0x0c0300 card=0x052d1014 chip=0x24c78086 
> rev=0x01 hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI 
> Controller'
>      class      = serial bus
>      subclass   = USB
> ehci0 at pci0:29:7:	class=0x0c0320 card=0x052e1014 chip=0x24cd8086 
> rev=0x01 hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI 
> Controller'
>      class      = serial bus
>      subclass   = USB
> pcib2 at pci0:30:0:	class=0x060400 card=0x00000000 chip=0x24488086 
> rev=0x81 hdr=0x01
>      vendor     = 'Intel Corporation'
>      device     = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI 
> Bridge'
>      class      = bridge
>      subclass   = PCI-PCI
> isab0 at pci0:31:0:	class=0x060100 card=0x00000000 chip=0x24cc8086 
> rev=0x01 hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82801DBM (ICH4-M) LPC Interface Bridge'
>      class      = bridge
>      subclass   = PCI-ISA
> atapci0 at pci0:31:1:	class=0x01018a card=0x052d1014 chip=0x24ca8086 
> rev=0x01 hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82801DBM (ICH4-M) UltraATA/100 EIDE Controller'
>      class      = mass storage
>      subclass   = ATA
> none0 at pci0:31:3:	class=0x0c0500 card=0x052d1014 chip=0x24c38086 
> rev=0x01 hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller'
>      class      = serial bus
>      subclass   = SMBus
> pcm0 at pci0:31:5:	class=0x040100 card=0x05541014 chip=0x24c58086 rev=0x01 
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio 
> Controller'
>      class      = multimedia
>      subclass   = audio
> none1 at pci0:31:6:	class=0x070300 card=0x05591014 chip=0x24c68086 
> rev=0x01 hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem 
> Controller'
>      class      = simple comms
>      subclass   = generic modem
> drm0 at pci1:0:0:	class=0x030000 card=0x05311014 chip=0x4c661002 rev=0x02 
> hdr=0x00
>      vendor     = 'ATI Technologies Inc'
>      device     = 'ATI MOBILITY RADEON 9000 (Microsoft Corporation - Radeon 
> Mobility M9'
>      class      = display
>      subclass   = VGA
> cbb0 at pci2:0:0:	class=0x060700 card=0x05521014 chip=0xac46104c rev=0x01 
> hdr=0x02
>      vendor     = 'Texas Instruments (TI)'
>      device     = 'PCI4520 PC Card CardBus Controller'
>      class      = bridge
>      subclass   = PCI-CardBus
> fwohci0 at pci2:0:2:	class=0x0c0010 card=0x05531014 chip=0x802a104c 
> rev=0x01 hdr=0x00
>      vendor     = 'Texas Instruments (TI)'
>      class      = serial bus
>      subclass   = FireWire
> em0 at pci2:1:0:	class=0x020000 card=0x05491014 chip=0x101e8086 rev=0x03 
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = '82540EP Gigabit Ethernet Controller (Mobile)'
>      class      = network
>      subclass   = ethernet
> 
> 
> ifconfig does not show the interface
> 
> Any help to get this configured would be appreciated.
> 
> TIA

You may have the kmod loaded, but what about the firmware? You need at
least have legal.intel_iwi.licence_ack=1 in loader.conf and check again
in dmesg. If you miss the initial message that pops up you won't see it
again- running kldload if_iwi after initial installation of the port (on
6.x) tells you exactly what you need to do. firmware_load from my
experience doesn't do anything, but that may have changed with 7.1 (it
will depend on the version used).

Once you know for certain that the firmware IS actually loaded, check
ifconfig.



More information about the freebsd-questions mailing list