Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2005 21:19:57 +0800
From:      Ariff Abdullah <skywizard@MyBSD.org.my>
To:        Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: [patch] calling mss_unlock() twice (causes kernel panic)
Message-ID:  <20051106211957.67ec42d5.skywizard@MyBSD.org.my>
In-Reply-To: <20051106124900.0941D24D2E@mail.asahi-net.or.jp>
References:  <20051106124900.0941D24D2E@mail.asahi-net.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 06 Nov 2005 21:48:46 +0900
Watanabe Kazuhiro <CQG00620@nifty.ne.jp> wrote:
> Hi, everyone.
> 
> I have an AOpen AW37Pro soundcard which uses the Crystal CX4235
> soundchip.
> 
> When I try to record on FreeBSD-7-current/i386 (CVSup'ed Nov. 5)
> with wavrec (a part of ports/audio/wavplay), it causes kernel panic.
> 
> panic: lock (sleep mutex) pcm2 not locked @
> /FreeBSD/FreeBSD-current/src/sys/modules/sound/driver/mss/../../../
> ../dev/sound/isa/mss.c:189 cpuid = 0
> KDB: enter: panic
> [thread pid 30 tid 100035 ]
> Stopped at      kdb_enter+0x2b: nop     
> db> trace
> Tracing pid 30 tid 100035 td 0xc21b4480
> kdb_enter(c086b04b) at kdb_enter+0x2b
> panic(c086f5f4,c0886f8e,c22d9860,c0acc397,bd) at panic+0x127
> witness_unlock(c22ef4c0,8,c0acc397,bd) at witness_unlock+0xc0
> _mtx_unlock_flags(c22ef4c0,0,c0acc397,bd,cbfefcd4) at
> _mtx_unlock_flags+0x5b
> mss_unlock(c231bd80,20983d18,c22ef440,c21cd880,0) at mss_unlock+0x17
> mss_intr(c2318b00) at mss_intr+0x129
> ithread_execute_handlers(c22e8000,c21cd880) at
> ithread_execute_handlers+0xe6
> ithread_loop(c22d9940,cbfefd38,c22d9940,c062cefc,0) at
> ithread_loop+0x67 fork_exit(c062cefc,c22d9940,cbfefd38) at
> fork_exit+0xa4 fork_trampoline() at fork_trampoline+0x8
> --- trap 0x1, eip = 0, esp = 0xcbfefd6c, ebp = 0 ---
> db>
> 
Oops.. that was really a typo. Thanks, I'll fix it.


--
Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)



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