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

Re: [rtl] Exception 0xe?



On Fri, 23 Feb 2001, Michael Barabanov wrote:

> Christopher D. Carothers (chrisc@cs.rpi.edu) wrote:
> > 	Hi. Does anyone know what exception 0xe is?? rtl_debug is catching
> > it. It comes about when I increase the amount of memory in my RT
> > application. I am allocating an array that is 8 MB. This exception is not
> > generated if I used say 1K of RAM for the array.  My system is a dual
> > P-II, running 2.4.1 linux and rtlinux-3.0.

And how do you allocate that memory? vmalloc? Then you should touch all the
pages (for example write 0 to the first byte of every page) before you use
this memory in RT. THIS IS IMPORTANT AND OVERLOOKED ! I am talking here about
kernel space vmalloc.

> Exception 0xe is a memory fault. Could you please post the code that
> generates it?

--
Tomek