Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2009 14:46:03 +0100
From:      "Robert N. M. Watson" <rwatson@freebsd.org>
To:        Harsha <inpcb.harsha@gmail.com>
Cc:        freebsd-current@freebsd.org, net@freebsd.org
Subject:   Re: Page fault in IFNET_WLOCK_ASSERT [if.c and pccbb.c]
Message-ID:  <FE5F0845-B909-4B9B-A999-DAA7D8F4E56D@freebsd.org>
In-Reply-To: <e1b1c5880910112138x1b46ff0eo39c10691a978c164@mail.gmail.com>
References:  <e1b1c5880910111226o65e0d1a9va975f4cd837271bb@mail.gmail.com> <alpine.BSF.2.00.0910112126050.48605@fledge.watson.org> <e1b1c5880910112138x1b46ff0eo39c10691a978c164@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12 Oct 2009, at 05:38, Harsha wrote:

> Thanks a lot for the clarification.
>
> I had assumed that the lock was non-sleepable looking at this log -
> Kernel page fault with the following non-sleepable locks held:
> exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xc0f63464) locked @
> /usr/src/sys/net/if.c:409

Looks like a NULL pointer dereference, so perhaps a more traditional  
bug -- could you convert ifindex_alloc_locked+0x71 to a line of code?  
You can do this using kgdb on the kernel symbols file, perhaps "l  
*ifindex_alloc_locked+0x71".

Robert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE5F0845-B909-4B9B-A999-DAA7D8F4E56D>