Subject: iwi firmware load problem
To: None <current-users@netbsd.org>
From: Andreas Burghardt <a-burghardt@gmx.de>
List: current-users
Date: 03/01/2007 15:46:06
Hello,

since 4.99.9 my machine has a problem loading the iwi-firmware3.

# ifconfig iwi0 up
firmware version = 196608
iwi0: timeout processing cb   
iwi0: could not load main firmware
iwi0: timeout processing cb   
iwi0: could not load main firmware

After ~5 until ~20 retries the firmware is loaded and I can proceed to
connect via wpa+dhclient. After the connection broke down it happens
that the firmware needs to be loaded again ~5 - ~20 times before I
can proceed establishing a new connection.

I added the ouput of vmstat -i and my dmesg at the end of this mail.
Do you need more information?

Regards,

   Andreas Burghardt


(before loading the firmware)
# vmstat -i
interrupt                                     total     rate
cpu0 softclock                                 6202      106
cpu0 softnet                                    148        2
pic0 pin 9                                      166        2
pic0 pin 14                                    1870       32
pic0 pin 15                                       6        0
pic0 pin 1                                        6        0
pic0 pin 12                                       7        0
pic0 pin 0                                     6195      106
Total                                         14600      251

(after getting a working connection)
# vmstat -i
interrupt                                     total     rate
cpu0 softclock                                22940      101
cpu0 softnet                                   1603        7
pic0 pin 9                                     1632        7
pic0 pin 11                                     151        0
pic0 pin 14                                    2220        9
pic0 pin 15                                       6        0
pic0 pin 1                                       24        0
pic0 pin 12                                      11        0
pic0 pin 0                                    22956      102
Total                                         51543      229



> dmesg 
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.13 (GENERIC_LAPTOP) #0: Thu Mar  1 14:01:12 CET 2007
        root@jelma:/usr/obj/obj/sys/arch/i386/compile/GENERIC_LAPTOP
total memory = 511 MB
rbus: rbus_min_start set to 0x40000000
avail memory = 494 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xea8c0
PCI BIOS rev. 2.1 found at 0xea8d4
pcibios: config mechanism [1][x], special cycles [x][x], last bus 6
PCI IRQ Routing Table rev. 1.0 found at 0xfe840, size 224 bytes (12 entries)
PCI Interrupt Router at 000:31:0 (Intel 82801AA LPC Interface Bridge compatible)
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:01:0 0x8086 0x2591   A  0x00  11  0    already assigned
000:29:0 0x8086 0x2658   A  0x07  11  0    already assigned
000:29:1 0x8086 0x2659   B  0x03  11  0    already assigned
000:29:7 0x8086 0x265c   A  0x07  11  0    already assigned
000:30:2 0x8086 0x266e   A  0x01  10  0    already assigned
000:30:3 0x8086 0x266d   B  0x04   5  0    already assigned
000:31:2 0x8086 0x2653   B  0x03  11  0    fixed up
006:04:0 0x8086 0x4220   A  0x00  11  0    already assigned
006:06:0 0x1524 0x1411   A  0x02   5  2    fixed up
006:07:0 0x10ec 0x8139   A  0x07  11  0    already assigned
006:10:0 0x104c 0x8026   A  0x06  11  0    already assigned
------------------------------------------
mainbus0 (root)
pci_addr_fixup: 000:31:2 0x8086 0x2653 new address 0x00005800
pci_addr_fixup: 000:31:2 0x8086 0x2653 new address 0x00005808
pci_addr_fixup: 000:31:2 0x8086 0x2653 new address 0x00005810
pci_addr_fixup: 000:31:2 0x8086 0x2653 new address 0x0000580c
pci_addr_fixup: 002:06:0 0x1524 0x1411 new address 0x20000000
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Dothan) (686-class), 1729.15 MHz, id 0x6d8
cpu0: features afe9f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features afe9f9ff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9f9ff<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1.73GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: using thermal monitor 1
cpu0: Enhanced SpeedStep (1308 mV) 1733 MHz
cpu0: unknown Enhanced SpeedStep CPU.
cpu0: using only highest and lowest power states.
cpu0: Enhanced SpeedStep frequencies available (MHz): 1733 800
cpu0: 64 page colors
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <INSYDE,RSDT_000,00000100>, AslId <ABCD,00010200>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
LNKA: ACPI: Found matching pin for 0.1.INTA at func 0: 11
LNKH: ACPI: Found matching pin for 0.29.INTA at func 0: 11
LNKH: BIOS IRQ 11 for 0.29.INTA is invalid
LNKD: ACPI: Found matching pin for 0.29.INTB at func 1: 11
LNKD: BIOS IRQ 11 for 0.29.INTB is invalid
LNKB: ACPI: Found matching pin for 0.30.INTA at func 2: 10
LNKE: ACPI: Found matching pin for 0.30.INTB at func 3: 5
LNKE: BIOS IRQ 5 for 0.30.INTB is invalid
LNKD: ACPI: Found matching pin for 0.31.INTB at func 2: 11
LNKD: BIOS IRQ 11 for 0.31.INTB is invalid
LNKA: ACPI: Found matching pin for 1.0.INTA at func 0: 255
LNKA: ACPI: Found matching pin for 2.4.INTA at func 0: 11
LNKC: ACPI: Found matching pin for 2.6.INTA at func 0: 5
LNKC: BIOS IRQ 5 for 2.6.INTA is invalid
LNKD: ACPI: Found matching pin for 2.6.INTB at func 1: 255
LNKD: ACPI: Found matching pin for 2.6.INTB at func 2: 255
LNKH: ACPI: Found matching pin for 2.7.INTA at func 0: 11
LNKH: BIOS IRQ 11 for 2.7.INTA is invalid
LNKG: ACPI: Found matching pin for 2.10.INTA at func 0: 11
LNKG: BIOS IRQ 11 for 2.10.INTA is invalid
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpibut0 at acpi0 (PNP0C0E): ACPI Sleep Button
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut1 at acpi0 (PNP0C0C): ACPI Power Button
PNP0A08 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0200 at acpi0 not configured
INT0800 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0100 at acpi0 not configured
acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
PNP0303 at acpi0 not configured
SYN1901 at acpi0 not configured
PNP0A05 at acpi0 not configured
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
PNP0C0B at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: active cooling level 1: 44.8C
acpitz0: critical 106.0C
acpitz1 at acpi0: ACPI Thermal Zone
acpitz1: unable to get polling interval; using default of 30.0s
acpitz1: critical 106.0C
apm0 at acpi0: Power Management spec V1.2
acpiacad0: AC adapter offline.
WARNING: Callback scheduled before sysmon task queue thread present.
WARNING: Callback scheduled before sysmon task queue thread present.
WARNING: Callback scheduled before sysmon task queue thread present.
WARNING: Callback scheduled before sysmon task queue thread present.
acpibat0: battery info: BenQ , LiON, I302, 0101
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82915PM/GM/GMS,82910GML Host Bridge (rev. 0x03)
agp0 at pchb0: can't find internal VGA device config space
ppb0 at pci0 dev 1 function 0: Intel 82915PM/GM PCI Express Bridge (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga1 at pci1 dev 0 function 0: ATI Technologies Radeon Mobility M300 (M22) 5460 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
uhci0 at pci0 dev 29 function 0: Intel 82801FB/FR USB UHCI Controller (rev. 0x04)
LNKH: Picked IRQ 9 with weight 0
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801FB/FR USB UHCI Controller (rev. 0x04)
LNKD: Picked IRQ 9 with weight 2
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801FB/FR USB EHCI Controller (rev. 0x04)
ehci0: interrupting at irq 9
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: wrong number of companions (4 != 2)
ehci0: companion controllers, 2 ports each: uhci0 uhci1
ehci0: reset timeout
ehci0: init failed, error=13
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0xd4)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
iwi0 at pci2 dev 4 function 0: Intel PRO/Wireless LAN 2200BG Mini-PCI Adapter (rev. 0x05)
iwi0: interrupting at irq 11
iwi0: 802.11 address 00:15:00:20:6e:4d
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
cbb0 at pci2 dev 6 function 0: ENE Technology CB710 CardBus Controller (rev. 0x00)
ENE Technology product 0x0530 (flash memory) at pci2 dev 6 function 1 not configured
ENE Technology product 0x0550 (SD Host Controller system, interface 0x01) at pci2 dev 6 function 2 not configured
rtk0 at pci2 dev 7 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
rtk0: interrupting at irq 9
rtk0: Ethernet address 00:03:9d:75:b0:07
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Texas Instruments TSB43AA21 IEEE 1394 Host Controller (Firewire serial bus, interface 0x10) at pci2 dev 10 function 0 not configured
LNKC: Picked IRQ 10 with weight 3
cbb0: interrupting at irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2: i82801FB (ICH6) AC-97 Audio
auich0: interrupting at irq 10
auich0: ac97: Avance Logic unknown (0x414c4752) codec; headphone, 20 bit DAC, 18 bit ADC, no 3D stereo
auich0: ac97: ext id a07<AC97_23,AMAP,SPDIF,DRA,VRA>
Intel 82801FB/FR AC'97 Modem Controller (modem communications, revision 0x04) at pci0 dev 30 function 3 not configured
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801FBM ICH6M LPC Interface Bridge (rev. 0x04)
piixide0 at pci0 dev 31 function 2
piixide0: Intel 82801FBM Serial ATA Controller (ICH6) (rev. 0x04)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pms0: Synaptics touchpad version 4.6
pms0: Buttons 4/5, Palm detect, Multi-finger
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
pcppi0: attached to attimer0
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
auich0: measured ac97 link rate at 47999 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
Kernelized RAIDframe activated
uhidev0 at uhub1 port 1 configuration 1 interface 0uhidev1 at uhub0 port 2 configuration 1 interface 0
uhidev1: Darfon USB Combo Keyboard, rev 1.10/3.02, addr 2, iclass 3/1

uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/20.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
ukbd0 at uhidev1
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub0 port 2 configuration 1 interface 1
uhidev2: Darfon USB Combo Keyboard, rev 1.10/3.02, addr 2, iclass 3/0
uhidev2: 2 report ids
uhid0 at uhidev2 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 2: input=4, output=0, feature=0
wd0 at atabus0 drive 0: <FUJITSU MHV2060AT PL>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 57231 MB, 116280 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVD-RW GWA-4082N, 4CA07617AFA8, CB03> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
firmware version = 196608
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware
iwi0: timeout processing cb
iwi0: could not load main firmware