Current-Users archive

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

Re: Pcmcia ne(4)/mii crash in -current



> On Jun 27, 2021, at 1:35 PM, Björn Johannesson <rherdware%yahoo.com@localhost> wrote:
> 
> Removing the card once it has been up and downed panics the kernel.
> 
> [ 1567.2547189] uvm_fault(0xc158f1e0, 0, 2) -> 0xe
> [ 1567.3087962] fatal page fault in supervisor mode
> [ 1567.3639110] trap type 6 code 0x2 eip 0xc011808e cs 0x8 eflags 0x10246 cr2 0 ilevel 0 esp 0xc0dc35da
> [ 1567.4731053] curlwp 0xc2329980 pid 0 lid 25 lowest kstack 0xd8a142c0
> kernel: supervisor trap page fault, code=0
> Stopped in pid 0.25 (system) at netbsd:mutex_enter+0xe: cmpxchgl %ecx,0(%
> edx)
> db{0}> bt
> mutex_enter(c23fba44,ffffffff,0,c23fb800,c23fb80c,c23fba44,d8a16ee0,c0590957,c23
> fba44,c23fb800) at netbsd:mutex_enter+0xe
> ifmedia_fini(c23fba44,c23fb800,c23c7200,d8a16f00,c0390c24,c23fb800,1,c2329980,c2

Oh, I see what’s happening here… ifmedia_fini() is being called twice.  Let me see if I can de-tangle this quickly.

-- thorpej



Home | Main Index | Thread Index | Old Index