Skip to contentSkip to conversation

Microcode SW error detected on current wireless-testing

PATCH In review Stanislaw Gruszka 3 participants 7 messages Nov 30, 2010 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

Hi

Today pull on wireless testing caused this on my 4965 device (100% reproducible on my system, yesterday w-t does not have this).

iwlagn 0000:40:00.0: Microcode SW error detected. Restarting 0x82000000. iwlagn 0000:40:00.0: Loaded firmware version: 228.61.2.24 iwlagn 0000:40:00.0: Start IWL Error Log Dump:
iwlagn 0000:40:00.0: Status: 0x0002B3E4, count: 5
iwlagn 0000:40:00.0: Desc Time data1 data2 line
iwlagn 0000:40:00.0: SYSASSERT (0x0005) 0000851408 0x000000FF 0x00000000 578
iwlagn 0000:40:00.0: pc blink1 blink2 ilink1 ilink2 hcmd
iwlagn 0000:40:00.0: 0x13AC0 0x13A36 0x13AD6 0x006DE 0x00000 0x44140080 iwlagn 0000:40:00.0: FH register values:
iwlagn 0000:40:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X11a7cd00
iwlagn 0000:40:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X0119e720
iwlagn 0000:40:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000060
iwlagn 0000:40:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80819004
iwlagn 0000:40:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X0000003c
iwlagn 0000:40:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
iwlagn 0000:40:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
iwlagn 0000:40:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0002
iwlagn 0000:40:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
iwlagn 0000:40:00.0: Start IWL Event Log Dump: display last 20 entries iwlagn 0000:40:00.0: EVT_LOGT:0000851099:0x781c3b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851103:0x7c233b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851105:0x7c1b3b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851109:0x80223b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851111:0x801b3b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851115:0x84213b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851117:0x841b3b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851121:0x88223b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851123:0x881a3b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851128:0x8c213b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851130:0x8c193b6e:0450 iwlagn 0000:40:00.0: EVT_LOGT:0000851132:0x0000007f:0601 iwlagn 0000:40:00.0: EVT_LOGT:0000851138:0x00000100:0706 iwlagn 0000:40:00.0: EVT_LOGT:0000851140:0x00000000:0708 iwlagn 0000:40:00.0: EVT_LOGT:0000851143:0x01000300:0706 iwlagn 0000:40:00.0: EVT_LOGT:0000851145:0x01000300:0725 iwlagn 0000:40:00.0: EVT_LOGT:0000851146:0x00000000:0710 iwlagn 0000:40:00.0: EVT_LOGT:0000851148:0x00000024:0729 iwlagn 0000:40:00.0: EVT_LOGT:0000851149:0x000cfccc:0729 iwlagn 0000:40:00.0: EVT_LOGT:0000851411:0x00000000:0125 iwlagn 0000:40:00.0: Command REPLY_SCAN_CMD failed: FW Error

Is Intel aware of that problem? Should I bisect it?

Stanislaw

maintainer
#1 lore raw
Quoted 9 lines · Stanislaw Gruszka

Hi

Today pull on wireless testing caused this on my 4965 device (100% reproducible on my system, yesterday w-t does not have this).

iwlagn 0000:40:00.0: Microcode SW error detected. Restarting 0x82000000. iwlagn 0000:40:00.0: Loaded firmware version: 228.61.2.24

Is Intel aware of that problem? Should I bisect it?

I haven't seen it, but 4965 ... we can't really test that on an ongoing basis any more... I'd guess dbbf1755b09eef8ff6dd21c8dafe1606f051ce12 is the problem, seems the only recent thing that actually changed 4965.

johannes

#2 lore raw
Quoted 6 lines · Johannes Berg
Quoted 5 lines · Stanislaw Gruszka

Hi

Today pull on wireless testing caused this on my 4965 device (100% reproducible on my system, yesterday w-t does not have this).

Quoted 8 lines
Quoted 4 lines

iwlagn 0000:40:00.0: Microcode SW error detected. Restarting 0x82000000. iwlagn 0000:40:00.0: Loaded firmware version: 228.61.2.24

Is Intel aware of that problem? Should I bisect it?

