linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Mark Fortescue <mark@mtfhpc.demon.co.uk>
To: David Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org, linux-mm@kvack.org
Subject: Re: Sparc32 not working:2.6.23-rc1 (git commit 1e4dcd22efa7d24f637ab2ea3a77dd65774eb005)
Date: Sun, 29 Jul 2007 15:44:14 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0707291513190.30117@mtfhpc.demon.co.uk> (raw)
In-Reply-To: <Pine.LNX.4.61.0707291041380.30117@mtfhpc.demon.co.uk>

Hi David,

I have finally located where my NULL pointer is. The problem is that I 
have not got a clue how it is getting set to NULL.

In arch/sparc/mm/sun4c.c, add_ring_ordered, head->next is getting 
corrupted and is becoming a NULL pointer. This is ment to be a circular 
linked list so it should never be NULL.

The simple explenation, since nothing significant apears to have changed 
in sun4c.c, is that some change in mm/memory.c is wrong/incompatible with 
sun4c mmu. The problem is that all the kernels I tried to build around the 
changes to the mm code don't build on Sparc32 due to the DMA changes. This 
makes it more dificult to be cirtain of the cause of the corruption.

I am going to try to back out the mm/memory.c changes so that I can 
eliminate them as a cause.

Unless someone who understands the memory management code spots an error, 
this is not going to be easy to track down and fix.

Do you have any documentation on the sun4c mmu?

If not, I am going to have to create some diagrams/documentation as 
tralling through the code takes forever and gets very confusing. I am 
struggel to understand what tables have what in them for the sun4c mmu.

Regards
 	Mark Fortescue.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

       reply	other threads:[~2007-07-29 14:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.61.0707281903350.27869@mtfhpc.demon.co.uk>
     [not found] ` <20070728.224037.39158363.davem@davemloft.net>
     [not found]   ` <Pine.LNX.4.61.0707290856330.30117@mtfhpc.demon.co.uk>
     [not found]     ` <20070729.020554.104645494.davem@davemloft.net>
     [not found]       ` <Pine.LNX.4.61.0707291041380.30117@mtfhpc.demon.co.uk>
2007-07-29 14:44         ` Mark Fortescue [this message]
     [not found] ` <20070728234856.0fb78952.krzysztof.h1@wp.pl>
     [not found]   ` <20070729003855.1c5422ed.krzysztof.h1@wp.pl>
     [not found]     ` <Pine.LNX.4.61.0707290011300.28457@mtfhpc.demon.co.uk>
     [not found]       ` <20070729174535.9eb6d0aa.krzysztof.h1@wp.pl>
2007-07-29 18:26         ` Mark Fortescue
2007-07-29 20:56           ` Adrian Bunk
2007-07-29 22:01             ` Mark Fortescue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0707291513190.30117@mtfhpc.demon.co.uk \
    --to=mark@mtfhpc.demon.co.uk \
    --cc=davem@davemloft.net \
    --cc=linux-mm@kvack.org \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox