From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: WARNING: at sound/core/sound_oss.c:96 snd_oss_kernel_minor+0xdf/0x120 [snd]() Date: Tue, 12 Jan 2010 09:57:36 +0100 Message-ID: References: <520f0cf11001060853i5c296744rf94c947cb7798774@mail.gmail.com> 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 3DF9810382E for ; Tue, 12 Jan 2010 09:57:36 +0100 (CET) In-Reply-To: <520f0cf11001060853i5c296744rf94c947cb7798774@mail.gmail.com> 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: John Kacur Cc: alsa-devel@alsa-project.org, LKML List-Id: alsa-devel@alsa-project.org At Wed, 6 Jan 2010 17:53:24 +0100, John Kacur wrote: > > The following was in my 2.6.33-rc3 dmesg (of course that doesn't mean > that the problem didn't exist earlier too) > > WARNING: at /home/jkacur/rt.linux.git/sound/core/sound_oss.c:96 > snd_oss_kernel_minor+0xdf/0x120 [snd]() > Hardware name: 2241B48 > BUG? (minor < 0 || minor >= 128) > Modules linked in: snd_mixer_oss thinkpad_acpi(+) sdhci hwmon i2c_i801 > firewire_ohci snd_pcm mmc_core snd_timer cfg80211 firewire_core btusb > joydev iTCO_wdt bluetooth ata_generic e1000e i2c_core ppdev snd > battery ac iTCO_vendor_support parport_pc ricoh_mmc intel_agp > pata_acpi pcspkr parport tpm_tis video wmi output soundcore button tpm > rfkill sr_mod tpm_bios snd_page_alloc crc_itu_t cdrom sg ahci libata > sd_mod scsi_mod crc_t10dif xfs exportfs uhci_hcd ohci_hcd ehci_hcd > [last unloaded: scsi_wait_scan] > Pid: 1317, comm: modprobe Not tainted 2.6.33-rc3 #1 > Call Trace: > [] ? snd_oss_kernel_minor+0xdf/0x120 [snd] > [] warn_slowpath_common+0x7c/0xa9 > [] warn_slowpath_fmt+0x41/0x43 > [] snd_oss_kernel_minor+0xdf/0x120 [snd] > [] snd_register_oss_device+0x2c/0x21a [snd] > [] snd_mixer_oss_notify_handler+0xa5/0x2e5 [snd_mixer_oss] > [] ? __mutex_unlock_slowpath+0x5c/0x141 > [] ? trace_hardirqs_on_caller+0x11f/0x14a > [] ? trace_hardirqs_on+0xd/0xf > sdhci-pci 0000:15:00.2: SDHCI controller found [1180:0822] (rev 21) > sdhci-pci 0000:15:00.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18 > [] ? __mutex_unlock_slowpath+0x12f/0x141 > sdhci-pci 0000:15:00.2: Will use DMA mode even though HW doesn't fully > claim to support it. > Registered led device: mmc0:: > mmc0: SDHCI controller on PCI [0000:15:00.2] using DMA > [] snd_card_register+0x135/0x14b [snd] > [] volume_init+0x335/0x3d2 [thinkpad_acpi] > [] thinkpad_acpi_module_init+0x61f/0xa4f [thinkpad_acpi] > [] ? thinkpad_acpi_module_init+0x0/0xa4f [thinkpad_acpi] > [] do_one_initcall+0x5f/0x154 > [] sys_init_module+0xd7/0x234 > [] system_call_fastpath+0x16/0x1b > ---[ end trace a6d53dc318f09cb5 ]--- Looks like the code path from thinkpad-acpi... Could you add some printk's in sound/core/sound_oss.c:snd_oss_kernel_minor() to inspect which values are taken and calculated? thanks, Takashi