Software Archive
Read-only legacy content
17060 Discussions

A good mic gets to 'reset failed' after flashing firmware

Xiao_peng_W_
Beginner
831 Views

I have a mic card which works well that I can boot it correctly and login. But it gets to 'reset failed' status when I tried to update the flash for it.

1. I run the micflash command to udpate the mic0

#/opt/intel/mic/bin/micflash -update /opt/intel/mic/mnt/opt/intel/mic/flash -device 0
mic0: Flash image: /opt/intel/mic/mnt/opt/intel/mic/flash/EXT_HP2_B1_0386-02.rom.smc
micflash: mic0: Flash operation timed out

mic0: Flash update started
mic0: Flash update done
mic0: SMC update started
mic0: Resetting

Please restart host for flash changes to take effect

From the output, it said 'timed out'. But in the later message, it also said 'update done'. what was the situation?

2. I did run the micflash twice, the result is same. Then I try to boot the mic to a ramdisk, it worked.

3. I think the flash timeout may be caused by the state of mic was not correct, so I rebooted the mic. Then the problem happened, I see a lot of 'reset failed' message in mpss log and kernel log

In mpss log:

Thu Aug  8 21:51:56 2013: mic0: Waiting for reset to complete
Thu Aug  8 21:51:57 2013: mic0: Waiting for reset to complete
Thu Aug  8 21:51:58 2013: mic0: Wait for reset timed `out
Thu Aug  8 21:51:59 2013: Wait for download requests
Thu Aug  8 21:53:51 2013: mic0: State resetting -> reset failed
Thu Aug  8 21:59:20 2013: mic0: State reset failed -> resetting
Thu Aug  8 22:04:22 2013: mic0: State resetting -> reset failed

In kernel log:

Aug  8 22:51:42 c902f04x31 kernel: mic0: Resetting (Post Code H0)
Aug  8 22:51:43 c902f04x31 kernel: mic0: Resetting (Post Code H0)
Aug  8 22:51:43 c902f04x31 kernel: mic0: Transition from state resetting to reset failed
Aug  8 22:51:43 c902f04x31 kernel: MIC 0 RESETFAIL postcode H0 12360

Any thought?

0 Kudos
4 Replies
Xiao_peng_W_
Beginner
831 Views

Any one could give some hits about how to recover the mic to ready status?

0 Kudos
Xiao_peng_W_
Beginner
831 Views

Does anybody have any idea of how to reset the failed mic to ready status?

0 Kudos
Victor_L_2
Beginner
831 Views

I've had the similar issue before and ended up with replacing my Phi card. This is the response which I got from Intel: "There is known issue we have right now that if the card has older SMC firmware, and you run a newer version of coprocessor OS before updating the firmware, the card will become non-responsive.  The solution is to update the SMC firmware first."

There is a fine print in MPSS Gold Update 3 readme-en.txt file in the section 7.2 about flash update: "Starting version of Flash must be >= 375, if not, contact your Intel support representative."

0 Kudos
Frances_R_Intel
Employee
831 Views

I have been asked to have you try the following - it is very important to ensure the MPSS does not attempt to start before you try to update the flash. Note that you are asked not just to reboot the host but to disconnect the power, wait a few seconds, then power it up again.

[bash]

1)    Disable MPSS from starting on host boot

$ sudo chkconfig mpss off

2)    Power-cycle the host (ie. remove power completely for a few seconds then re-apply power)

3)    Boot host, do not start MPSS

4)    Reset card:

$ sudo micctrl –rw

$ sudo micctrl –s

          (should show ‘ready’.. if shows ‘failed’ or host kernel log shows hung @ some post code, go back to step #2)

5)    Flash card

$ sudo /opt/intel/mic/bin/micflash –update –smcbootloader –device all

6)    If the above fails, immediately execute micdebug.sh and send back the archive this script creates

$ sudo /opt/intel/mic/bin/micdebug.sh

[/bash]

0 Kudos
Reply