iwi firmware

Fernando Apesteguía fernando.apesteguia at gmail.com
Wed Feb 29 17:06:46 UTC 2012


On Wed, Feb 29, 2012 at 10:09 AM, Bernhard Schmidt
<bschmidt at techwires.net>wrote:

> On Tue, Feb 28, 2012 at 23:20, Fernando Apesteguía
> <fernando.apesteguia at gmail.com> wrote:
> > Hi all,
> >
> > I recently installed 9.0-RELEASE on my old laptop. I used the ipw2200
> card
> > in this laptop with 8.2-RELEASE without problems. However I have missed
> > something I can't figure out. I get the message:
> >
> > iwi0: timeout processing command blocks for iwi_bss firmware
> > iwi0: could not load main firmware iwi_bss
> >
> > This is what I have in my loader.conf:
> >
> > # Agree Intel's agreement license
> > legal.intel_iwi.license_ack=1
> >
> > # wireless support
> > #if_iwi_load="YES"      This is in kernel now...
> > wlan_load="YES"
> > firmware_load="YES"
> >
> > iwi_bss_load="YES"
> > iwi_ibss_load="YES"
> > iwi_monitor_load="YES"
> >
> > what am I missing?
> >
> > Thanks in advance.
>
> Hmm, there haven't been any major changes to iwi(4) between 8.2 and
> 9.0, except what you've already noticed. You could try to remove
> iwi(4) from the kernel config and use it as module again, just to make
> sure it isn't related to that. Also, all modules iwi(4) depends on are
> pulled in automatically, even the firmware modules, no need to load em
> through loader.conf.
>

