[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] crash of PetaLinux RC3 (kernel 2.6)



Hi, 

Your user application should not use the IRQ, so I suppose it is the kernel
driver.

I had a similar experience that the xemac driver causing the crashing.
Tracing from pc register is quite hard, better started with driver itself,
add a few printk and see if you can locate the violation part. 

Cheers
Xin 

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of Brettschneider
Falk
Sent: Friday, 12 October 2007 11:32 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: [microblaze-uclinux] crash of PetaLinux RC3 (kernel 2.6)

Hi,
my user application which is heavily IRQ-driven kills Linux after a few
minutes anywhere. The same one is rock-stable when using it with kernel-2.4.

I wanted to know where it crashed, so, in a first attempt, I did:
 xmd
 xload mhs system.mhs
 connect mb mdm
 rrd pc
and can see it's 0x80001f2c. Next I checked the file linux-2.6.x/System.map
and it's within restore_context which is at 0x80001ebc. The offset is 28
bytes, so I suspect it crashed at "lwi r12, r1, PT_R12".
I do use the latest patches known from this thread
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2007/07/msg00
027.html.

Do you have an idea what to do now?

Cheers, F@lk

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/