Skip to contentSkip to conversation

System crash

DISCUSSION 宋浅禹 3 participants 9 messages Sep 14, 2020 2 messages not in the archive

lore
Share & tools
lore

宋浅禹

author
#0 lore raw

Hello,everyone!
Now we have the problem that the system is stuck, and the watchdog cannot work. We suspect that it is caused by the code of the kernel. Is there any other debugging method that can be checked? Thank you for your help !

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

#1 lore raw
Quoted 9 lines · 宋浅禹 via Xenomai

Hello,everyone!
Now we have the problem that the system is stuck, and the watchdog cannot work. We suspect that it is caused by the code of the kernel. Is there any other debugging method that can be checked? Thank you for your help !

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

Can you give use some more info on your system? What ipipe are your running and what version of Xenomai?

-Greg

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 30 lines · 宋浅禹

Hi,thank you for your reply!

We use ipipe-4.19.84 and xenomai3.1, we have written our own GPIO driver. At present, it is easy to get stuck in this area.

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:18
收件人: 宋浅禹
抄送: [email protected]
主题: Re: System crash

Quoted 9 lines · 宋浅禹 via Xenomai

Hello,everyone!
Now we have the problem that the system is stuck, and the watchdog cannot work. We suspect that it is caused by the code of the kernel. Is there any other debugging method that can be checked? Thank you for your help !

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

Quoted 7 lines

Can you give use some more info on your system? What ipipe are your running and what version of Xenomai?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

adding the list

Is this x86 or ARM?

-Greg

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 54 lines · 宋浅禹

I am sorry, x86

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:30
收件人: 宋浅禹; [email protected]
主题: Re: System crash

Quoted 30 lines · 宋浅禹

Hi,thank you for your reply!

We use ipipe-4.19.84 and xenomai3.1, we have written our own GPIO driver. At present, it is easy to get stuck in this area.

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:18
收件人: 宋浅禹
抄送: [email protected]
主题: Re: System crash

Quoted 9 lines · 宋浅禹 via Xenomai

Hello,everyone!
Now we have the problem that the system is stuck, and the watchdog cannot work. We suspect that it is caused by the code of the kernel. Is there any other debugging method that can be checked? Thank you for your help !

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

Quoted 7 lines

Can you give use some more info on your system? What ipipe are your running and what version of Xenomai?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

Quoted 8 lines

adding the list

Is this x86 or ARM?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

A back trace or source code will help for debugging. Also please make sure to add the list when replying.

Thanks

Greg

author
#6 lore raw

Thanks!

Is there some tools can help me to trace?

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

发件人: Greg Gallagher<mailto:[email protected]>
发送时间: 2020年9月14日 11:32
收件人: 宋浅禹<mailto:[email protected]>; [email protected]<mailto:[email protected]> 主题: Re: System crash

Quoted 54 lines · 宋浅禹

I am sorry, x86

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:30
收件人: 宋浅禹; [email protected]
主题: Re: System crash

Quoted 30 lines · 宋浅禹

Hi,thank you for your reply!

We use ipipe-4.19.84 and xenomai3.1, we have written our own GPIO driver. At present, it is easy to get stuck in this area.

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:18
收件人: 宋浅禹
抄送: [email protected]
主题: Re: System crash

Quoted 9 lines · 宋浅禹 via Xenomai

Hello,everyone!
Now we have the problem that the system is stuck, and the watchdog cannot work. We suspect that it is caused by the code of the kernel. Is there any other debugging method that can be checked? Thank you for your help !

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

Quoted 7 lines

Can you give use some more info on your system? What ipipe are your running and what version of Xenomai?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

Quoted 8 lines

adding the list

Is this x86 or ARM?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

A back trace or source code will help for debugging. Also please make sure to add the list when replying.

Thanks

Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

author
#7 lore raw

Is there some tools similar to ftrace 、 pstore 、last_kmesg or oops

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

