From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 30 13:37:43 2007 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB97516A421 for ; Mon, 30 Jul 2007 13:37:43 +0000 (UTC) (envelope-from william88@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 9112113C4B4 for ; Mon, 30 Jul 2007 13:37:43 +0000 (UTC) (envelope-from william88@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1657102waf for ; Mon, 30 Jul 2007 06:37:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=TmeGg8aWnGUGb/5VFWqYzVA7tXo7F+MfNK/eLNZGz6TsywrizFqveowCfS9IkNWYbhRPy7lqrLOyX/AVcd/uEFzMGLyKcgELSiDsS8B4/QYukP+vSiUiwcN11MVPRUc7DyabR7dAX+6/ytVad/67hLfFnaQn8aPnyVWh1+Ozh9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=YIsGSTLKbaoBmr6JTVPm+VVLM4umqb+7RL+em6MeyX2waP9Pw3oC0DY5NZ67qG2qjOmy5m8RLDvvLJatcAse7AUCQOPQ0ejLhByprPPf1NVJGe6XkulKeBjbDPZIvrJPwbk4gABXLY/aKu/6434kNEWgca7n3m+cGAgxaLDJ8Mc= Received: by 10.114.153.18 with SMTP id a18mr5574472wae.1185802663214; Mon, 30 Jul 2007 06:37:43 -0700 (PDT) Received: by 10.115.106.9 with HTTP; Mon, 30 Jul 2007 06:37:43 -0700 (PDT) Message-ID: <632825b40707300637s78fa11a1l281764057b561489@mail.gmail.com> Date: Mon, 30 Jul 2007 10:37:43 -0300 From: "William Grzybowski" To: "Yuriy Tsibizov" In-Reply-To: <78664C02FF341B4FAC63E561846E3BCC0EE1D1@ex.hhp.local> MIME-Version: 1.0 References: <632825b40707251632w6a9451a3s10ece43057821c5c@mail.gmail.com> <20070726120332.zu87z36f5wggo0o4@webmail.leidinger.net> <632825b40707260508n45ff0054y7040e8cacc749c18@mail.gmail.com> <20070726152417.sodvo9nr8pccocwo@webmail.leidinger.net> <632825b40707260717p1e7b7e16la12bb57d4f654306@mail.gmail.com> <78664C02FF341B4FAC63E561846E3BCC0EE1D1@ex.hhp.local> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Alexander Leidinger , multimedia@freebsd.org Subject: Re: snd_emu10k1 mixer 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: Mon, 30 Jul 2007 13:37:43 -0000 On 7/27/07, Yuriy Tsibizov wrote: > > > > >>> I upgraded my desktop computer from 6.2-stable to > > 7.0-currentyesterday. > > > >>> I'm experiencing a little problema with the sound > > driver snd_emu10k1, > > > it > > > >>> loads and plays fine, but i can't control the > > volume/pcm/line/mic > > > using > > > >>> aumix/xmixer or any other program to control the hardware mixer. > > > >> > > > >> Try emu10kx instead of emu10k1. > > > > I tried to load the snd_emu10kx but i got kernel trap > > message when i try > > > to > > > > execute 'sysctl' and the system goes down > > > > > > Please post this panic message to multimedia@freebsd.org. It would > > > also be good if you compile with debug options and generate a > > > backtrace (the handbook contains a chapter about kernel > > debugging). We > > > don't need all the numbers from the backtrace, as a start > > it would be > > > enough to just know about the function names which are printed. > > > > > > > > Ok, I tried to do that, i don't know if I did right, my first time :) > > I compiled the module emu10kx using "make COPTS=-g", enabled > > dumpdev and > > dumpdir. > > When the system boots i load the module with snd_emu10kx and > > it happens when > > i try to do a sysctl -a command, > > > > After reboot it saved the dump to /var/crash/vmdump.0, so i used kgdb > > kernel.debug /var/crash/vmdump.0 and the command 'backtrace' > > on kgdb, let me > > know if i did something wrong. > > > > Hm... > 0) make shure you don't have sound.ko from 6.2 loaded into 7.0 kernel. > 1) make shure that you don't have emu10kx driver from ports installed, > use emu10kx from CVS > 2) If you use emu10kx from CVS, do you load it from loader.conf or > kldload it later? > 3) If you load it from loader.conf, try to disable it in loader.conf and > kldload it later and report any changes (crashed / not crashed) > 4) save your sound.ko > 5) Try to build sound.ko with > http://chibis.persons.gfk.ru/audigy/midi-patch applied. report any > changes (crashed / not crashed). > 7) restore your sound.ko (or revert that patch and rebuild sound.ko) > 7) Try to build snd_emu10kx.ko with patch7 from > http://chibis.persons.gfk.ru/audigy/ and report any changes (crashed / > not crashed) > 8) If you stll have problems after 7) and use custom kernel > configuration file or custom /etc/make.conf or custom /etc/src.conf -- > please send them to me. I'll also need small info about your card, > dmesg|grep emu10kx will be enough. > 9) If you use custom kernel or make.conf, you can also try to build > GENERIC kernel with empty make.conf (make buildkernel > __MAKE_CONF=/dev/null) , and try to reproduce your problems with this > kernel. My mistake, i had snd_emu10k1_load="YES" in my loader.conf, before load snd_emu10kx i was kldunloading snd_emu10k1, if i remove emu10k1 from loader.conf and just load emu10kx it works, Thanks and sry for inconveniency Yuriy. > > -- William Grzybowski ------------------------------------------ Jabber: william88 at gmail dot com Msn: william.grz at hotmail dot com Curitiba/PR