Page fault in IFNET_WLOCK_ASSERT [if.c and pccbb.c]

Robert N. M. Watson rwatson at freebsd.org
Mon Oct 12 13:46:06 UTC 2009


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


More information about the freebsd-current mailing list