发件人: 宋浅禹<mailto:[email protected]>
发送时间: 2020年9月14日 11:33
收件人: Greg Gallagher<mailto:[email protected]>; [email protected]<mailto:[email protected]> 主题: 回复: System crash

Thanks!

Is there some tools can help me to trace?

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

发件人: Greg Gallagher<mailto:[email protected]>
发送时间: 2020年9月14日 11:32
收件人: 宋浅禹<mailto:[email protected]>; [email protected]<mailto:[email protected]> 主题: Re: System crash

Quoted 54 lines · 宋浅禹

I am sorry, x86

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:30
收件人: 宋浅禹; [email protected]
主题: Re: System crash

Quoted 30 lines · 宋浅禹

Hi,thank you for your reply!

We use ipipe-4.19.84 and xenomai3.1, we have written our own GPIO driver. At present, it is easy to get stuck in this area.

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:18
收件人: 宋浅禹
抄送: [email protected]
主题: Re: System crash

Quoted 9 lines · 宋浅禹 via Xenomai

Hello,everyone!
Now we have the problem that the system is stuck, and the watchdog cannot work. We suspect that it is caused by the code of the kernel. Is there any other debugging method that can be checked? Thank you for your help !

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

Quoted 7 lines

Can you give use some more info on your system? What ipipe are your running and what version of Xenomai?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

Quoted 8 lines

adding the list

Is this x86 or ARM?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

A back trace or source code will help for debugging. Also please make sure to add the list when replying.

Thanks

Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

#8 lore raw
Quoted 100 lines · 宋浅禹

Is there some tools similar to ftrace 、 pstore 、last_kmesg or oops

发送自 Windows 10 版邮件应用

发件人: 宋浅禹
发送时间: 2020年9月14日 11:33
收件人: Greg Gallagher; [email protected]
主题: 回复: System crash

Thanks!

Is there some tools can help me to trace?

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:32
收件人: 宋浅禹; [email protected]
主题: Re: System crash

Quoted 54 lines · 宋浅禹

I am sorry, x86

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:30
收件人: 宋浅禹; [email protected]
主题: Re: System crash

Quoted 30 lines · 宋浅禹

Hi,thank you for your reply!

We use ipipe-4.19.84 and xenomai3.1, we have written our own GPIO driver. At present, it is easy to get stuck in this area.

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:18
收件人: 宋浅禹
抄送: [email protected]
主题: Re: System crash

Quoted 9 lines · 宋浅禹 via Xenomai

Hello,everyone!
Now we have the problem that the system is stuck, and the watchdog cannot work. We suspect that it is caused by the code of the kernel. Is there any other debugging method that can be checked? Thank you for your help !

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

Quoted 7 lines

Can you give use some more info on your system? What ipipe are your running and what version of Xenomai?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

Quoted 8 lines

adding the list

Is this x86 or ARM?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

A back trace or source code will help for debugging. Also please make sure to add the list when replying.

Quoted 6 lines

Thanks

Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

All the tools you mentioned should work with Xenomai to get a trace.

-Greg

#9 lore raw
In reply to 宋浅禹

System hang usually because of the CPU run into a dead loop.
Most common debug method is enable serial port and enable/add kernel log by hand.

Intel do offers advanced debug tools(similar with Lauterbach Trace32):
Intel System Debugger ( part of the Intel System Studio suite)
https://software.intel.com/content/www/us/en/develop/tools/system-studio/debug.html

hardware:
https://designintools.intel.com/
C01 - Intel SVT DCI DbC2/3 A-to-A Debug Cable 1 Meter, $10

a lot of public pages on this topic, u can search "Intel DCI USB"
https://www.ptsecurity.com/ww-en/analytics/where-theres-a-jtag-theres-a-way/

the dependency to use DCI USB Cable & System Debugger software is, u need a debug version BIOS that enabled this debug feature, Aaeon's UP Xtreme offer such BIOS, see https://up-shop.org/up-xtreme-i7.html

