Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2010 16:38:11 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-current@freebsd.org
Subject:   panic: lock (sleep mutex) ral0 not locked @ /usr/src/sys/dev/ral/rt2560.c:2011
Message-ID:  <20100727153810.GA47120@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
On amd64 r... I tried to plug in
pcmcia wireless ral(4) card.

The card is detected as:

ral0: <Ralink Technology RT2560> mem 0xb7fb0000-0xb7fb1fff irq 20 at device(
ral0: MAC/BBP RT2560 (rev 0x00), RF RT2522
ral0: [ITHREAD]

Then I get this panic:

ral0: could not read from BBP
ral0: timeout waiting for BBP
panic: lock (sleep mutex) ral0 not locked @ /usr/src/sys/dev/ral/rt2560.c:2011
cpuid = 0
KDB: enter: panic
[ thread pid 0 tid 100065 ]
Stopped at	kdb_enter+0x3d: movq	$0,0x755100(%rip)
db> bt
Tracing pid 0 tid 100065 td 0xffffff00026d7440
kdb_enter() at kdb_enter+0x3d
panic() at panic+0x17b
witness_unlock() at witness_unlock+0x297
_mtx_unlock_flags() at _mtx_unlock_flags+0x87
rt2560_ioctl() at rt2560_ioctl+0xbf
taskqueue_run() at taskqueue_run+0x63
taskqueue_thread_loop() at taskqueue_thread_loop+0x54
fork_exit() at fork_exit+0x12a
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffff803x1f5d30, rbp = 0 ---

many thanks
anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



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