Windows Update inside KVM virtual machine crashes iwlwifi

And I was wondering why running Windows Update inside a KVM virtual machine failed with some mysterious error code:


Feb 8 02:25:43 e6400 kernel: [61964.880289] iwlwifi 0000:0c:00.0: Microcode SW error detected. Restarting 0x2000000.
Feb 8 02:25:43 e6400 kernel: [61964.880302] iwlwifi 0000:0c:00.0: Loaded firmware version: 8.83.5.1 build 33692
Feb 8 02:25:43 e6400 kernel: [61964.880435] iwlwifi 0000:0c:00.0: Start IWL Error Log Dump:
Feb 8 02:25:43 e6400 kernel: [61964.880442] iwlwifi 0000:0c:00.0: Status: 0x00000000, count: 5
Feb 8 02:25:43 e6400 kernel: [61964.880449] iwlwifi 0000:0c:00.0: 0x00000004 | NMI_INTERRUPT_WDG
Feb 8 02:25:43 e6400 kernel: [61964.880456] iwlwifi 0000:0c:00.0: 0x000006E4 | uPc
Feb 8 02:25:43 e6400 kernel: [61964.880462] iwlwifi 0000:0c:00.0: 0x000005AA | branchlink1
Feb 8 02:25:43 e6400 kernel: [61964.880468] iwlwifi 0000:0c:00.0: 0x00000820 | branchlink2
Feb 8 02:25:43 e6400 kernel: [61964.880473] iwlwifi 0000:0c:00.0: 0x00000916 | interruptlink1
Feb 8 02:25:43 e6400 kernel: [61964.880479] iwlwifi 0000:0c:00.0: 0x0000D07E | interruptlink2
Feb 8 02:25:43 e6400 kernel: [61964.880485] iwlwifi 0000:0c:00.0: 0x00000002 | data1
Feb 8 02:25:43 e6400 kernel: [61964.880490] iwlwifi 0000:0c:00.0: 0x07030000 | data2
Feb 8 02:25:43 e6400 kernel: [61964.880496] iwlwifi 0000:0c:00.0: 0x00000E84 | line
Feb 8 02:25:43 e6400 kernel: [61964.880502] iwlwifi 0000:0c:00.0: 0x804061DB | beacon time
Feb 8 02:25:43 e6400 kernel: [61964.880507] iwlwifi 0000:0c:00.0: 0xA0341E25 | tsf low
Feb 8 02:25:43 e6400 kernel: [61964.880513] iwlwifi 0000:0c:00.0: 0x00000000 | tsf hi
Feb 8 02:25:43 e6400 kernel: [61964.880519] iwlwifi 0000:0c:00.0: 0x00000000 | time gp1
Feb 8 02:25:43 e6400 kernel: [61964.880524] iwlwifi 0000:0c:00.0: 0x9FC54F85 | time gp2
Feb 8 02:25:43 e6400 kernel: [61964.880530] iwlwifi 0000:0c:00.0: 0x00000000 | time gp3
Feb 8 02:25:43 e6400 kernel: [61964.880536] iwlwifi 0000:0c:00.0: 0x00010853 | uCode version
Feb 8 02:25:43 e6400 kernel: [61964.880542] iwlwifi 0000:0c:00.0: 0x00000024 | hw version
Feb 8 02:25:43 e6400 kernel: [61964.880548] iwlwifi 0000:0c:00.0: 0x00480302 | board version
Feb 8 02:25:43 e6400 kernel: [61964.880553] iwlwifi 0000:0c:00.0: 0x0B4B001C | hcmd
Feb 8 02:25:43 e6400 kernel: [61964.880559] iwlwifi 0000:0c:00.0: 0x2FE63842 | isr0
Feb 8 02:25:43 e6400 kernel: [61964.880565] iwlwifi 0000:0c:00.0: 0x0149F800 | isr1
Feb 8 02:25:43 e6400 kernel: [61964.880570] iwlwifi 0000:0c:00.0: 0x0000011A | isr2
Feb 8 02:25:43 e6400 kernel: [61964.880575] iwlwifi 0000:0c:00.0: 0x1443FCC3 | isr3
Feb 8 02:25:43 e6400 kernel: [61964.880581] iwlwifi 0000:0c:00.0: 0x10800112 | isr4
Feb 8 02:25:43 e6400 kernel: [61964.880586] iwlwifi 0000:0c:00.0: 0x00000E84 | isr_pref
Feb 8 02:25:43 e6400 kernel: [61964.880592] iwlwifi 0000:0c:00.0: 0x00000094 | wait_event
Feb 8 02:25:43 e6400 kernel: [61964.880598] iwlwifi 0000:0c:00.0: 0x00000000 | l2p_control
Feb 8 02:25:43 e6400 kernel: [61964.880604] iwlwifi 0000:0c:00.0: 0x0000000F | l2p_duration
Feb 8 02:25:43 e6400 kernel: [61964.880610] iwlwifi 0000:0c:00.0: 0x001050C6 | l2p_mhvalid
Feb 8 02:25:43 e6400 kernel: [61964.880615] iwlwifi 0000:0c:00.0: 0x00000005 | l2p_addr_match
Feb 8 02:25:43 e6400 kernel: [61964.880621] iwlwifi 0000:0c:00.0: 0x02121704 | lmpm_pmg_sel
Feb 8 02:25:43 e6400 kernel: [61964.880627] iwlwifi 0000:0c:00.0: 0x00001020 | timestamp
Feb 8 02:25:43 e6400 kernel: [61964.880633] iwlwifi 0000:0c:00.0: 0x00000100 | flow_handler
Feb 8 02:25:43 e6400 kernel: [61964.880639] iwlwifi 0000:0c:00.0: CSR values:
Feb 8 02:25:43 e6400 kernel: [61964.880644] iwlwifi 0000:0c:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
Feb 8 02:25:43 e6400 kernel: [61964.880655] iwlwifi 0000:0c:00.0: CSR_HW_IF_CONFIG_REG: 0X00480302
Feb 8 02:25:43 e6400 kernel: [61964.880665] iwlwifi 0000:0c:00.0: CSR_INT_COALESCING: 0X00000040
Feb 8 02:25:43 e6400 kernel: [61964.880674] iwlwifi 0000:0c:00.0: CSR_INT: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.880684] iwlwifi 0000:0c:00.0: CSR_INT_MASK: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.880694] iwlwifi 0000:0c:00.0: CSR_FH_INT_STATUS: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.880703] iwlwifi 0000:0c:00.0: CSR_GPIO_IN: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.880713] iwlwifi 0000:0c:00.0: CSR_RESET: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.880722] iwlwifi 0000:0c:00.0: CSR_GP_CNTRL: 0X080403c5
Feb 8 02:25:43 e6400 kernel: [61964.880733] iwlwifi 0000:0c:00.0: CSR_HW_REV: 0X00000024
Feb 8 02:25:43 e6400 kernel: [61964.880743] iwlwifi 0000:0c:00.0: CSR_EEPROM_REG: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.880752] iwlwifi 0000:0c:00.0: CSR_EEPROM_GP: 0X90000004
Feb 8 02:25:43 e6400 kernel: [61964.880762] iwlwifi 0000:0c:00.0: CSR_OTP_GP_REG: 0X00060000
Feb 8 02:25:43 e6400 kernel: [61964.880771] iwlwifi 0000:0c:00.0: CSR_GIO_REG: 0X00080042
Feb 8 02:25:43 e6400 kernel: [61964.880781] iwlwifi 0000:0c:00.0: CSR_GP_UCODE_REG: 0X00002014
Feb 8 02:25:43 e6400 kernel: [61964.880791] iwlwifi 0000:0c:00.0: CSR_GP_DRIVER_REG: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.880800] iwlwifi 0000:0c:00.0: CSR_UCODE_DRV_GP1: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.880810] iwlwifi 0000:0c:00.0: CSR_UCODE_DRV_GP2: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.880820] iwlwifi 0000:0c:00.0: CSR_LED_REG: 0X00000058
Feb 8 02:25:43 e6400 kernel: [61964.880829] iwlwifi 0000:0c:00.0: CSR_DRAM_INT_TBL_REG: 0X880ac6ea
Feb 8 02:25:43 e6400 kernel: [61964.880839] iwlwifi 0000:0c:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
Feb 8 02:25:43 e6400 kernel: [61964.880848] iwlwifi 0000:0c:00.0: CSR_ANA_PLL_CFG: 0X00880300
Feb 8 02:25:43 e6400 kernel: [61964.880858] iwlwifi 0000:0c:00.0: CSR_HW_REV_WA_REG: 0X0001001a
Feb 8 02:25:43 e6400 kernel: [61964.880868] iwlwifi 0000:0c:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0000
Feb 8 02:25:43 e6400 kernel: [61964.880874] iwlwifi 0000:0c:00.0: FH register values:
Feb 8 02:25:43 e6400 kernel: [61964.880893] iwlwifi 0000:0c:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X098c1e00
Feb 8 02:25:43 e6400 kernel: [61964.880913] iwlwifi 0000:0c:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X000e8a40
Feb 8 02:25:43 e6400 kernel: [61964.880933] iwlwifi 0000:0c:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000010
Feb 8 02:25:43 e6400 kernel: [61964.880953] iwlwifi 0000:0c:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00819104
Feb 8 02:25:43 e6400 kernel: [61964.880972] iwlwifi 0000:0c:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
Feb 8 02:25:43 e6400 kernel: [61964.880992] iwlwifi 0000:0c:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
Feb 8 02:25:43 e6400 kernel: [61964.881014] iwlwifi 0000:0c:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.881036] iwlwifi 0000:0c:00.0: FH_TSSR_TX_STATUS_REG: 0X07fd0001
Feb 8 02:25:43 e6400 kernel: [61964.881058] iwlwifi 0000:0c:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
Feb 8 02:25:43 e6400 kernel: [61964.881123] iwlwifi 0000:0c:00.0: Start IWL Event Log Dump: display last 20 entries
Feb 8 02:25:43 e6400 kernel: [61964.881148] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308399:0x9fc242ae:1587
Feb 8 02:25:43 e6400 kernel: [61964.881165] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308406:0x9fc242b6:1587
Feb 8 02:25:43 e6400 kernel: [61964.881181] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308413:0x9fc242bd:1587
Feb 8 02:25:43 e6400 kernel: [61964.881197] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308423:0x9fc242c7:1587
Feb 8 02:25:43 e6400 kernel: [61964.881213] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308431:0x9fc242cf:1587
Feb 8 02:25:43 e6400 kernel: [61964.881230] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308438:0x9fc242d6:1587
Feb 8 02:25:43 e6400 kernel: [61964.881246] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308445:0x9fc242dd:1587
Feb 8 02:25:43 e6400 kernel: [61964.881262] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308453:0x9fc242e4:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308460:0x9fc242ec:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308467:0x9fc242f3:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308477:0x9fc242fd:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308485:0x9fc24305:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308492:0x9fc2430c:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308499:0x9fc24313:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308507:0x9fc2431b:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308514:0x9fc24322:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308524:0x9fc2432c:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680308532:0x9fc24333:1587
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680508277:0x000000d7:0123
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: EVT_LOGT:2680508298:0x00000000:0125
Feb 8 02:25:43 e6400 kernel: [61964.881265] iwlwifi 0000:0c:00.0: Failing on timeout while stopping DMA channel 1 [0x07fd0001]
Feb 8 02:25:43 e6400 kernel: [61964.884473] ieee80211 phy3: Hardware restart was requested
Feb 8 02:25:43 e6400 kernel: [61964.884538] iwlwifi 0000:0c:00.0: L1 Enabled; Disabling L0S
Feb 8 02:25:43 e6400 kernel: [61964.884951] iwlwifi 0000:0c:00.0: Radio type=0x0-0x2-0x0

This is my KVM host, of course, running openSUSE 12.2. Seems Intel hasn’t progressed much with the instability issues in the Centrino WLAN chipsets, this is a Intel Wifi Link 5300 and I had similar issues ever since the 2200BG chipset. And www.intellinuxwireless.org apparantly does not exist any more. Various tickets have been filed for Ubuntu, Fedora and others.

The funny thing is: this only happens when I start Windows Update inside the VM, which is NATed to the host. I can download Gigabytes in both the host and the guest system, and the driver runs without the slightest problem.

Workaround for SUSE:


cat "options iwlwifi 11n_disable=1" >>/etc/modprobe.d/99-local.conf

Leave a comment