PPC exception 0x320
SGksDQpJIGVuY291bnRlcmVkIFBQQyBleGNlcHRpb24gMHgzMjAsIGJ1dCBkb24ndCBrbm93IHdo YXQgaXQgZm9yLiBBbnkgb25lIGNvdWxkIGhlbHAgbWUgb24gdGhpcz8NClRoYW5rcyENCiAJCQkJ DQoNCqGhoaGhoaGhoaGhoaGhoaFqZWFud2VsbHkNCqGhoaGhoaGhoaGhoaGhoaFqZWFud2VsbHlA MTI2LmNvbQ0KoaGhoaGhoaGhoaGhoaGhoaGhoaEyMDA2LTA0LTI0DQo=
Could you try to be more specific? What processor do you have, what =20 linux version are you running, and what do you mean exactly when you =20 say you "encountered PPC exception 0x320"? As far as I know, the =20 powerpc architecture does not define an exception 0x320. 0x300 is =20 usually DSI on classic powerpc parts. BookE parts handle things =20 differently.
Thanks,
-Becky
Quoted 7 lines · jeanwelly
Hi,
I encountered PPC exception0x320, but don't know what it for. Any =20 one could help me on this?
Thanks!
=09=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
jeanwelly
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
=E3=80=80=E3=80=802006-04-24
Quoted 4 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
SGkgQmVja3kgQnJ1Y2UsDQpJJ20gdXNpbmcgUFBDIDc1MC4uLiBKdXN0IGFzIHlvdSBzYWlkLCAw eDMwMCBpcyBmb3IgRFNJLCBhbmQgSSBndWVzcyB0aGV5IGFyZSBhIHNldCBvZiBleGNlcHRpb25z LCBub3QganVzdCBvbmUuIEFuZCAweDMyMCBpcyBvbmUgb2YgdGhlbS4NCkkgZ290IGEgYm9hcmQg Y3Jhc2gsIGFuZCBQUEMgYWxhcm1lZ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hoaGhoaFqZWFud2VsbHlAMTI2LmNvbQ0KPj4goaGhoaGhoaGhoaGhoaGhoaGh oaEyMDA2LTA0LTI0DQo+PiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fXw0KPj4gTGludXhwcGMtZW1iZWRkZWQgbWFpbGluZyBsaXN0DQo+PiBMaW51eHBwYy1l bWJlZGRlZEBvemxhYnMub3JnDQo+PiBodHRwczovL296bGFicy5vcmcvbWFpbG1hbi9saXN0aW5m by9saW51eHBwYy1lbWJlZGRlZA0KPg0KPg0KPi4NCg0KPSA9ID0gPSA9ID0gPSA9ID0gPSA9ID0g PSA9ID0gPSA9ID0gPSA9DQoJCQkNCg0KoaGhoaGhoaGhoaGhoaGhodbCDQrA8aOhDQogDQoJCQkJ IA0KoaGhoaGhoaGhoaGhoaGhoWplYW53ZWxseQ0KoaGhoaGhoaGhoaGhoaGhoWplYW53ZWxseUAx MjYuY29tDQqhoaGhoaGhoaGhoaGhoaGhoaGhoTIwMDYtMDQtMjUNCg0K
Is there some error message you can show me?
-B
Quoted 9 lines · jeanwelly
Hi Becky Bruce,
I'm using PPC 750... Just as you said,0x300is for DSI, and I =20 guess they are a set of exceptions, not just one. And0x320is one =20 of them.
I got a board crash, and PPC alarmed exception0x320. Could you =20 show me the mechanism of handling of a special exception not one set. =09=3D=3D=3D=3D=3D=3D=3D 2006-04-25 02:53:35 =
=E6=82=A8=E5=9C=A8=E6=9D=A5=E4=BF=A1=E4=B8=AD=E5=86=99=E9=81=93=EF=BC=9A=3D= =3D=3D=3D=3D=3D=3D
Quoted 13 lines
Quoted 13 lines
Could you try to be more specific? What processor do you have, what linux version are you running, and what do you mean exactly when you say you "encountered PPC exception
0x320"? As far as I know, the powerpc architecture does not define an exception0x320.0x300is usually DSI on classic powerpc parts. BookE parts handle things differently.Thanks,
-BeckyOn Apr 24, 2006, at 8:51 AM, jeanwelly wrote:
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Hi,
I encountered PPC exception0x320, but don't know what it for. Any one could help me on this?
Thanks!
=09=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
jeanwelly
Quoted 1 line
Quoted 1 line
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
Quoted 1 line
Quoted 1 line
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
=E3=80=80=E3=80=802006-04-24
Quoted 9 lines
Quoted 7 lines
Quoted 4 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded.
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D
Quoted 3 lines
=09=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
=E8=87=B4
Quoted 4 lines
=E7=A4=BC=EF=BC=81
=09=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
jeanwelly
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
=E3=80=80=E3=80=802006-04-25
Quoted 1 line
SGkgQmVja3kgQnJ1Y2UsDQpTb3JyeSBmb3IgbGF0ZSByZXNwb25zZS4gSSBnb3QgbWFpbCB0cmFm ZmljLi4uDQoNCkkgZW5jb3VudGVyZWQgdGhlIGV4Y2VwdGlvbiAweDMyMCB3aGljaCBjYXVzZWQg dGhlIFBQQyBjYXJkIGNyYXNoLiBCYXNlZCBvbiBteSB1bmRlcnN0YW5kaW5nLCBJIHRoaW5rIGV4 Y2VwdGlvbiBpcyBhIE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DEyNi5jb20NCj4+Pj4goaGh oaGhoaGhoaGhoaGhoaGhoaEyMDA2LTA0LTI0DQo+Pj4+IF9fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fDQo+Pj4+IExpbnV4cHBjLWVtYmVkZGVkIG1haWxpbmcg bGlzdA0KPj4+PiBMaW51eHBwYy1lbWJlZGRlZEBvemxhYnMub3JnDQo+Pj4+IGh0dHBzOi8vb3ps YWJzLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2xpbnV4cHBjLWVtYmVkZGVkDQo+Pj4NCj4+Pg0KPj4+ IC4NCj4+DQo+PiA9ID0gPSA9ID0gPSA9ID0gPSA9ID0gPSA9ID0gPSA9ID0gPSA9ID0NCj4+IAkJ CQ0KPj4NCj4+IKGhoaGhoaGhoaGhoaGhoaHWwg0KPj4gwPGjoQ0KPj4NCj4+IAkJCQkNCj4+IKGh oaGhoaGhoaGhoaGhoaFqZWFud2VsbHkNCj4+IKGhoaGhoaGhoaGhoaGhoaFqZWFud2VsbHlAMTI2 LmNvbQ0KPj4goaGhoaGhoaGhoaGhoaGhoaGhoaEyMDA2LTA0LTI1DQo+Pg0KPg0KPg0KPi4NCg0K PSA9ID0gPSA9ID0gPSA9ID0gPSA9ID0gPSA9ID0gPSA9ID0gPSA9DQoJCQkNCg0KoaGhoaGhoaGh oaGhoaGhodbCDQrA8aOhDQogDQoJCQkJIA0KoaGhoaGhoaGhoaGhoaGhoWplYW53ZWxseQ0KoaGh oaGhoaGhoaGhoaGhoWplYW53ZWxseUAxMjYuY29tDQqhoaGhoaGhoaGhoaGhoaGhoaGhoTIwMDYt MDUtMjkNCg0K
Jeanwelly,
I'd really like to help you here, but you still haven't explained =20 what you mean by "PPC alarmed exception 0x320". Since there is no =20 such exception that I'm aware of on the 750, I'm trying very hard to =20 figure out what you mean, and it's impossible for me to do that =20
without more information from you. I need to know exactly what it =20
is that you're seeing in order to help you. If the kernel is =20 printing out a message, please include the *entire message* in your =20 email.
Are you getting a message that says "Bad trap at PC: ....."?
A quick mini-tutorial on PPC exceptions: Whenever hardware detects =20 an exception condition, the hardware starts executing at a vector =20 location for that particular exception. On the PPC 750, these =20 exception vectors are, for the most part, aligned at multiples of =20 0x100. There is a list of exception vectors and their associated =20 causes in Table 4.2 of the User's manual (see below for a URL). Some =20=
exceptions are caused by software, and others, like the Decrementer =20 Interrupt, are generated by the hardware itself. There is often more =20 than one way to cause a particular exception.
For example, a DSI exception can be caused by a miss in the hardware =20 page table, or by a load to a direct-store segment, among other =20 things. *All* of these events will result in running the exception =20 vector starting at 0x300 because all of these conditions cause a =20 DSI. Although there are multiple causes for DSI, they all go to the =20 same vector address. The system software at that address must use =20 methods described in the user's manual to determine what kind of DSI =20 exception has occurred so it can handle the fault.
While the hardware detects the exception, it is the job of the system =20=
software to handle it. The User's manual for a processor will list =20 the events that hardware will detect and cause an exception. You =20 have to look at your system software source code to figure out if =20 your operating system supports a given exception. In Linux, this =20 code is mostly in arch/ppc/head.S and arch/ppc/traps.c.
You can get a copy of the 750 User's Manual at:
http://www.freescale.com/files/32bit/doc/ref_manual/MPC750UM.pdf
The exception information is in Chapter 4.
Cheers,
Becky
Quoted 12 lines · jeanwelly
Hi Becky Bruce,
Sorry for late response. I got mail traffic...I encountered the exception
0x320which caused the PPC card crash. =20 Based on my understanding, I think exception is a HW behaviour, so =20 I guess there maybe exist some reference on all the supported =20 exceptions of some version of PPC. Do you know this?My system take that exception as an "unknown exception" and crash =20 the card. So, I think the exception is from the PPC CPU, but don't =20 the concrete meanings.
Quoted 22 lines
Appreciate your suggestions.
---
Jeanwelly----------------------------------------
Quoted 16 lines
Is there some error message you can show me?
-B
Quoted 10 lines · jeanwelly
Hi Becky Bruce,
I'm using PPC 750... Just as you said,0x300is for DSI, and I guess they are a set of exceptions, not just one. And0x320is one of them.
I got a board crash, and PPC alarmed exception0x320. Could you show me the mechanism of handling of a special exception not one =20 set.
=09=3D=3D=3D=3D=3D=3D=3D 2006-04-25 02:53:35 =
=E6=82=A8=E5=9C=A8=E6=9D=A5=E4=BF=A1=E4=B8=AD=E5=86=99=E9=81=93=EF=BC=9A=3D= =3D=3D=3D=3D=3D=3D
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Quoted 16 lines
Could you try to be more specific? What processor do you have, =20 what
linux version are you running, and what do you mean exactly when =20=you
say you "encountered PPC exception0x320"? As far as I know, the powerpc architecture does not define an exception0x320.0x300is usually DSI on classic powerpc parts. BookE parts handle things differently.Thanks,
-BeckyOn Apr 24, 2006, at 8:51 AM, jeanwelly wrote:
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Hi,
I encountered PPC exception0x320, but don't know what it for. Any one could help me on this?
Thanks!
=09=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=
=80jeanwelly
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=
=80=E3=80=80=E3=80=802006-04-24
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 7 lines
Quoted 4 lines
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded.
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D =3D
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
=09=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
=E8=87=B4
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
=E7=A4=BC=EF=BC=81
=09=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
jeanwelly
Quoted 1 line
Quoted 1 line
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
Quoted 1 line
Quoted 1 line
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
=E3=80=80=E3=80=802006-04-25
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
.
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D
Quoted 3 lines
=09=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
=E8=87=B4
Quoted 4 lines
=E7=A4=BC=EF=BC=81
=09=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
jeanwelly
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
Quoted 1 line
=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80=
=E3=80=80=E3=80=802006-05-29