Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 2010 18:52:18 +0530
From:      "Jayachandran C." <c.jayachandran@gmail.com>
To:        Luiz Otavio O Souza <lists.br@gmail.com>
Cc:        freebsd-mips@freebsd.org
Subject:   Re: Merging 64 bit changes to -HEAD
Message-ID:  <AANLkTimC0yCxUyu1ny4rk4yvqyWTziK_4ACyCn9dN1Fi@mail.gmail.com>
In-Reply-To: <D91359EE-D964-49F6-B123-4AB927D4632B@gmail.com>
References:  <AANLkTik8jFkB7FTIIhyjalkfv1c0yXqse57Jzz527uf_@mail.gmail.com> <897604F6-95C4-49A8-B11F-277A74C8DBAE@gmail.com> <AANLkTilfW_zOFKuIa0gJ3ahTo-vGC1VNk99a1H24uFRq@mail.gmail.com> <AANLkTil78NFxH016C7MntD8L3d4rFlCudJ0Lv22L0KCb@mail.gmail.com> <3C0AEF9B-AE0C-4459-A4E1-2C8C30C10FD6@gmail.com> <AANLkTint7Hyf79EH29OLsIfreQRd7dQMdvX9wRq4v_yG@mail.gmail.com> <C6D73C96-3640-4502-A9D7-B3597E37E80A@gmail.com> <AANLkTilQIqF4FCfgLdVcKdcsAUVjCmr89Lu0TEXUFdYN@mail.gmail.com> <25B9A19D-0A6B-4731-8FB1-A2C6722F0E9C@gmail.com> <AANLkTim_9-G6ZuA0vkpLeG4n4GVBpBlxhGBy_7eQoIM4@mail.gmail.com> <C1BD2512-8A48-4AB2-B9CA-C46DDCBE5256@gmail.com> <AANLkTimgyYggdDYchEfb3yskmA0PsttjVzkOSMaWFsjH@mail.gmail.com> <7886D15B-79BF-4BC6-8467-26A8D0FE3D00@gmail.com> <AANLkTinGkedtaE0EDUWaK-Csjiy1r5pIK5U9uKWTD_PS@mail.gmail.com> <AANLkTinY_RL3PGZ7UaLi16vitt_iag4MoWOImAe8JB06@mail.gmail.com> <22DAE480-DA7B-4C96-99B6-C87ADCD54C93@gmail.com> <AANLkTikWozkwANrvsWuwR66PEUic3FuIQFsU4iJ9fFgj@mail.gmail.com> <D91359EE-D964-49F6-B123-4AB927D4632B@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 2, 2010 at 6:24 PM, Luiz Otavio O Souza <lists.br@gmail.com> wr=
ote:
> On Jul 2, 2010, at 8:27 AM, Jayachandran C. wrote:
>> On Fri, Jul 2, 2010 at 4:34 PM, Luiz Otavio O Souza <lists.br@gmail.com>=
 wrote:
>>> On Jul 1, 2010, at 5:04 PM, Jayachandran C. wrote:
>>>>> Looks like I was on the wrong track, it now looks like the pagemask
>>>>> maybe the cause. =A0My suspicion is that the bootloader setups a
>>>>> pagemask and we never clear it because all the operations save and
>>>>> restore the mask. As far as I can see the TLB exception handler will
>>>>> not update pagemask.
>>>>>
>>>>> Juli - any comments on this? Do you need to save/restore pagemask for
>>>>> some reason, otherwise I will take out the part from tlb.c. =A0Will s=
end
>>>>> out a patch a bit later.
>>>>
>>>> Okay - here's hopefully the final patch. Let me know if it boots up.
>>>>
>>>> Thanks,
>>>> JC.
>>>> <tlb.c-pagemask-remove.diff>
>>>
>>> JC,
>>>
>>> This patch boots without any problem, thank you !
>>
>> At last! :) Thanks for testing. =A0Will get it approved, will check-in
>> later today, hopefully.
>>
>> JC.
>
> JC,
>
> Probably too early to talk...
>
> The buildworld is crashing with this backtrace: http://pastebin.com/1M9h1=
B1v
>
> The function at 8033ba14 is vm_pageout().
>
> Let me try a little bit with older kernels just to make sure.

Is this happening with -HEAD? If it was working before r209243, can
you update to r209243 apply the last patch I sent and see if the issue
is caused by the tlb.c changes.

But from the panic, it looks likely that this is caused by a later
change.  Sorry for the trouble, if the tlb.c changes caused this too,
I will revert it until I have a way of testing on AR71xx boards too.

Thanks
JC.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimC0yCxUyu1ny4rk4yvqyWTziK_4ACyCn9dN1Fi>