From: Takashi Iwai Subject: Re: Problems with snd_hda_intel in Linux kernel 2.6.38 Date: Wed, 30 Mar 2011 12:59:12 +0200 Message-ID: References: <1301394280.3906.29.camel@s1499.it.kth.se> <1301396296.32453.1.camel@s1499.it.kth.se> <1301480744.21366.110.camel@hp.my.own.domain> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 37DE0243D5 for ; Wed, 30 Mar 2011 12:59:15 +0200 (CEST) In-Reply-To: <1301480744.21366.110.camel@hp.my.own.domain> 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: Svante Signell Cc: 619034@bugs.debian.org, alsa-devel@alsa-project.org, 613979@bugs.debian.org List-Id: alsa-devel@alsa-project.org At Wed, 30 Mar 2011 12:25:44 +0200, Svante Signell wrote: > > On Tue, 2011-03-29 at 13:10 +0200, Takashi Iwai wrote: > > At Tue, 29 Mar 2011 12:58:16 +0200, > > Svante Signell wrote: > > > > > > On Tue, 2011-03-29 at 12:31 +0200, Takashi Iwai wrote: > > > > At Tue, 29 Mar 2011 12:24:40 +0200, > > > > Svante Signell wrote: > ... > > > > But let's check the Oops first as below. > > > > > > Also, please try to decode the line from the code shown in the Oops. > > > > It's a bit too little information to analyze, unfortunately. > ... > > As mentioned, you can decode the binary dump in Oops to guess which > > line of the source code corresponds to the Oops point. > > Use gdb or objdump to figure out the disassembled code. > > For example, > > > > % objdump -D -l /lib/modules/$(uname -r)/kernel/sound/pci/hda/snd-hda-intel.ko > > > > Then look for azx_probe. Calculate the position from the offset > > Oops gave, compare the hex codes with the data show in "Code" section > > of Oops. > > objdump with -l will show the source code line as well, so you'll see > > now more exactly where it was triggered. > > Below is the kernel Oops and the objdump output related to azx_probe. > Unfortunately I don't know where to find the Oops offset! This is shown in below: > [ 4.632005] RIP: 0010:[] [] > azx_probe+0x3ad/0x870 [snd_hda_intel] The offset is 0x3ad. As azx_probe() in the disassembled code begins with 0x1fd, it points to 0x5aa (0x1fd + 0x3ad). You can see the disassembled code matches with the dump in "Code:" in Oops. However, you objdump output doesn't give the line number. Did you install the corresponding debug package? Usually this is stripped in the main package and provided as an add-on. thanks, Takashi