View Single Post
Old 05-13-10, 06:40 AM   #1
crsd
Registered User
 
Join Date: Jan 2008
Location: Russia, Krasnodar
Posts: 7
Post panics with 195.36.24

Hi,

I'm getting following panics with nvidia-driver 195.36.24 on 9.0-CURRENT r207995 amd64:

with debug.witness.watch=1 (reproducible on xorg-server start):

Code:
blockable sleep lock (sleep mutex) select mtxpool @ sys/kern/sys_generic.c:1479

db:0:kdb.enter.panic>  run lockinfo
db:1:lockinfo> show locks
db:1:locks>  show alllocks
Process 1509 (xdm) thread 0xffffff005da09000 (100218)
exclusive sx user map (user map) r = 0 (0xffffff005d564b68) locked @ /home/yuri/src/FreeBSD/head/sys/vm/vm_map.c:2991
db:1:alllocks>  show lockedvnods
Locked vnodes
db:0:kdb.enter.panic>  show pcpu
cpuid        = 3
dynamic pcpu    = 0xffffff807f3e8780
curthread    = 0xffffff005d9eeb40: pid 1511 "Xorg"
curpcb       = 0xffffff8058913d40
fpcurthread  = none
idlethread   = 0xffffff000340a780: pid 11 "idle: cpu3"
curpmap         = 0
tssp            = 0xffffffff80e8cc38
commontssp      = 0xffffffff80e8cc38
rsp0            = 0xffffff8058913d40
gs32p           = 0xffffffff80e8ba70
ldt             = 0xffffffff80e8bab0
tss             = 0xffffffff80e8baa0
spin locks held:
db:0:kdb.enter.panic>  bt
Tracing pid 1511 tid 100219 td 0xffffff005d9eeb40
kdb_enter() at kdb_enter+0x3d
panic() at panic+0x17b
witness_checkorder() at witness_checkorder+0x948
_mtx_lock_flags() at _mtx_lock_flags+0x78
selrecord() at selrecord+0x81
nvidia_dev_poll() at nvidia_dev_poll+0x57
devfs_poll_f() at devfs_poll_f+0x61
kern_select() at kern_select+0x4f2
select() at select+0x5d
syscall() at syscall+0x102
Xfast_syscall() at Xfast_syscall+0xe1
--- syscall (93, FreeBSD ELF64, select), rip = 0x8016c0ecc, rsp = 0x7fffffffe9e8, rbp = 0x6c2160 ---
with debug.witness.watch=0 (random):

Code:
mi_switch: switch in a critical section

db:0:kdb.enter.panic>  run lockinfo
db:1:lockinfo> show locks
db:1:locks>  show alllocks
db:1:alllocks>  show lockedvnods
Locked vnodes
db:0:kdb.enter.panic>  show pcpu
cpuid        = 2
dynamic pcpu    = 0xffffff807f3e1780
curthread    = 0xffffff0005db2000: pid 1518 "Xorg"
curpcb       = 0xffffff80588aad40
fpcurthread  = 0xffffff0005db2000: pid 1518 "Xorg"
idlethread   = 0xffffff000340a3c0: pid 11 "idle: cpu2"
curpmap         = 0
tssp            = 0xffffffff80e8cbd0
commontssp      = 0xffffffff80e8cbd0
rsp0            = 0xffffff80588aad40
gs32p           = 0xffffffff80e8ba08
ldt             = 0xffffffff80e8ba48
tss             = 0xffffffff80e8ba38
spin locks held:
db:0:kdb.enter.panic>  bt
Tracing pid 1518 tid 100198 td 0xffffff0005db2000
kdb_enter() at kdb_enter+0x3d
panic() at panic+0x17b
mi_switch() at mi_switch+0x341
turnstile_wait() at turnstile_wait+0x243
_mtx_lock_sleep() at _mtx_lock_sleep+0xd6
_mtx_lock_flags() at _mtx_lock_flags+0xe1
selrecord() at selrecord+0x81
nvidia_dev_poll() at nvidia_dev_poll+0x57
devfs_poll_f() at devfs_poll_f+0x61
kern_select() at kern_select+0x4f2
select() at select+0x5d
syscall() at syscall+0x102
Xfast_syscall() at Xfast_syscall+0xe1
--- syscall (93, FreeBSD ELF64, select), rip = 0x8016c0ecc, rsp = 0x7fffffffe9e8, rbp = 0x801c20cc0 ---
crsd is offline   Reply With Quote