From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 27 07:09:01 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 65F7E16A419 for ; Fri, 27 Jul 2007 07:09:01 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.com) Received: from mx2.gfk.ru (mx2.gfk.ru [84.21.231.139]) by mx1.freebsd.org (Postfix) with ESMTP id 1E0AD13C48D for ; Fri, 27 Jul 2007 07:08:59 +0000 (UTC) (envelope-from Yuriy.Tsibizov@gfk.com) Received: from ex.hhp.local by mx2.gfk.ru (MDaemon PRO v9.6.0) with ESMTP id md50000257982.msg for ; Fri, 27 Jul 2007 11:07:18 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 27 Jul 2007 11:09:26 +0400 Message-ID: <78664C02FF341B4FAC63E561846E3BCC0EE1D1@ex.hhp.local> In-Reply-To: <632825b40707260717p1e7b7e16la12bb57d4f654306@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: snd_emu10k1 mixer thread-index: AcfPk2FXlS+EMpqWQ8KFIajgoCDqvQAhV9wA References: <632825b40707251632w6a9451a3s10ece43057821c5c@mail.gmail.com><20070726120332.zu87z36f5wggo0o4@webmail.leidinger.net><632825b40707260508n45ff0054y7040e8cacc749c18@mail.gmail.com><20070726152417.sodvo9nr8pccocwo@webmail.leidinger.net> <632825b40707260717p1e7b7e16la12bb57d4f654306@mail.gmail.com> From: "Yuriy Tsibizov" To: "William Grzybowski" X-Spam-Processed: mx2.gfk.ru, Fri, 27 Jul 2007 11:07:18 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 10.0.0.30 X-Return-Path: Yuriy.Tsibizov@gfk.com X-Envelope-From: Yuriy.Tsibizov@gfk.com X-MDaemon-Deliver-To: multimedia@freebsd.org X-MDAV-Processed: mx2.gfk.ru, Fri, 27 Jul 2007 11:07:18 +0400 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: Fri, 27 Jul 2007 07:09:01 -0000 > > >>> I upgraded my desktop computer from 6.2-stable to=20 > 7.0-currentyesterday. > > >>> I'm experiencing a little problema with the sound=20 > driver snd_emu10k1, > > it > > >>> loads and plays fine, but i can't control the=20 > 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=20 > 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=20 > debugging). We > > don't need all the numbers from the backtrace, as a start=20 > it would be > > enough to just know about the function names which are printed. >=20 >=20 >=20 > 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=3D-g", enabled=20 > dumpdev and > dumpdir. > When the system boots i load the module with snd_emu10kx and=20 > it happens when > i try to do a sysctl -a command, >=20 > 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'=20 > on kgdb, let me > know if i did something wrong. >=20 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=3D/dev/null) , and try to reproduce your problems with this kernel. Yuriy.