tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [ARM32] panic when sshd responding
Andy Shevchenko wrote:
> There are some debug messages:
>
> Lines with sp: ... mean enter to sosend_loan(), where sp - space,
> [len] - len, se - sva, eva pair, and last number is a npgs.
> Lines with size: ... mean enter to sodoloanfree(), where size - size,
> [len] - len, se - sva, eva pair, and last number is a npgs.
>
> mycounter value shows amount of loops inside sosend_loan().
> Lines with mc... mean processing after have_data: mark, where mc -
> mycounter, len - len, sp - space, resid - resid.
>
> FOR WORKED CASE
> ...
> mycounter: 1
> sp: 4608[8192] se: 0x2064c000-0x2064e000 = 2
> pmap_kenter_pa: va 0x82e28000, pa 0x838df000, prot 0x1
> pmap_kenter_pa: va 0x82e29000, pa 0x839b0000, prot 0x1
> mc: 2 len: 4608 sp: 0 resid: 5503
> size: 4608[8192] se: 0x82e28000-0x82e2a000 = 2
> mycounter: 2
> sp: 4608[8192] se: 0x2064d000-0x2064f000 = 2
> pmap_kenter_pa: va 0x82e28000, pa 0x839b0000, prot 0x1
> pmap_kenter_pa: va 0x82e29000, pa 0x838b5000, prot 0x1
> mc: 3 len: 4608 sp: 0 resid: 895
> size: 4608[8192] se: 0x82e28000-0x82e2a000 = 2
> mycounter: 3
> mc: 4 len: 895 sp: 3713 resid: 0
> ...
>
> FOR PANIC
> ...
> mycounter: 1
> sp: 4608[8192] se: 0x2064c000-0x2064e000 = 2
> pmap_kenter_pa: va 0x82e28000, pa 0x8394a000, prot 0x1
> pmap_kenter_pa: va 0x82e29000, pa 0x839a5000, prot 0x1
> mc: 2 len: 4608 sp: 0 resid: 5503
> mycounter: 2
> sp: 4608[8192] se: 0x2064d000-0x2064f000 = 2
> pmap_kenter_pa: va 0x82e3e000, pa 0x839a5000, prot 0x1
> panic: kernel diagnostic assertion "(pg->mdpage.pvh_attrs &
> PVF_KENTRY) == 0" failed: file
> "/home/andy/prj/netbsd/netbsd-dev/sys/arch/arm/arm32/pmap.c", line
> 3097
>
> Obviously the one PA has been mapped to several VAs and reused without
> flushing.
> But the problem very similar to PR/34243.
>
Interesting that in the second case there's no size: line, so I assme
it's not called sodoloanfree.
Any chance of the diff you used to get this output?
Thanks,
Chris
Home |
Main Index |
Thread Index |
Old Index