Software Archive
Read-only legacy content

Can't disable ECC via micsmc command

Chao_M_
Beginner
851 Views

Hi all,

I failed to disable ECC by "micsmc --ecc disable", the output is:

Information: disabling ECC on devices: mic0...

Information: 1 of 1 complete

Status: mic0: error: cannot set ECC mode: device is not in 'ready' state

I checked the status of the MIC card:

mic0: online (mode: linux image: /usr/share/mpss/boot/bzImage-knightscorner)

Did I do something wrong? Any suggestion how to solve it?

Thank you,

Chao

0 Kudos
1 Solution
Leonardo_B_Intel
Employee
851 Views

Hello Chao,

 

Glad to hear it worked for you.

 

For additional information, you may want to take a look at the MPSS documentation. Most likely the MPSS_Users_Guide.pdf from your installation. The section “State SYSFS Entries” should describe all the possible states. Here's what I read for my version:

 

ready: card is ready for a boot command

booting: card is currently booting

no response: card is not responding

boot failed: card failed to boot

online: card is currently booted

shutdown: card is currently shutting down

lost: booted card is not responding

resetting: card is processing soft reset

reset failed: card cannot be reset - non recoverable

 

 

 

I am not a specialist on MPSS but I think the case here is that an action like enabling/disabling ECC cannot be performed on a “online” state because it requires changes on the memory configuration. This it can be only performed on “ready” state, that is, before the actual boot of the card.

 

Best,

Leo.

 

View solution in original post

0 Kudos
4 Replies
Leonardo_B_Intel
Employee
851 Views

Hi Chao,

Would you mind trying something like:

Check ECC status:

# micsmc --ecc status

 

Turn off ECC:

# micctrl -r

# micctrl -w

# micsmc  --ecc disable

# service mpss restart

 

 

Check ECC status:

# micsmc --ecc status

 

Best,

Leo.

 

 

0 Kudos
Chao_M_
Beginner
851 Views

Thanks you, Leo. It works!

Would you mind explain the difference between the status of "ready" and "online", it seems I can't change ECC when MIC card is online.

Thank you,

Chao

0 Kudos
Leonardo_B_Intel
Employee
852 Views

Hello Chao,

 

Glad to hear it worked for you.

 

For additional information, you may want to take a look at the MPSS documentation. Most likely the MPSS_Users_Guide.pdf from your installation. The section “State SYSFS Entries” should describe all the possible states. Here's what I read for my version:

 

ready: card is ready for a boot command

booting: card is currently booting

no response: card is not responding

boot failed: card failed to boot

online: card is currently booted

shutdown: card is currently shutting down

lost: booted card is not responding

resetting: card is processing soft reset

reset failed: card cannot be reset - non recoverable

 

 

 

I am not a specialist on MPSS but I think the case here is that an action like enabling/disabling ECC cannot be performed on a “online” state because it requires changes on the memory configuration. This it can be only performed on “ready” state, that is, before the actual boot of the card.

 

Best,

Leo.

 

0 Kudos
Chao_M_
Beginner
851 Views

Thank you, Leo.

Chao

0 Kudos
Reply