Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: new emap & kernel diagnostic assertion "ci->ci_ilevel < IPL_IPI" failed



Hello,

Nicolas Joly <njoly%pasteur.fr@localhost> wrote:
>
> panic: kernel diagnostic assertion "ci->ci_ilevel < IPL_IPI" failed:
> file "/local/src/NetBSD/src/sys/arch/x86/x86/pmap.c", line 2657
> 
> ...
> 
> db{0}> bt
> breakpoint() at netbsd:breakpoint+0x5
> panic() at netbsd:panic+0x29a
> __kernassert() at netbsd:__kernassert+0x2d
> pmap_load() at netbsd:pmap_load+0x25e
> pmap_emap_sync() at netbsd:pmap_emap_sync+0x4d
> uvm_emap_switch() at netbsd:uvm_emap_switch+0x66
> mi_switch() at netbsd:mi_switch+0x1cf
> ...
>
> Unfortunately, i did not get a dump yet ...
> 
> Any idea ? Thanks.

While mi_switch() remains on IPL_SCHED, cpu_switchto() in x86 increases
the level to IPL_HIGH, and thus pmap_load() after fails on this assert.

It does not look that this assert is correct. Will investigate later.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index