Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2006 21:01:30 +0200
From:      "Konstantin Dimitrov" <kosio.dimitrov@gmail.com>
To:        pyunyh@gmail.com, nikolas.britton@gmail.com
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Status of VIA Envy24 audio controller
Message-ID:  <8103ad500610291101l291c5e04xfc6874e4abda6f83@mail.gmail.com>
In-Reply-To: <20061028082147.GB44390@cdnetworks.co.kr>
References:  <200606072039.13422.shoesoft@gmx.net> <8103ad500607180035t50633780wbf585805464b8696@mail.gmail.com> <787520ee0607180732r6bcb1ae4h1591230d2db366a@mail.gmail.com> <200610111331.39605.lrntct@gmail.com> <8103ad500610111048v756778c6pcac4006746ec3f0a@mail.gmail.com> <ef10de9a0610280043x570c7b81tfd93a456038154fc@mail.gmail.com> <20061028082147.GB44390@cdnetworks.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
sorry for my late answer, i'm too busy, but today i had some free time to
look at the problems. the two described problems are different and not
related. here is the new working code:

for Envy24 (fix mutex problems on current and panic on verbose boot) :
http://envy24.svobodno.com/driver/envy24/current/envy24.c

for Envy24HT(fix mutex problems on current and panic on verbose boot, enable
vchans):
http://envy24.svobodno.com/driver/envy24ht/current/envy24ht.c
http://envy24.svobodno.com/driver/envy24ht/current/envy24ht.h

vchans support is now enabled in the Envy24HT code and hope it's working ok.

On 10/28/06, Pyun YongHyeon <pyunyh@gmail.com> wrote:
>
> On Sat, Oct 28, 2006 at 02:43:53AM -0500, Nikolas Britton wrote:
> > Hey Konstantin, I think I found a bug in the code. If I boot FreeBSD
> > with verbose logging the envy24 driver will panic the system during
> > the boot process. fatal trap 12, page fault, and something about
> > "envy24(play): setmap; xxxxx", I'd have to build a debug kernel etc.
> > if you want the full message and backtrace but this should be easy to
> > reproduce. I'm using envy24 sources from -CURRENT that I manually
> > MFC'd to FreeBSD 6.2-PRERELEASE. Oh... I'm using an M Audio Audiophile
> > 2496.
> >
>
> I saw the panic on envy24ht(4) too and sent a mail to Konstantin but
> got no reply yet. With WITNESS enabled kernel it shows several LORs
> and panicked due to use of recursed mutex(channel lock can't be
> acquired recursively). I guess correct fix could be done by moving
> buffer resizing code to channel_setblocksize method instead of
> channel_setformat method. Unfortunately I haven't have free time
> to investiage further due to msk(4) work and still have little time. :-(
>
> --
> Regards,
> Pyun YongHyeon
>



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