I haven't seen it, but 4965 ... we can't really test that on an ongoing basis any more... I'd guess dbbf1755b09eef8ff6dd21c8dafe1606f051ce12 is the problem, seems the only recent thing that actually changed 4965.

Yes, it is dbbf1755, after revert that commit microcode error disappears.

Stanislaw

maintainer
#3 lore raw
Quoted 10 lines · Stanislaw Gruszka
Quoted 8 lines
Quoted 4 lines

iwlagn 0000:40:00.0: Microcode SW error detected. Restarting 0x82000000. iwlagn 0000:40:00.0: Loaded firmware version: 228.61.2.24

Is Intel aware of that problem? Should I bisect it?

I haven't seen it, but 4965 ... we can't really test that on an ongoing basis any more... I'd guess dbbf1755b09eef8ff6dd21c8dafe1606f051ce12 is the problem, seems the only recent thing that actually changed 4965.

Yes, it is dbbf1755, after revert that commit microcode error disappears.

Can you revert only the iwl-4965.c bit of it and try that?

johannes

#4 lore raw

PATCH 1/1 iwlagn: fix microcode error on 4965

Commit dbbf1755b09eef8ff6dd21c8dafe1606f051ce12 "iwlwifi: use antenna information in EEPROM" caused 4965 device breakage with "Microcode SW error detected. Restarting 0x82000000." message. This patch reverts 4965 part of that commit.

---
 drivers/net/wireless/iwlwifi/iwl-4965.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/wireless/iwlwifi/iwl-4965.c +2 -0
index 9f1d8d8..6788ceb 100644
@@ -2624,6 +2624,8 @@ struct iwl_cfg iwl4965_agn_cfg = {
 	.fw_name_pre = IWL4965_FW_PRE,
 	.ucode_api_max = IWL4965_UCODE_API_MAX,
 	.ucode_api_min = IWL4965_UCODE_API_MIN,
+	.valid_tx_ant = ANT_AB,
+	.valid_rx_ant = ANT_ABC,
 	.eeprom_ver = EEPROM_4965_EEPROM_VERSION,
 	.eeprom_calib_ver = EEPROM_4965_TX_POWER_VERSION,
 	.ops = &iwl4965_ops,
Signature · 1 line
1.7.1
maintainer Acked-by on v1 1/1
#5 lore raw

Re: [PATCH w-t] iwlagn: fix microcode error on 4965

Quoted 6 lines · Stanislaw Gruszka

Commit dbbf1755b09eef8ff6dd21c8dafe1606f051ce12 "iwlwifi: use antenna information in EEPROM" caused 4965 device breakage with "Microcode SW error detected. Restarting 0x82000000." message. This patch reverts 4965 part of that commit.

Thanks!

Quoted 17 lines
---
 drivers/net/wireless/iwlwifi/iwl-4965.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/wireless/iwlwifi/iwl-4965.c +2 -0
index 9f1d8d8..6788ceb 100644
@@ -2624,6 +2624,8 @@ struct iwl_cfg iwl4965_agn_cfg = {
 	.fw_name_pre = IWL4965_FW_PRE,
 	.ucode_api_max = IWL4965_UCODE_API_MAX,
 	.ucode_api_min = IWL4965_UCODE_API_MIN,
+	.valid_tx_ant = ANT_AB,
+	.valid_rx_ant = ANT_ABC,
 	.eeprom_ver = EEPROM_4965_EEPROM_VERSION,
 	.eeprom_calib_ver = EEPROM_4965_TX_POWER_VERSION,
 	.ops = &iwl4965_ops,
Acked-by on v1 1/1
#6 lore raw

Re: [PATCH w-t] iwlagn: fix microcode error on 4965

In reply to Stanislaw Gruszka
Quoted 6 lines · Stanislaw Gruszka

Commit dbbf1755b09eef8ff6dd21c8dafe1606f051ce12 "iwlwifi: use antenna information in EEPROM" caused 4965 device breakage with "Microcode SW error detected. Restarting 0x82000000." message. This patch reverts 4965 part of that commit.

Quoted 1 line

---

Yeap, my mistake to cause this problem. Sorry!

Wey