BR / Fino (孟祥夫)
Intel – IOTG Developer Enabling

Quoted 136 lines

Sent: Monday, September 14, 2020 11:39 AM

Is there some tools similar to ftrace 、 pstore 、last_kmesg or oops

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

发件人: 宋浅禹<mailto:[email protected]>
发送时间: 2020年9月14日 11:33
收件人: Greg Gallagher<mailto:[email protected]>; [email protected]<mailto:[email protected]> 主题: 回复: System crash

Thanks!

Is there some tools can help me to trace?

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

发件人: Greg Gallagher<mailto:[email protected]>
发送时间: 2020年9月14日 11:32
收件人: 宋浅禹<mailto:[email protected]>; [email protected]<mailto:[email protected]> 主题: Re: System crash

Quoted 9 lines · 宋浅禹

I am sorry, x86

发送自 Windows 10 版邮件应用

Quoted 12 lines

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:30
收件人: 宋浅禹; [email protected]
主题: Re: System crash

Quoted 4 lines · 宋浅禹

Hi,thank you for your reply!

We use ipipe-4.19.84 and xenomai3.1, we have written our own GPIO driver. At present, it is easy to get stuck in this

area.

Quoted 23 lines
Quoted 23 lines

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:18
收件人: 宋浅禹
抄送: [email protected]
主题: Re: System crash

Quoted 7 lines · 宋浅禹 via Xenomai

Hello,everyone!
Now we have the problem that the system is stuck, and the watchdog cannot work. We suspect that it is caused by the code of the kernel. Is there any other debugging method that can be checked? Thank you for your help !

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient.

Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media.

Quoted 1 line
Quoted 1 line
Quoted 1 line

本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構

閱讀、轉發、列印、複製、傳閱、出版、

Quoted 1 line
Quoted 1 line
Quoted 1 line

散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發

信人並從任何電腦、磁片、磁碟或其它存

Quoted 8 lines
Quoted 8 lines
Quoted 1 line

儲裝置或媒體中刪除本信息。

Can you give use some more info on your system? What ipipe are your running and what version of Xenomai?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient.

Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media.

Quoted 1 line
Quoted 1 line

本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構

閱讀、轉發、列印、複製、傳閱、出版、散播

Quoted 1 line
Quoted 1 line

或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人

並從任何電腦、磁片、磁碟或其它存儲裝置或

Quoted 8 lines
Quoted 1 line

媒體中刪除本信息。

adding the list

Is this x86 or ARM?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient.

Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media.

Quoted 1 line

本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱

讀、轉發、列印、複製、傳閱、出版、散播或以

Quoted 1 line

其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任

何電腦、磁片、磁碟或其它存儲裝置或媒體中刪

Quoted 1 line

除本信息。

A back trace or source code will help for debugging. Also please make sure to add the list when replying.

Thanks

Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、
轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下
錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

author
#10 lore raw

Thanks for your help。

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

发件人: Meng, Fino<mailto:[email protected]>
发送时间: 2020年9月14日 13:36
收件人: 宋浅禹<mailto:[email protected]>; Greg Gallagher<mailto:[email protected]> 抄送: Xenomai ([email protected])<mailto:[email protected]>
主题: RE: System crash

System hang usually because of the CPU run into a dead loop.
Most common debug method is enable serial port and enable/add kernel log by hand.

Intel do offers advanced debug tools(similar with Lauterbach Trace32):
Intel System Debugger ( part of the Intel System Studio suite)
https://software.intel.com/content/www/us/en/develop/tools/system-studio/debug.html

hardware:
https://designintools.intel.com/
C01 - Intel SVT DCI DbC2/3 A-to-A Debug Cable 1 Meter, $10

a lot of public pages on this topic, u can search "Intel DCI USB"
https://www.ptsecurity.com/ww-en/analytics/where-theres-a-jtag-theres-a-way/

