LOR between dont_sleep_in_callout and allproc and a panic: trap: data access error (x2)

From: Koop Mast <kwm_at_rainbow-runner.nl>
Date: Sat, 06 Dec 2003 19:32:14 +0100
Hi I'm seeing the panic's below on my Ultra10 Sparc64 machine.
With a kernel from 24 Nov and a kernel from today.

FreeBSD sparkel.rainbow-runner.nl 5.2-BETA FreeBSD 5.2-BETA #29: Sat
Dec  6 17:39:00 CET 2003    
root_at_sparkel.rainbow-runner.nl:/usr/obj/usr/src/sys/SeaLion  sparc64

acd0: CDRW <CRD-8322B> at ata3-master PIO4
lock order reversal
 1st 0xc0366c10 dont_sleep_in_callout (dont_sleep_in_callout) _at_
/usr/src/sys/kern/kern_timeout.c:223
 2nd 0xc0365598 allproc (allproc) _at_ /usr/src/sys/kern/sched_4bsd.c:257
Stack backtrace:
_sx_slock() at _sx_slock+0xa8
schedcpu() at schedcpu+0x38
softclock() at softclock+0x1c4
ithread_loop() at ithread_loop+0x1b8
fork_exit() at fork_exit+0x88
fork_trampoline() at fork_trampoline+0x8
Expensive timeout(9) function: 0xc0131320(0) 0.433188102 s
Mounting root from ufs:/dev/ad0a

And the Panic:

panic: trap: data access error
Debugger("panic")
Stopped at      Debugger+0x1c:  ta              %xcc, 1
db> trace
panic() at panic+0xf0
trap() at trap+0x3bc
-- data access error %o7=0xc014562c --
ufs_vnoperate() at ufs_vnoperate+0x18
vn_write_suspend_wait() at vn_write_suspend_wait+0x34
ufs_inactive() at ufs_inactive+0x1cc
ufs_vnoperate() at ufs_vnoperate+0x1c
vrele() at vrele+0x12c
vn_close() at vn_close+0x64
vn_closefile() at vn_closefile+0x1c
fdrop_locked() at fdrop_locked+0x134
fdrop() at fdrop+0x20
closef() at closef+0x1f8
close() at close+0x168
syscall() at syscall+0x308
-- syscall (6, FreeBSD ELF64, close) %o7=0x191d24 --
userland() at 0x195448
user trace: trap %o7=0x191d24
pc 0x195448, sp 0x7fdffffc8d1
pc 0x18974c, sp 0x7fdffffc991
pc 0x14fb64, sp 0x7fdffffca51
pc 0x14fb48, sp 0x7fdffffcb11
pc 0x14fd00, sp 0x7fdffffcbd1
pc 0x14dc94, sp 0x7fdffffcd11
pc 0x1094e8, sp 0x7fdffffcdd1
pc 0x10110c, sp 0x7fdffffce91
pc 0x1072c0, sp 0x7fdffffcf51
pc 0x1098f0, sp 0x7fdffffd011
pc 0x109ab0, sp 0x7fdffffd0e1
pc 0x10e138, sp 0x7fdffffd1a1
pc 0x10ec14, sp 0x7fdffffd271
pc 0x111b6c, sp 0x7fdffffd341
pc 0x1164bc, sp 0x7fdffffd411
pc 0x1001e0, sp 0x7fdffffd4e1
pc 0, sp 0x7fdffffd5a1
done
db>

and

panic: trap: data access error
Debugger("panic")
Stopped at      Debugger+0x1c:  ta              %xcc, 1
db> trace
panic() at panic+0xf0
trap() at trap+0x3bc
-- data access error %o7=0xc0122e04 --
cpu_switch() at cpu_switch+0xa0
sched_switch() at sched_switch+0xb0
mi_switch() at mi_switch+0x1ec
idle_proc() at idle_proc+0x74
fork_exit() at fork_exit+0x88
fork_trampoline() at fork_trampoline+0x8

Thanks,

-Koop
Received on Sat Dec 06 2003 - 09:32:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC