On Wed, May 17, 2000 at 11:44:48AM -0400, Rabeeh Khoury wrote:
> After that I see no read requests over the NFS for the rest of the
> files. Where can I debug the following (I use only printk's) :
> 1.. Paging mechanism, I need to check if the kernel reaches this point
> by requesting pages.
arch/mips/mm/init.c:do_page_fault().
> 2.. Schedular mechanism, I need to see if the kernel tries to run the
> new thread.
kernel/sched.c:schedule().
> Can anyone explain to me how the paging mechanism runs ? who actually
> calls it ? does it use the one of the software interrupts in the CPU ?
Nothing uses the software interrupts in the CPU.
In you case the paging mechanism is triggered by the TLB faults.
> If it is possible to give me a pinpoint of functions that I can use to
> debug and not only the name of the file.
>
> Do you have any suggestion for approaches to solve this problem ?
>
> For developing this embedded system I used things like in kernel 2.0.34,
> like defining mips_memory_upper=0x81000000 for 16MByte system, should I
> do anything special for the pages or any other memory initializations ?
>
> What does the memory controller in SGI boards do ? What the file
> arch/mips/sgi/kernel/indy_mc.c do ?
>
> Where can I get latest version of kernel 2.2 ? I tried at
> oss.sgi.com/pub/linux/mips/src/kernel/v2.2 but the directory is empty !
Get it from the anonymous CVS archive, the branch tag is ``linux_2_2''.
Ralf
|