Re: 5.2-BETA dsp.c duplicate lock

2003-12-02 Thread Mathew Kanner
On Dec 02, Mathew Kanner wrote: > On Dec 01, Maxime Henrion wrote: > [snip] > I believe that your patch should fix the problem. In general > I see one of three strategies, > > 1)Your patch, > 2)create a new snd_mtxcreate_chan for channels that sets the > flags DUP_OK. > 3)Fix lo

Re: 5.2-BETA dsp.c duplicate lock

2003-12-02 Thread Mathew Kanner
On Dec 01, Maxime Henrion wrote: > Mathew Kanner wrote: > [patch ripped] > > > > Maxime, > > I think it would be better to isolate the changes (DUP_OK flag > > and lock creation) to just the channel code, no need to touch every > > driver. > > Yes, but to do this I'd need either to make t

Re: 5.2-BETA dsp.c duplicate lock

2003-12-02 Thread Jesse Guardiani
Maxime Henrion wrote: > Mathew Kanner wrote: > [patch ripped] >> >> Maxime, >> I think it would be better to isolate the changes (DUP_OK flag >> and lock creation) to just the channel code, no need to touch every >> driver. > > Yes, but to do this I'd need either to make the channel code use > m

Re: 5.2-BETA dsp.c duplicate lock

2003-12-01 Thread Maxime Henrion
Mathew Kanner wrote: [patch ripped] > > Maxime, > I think it would be better to isolate the changes (DUP_OK flag > and lock creation) to just the channel code, no need to touch every > driver. Yes, but to do this I'd need either to make the channel code use mtx_init() directly, which

Re: 5.2-BETA dsp.c duplicate lock

2003-12-01 Thread Mathew Kanner
On Dec 01, Maxime Henrion wrote: > Jesse Guardiani wrote: > > Jesse Guardiani wrote: > Index: isa/ad1816.c > === > RCS file: /space2/ncvs/src/sys/dev/sound/isa/ad1816.c,v > retrieving revision 1.29 > diff -u -p -r1.29 ad1816.c > --- i

Re: 5.2-BETA dsp.c duplicate lock

2003-12-01 Thread Maxime Henrion
Jesse Guardiani wrote: > Jesse Guardiani wrote: > > > I get this every time I `startx`. I didn't see it in > > the archive either: > > > > > > acquiring duplicate lock of same type: "pcm channel" > > 1st pcm0:record:0 @ /usr/src/sys/d

Re: 5.2-BETA dsp.c duplicate lock

2003-12-01 Thread Jesse Guardiani
Jesse Guardiani wrote: > I get this every time I `startx`. I didn't see it in > the archive either: > > > acquiring duplicate lock of same type: "pcm channel" > 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/dsp.c:144 > 2nd pcm0:virtual:0 @ /usr/src

5.2-BETA dsp.c duplicate lock

2003-11-27 Thread Jesse Guardiani
I get this every time I `startx`. I didn't see it in the archive either: acquiring duplicate lock of same type: "pcm channel" 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/dsp.c:144 2nd pcm0:virtual:0 @ /usr/src/sys/dev/sound/pcm/dsp.c:146 Stack backtrace: backtrace(c089b7e5,c3

Re: pcm channel duplicate lock

2003-02-07 Thread The Anarcat
ing2 while having xmms playing: acquiring duplicate lock of same type: "pcm channel" 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 2nd pcm0:play:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 Debugger("witness_lock") Stopped at Debugger+0x5a: xchgl %ebx,in

pcm channel duplicate lock

2003-02-06 Thread Lars Eggert
Got thsi when opening gnomemeeting2 while having xmms playing: acquiring duplicate lock of same type: "pcm channel" 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 2nd pcm0:play:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 Debugger("witness_lock") Stopped at D

Re: acquiring duplicate lock of same type: "system map"

2003-01-25 Thread Alan L. Cox
Kris Kennaway wrote: > > bento found the following about 5 minutes after I upgraded it to 5.0. > > acquiring duplicate lock of same type: "system map" > 1st system map @ ../../../vm/vm_map.c:2168 > 2nd system map @ ../../../vm/vm_kern.c:325 Thanks for the stack

