Gergo Szakal wrote:
On Thu, 04 Jan 2007 17:13:25 +0000
"Thomas E. Spanjaard" <[EMAIL PROTECTED]> wrote:
Hmm, that trace on APICIO_1 is really the next few lines after the ifconfig output? Not something in between (use scroll lock and arrow-up to see)?
Nope, we have even avoided touching the keyboard.
At http://rnrdoctor.sytes.net/~szg/dfcrash/ there is the error that made me 
start the thread and it is very similar. :-)

Hmm. In net/bridge/if_bridge.c, kmalloc is called with just M_RNOWAIT, then it checks whether bif is NULL. This seems a bit bogus, because then it should rather use M_RNOWAIT|M_NULLOK. Even then, I don't see any problem in the code blocking here, why doesn't it use M_WAITOK instead?

Also, in kmem_slab_alloc, if I read things right, none of VM_ALLOC_NORMAL, VM_ALLOC_INTERRUPT and VM_ALLOC_SYSTEM are set, thereby triggering the KKASSERT in vm_page_alloc? Could you try just adjusting the kmalloc flags in if_bridge.c:bridge_ioctl_add() from M_RNOWAIT|M_ZERO to M_NOWAIT|M_ZERO?

Cheers,
--
        Thomas E. Spanjaard
        [EMAIL PROTECTED]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to