回复: System crash

宋浅禹 songqianyu at countrygarden.com.cn
Mon Sep 14 08:10:10 CEST 2020


Thanks for your help¡£

·¢ËÍ×Ô Windows 10 °æÓʼþ<https://go.microsoft.com/fwlink/?LinkId=550986>Ó¦ÓÃ



·¢¼þÈË: Meng, Fino<mailto:fino.meng at intel.com>
·¢ËÍʱ¼ä: 2020Äê9ÔÂ14ÈÕ 13:36
ÊÕ¼þÈË: ËÎdzÓí<mailto:songqianyu at countrygarden.com.cn>; Greg Gallagher<mailto:greg at embeddedgreg.com>
³­ËÍ: Xenomai (xenomai at xenomai.org)<mailto:xenomai at xenomai.org>
Ö÷Ìâ: 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 ¨C IOTG Developer Enabling

>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>Ó¦ÓÃ
>
>·¢¼þÈË: ËÎdzÓí<mailto:songqianyu at countrygarden.com.cn>
>·¢ËÍʱ¼ä: 2020Äê9ÔÂ14ÈÕ 11:33
>ÊÕ¼þÈË: Greg Gallagher<mailto:greg at embeddedgreg.com>; xenomai at xenomai.org<mailto:xenomai at xenomai.org>
>Ö÷Ìâ: »Ø¸´: System crash
>
>
>Thanks!
>
>Is there some tools can help me to trace?
>
>
>
>·¢ËÍ×Ô Windows 10 °æÓʼþ<https://go.microsoft.com/fwlink/?LinkId=550986>Ó¦ÓÃ
>
>
>
>·¢¼þÈË: Greg Gallagher<mailto:greg at embeddedgreg.com>
>·¢ËÍʱ¼ä: 2020Äê9ÔÂ14ÈÕ 11:32
>ÊÕ¼þÈË: ËÎdzÓí<mailto:songqianyu at countrygarden.com.cn>; Xenomai at xenomai.org<mailto:xenomai at xenomai.org>
>Ö÷Ìâ: Re: System crash
>
>
>
>On Sun, Sep 13, 2020 at 11:30 PM ËÎdzÓí <songqianyu at countrygarden.com.cn> wrote:
>>
>> I am sorry, x86
>>
>>
>>
>> ·¢ËÍ×Ô Windows 10 °æÓʼþÓ¦ÓÃ
>>
>>
>>
>> ·¢¼þÈË: Greg Gallagher
>> ·¢ËÍʱ¼ä: 2020Äê9ÔÂ14ÈÕ 11:30
>> ÊÕ¼þÈË: ËÎdzÓí; Xenomai at xenomai.org
>> Ö÷Ìâ: Re: System crash
>>
>>
>>
>> On Sun, Sep 13, 2020 at 11:28 PM ËÎdzÓí <songqianyu at countrygarden.com.cn> wrote:
>> >
>> > 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
>> > ÊÕ¼þÈË: ËÎdzÓí
>> > ³­ËÍ: xenomai at xenomai.org
>> > Ö÷Ìâ: Re: System crash
>> >
>> >
>> >
>> > On Sun, Sep 13, 2020 at 11:17 PM ËÎdzÓí via Xenomai <xenomai at xenomai.org> wrote:
>> > >
>> > > 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.
>> > > ±¾ÐÅÏ¢¿ÉÄÜ°üÀ¨Ä³Ð©±£ÃܵÄÙYÁÏ£¬KÇÒÖ»°lËͽoÌض¨µÄÊÕÐÅÈË¡£½ûÖ¹³ýÌض¨ÊÕÐÅÈËÒÔÍâµÄÆäËûÈκÎÈËÊ¿»ò™C˜‹
>é†×x¡¢ÞD°l¡¢ÁÐÓ¡¡¢Ñ}Ñu¡¢‚÷醡¢³ö°æ¡¢
>> > > É¢²¥»òÒÔÆäËü·½Ê½Ê¹Óñ¾ÐÅÏ¢£¬»òÒÀÙ‡±¾ÐÅÏ¢×÷³ö»ò²»×÷³öÈκÎÐО顣Èç¹ûéwÏÂåeÕ`µØÊÕµ½±¾ÐÅÏ¢£¬ÕˆÂ“½j°l
>ÐÅÈˁKÄÈκÎëŠÄX¡¢´ÅƬ¡¢´Åµú»òÆäËü´æ
>> > > ƒ¦ÑbÖûòýówÖЄh³ý±¾ÐÅÏ¢¡£
>> >
>> > 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.
>> > ±¾ÐÅÏ¢¿ÉÄÜ°üÀ¨Ä³Ð©±£ÃܵÄÙYÁÏ£¬KÇÒÖ»°lËͽoÌض¨µÄÊÕÐÅÈË¡£½ûÖ¹³ýÌض¨ÊÕÐÅÈËÒÔÍâµÄÆäËûÈκÎÈËÊ¿»ò™C˜‹
>é†×x¡¢ÞD°l¡¢ÁÐÓ¡¡¢Ñ}Ñu¡¢‚÷醡¢³ö°æ¡¢É¢²¥
>> > »òÒÔÆäËü·½Ê½Ê¹Óñ¾ÐÅÏ¢£¬»òÒÀÙ‡±¾ÐÅÏ¢×÷³ö»ò²»×÷³öÈκÎÐО顣Èç¹ûéwÏÂåeÕ`µØÊÕµ½±¾ÐÅÏ¢£¬ÕˆÂ“½j°lÐÅÈË
>KÄÈκÎëŠÄX¡¢´ÅƬ¡¢´Åµú»òÆäËü´æƒ¦ÑbÖûò
>> > ýówÖЄh³ý±¾ÐÅÏ¢¡£
>> 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.
>> ±¾ÐÅÏ¢¿ÉÄÜ°üÀ¨Ä³Ð©±£ÃܵÄÙYÁÏ£¬KÇÒÖ»°lËͽoÌض¨µÄÊÕÐÅÈË¡£½ûÖ¹³ýÌض¨ÊÕÐÅÈËÒÔÍâµÄÆäËûÈκÎÈËÊ¿»ò™C˜‹é†
>×x¡¢ÞD°l¡¢ÁÐÓ¡¡¢Ñ}Ñu¡¢‚÷醡¢³ö°æ¡¢É¢²¥»òÒÔ
>> ÆäËü·½Ê½Ê¹Óñ¾ÐÅÏ¢£¬»òÒÀÙ‡±¾ÐÅÏ¢×÷³ö»ò²»×÷³öÈκÎÐО顣Èç¹ûéwÏÂåeÕ`µØÊÕµ½±¾ÐÅÏ¢£¬ÕˆÂ“½j°lÐÅÈˁKÄÈÎ
>ºÎëŠÄX¡¢´ÅƬ¡¢´Åµú»òÆäËü´æƒ¦ÑbÖûòýówÖЄh
>> ³ý±¾ÐÅÏ¢¡£
>
>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.
>±¾ÐÅÏ¢¿ÉÄÜ°üÀ¨Ä³Ð©±£ÃܵÄÙYÁÏ£¬KÇÒÖ»°lËͽoÌض¨µÄÊÕÐÅÈË¡£½ûÖ¹³ýÌض¨ÊÕÐÅÈËÒÔÍâµÄÆäËûÈκÎÈËÊ¿»ò™C˜‹é†×x¡¢
>ÞD°l¡¢ÁÐÓ¡¡¢Ñ}Ñu¡¢‚÷醡¢³ö°æ¡¢É¢²¥»òÒÔÆäËü·½Ê½Ê¹Óñ¾ÐÅÏ¢£¬»òÒÀÙ‡±¾ÐÅÏ¢×÷³ö»ò²»×÷³öÈκÎÐО顣Èç¹ûéwÏÂ
>åeÕ`µØÊÕµ½±¾ÐÅÏ¢£¬ÕˆÂ“½j°lÐÅÈˁKÄÈκÎëŠÄX¡¢´ÅƬ¡¢´Åµú»òÆäËü´æƒ¦ÑbÖûòýówÖЄh³ý±¾ÐÅÏ¢¡£
________________________________
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.
±¾ÐÅÏ¢¿ÉÄÜ°üÀ¨Ä³Ð©±£ÃܵÄÙYÁÏ£¬KÇÒÖ»°lËͽoÌض¨µÄÊÕÐÅÈË¡£½ûÖ¹³ýÌض¨ÊÕÐÅÈËÒÔÍâµÄÆäËûÈκÎÈËÊ¿»ò™C˜‹é†×x¡¢ÞD°l¡¢ÁÐÓ¡¡¢Ñ}Ñu¡¢‚÷醡¢³ö°æ¡¢É¢²¥»òÒÔÆäËü·½Ê½Ê¹Óñ¾ÐÅÏ¢£¬»òÒÀÙ‡±¾ÐÅÏ¢×÷³ö»ò²»×÷³öÈκÎÐО顣Èç¹ûéwÏÂåeÕ`µØÊÕµ½±¾ÐÅÏ¢£¬ÕˆÂ“½j°lÐÅÈˁKÄÈκÎëŠÄX¡¢´ÅƬ¡¢´Åµú»òÆäËü´æƒ¦ÑbÖûòýówÖЄh³ý±¾ÐÅÏ¢¡£


More information about the Xenomai mailing list