Sound class oops
Hi,
I applied the sound class patches ([email protected] and [email protected] at linuxusb.bkbits.net/usb-2.5) to plain 2.6.0-test11, and noticed that it started oopsing when reloading the ALSA drivers (after an initial successful load/unload). On plain -test11 reloading the modules works fine.
The modules loaded (by the Debian ALSA init script) are:
% lsmod | egrep 's(ou)?nd'
snd_maestro3 21508 0 snd_ac97_codec 52452 1 snd_maestro3 snd_pcm 88036 1 snd_maestro3 snd_page_alloc 9092 1 snd_pcm snd_timer 21412 1 snd_pcm snd 44292 5 snd_mixer_oss,snd_maestro3,snd_ac97_codec,snd_pcm,snd_timer soundcore 8224 3 snd_pcm,snd
Here's the oops output:
Unable to handle kernel NULL pointer dereference at virtual address 00000000 printing eip: d08df373 *pde = 00000000 Oops: 0000 [#1] CPU: 0 EIP: 0060:[<d08df373>] Not tainted EFLAGS: 00010293
EIP is at snd_timer_dev_register+0x73/0x110 [snd_timer]
eax: 00000002 ebx: 00000000 ecx: cf65e490 edx: 00000000
esi: cf65e3ac edi: cf65e400 ebp: 00000000 esp: cb5f7dd8
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 2793, threadinfoË5f6000 taskË9f6140)
Stack: 00000003 ced3a340 d08df300 cf65e200 cf65e344 d08ea31e ced3a340 cef43ca0
cf65e200 d0a46954 cf65e600 cf65e400 d0a484fc 00000000 00000000 00000002
cf65e400 00000003 00000000 00000000 00000000 00000002 cf65e344 c01f7c63
Call Trace:
[<d08df300>] snd_timer_dev_register+0x0/0x110 [snd_timer]
[<d08ea31e>] snd_device_register+0x6e/0x80 [snd]
[<d0a46954>] snd_pcm_timer_init+0x144/0x190 [snd_pcm]
[<c01f7c63>] class_device_create_file+0x23/0x30
[<d0a3b6c8>] snd_pcm_dev_register+0x148/0x1f0 [snd_pcm]
[<d08ea37b>] snd_device_register_all+0x4b/0x60 [snd]
[<d08e6140>] snd_card_register+0x20/0x120 [snd]
[<c01b5d3f>] sprintf+0x1f/0x30
[<d090e73c>] snd_m3_probe+0x13c/0x1c0 [snd_maestro3]
[<c01baac2>] pci_device_probe_static+0x52/0x70
[<c01bab1c>] __pci_device_probe+0x3c/0x50
[<c01bab5c>] pci_device_probe+0x2c/0x50
[<c01f724f>] bus_match+0x3f/0x70
[<c01f737c>] driver_attach+0x5c/0xa0
[<c01f7643>] bus_add_driver+0x93/0xb0
[<c01f7a7f>] driver_register+0x2f/0x40
[<c01bad4c>] pci_register_driver+0x5c/0x90
[<d0864013>] alsa_card_m3_init+0x13/0x4d [snd_maestro3]
[<c0133979>] sys_init_module+0x119/0x230
[<c01093d9>] sysenter_past_esp+0x52/0x71
Code: 8b 03 89 d9 89 c3 0f 18 00 90 81 f9 24 31 8e d0 75 db 89 8f The relevant bits of the kernel config are:
CONFIG_SOUND=mCONFIG_SND=mCONFIG_SND_SEQUENCER=mCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_SEQUENCER_OSS=yCONFIG_SND_RTCTIMER=mCONFIG_SND_VIRMIDI=mCONFIG_SND_SERIAL_U16550=mCONFIG_SND_MAESTRO3=mCONFIG_SND_USB_AUDIO=m
Signature · 13 lines
ilmari ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Dagfinn Ilmari Mannsåker
Hi,
I applied the sound class patches ([email protected] and [email protected] at linuxusb.bkbits.net/usb-2.5) to plain 2.6.0-test11, and noticed that it started oopsing when reloading the ALSA drivers (after an initial successful load/unload). On plain -test11 reloading the modules works fine.
Yeah, I'm getting odd oopses too. I'll be working on fixing up the sound class patches next week. Sorry about this.
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opÌk
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel