From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 1 03:06:42 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 125F916A420 for ; Sat, 1 Apr 2006 03:06:42 +0000 (UTC) (envelope-from nicholson.robert@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFE2A43D46 for ; Sat, 1 Apr 2006 03:06:40 +0000 (GMT) (envelope-from nicholson.robert@gmail.com) Received: by wproxy.gmail.com with SMTP id 67so1023780wri for ; Fri, 31 Mar 2006 19:06:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uqMfqHxBGGMpiNADZsnctwyLDsNs9oc/YYBfEATATptOdFPP63HqAUJnbs60Vis59VnFt11VjTGAXmMyf1npMMuJ77F8m62E42H3mnLBGgBOqxIgnMbowoHFTFPf1laL3NUbZ0Qf/T4YX0KXB85/MmzovSUMwYS0doH28r9pIE4= Received: by 10.65.183.6 with SMTP id k6mr515872qbp; Fri, 31 Mar 2006 19:06:40 -0800 (PST) Received: by 10.65.74.19 with HTTP; Fri, 31 Mar 2006 19:06:40 -0800 (PST) Message-ID: <7e1fa8c0603311906n420554dh7354376ce844d072@mail.gmail.com> Date: Sat, 1 Apr 2006 11:06:40 +0800 From: "Robert Nicholson" To: "Rong-En Fan" In-Reply-To: <6eb82e0603291958vbea1ca3g82d40e32531b68e8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6eb82e0603282051j65496dcbr536a2d6f6478e774@mail.gmail.com> <20060329133529.66e18afa.ariff@FreeBSD.org> <6eb82e0603291714y3271eca5l927d15c177d7d61f@mail.gmail.com> <20060330114130.610aa707.ariff@FreeBSD.org> <6eb82e0603291958vbea1ca3g82d40e32531b68e8@mail.gmail.com> Cc: freebsd-multimedia@freebsd.org, Ariff Abdullah Subject: Re: skype sound problem X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2006 03:06:42 -0000 Hi Ariff, I tried the same too. I replaced dsp.c and sound.c with versions from your site. However when I compile the kernel, I get the following: ---------------------------------------------------------------------------= ----------------------------- =3D=3D=3D> sound (all) =3D=3D=3D> sound/sound (all) cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/CUSTKERNEL/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common=20 -I/usr/obj/usr/src/sys/CUSTKERNEL -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -c ac97_if.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/CUSTKERNEL/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common=20 -I/usr/obj/usr/src/sys/CUSTKERNEL -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -c channel_if.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/CUSTKERNEL/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common=20 -I/usr/obj/usr/src/sys/CUSTKERNEL -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -c feeder_if.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/CUSTKERNEL/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common=20 -I/usr/obj/usr/src/sys/CUSTKERNEL -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -c mixer_if.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/CUSTKERNEL/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common=20 -I/usr/obj/usr/src/sys/CUSTKERNEL -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -c /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/CUSTKERNEL/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common=20 -I/usr/obj/usr/src/sys/CUSTKERNEL -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -c /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/ac97_patch.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/CUSTKERNEL/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common=20 -I/usr/obj/usr/src/sys/CUSTKERNEL -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -c /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/buffer.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/CUSTKERNEL/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common=20 -I/usr/obj/usr/src/sys/CUSTKERNEL -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -c /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/channel.c cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/CUSTKERNEL/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=3D8000 -fno-common=20 -I/usr/obj/usr/src/sys/CUSTKERNEL -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -c /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c: In function `dsp_open': /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:237: warning: passing arg 2 of `pcm_chnalloc' makes integer from pointer without a cast /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:237: error: too many arguments to function `pcm_chnalloc' /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:237: warning: assignment makes integer from pointer without a cast /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:239: warning: passing arg 2 of `pcm_chnalloc' makes integer from pointer without a cast /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:239: error: too many arguments to function `pcm_chnalloc' /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:239: warning: assignment makes integer from pointer without a cast /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:261: warning: passing arg 2 of `pcm_chnalloc' makes integer from pointer without a cast /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:261: error: too many arguments to function `pcm_chnalloc' /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:261: warning: assignment makes integer from pointer without a cast /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:263: warning: passing arg 2 of `pcm_chnalloc' makes integer from pointer without a cast /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:263: error: too many arguments to function `pcm_chnalloc' /usr/src/sys/modules/sound/sound/../../../dev/sound/pcm/dsp.c:263: warning: assignment makes integer from pointer without a cast *** Error code 1 Stop in /usr/src/sys/modules/sound/sound. *** Error code 1 Stop in /usr/src/sys/modules/sound. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/CUSTKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ------------------------------------------------------------------------- My kernel config is the same as the one I sent you earlier with the addition of the statement that you told me to add: options PREEMPTION. Please tell me how to solve this. I have already updated my sources to their latest versions before I tried this. Regards, Michael. On 3/30/06, Rong-En Fan wrote: > On 3/29/06, Ariff Abdullah wrote: > > On Wed, 29 Mar 2006 20:14:08 -0500 > > "Rong-En Fan" wrote: > > > On 3/29/06, Ariff Abdullah wrote: > > > > On Tue, 28 Mar 2006 23:51:45 -0500 > > > > This is a known issue (at least, for me). > > > > > > > > Update your src (at least for sys/dev/sound/pcm), and apply this > > > > patch: > > > > > > > > http://people.freebsd.org/~ariff/test/sound.c.diff > > > > > > Hi, > > > > > > I have updated my -current to March 29, apply the patch above. > > > However, it does not solve my problem. > > > > > Gahh.. baka baka.. accidentally committed unnecessary debugging part. > > > > Replace your sys/dev/sound/pcm/dsp.c with this one: > > > > http://people.freebsd.org/~ariff/test/dsp.c > > > > You still need that sound.c fix. > > > > Sorry. > > Thanks! Now my skype works well. I dont need to reboot after > skype is used :-) > > Thanks, > Rong-En fan > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org" >