From mboxrd@z Thu Jan 1 00:00:00 1970 From: ilmari@ilmari.org (=?utf-8?b?RGFnZmlubiBJbG1hcmkg?= Date: Mon, 15 Dec 2003 06:11:57 +0000 Subject: Sound class oops Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Hi, I applied the sound class patches (ChangeSet@1.1817.1.712 and ChangeSet@1.1817.1.713 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=20 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,s= nd_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 =3D 00000000 Oops: 0000 [#1] CPU: 0 EIP: 0060:[] 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=CB5f6000 task=CB9f6140) Stack: 00000003 ced3a340 d08df300 cf65e200 cf65e344 d08ea31e ced3a340 cef43= ca0=20 cf65e200 d0a46954 cf65e600 cf65e400 d0a484fc 00000000 00000000 00000= 002=20 cf65e400 00000003 00000000 00000000 00000000 00000002 cf65e344 c01f7= c63=20 Call Trace: [] snd_timer_dev_register+0x0/0x110 [snd_timer] [] snd_device_register+0x6e/0x80 [snd] [] snd_pcm_timer_init+0x144/0x190 [snd_pcm] [] class_device_create_file+0x23/0x30 [] snd_pcm_dev_register+0x148/0x1f0 [snd_pcm] [] snd_device_register_all+0x4b/0x60 [snd] [] snd_card_register+0x20/0x120 [snd] [] sprintf+0x1f/0x30 [] snd_m3_probe+0x13c/0x1c0 [snd_maestro3] [] pci_device_probe_static+0x52/0x70 [] __pci_device_probe+0x3c/0x50 [] pci_device_probe+0x2c/0x50 [] bus_match+0x3f/0x70 [] driver_attach+0x5c/0xa0 [] bus_add_driver+0x93/0xb0 [] driver_register+0x2f/0x40 [] pci_register_driver+0x5c/0x90 [] alsa_card_m3_init+0x13/0x4d [snd_maestro3] [] sys_init_module+0x119/0x230 [] 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=20 The relevant bits of the kernel config are: CONFIG_SOUND=3Dm CONFIG_SND=3Dm CONFIG_SND_SEQUENCER=3Dm CONFIG_SND_OSSEMUL=3Dy CONFIG_SND_MIXER_OSS=3Dm CONFIG_SND_PCM_OSS=3Dm CONFIG_SND_SEQUENCER_OSS=3Dy CONFIG_SND_RTCTIMER=3Dm CONFIG_SND_VIRMIDI=3Dm CONFIG_SND_SERIAL_U16550=3Dm CONFIG_SND_MAESTRO3=3Dm CONFIG_SND_USB_AUDIO=3Dm --=20 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_id=1278&alloc_id371&op=3Dclick _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel