From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Backported sbxfi driver (UNTESTED!) Date: Thu, 23 Oct 2008 19:26:08 +0200 Message-ID: References: <48F739F4.5070303@nostalgicnetworxx.org> <48F74344.4090509@gmail.com> <5501535d0810220824o6b8bf427qd2c806783ec1e56f@mail.gmail.com> <5501535d0810220907p2102afc2t13e47ff5309c01bc@mail.gmail.com> <5501535d0810220924w66341ac6u4d4de4ed87243a7@mail.gmail.com> <48FF7E17.9080601@gmail.com> <5501535d0810230446j52de12aes885d066ea38cb240@mail.gmail.com> <4900659E.90809@jasonline.co.uk> <490071DC.6070607@jasonline.co.uk> <490088DC.7090205@jasonline.co.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 38B5B103905 for ; Thu, 23 Oct 2008 17:26:27 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Jason Harvey Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 23 Oct 2008 19:15:26 +0200, I wrote: > > At Thu, 23 Oct 2008 19:07:40 +0200, > I wrote: > > > > At Thu, 23 Oct 2008 15:23:24 +0100, > > Jason Harvey wrote: > > > > > > Takashi Iwai wrote: > > > > What is the last kernel message from sbxfi driver? > > > > Usually it prints some messages (as debug=1 as default). > > > > > > > > > > > > > > I applied the patch and when trying "mplayer wn.wav" I consistently get > > > the following message on the console > > > > > > PANIC: double fault, gdt at c13f6000 [255 bytes] > > > > > > nothing else, either reboots instantly or locks up. > > > > > > In case you might find it of use I modprobed at debug=3 and ran dmesg > > > before I ran mplayer. Output attached. > > > > Thanks. > > > > The last entries are: > > > > > SBXFI: Setting TLB buffer page 0x1daff000 > > > SBXFI: write(0) 0x13b004 = 0x1daff000 > > > SBXFI: write(0) 0x13b000 = 0x0 > > > > Hm, this smells like a buffer handling issue. > > > > I updated the sbxfi driver code now, added mutex around the code > > handling TLB pages. > > Please give it a try. > > Another patch to try is the one like below (on the top of the latest > code). Any change with this? One another thing I'm wondering is whether this happens only with OSS. What happens if you do like the following to disable the sample rate conversion? # echo mplayer 0 0 direct > /proc/asound/card0/pcm0p/oss Takashi