From owner-freebsd-multimedia Tue Feb 19 23:56:47 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from cserv.gts.khv.ru (cserv.gts.khv.ru [212.19.26.2]) by hub.freebsd.org (Postfix) with ESMTP id 270E537B402 for ; Tue, 19 Feb 2002 23:56:43 -0800 (PST) Received: (from redfox@localhost) by cserv.gts.khv.ru (8.11.3/Mag-2.0/Beta6) id g1K7t6w00724; Wed, 20 Feb 2002 17:55:06 +1000 (VLAT) Date: Wed, 20 Feb 2002 17:55:06 +1000 From: Dmitry Panov To: freebsd-multimedia@freebsd.org Cc: lx@matey.org Subject: Re: aureal-kmod on fresh -current Message-ID: <20020220075506.GA552@cserv.gts.khv.ru> Reply-To: -redfox-@mail.ru References: <20020220015835.GA96546@cserv.gts.khv.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20020220015835.GA96546@cserv.gts.khv.ru> User-Agent: Mutt/1.3.27i Organization: Twilight Zone X-Operating-System: FreeBSD 4.4-STABLE X-Disclaimer: Listen, and thou shall not fear. X-Posting-Date: Wed Feb 20 17:28:09 VLAT 2002 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Greetings, Dmitry Panov! On Wed, Feb 20, 2002 at 11:58:35 +1000, You wrote: > I'm failed to build aureal-kmod on today's -current. > Does anyone get same? (on -stable build fine) > cc -O -pipe -DMCLoadBySet=1 -march=k6 -I/var/tmp/usr/ports/audio/aureal-kmod/work -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I/var/tmp/usr/ports/audio/aureal-kmod/work -I. -I@ -I@/dev -I@/../include -I/usr/include -fno-common -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /var/tmp/usr/ports/audio/aureal-kmod/work/au88x0.c > /var/tmp/usr/ports/audio/aureal-kmod/work/au88x0.c:949: sizeof applied to an incomplete type > *** Error code 1 Whooops! Fix for build is a simple (attached). But with my via kt133-based mobo I get lockup after several seconds after start play some sound with this kernel messages: == Feb 20 15:32:05 onyx kernel: pcm0: port 0x8800-0x8807,0x9000-0x9007 mem 0xde000000-0xde03ffff irq 10 at device 10.0 on pci0 Feb 20 16:06:06 onyx kernel: lock order reversal Feb 20 16:06:06 onyx kernel: 1st 0xc6a83f00 pcm0:play:0 @ /usr/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:191 Feb 20 16:06:07 onyx kernel: 2nd 0xc69d9c00 pcm0 @ /usr/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:134 Feb 20 16:06:07 onyx kernel: lock order reversal Feb 20 16:06:07 onyx kernel: 1st 0xc6a83e80 pcm0:play:1 @ /usr/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:191 Feb 20 16:06:07 onyx kernel: 2nd 0xc69d9c00 pcm0 @ /usr/src/sys/modules/sound/pcm/../../../dev/sound/pcm/sound.c:134 == May be register hack helps? For win2k I use this fix: change register value at offset 0x40 from 0x80 (usually) to 0xFF. (of course, it's a register at au8830 card) I'm not a friend with C and register programming and need helps with this problem. (sorry for bad english) /WBR, Dmitry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message