I copied GENERIC and removed the "device iwi" line. I rebooted but still
got the same message. I also tried removing the iwi device and introducing
the iwifw in the kernel (so I got a couple of complaints from the kernel
when loading since I didn't change my loader.conf). Still the same error.



> Can you post dmesg and pciconf -lvc?
>

Yes.

dmesg:

Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RELEASE #0: Fri Feb 17 18:27:35 CET 2012
    root at hammer:/usr/obj/usr/src/sys/APEKERNEL9 amd64
CPU: Mobile AMD Athlon(tm) 64 Processor 2800+ (1603.68-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf4a  Family = f  Model = 4  Stepping = 10

Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow!+,3DNow!>
real memory  = 1073741824 (1024 MB)
avail memory = 1016823808 (969 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <PTLTD       APIC  >
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 0.3> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_ec0: <Embedded Controller: GPE 0xb> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8385 host to PCI bridge> on hostb0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem
0xd8000000-0xdfffffff,0xd0100000-0xd010ffff irq 18 at device 0.0 on pci1
iwi0: <Intel(R) PRO/Wireless 2200BG> at device 5.0 on pci0
fwohci0: <Texas Instruments TSB43AB21/A/AI/A-EP> mem
0xd0008000-0xd00087ff,0xd0000000-0xd0003fff irq 17 at device 6.0 on pci0
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:90:f5:00:00:32:12:31
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x235c000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:90:f5:32:12:31
fwe0: Ethernet address: 02:90:f5:32:12:31
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:90:f5:00:00:32:12:31 @ 0xfffe00000000, S400,
maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER
mode
re0: <RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet> port
0x1000-0x10ff mem 0xd0008800-0xd00088ff irq 19 at device 8.0 on pci0
re0: Chip rev. 0x04000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 00:90:f5:32:12:31
cbb0: <ENE CB1410 PCI-CardBus Bridge> at device 12.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci0: <mass storage> at device 14.0 (no driver attached)
pci0: <mass storage> at device 14.1 (no driver attached)
uhci0: <VIA 83C572 USB controller> port 0x1c00-0x1c1f at device 16.0 on pci0
usbus0: <VIA 83C572 USB controller> on uhci0
uhci1: <VIA 83C572 USB controller> port 0x1c20-0x1c3f at device 16.1 on pci0
usbus1: <VIA 83C572 USB controller> on uhci1
uhci2: <VIA 83C572 USB controller> port 0x1c40-0x1c5f at device 16.2 on pci0
usbus2: <VIA 83C572 USB controller> on uhci2
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xd0008c00-0xd0008cff at device
16.3 on pci0
usbus3: EHCI version 1.0
usbus3: <VIA VT6202 USB 2.0 controller> on ehci0
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1c60-0x1c6f at device 17.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pcm0: <VIA VT8235> port 0x1400-0x14ff irq 22 at device 17.5 on pci0
pcm0: <Avance Logic ALC202 AC97 Codec>
pcm0: <VIA DXS Enabled: DXS 4 / SGD 1 / REC 1>
pci0: <simple comms> at device 17.6 (no driver attached)
battery0: <ACPI Control Method Battery> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x75 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
ppc0: <Parallel port> port 0x378-0x37f,0x778-0x77b irq 7 drq 1 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
powernow0: <PowerNow! K8> on cpu0
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me)
firewire0: bus manager 0
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
ugen0.1: <VIA> at usbus0
uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <VIA> at usbus1
uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <VIA> at usbus2
uhub2: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <VIA> at usbus3
uhub3: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <FUJITSU MHT2080AH 006C> ATA-6 device
ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
Timecounter "TSC" frequency 1603676920 Hz quality 800
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <MATSHITA DVD-RAM UJ-840S 1.00> Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
Root mount waiting for: usbus3 usbus2 usbus1 usbus0
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
Root mount waiting for: usbus3
Root mount waiting for: usbus3
uhub3: 6 ports with 6 removable, self powered
Trying to mount root from ufs:/dev/ada0p2 [rw]...
drm0: <ATI Radeon RV350 Mobility 9600 M10 NP> on vgapci0
info: [drm] AGP at 0xe0000000 256MB
info: [drm] Initialized radeon 1.31.0 20080613
info: [drm] Setting GART location based on new memory map
info: [drm] Loading R300 Microcode
info: [drm] Num pipes: 1
info: [drm] writeback test succeeded in 1 usecs

pciconf -lvc:

hostb0 at pci0:0:0:0:    class=0x060000 card=0x31881106 chip=0x31881106
rev=0x01 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT8385 [K8T800 AGP] Host Bridge'
    class      = bridge
    subclass   = HOST-PCI
    cap 02[80] = AGP v3 8x 4x SBA disabled
    cap 08[c0] = HT slave
    cap 01[68] = powerspec 2  supports D0 D3  current D0
    cap 08[58] = HT interrupt
pcib1 at pci0:0:1:0:    class=0x060400 card=0x00000000 chip=0xb1881106
rev=0x00 hdr=0x01
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT8237 PCI bridge [K8T800/K8T890 South]'
    class      = bridge
    subclass   = PCI-PCI
    cap 01[80] = powerspec 2  supports D0 D1 D3  current D0
iwi0 at pci0:0:5:0:    class=0x028000 card=0x27028086 chip=0x42208086 rev=0x05
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'PRO/Wireless 2200BG [Calexico2] Network Connection'
    class      = network
    cap 01[dc] = powerspec 2  supports D0 D3  current D0
fwohci0 at pci0:0:6:0:    class=0x0c0010 card=0x47011558 chip=0x8026104c
rev=0x00 hdr=0x00
    vendor     = 'Texas Instruments'
    device     = 'TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)'
    class      = serial bus
    subclass   = FireWire
    cap 01[44] = powerspec 2  supports D0 D1 D2 D3  current D0
re0 at pci0:0:8:0:    class=0x020000 card=0x47011558 chip=0x816910ec rev=0x10
hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL-8169 Gigabit Ethernet'
    class      = network
    subclass   = ethernet
    cap 01[dc] = powerspec 2  supports D0 D1 D2 D3  current D0
cbb0 at pci0:0:12:0:    class=0x060700 card=0x47011558 chip=0x14101524
rev=0x01 hdr=0x02
    vendor     = 'ENE Technology Inc'
    device     = 'CB1410 Cardbus Controller'
    class      = bridge
    subclass   = PCI-CardBus
    cap 01[a0] = powerspec 1  supports D0 D1 D2 D3  current D0
none0 at pci0:0:14:0:    class=0x018000 card=0x10501050 chip=0x84811050
rev=0x01 hdr=0x00
    vendor     = 'Winbond Electronics Corp'
    class      = mass storage
    cap 01[c0] = powerspec 2  supports D0 D1 D2 D3  current D0
none1 at pci0:0:14:1:    class=0x018000 card=0x10501050 chip=0x84821050
rev=0x01 hdr=0x00
    vendor     = 'Winbond Electronics Corp'
    class      = mass storage
    cap 01[c0] = powerspec 2  supports D0 D1 D2 D3  current D0
uhci0 at pci0:0:16:0:    class=0x0c0300 card=0x47011558 chip=0x30381106
rev=0x80 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT82xxxxx UHCI USB 1.1 Controller'
    class      = serial bus
    subclass   = USB
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
uhci1 at pci0:0:16:1:    class=0x0c0300 card=0x47011558 chip=0x30381106
rev=0x80 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT82xxxxx UHCI USB 1.1 Controller'
    class      = serial bus
    subclass   = USB
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
uhci2 at pci0:0:16:2:    class=0x0c0300 card=0x47011558 chip=0x30381106
rev=0x80 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT82xxxxx UHCI USB 1.1 Controller'
    class      = serial bus
    subclass   = USB
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
ehci0 at pci0:0:16:3:    class=0x0c0320 card=0x47011558 chip=0x31041106
rev=0x82 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'USB 2.0'
    class      = serial bus
    subclass   = USB
    cap 01[80] = powerspec 2  supports D0 D1 D2 D3  current D0
isab0 at pci0:0:17:0:    class=0x060100 card=0x47011558 chip=0x31771106
rev=0x00 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT8235 ISA Bridge'
    class      = bridge
    subclass   = PCI-ISA
    cap 01[c0] = powerspec 2  supports D0 D3  current D0
atapci0 at pci0:0:17:1:    class=0x01018a card=0x47011558 chip=0x05711106
rev=0x06 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE'
    class      = mass storage
    subclass   = ATA
    cap 01[c0] = powerspec 2  supports D0 D3  current D0
pcm0 at pci0:0:17:5:    class=0x040100 card=0x47011558 chip=0x30591106
rev=0x50 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT8233/A/8235/8237 AC97 Audio Controller'
    class      = multimedia
    subclass   = audio
    cap 01[c0] = powerspec 2  supports D0 D1 D2 D3  current D0
none2 at pci0:0:17:6:    class=0x078000 card=0x47011558 chip=0x30681106
rev=0x80 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'AC'97 Modem Controller'
    class      = simple comms
    cap 01[d0] = powerspec 2  supports D0 D3  current D0
hostb1 at pci0:0:24:0:    class=0x060000 card=0x00000000 chip=0x11001022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'K8 [Athlon64/Opteron] HyperTransport Technology
Configuration'
    class      = bridge
    subclass   = HOST-PCI
    cap 08[80] = HT host
hostb2 at pci0:0:24:1:    class=0x060000 card=0x00000000 chip=0x11011022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'K8 [Athlon64/Opteron] Address Map'
    class      = bridge
    subclass   = HOST-PCI
hostb3 at pci0:0:24:2:    class=0x060000 card=0x00000000 chip=0x11021022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'K8 [Athlon64/Opteron] DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
hostb4 at pci0:0:24:3:    class=0x060000 card=0x00000000 chip=0x11031022
rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices [AMD]'
    device     = 'K8 [Athlon64/Opteron] Miscellaneous Control'
    class      = bridge
    subclass   = HOST-PCI
vgapci0 at pci0:1:0:0:    class=0x030000 card=0x47011558 chip=0x4e501002
rev=0x00 hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'RV350 [Mobility Radeon 9600 M10]'
    class      = display
    subclass   = VGA
    cap 02[58] = AGP v3 8x 4x SBA disabled
    cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0


>
> --
> Bernhard
>


More information about the freebsd-wireless mailing list