Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2010 01:42:54 GMT
From:      Glen Barber <glen.j.barber@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142923: [panic] multimedia/video4bsd-kmod: panic on module load
Message-ID:  <201001180142.o0I1gsrv077986@www.freebsd.org>
Resent-Message-ID: <201001180150.o0I1o6j7022620@freefall.freebsd.org>

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

>Number:         142923
>Category:       ports
>Synopsis:       [panic] multimedia/video4bsd-kmod: panic on module load
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 18 01:50:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Glen Barber
>Release:        FreeBSD 8.0-STABLE r202534M
>Organization:
>Environment:
FreeBSD pegasus 8.0-STABLE FreeBSD 8.0-STABLE #2 r202534M: Sun Jan 17
19:27:54 EST 2010     root@pegasus:/usr/obj/usr/src/sys/PEGASUS  i386
>Description:
The multimedia/video4bsd-kmod kernel module causes panic on load, via kldload and loader.conf.

The machine runs stock GENERIC with debugging enabled.  The only source modification is the iwn(4) driver from CURRENT.

The following backtrace is transcribed from photographs of the console.  I can reproduce the panic if needed.


panic: lock (video4bsd) sx does not match earlier (sleep mutex) lock
cpuid = 1
KDB: enter: panic
[thread pid 3670 tid 100114 ]
Stopped at      kdb_enter+0x3a: movl    $0,kdb_why
db> bt
Tracing pid 3670 tid 100114 td 0xc773c240
kdb_enter(c0c9ad92,c0c9ad92,c0ca096b,f63669a4,1,...)at kdb_enter+0x3a
panic(c0c9ad92,c0c9ad92,c0ca096b,f63669a4,1,...) at panic+0x136
enroll(c08889cf,c0d8cac0,20,c7a94e20,d3af6b6d,...) at enroll+0x3d5
witness_init(d3af7234,d3af6b6d,c6d291a0) at witness_init+0x128
lock_init(d3af7234,c0d90cd0,d3af6b6d,0,320000) at lock_init+0x8c
sx_init_flags(d3af7234,d3af6b6d,0,0,0,...) at sx_init_flags+0xe0
v4b_init(0,0,c0c975d5,e4,0,...) at v4b_init+0x4b
linker_load_module(0,f6366c48,c0c975d5,3f7,0,...) at linker_load_module+0x9fa
kern_kldload(c773c240,c7870800,f6366c70,0,280d6ed4,...) at kern_kldload+0xca
kldload(c773c240,f6366cf8,4,c773c240,c0d88920,...) at kldload+0x74
syscall(f6366d38) at syscall+0x2f3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (304, FreeBSD ELF32, kldload), eip = 0x280d6edb, esp = 0xbfbfe7cc, ebp = 0xbfbfecb8 ---


>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001180142.o0I1gsrv077986>