Re: acquiring duplicate lock of same type: "system map"

2003-01-25 Thread Kris Kennaway
On Sat, Jan 25, 2003 at 12:59:25PM -0600, Alan L. Cox wrote: > Kris Kennaway wrote: > > > > bento found the following about 5 minutes after I upgraded it to 5.0. > > > > acquiring duplicate lock of same type: "system map" > > 1st system map @ ..

acquiring duplicate lock of same type: "system map"

2003-01-24 Thread Kris Kennaway
bento found the following about 5 minutes after I upgraded it to 5.0. acquiring duplicate lock of same type: "system map" 1st system map @ ../../../vm/vm_map.c:2168 2nd system map @ ../../../vm/vm_kern.c:325 Debugger("witness_lock") Stopped at Debugger+0x55: xchgl %

Re: acquiring duplicate lock of same type: "pcm channel"

2002-12-13 Thread cameron grant
--On 01 December 2002 10:26 +0100 Marc Recht <[EMAIL PROTECTED]> wrote: Hi! I'm seeing this lately: acquiring duplicate lock of same type: "pcm channel" 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 2nd pcm0:play:0 @ /usr/src/sys/dev/sound/pcm/sound.c:

acquiring duplicate lock of same type: "pcm channel"

2002-12-01 Thread Marc Recht
Hi! I'm seeing this lately: acquiring duplicate lock of same type: "pcm channel" 1st pcm0:record:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 2nd pcm0:play:0 @ /usr/src/sys/dev/sound/pcm/sound.c:191 "$FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.80 2002/11/26 18:16:27 cg Exp

Re: duplicate lock

2002-11-11 Thread Jens Rehsack
make sure it isn't the cause? Samba disable, rebooted, error didn't happens again. Samba started by hand, 'duplicate lock ...' error displays. Jens -- L i W W W i Jens Rehsack LW W W L i W W W W i nnnL

Re: duplicate lock

2002-11-11 Thread David W. Chapman Jr.
> searching archive yields this thread. > > > > 'Subject: /usr/src/sys/netinet/udp_usrreq.c:290' > > > > looks like I'm not the only one seeing this. > > This happens on my test machine directly after samba starts ... Can you disable samba from starting just to make sure it isn't the cause? T

Re: duplicate lock

2002-11-07 Thread Lars Eggert
Joel M. Baldwin wrote: acquiring duplicate lock of same type: "inp" 1st inp @ ../../../netinet/udp_usrreq.c:290 2nd inp @ ../../../netinet/udp_usrreq.c:290 I get this every tims samba starts. Jeffery Hsu stated that its benign. Lars -- Lars Eggert <[EMAIL PROTECTED]>

Re: duplicate lock

2002-11-07 Thread Jens Rehsack
Joel M. Baldwin wrote: FreeBSD outel.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Nov 7 05:13:19 PST 2002 [EMAIL PROTECTED]:/disk2/usr.src/sys/i386/compile/testGeneric.nonsmp i386 acquiring duplicate lock of same type: "inp" 1st inp @ ../../../netinet/udp_usrreq.c:2

duplicate lock

2002-11-07 Thread Joel M. Baldwin
FreeBSD outel.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Nov 7 05:13:19 PST 2002 [EMAIL PROTECTED]:/disk2/usr.src/sys/i386/compile/testGeneric.nonsmp i386 acquiring duplicate lock of same type: "inp" 1st inp @ ../../../netinet/udp_usrreq.c:290 2nd inp @ ../../../netinet/udp_us

acquiring duplicate lock of same type

2002-03-26 Thread John Hay
I have seen these messages on my slow 266MHz dual Pentium II machine with a kernel build with source from after Matt and Jake's commits. Is there anyone interrested in it? It happened while doing a cvs -q update -PAd. acquiring duplicate lock of same type: "PCPU KNOTE" 1s

duplicate lock message on boot

2002-03-15 Thread Munehiro Matsuda
Hi All, Has anybody seen this message before? CPU: Pentium III/Pentium III Xeon/Celeron (595.58-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff real memory = 134152192 (131008K bytes) avail memory = 125829120 (122880K bytes) acquiring dupl