[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] System hangs with I-cache enabled
Hi,
I have built the uclinux kernel from the latest source and am running it
on the XUP board using the reference design with caches enabled. Whenever
I enable the I-cache in the kernel, the system hangs after a short period
(at most a few minutes). In particular, an almost certain way to hang it
is to do an NFS transfer, though the problem occurs even with NFS
disabled. XMD reports that the pipeline is stalled at a random PC. The
problem occurs consistently regardless of other hardware or kernel features.
Before I go on a lengthy debugging journey, I would like to know whether
this is a known problem or whether there is a simple explanation. The only
possible explanation I see is that the I-cache is inconsistent with main
memory; however, this seems unlikely since the kernel flushes the I-cache
when necessary. Also, I added full flushes in several places, including in
the scheduler. Adding printfs to the scheduler seemed to help, so perhaps
there is a race condition. I can provide additional information or debug
output if necessary.
Thanks,
Alex
___________________________
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/