From: Mark Fortescue <mark@mtfhpc.demon.co.uk>
To: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: sparclinux@vger.kernel.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org
Subject: Re: Sparc32 not working:2.6.23-rc1 (git commit 1e4dcd22efa7d24f637ab2ea3a77dd65774eb005)
Date: Sun, 29 Jul 2007 19:26:29 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.61.0707291900010.31211@mtfhpc.demon.co.uk> (raw)
In-Reply-To: <20070729174535.9eb6d0aa.krzysztof.h1@wp.pl>
On Sun, 29 Jul 2007, Krzysztof Helt wrote:
> On Sun, 29 Jul 2007 00:21:06 +0100 (BST)
> Mark Fortescue <mark@mtfhpc.demon.co.uk> wrote:
>
>> Hi Krzysztof,
>>
>> There have been lots of changes to the DMA system (git bisect is not
>> viable form my working 2.6.22 kernel as the dma changes kill the build for
>> over half the posible commits to check). It could be a side effect of
>> these changes.
>>
>
> It is not DMA I suppose. It does not happen in any specific place. It is easy to trigger by loading
> and unloading the sunlance module, but it hangs linux in other places (init process, console login).
>
> It happens only in SMP. If it happens in the sunlance module it happens in sparc_lance_probe_one()
> (in probing function). I thought it is due to openprom accesses so I commented them out (and put
> hardcoded values there). No real change. It is always in the probe_one method before any DMA is
> started.
>
> Sometimes it drops me to the prom prompt. I am not very experienced so I was able only to find (ctrace) that
> the prompt was called in the method spwin_bad_ustack_from_kernel() which got there from mna_handler
> (misaligned access) through kernel_unaligned_trap(). I don't know which function triggered the
> unaligned access. The %o register values sent to the kernel_unaligned_trap() are outside addresses
> from System.map and outside addresses of loaded (or just loaded the sunlance) modules.
>
> This is where I need help. How can I find where the misaligned access happened?
>
The is a memory corruption issue on Sparc32 - sun4c (I am going to try and
track it done over the next few days). It sounds like it may affect more
than just sun4c issue.
Try going back to v2.6.22 and then appling
f61698e6489f229f9fcfe29e68f228389a772993 - memset.S error,
196bffa5dc3181897bd32e41415ec0db8dbab5e7 - entry.S delay loops,
f3c681c028846bd5d39f563909409832a295ca69 - Serial Console Locking
(My last working kernel is v2.6.22 Commit
eb6bf6bfb580afaf1e1a1d30cba17a078530cf4 with the first of the above two
patches applied and some additional ones that fix verious sun
partition/UFS filing sustem issues).
I am going to try to cherry pick a set of commits to see if I can't get a
better idear of where the memory corruption on sun4c is coming from. Build
problems sue to the DMA changes make git bisecting un-usable untill I have
found out which patches fix the DMA build issues.
> Regards,
> Krzysztof
> -
> To unsubscribe from this list: send the line "unsubscribe sparclinux" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
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>
next prev parent reply other threads:[~2007-07-29 18:26 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
[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 [this message]
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.0707291900010.31211@mtfhpc.demon.co.uk \
--to=mark@mtfhpc.demon.co.uk \
--cc=krzysztof.h1@wp.pl \
--cc=linux-kernel@vger.kernel.org \
--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