Software Archive
Read-only legacy content
17060 Discussions

Scif_send error??

Vaios_B_
Beginner
1,138 Views
Hello to you All, Strange message appeared when stoping the mpps service: (MPSS 3.3.1 in Centos 7) systemd: Stopping Intel(R) MPSS control service... Sep 23 10:21:18 localhost kernel: mic0: Transition from state online to shutdown Sep 23 10:21:18 localhost kernel: mic1: Transition from state online to shutdown Sep 23 10:21:29 localhost kernel: host: scif node 1 exiting Sep 23 10:21:29 localhost kernel: scif_send to node: 1 port: 1089 failed with error -104 Sep 23 10:21:29 localhost kernel: host: scif node 2 exiting Sep 23 10:21:29 localhost kernel: scif_send to node: 2 port: 1089 failed with error -104 Sep 23 10:21:50 localhost kernel: mic1: Transition from state shutdown to resetting Sep 23 10:21:50 localhost kernel: mic0: Transition from state shutdown to resetting Sep 23 10:21:52 localhost kernel: mic1: Resetting (Post Code 3C) Sep 23 10:21:52 localhost kernel: mic0: Resetting (Post Code 3C) Sep 23 10:21:53 localhost kernel: mic1: Resetting (Post Code 3d) Sep 23 10:21:53 localhost kernel: mic0: Resetting (Post Code 3d) Sep 23 10:21:54 localhost kernel: mic1: Resetting (Post Code 3d) Sep 23 10:21:54 localhost kernel: mic0: Resetting (Post Code 3d) Sep 23 10:21:55 localhost kernel: mic1: Resetting (Post Code 3d) Sep 23 10:21:55 localhost kernel: mic0: Resetting (Post Code 3d) Sep 23 10:21:56 localhost kernel: mic1: Resetting (Post Code 3d) Sep 23 10:21:56 localhost kernel: mic0: Resetting (Post Code 3d) Sep 23 10:21:57 localhost kernel: mic1: Resetting (Post Code 3E) Sep 23 10:21:57 localhost kernel: mic0: Resetting (Post Code 3E) Sep 23 10:21:58 localhost kernel: mic1: Resetting (Post Code 3E) Sep 23 10:21:58 localhost kernel: mic0: Resetting (Post Code 3E) Sep 23 10:21:59 localhost kernel: mic1: Resetting (Post Code 3E) Sep 23 10:21:59 localhost kernel: mic0: Resetting (Post Code 3E) Sep 23 10:22:00 localhost kernel: mic1: Resetting (Post Code 09) Sep 23 10:22:00 localhost kernel: mic0: Resetting (Post Code 09) Sep 23 10:22:01 localhost kernel: mic1: Resetting (Post Code 09) Sep 23 10:22:01 localhost kernel: mic0: Resetting (Post Code 09) Sep 23 10:22:02 localhost kernel: mic1: Resetting (Post Code 12) Sep 23 10:22:02 localhost kernel: mic1: Transition from state resetting to ready Sep 23 10:22:02 localhost kernel: mic0: Resetting (Post Code 12) Sep 23 10:22:02 localhost kernel: mic0: Transition from state resetting to ready Sep 23 10:22:08 localhost mpss: Shutting down Intel(R) MPSS: [ OK ] Sep 23 10:22:08 localhost systemd: Stopped Intel(R) MPSS control service. Looking for the error code, i still have not find anything that matches. Have you seen this before? Thank you so much in advance.
0 Kudos
1 Solution
Loc_N_Intel
Employee
1,138 Views

Hello,

After looking at the source code and talking with the expert, here is the root cause of the issue:
 
When users stop MPSS (e.g., service mpss stop) or shutdown a coprocessor (e.g., micctrl -S mic0), besides the driver
shutdown the coprocessor, it triggers the host Power Management to send a SCIF message to the coprocessor independently in order to close the power management service. Because the coprocessor is already down, the SCIF message cannot be sent. The error message reflects the fact that the SCIF message is not sent successfully.

However, since the coprocessor already closed the PM service, this error message is not harmful and can be ignored.

I will generate an internal ticket to handle this case. Thank you for reporting this error message.

View solution in original post

0 Kudos
8 Replies
Loc_N_Intel
Employee
1,138 Views

Hi Vaios,

I see this skip_send error on my system too. Let me investigate this issue and get back to you. Thank you.

0 Kudos
Frances_R_Intel
Employee
1,138 Views

Vaios

Do you see this error every time?

Do you have power management turned off? (You can check by looking in the /etc/mpss/mic*.conf files.) If it is turned off, does turning it on have any effect? (micctrl --pm=set) I don't know that this will have any effect but it might be worth a try.

0 Kudos
Vaios_B_
Beginner
1,138 Views

Thank you both,

Frances, i have already made that check but.....nada....

The msg is repeated every time i stop the service (Mpss).

I will try to run a debugger when stoping the service to see some more detailed info.

Can this, by any chance, be considered a Normal Connection Termination message?

Just to be more specific. The error is being displayed when from online to shutdown state. In all other cases we have normal stop/start messages.

Thank you for your efforts

BR

Vaios

0 Kudos
Frances_R_Intel
Employee
1,138 Views

Loc is looking for the definitive answer, but to your questions "Can this, by any chance, be considered a Normal Connection Termination message?", I would say, yes, probably. You get this message if the host tries to send a message over the virtual interface, after the operating system on the coprocessor has shut it down.  (Errno 104 is connection reset by peer.) This message seems to be ubiquitous and the developers seem to consider it normal. But I don't know why the host is trying to talk to the coprocessor at this point. Is it just checking to make sure the OS on the coprocessor has gone away? Maybe. In any event, you have gotten my curiosity up and I personally will be interested to see what Loc digs up.

0 Kudos
Vaios_B_
Beginner
1,138 Views

The online to shutdown state differs, the truth is, from the online to reset. But, wouldn't it be safe to assume that the 104 reset should be appeared in that state too?

Thank you

 

BR

Vaios 

0 Kudos
Frances_R_Intel
Employee
1,138 Views

Actually, no. In a reset, the mpss on the host shuts down the scif without waiting for the coprocessor to take any action, then sends a low level reset message to the coprocessor, effectively destroying the scif on the coprocessor. The scif on the host doesn't come back up until you reboot the coprocessor, so the first remote scif connection it sees is the new coprocessor scif - hence no reset by peer.

Think of it in terms of what would happen if you were to shut down an ethernet interface. If you shut down an ethernet interface on a system, you don't get "reset by peer" messages on that system; it is resetting the ethernet interface on the remote system that causes the message. 

The thing that confuses me is that with the shutdown option, the host side scif gets a "reset by peer" rather than unreachable or timeout. The implication is that after the coprocessor shuts down, the coprocessor scif comes back up at least to some extent.

0 Kudos
Loc_N_Intel
Employee
1,139 Views

Hello,

After looking at the source code and talking with the expert, here is the root cause of the issue:
 
When users stop MPSS (e.g., service mpss stop) or shutdown a coprocessor (e.g., micctrl -S mic0), besides the driver
shutdown the coprocessor, it triggers the host Power Management to send a SCIF message to the coprocessor independently in order to close the power management service. Because the coprocessor is already down, the SCIF message cannot be sent. The error message reflects the fact that the SCIF message is not sent successfully.

However, since the coprocessor already closed the PM service, this error message is not harmful and can be ignored.

I will generate an internal ticket to handle this case. Thank you for reporting this error message.

0 Kudos
Vaios_B_
Beginner
1,138 Views

Thank you so much for your actions and detailed answer.

Best Regards

Vaios

0 Kudos
Reply