Panic in propagate_priority() [5.3-BETA2]

Patrick Guelat pg at imp.ch
Wed Sep 1 23:32:53 PDT 2004


On Wed, 1 Sep 2004, Robert Watson wrote:

>> "rip" is the lock defined in netinet/raw_ip.c which is also used by the
>> netinet6/raw_ip6.c.
>
> A couple of questions:
>
> - Is this an SMP box?
> - Is PREEMPTION enabled on the box?
> - Are you using net.isr.enable=1 or debug.mpsafenet=1?

No PREEMPTION, more or less vanilla 5.3-BETA2 GENERIC, w/o
mpsafenet and net.isr.enable=0, UP machine (no SMP)

> Is WITNESS compiled into your kernel, and if so, when you drop to DDB from
> panic(), what does "show pcpu", "show locks", and "show locks 37"
> indicate?

db> show pcpu

cpu_id      = 0
curthread   = 0xc19c16c0: pid 37 "swi1: net"
curpcb      = 0xd53f1da0
fpcurthread = none
idlethread  = 0xc197b580: pid 11 "idle"
APIC ID     = 0
currentldt  = 0x68
spin  locks held:

db> show locks

exclusive sleep mutex rip r=1 (0xc079e70c) locked @ /usr/src53/sys/netinet6/raw_ip.c:255

db> show locks 37

exclusive sleep mutex rip r=1 (0xc079e70c) locked @ /usr/src53/sys/netinet6/raw_ip.c:255

-Patrick
--
Patrick Guélat, ImproWare AG Network Services, CH-4133 Pratteln
Mail: Patrick.Guelat at imp.ch - Phone: +41 61 826 93 00 (ext: 13)


More information about the freebsd-current mailing list