the dependency to use DCI USB Cable & System Debugger software is, u need a debug version BIOS that enabled this debug feature, Aaeon's UP Xtreme offer such BIOS, see https://up-shop.org/up-xtreme-i7.html

BR / Fino (孟祥夫)
Intel – IOTG Developer Enabling

Quoted 126 lines

Sent: Monday, September 14, 2020 11:39 AM

Is there some tools similar to ftrace 、 pstore 、last_kmesg or oops

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

发件人: 宋浅禹<mailto:[email protected]>
发送时间: 2020年9月14日 11:33
收件人: Greg Gallagher<mailto:[email protected]>; [email protected]<mailto:[email protected]> 主题: 回复: System crash

Thanks!

Is there some tools can help me to trace?

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

发件人: Greg Gallagher<mailto:[email protected]>
发送时间: 2020年9月14日 11:32
收件人: 宋浅禹<mailto:[email protected]>; [email protected]<mailto:[email protected]> 主题: Re: System crash

Quoted 9 lines · 宋浅禹

I am sorry, x86

发送自 Windows 10 版邮件应用

Quoted 12 lines

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:30
收件人: 宋浅禹; [email protected]
主题: Re: System crash

Quoted 4 lines · 宋浅禹

Hi,thank you for your reply!

We use ipipe-4.19.84 and xenomai3.1, we have written our own GPIO driver. At present, it is easy to get stuck in this

area.

Quoted 23 lines
Quoted 23 lines

发送自 Windows 10 版邮件应用

发件人: Greg Gallagher
发送时间: 2020年9月14日 11:18
收件人: 宋浅禹
抄送: [email protected]
主题: Re: System crash

Quoted 7 lines · 宋浅禹 via Xenomai

Hello,everyone!
Now we have the problem that the system is stuck, and the watchdog cannot work. We suspect that it is caused by the code of the kernel. Is there any other debugging method that can be checked? Thank you for your help !

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient.

Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media.

Quoted 1 line
Quoted 1 line
Quoted 1 line

本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構

閱讀、轉發、列印、複製、傳閱、出版、

Quoted 1 line
Quoted 1 line
Quoted 1 line

散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發

信人並從任何電腦、磁片、磁碟或其它存

Quoted 8 lines
Quoted 8 lines
Quoted 1 line

儲裝置或媒體中刪除本信息。

Can you give use some more info on your system? What ipipe are your running and what version of Xenomai?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient.

Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media.

Quoted 1 line
Quoted 1 line

本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構

閱讀、轉發、列印、複製、傳閱、出版、散播

Quoted 1 line
Quoted 1 line

或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人

並從任何電腦、磁片、磁碟或其它存儲裝置或

Quoted 8 lines
Quoted 1 line

媒體中刪除本信息。

adding the list

Is this x86 or ARM?

-Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient.

Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media.

Quoted 1 line

本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱

讀、轉發、列印、複製、傳閱、出版、散播或以

Quoted 1 line

其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任

何電腦、磁片、磁碟或其它存儲裝置或媒體中刪

Quoted 1 line

除本信息。

A back trace or source code will help for debugging. Also please make sure to add the list when replying.

Thanks

Quoted 10 lines

Greg
________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、
轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下
錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。

________________________________
This information may contain confidential and/or privileged material and is only transmitted for the intended recipient. Any review, retransmission, conversion to hard copy, copying, reproduction, circulation, publication, dissemination or other use of, or taking of any action, or omission to take action, in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this message in error, please contact the sender and delete the material from any computer, disk drive, diskette, or other storage device or media. 本信息可能包括某些保密的資料,並且只發送給特定的收信人。禁止除特定收信人以外的其他任何人士或機構閱讀、轉發、列印、複製、傳閱、出版、散播或以其它方式使用本信息,或依賴本信息作出或不作出任何行為。如果閣下錯誤地收到本信息,請聯絡發信人並從任何電腦、磁片、磁碟或其它存儲裝置或媒體中刪除本信息。