Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 17:55:06 +1000
From:      Dmitry Panov <redfox@cserv.gts.khv.ru>
To:        freebsd-multimedia@freebsd.org
Cc:        lx@matey.org
Subject:   Re: aureal-kmod on fresh -current
Message-ID:  <20020220075506.GA552@cserv.gts.khv.ru>
In-Reply-To: <20020220015835.GA96546@cserv.gts.khv.ru>
References:  <20020220015835.GA96546@cserv.gts.khv.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
	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: <Aureal Vortex 8830> 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




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