linux-mips
[Top] [All Lists]

Re: Linux port failing on MIPS32 24Kc

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: Linux port failing on MIPS32 24Kc
From: joe seb <joe.seb8@gmail.com>
Date: Wed, 8 Jul 2009 18:17:42 +0530
Cc: linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=mE8YPKcI5aEevLLsMRTN7gj/2kNftjBnhhb/6nOz8YI=; b=nXDPwrumP3YogLI5zIC5nTsFOTjQ8onx/3wo6LVExa/4NFfmHgQdfK0NfBAKA9QGbK sb/3OCgP+a2cSPSeDj/dEEraBJXsirhSkGxjfotU19NUHR8T6PpBMBknU28xehvaNZGU hjc9flul9Ng1FZKy/eE7GpaesPRccNcSzyAHI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YRZZJSHf4n6b5pMs2HAqAiR70wYaO9QegYeNA4Jr9zQI0Y6HG2AlZByM+GtomhkQPa TIbLh9UhCIGtxs2rn9s8jWloNvJ8YX1YAaygHzBhODBNYgsSZrGHnXlhGbzl+K6xgd8M b3Ro7hSGrjff3gPNHkzCG1owUDXtdKhFjy52M=
In-reply-to: <20090708103756.GB22308@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4f9abdc70907080107t28fdac03h86b834a60806fb10@mail.gmail.com> <20090708103756.GB22308@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
Hi,

We made the following changes and tried,

-> applied the patch given by you.
-> changed the PHYS_OFFSET to 0x10000000 to match our memory offset.
-> cache write back mode enabled

Still we face the same problem. It crashes at different points when it enters the user space. I have attached one of the logs.

But in cache write through mode it works.

One comment about the patch, it tries to change the start of the valid pfn range from ARCH_PFN_OFFSET to min_low_pfn.
But in bootmem_init() present in arch/mips/kernel/setup.c, line 324,
min_low_pfn = ARCH_PFN_OFFSET;

So appears like the previous pfn_valid check was also doing something similar. Correct me if I am wrong.

Regards,
Joe





Attachment: log_1
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>