From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@alsa-project.org Subject: [ALSA - driver 0002220]: emu10k1 crash on PCI hotplug Date: Tue, 18 Jul 2006 17:17:29 +0200 Message-ID: <0b9e34b1dfd91ca58daeddb8f3a2bbea@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 1D6AF10D for ; Tue, 18 Jul 2006 17:17:30 +0200 (MEST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: fizban Assigned To: jcdutton ====================================================================== Project: ALSA - driver Issue ID: 2220 Category: PCI - emu10k1 Reproducibility: always Severity: crash Priority: normal Status: feedback Distribution: Kernel Version: ====================================================================== Date Submitted: 06-19-2006 02:03 CEST Last Modified: 07-18-2006 17:17 CEST ====================================================================== Summary: emu10k1 crash on PCI hotplug Description: With the new docking support in 2.6.17, my laptop's docking station is now hotplugabble, and thus so is the SB 512 PCI in it. However, while undocking the system seems to work correctly, docking it again causes the following Oops: EIP is at snd_emu10k1_ptr_write+0xb/0x89 [snd_emu10k1] eax: 00000000 ebx: c8194000 ecx: 00000000 edx: 00000019 esi: 00000019 edi: 00000000 ebp: 00000000 esp: cfae1c50 ds: 007b es: 007b ss: 0068 Process kacpid_notify (pid: 11271, threadinfo=cfae1000 task=cfbd6540) Stack: d087b7b4 c8194000 00000000 00000000 00000000 d14f05b0 0000ff00 cf6e3c00 c8194000 d150a31e 00000286 cf6e3c00 00000286 cee77400 cf2f4800 d150b30c cf6e3c00 00000286 d150a06e cee77494 cdef8000 d14f0120 d14f0c2a cf6e3c00 Call Trace: free_voice+0x23/0x83 [snd_emu10k1_synth] snd_emux_terminate_all+0x3b/0x6c [snd_emux_synth] snd_emux_detach_seq+0xf/0x3b [snd_emux_synth] snd_emux_free+0x42/0x74 [snd_emux_synth] snd_emu10k1_synth_new_device+0xf3/0x127 [snd_emu10k1_synth] init_device+0x4d/0x82 [snd_seq_device] find_driver+0xe9/0xf1 [snd_seq_device] snd_seq_device_dev_register+0x29/0x35 [snd_seq_device] snd_device_register_all+0x20/0x42 [snd] snd_card_register+0xe/0x21b [snd] snd_hwdep_new+0xa3/0xb1 [snd_hwdep] snd_emux_init_hwdep+0x8f/0x9e [snd_emux_synth] snd_emux_register+0xc1/0x10a [snd_emux_synth] sf_sample_new+0x0/0x1e [snd_emux_synth] sf_sample_free+0x0/0x8 [snd_emux_synth] snd_emu10k1_synth_new_device+0xe6/0x127 [snd_emu10k1_synth] init_device+0x4d/0x82 [snd_seq_device] find_driver+0xe9/0xf1 [snd_seq_device] snd_seq_device_dev_register+0x29/0x35 [snd_seq_device] snd_device_register_all+0x20/0x42 [snd] snd_card_register+0xe/0x21b [snd] snd_card_emu10k1_probe+0x2fd/0x324 [snd_emu10k1] pci_device_probe+0x36/0x57 driver_probe_device+0x45/0x9a klist_next+0x2d/0x36 __device_attach+0x0/0x5 bus_for_each_drv+0x32/0x58 device_attach+0x4b/0x5b __device_attach+0x0/0x5 bus_add_device+0x27/0xcd device_add+0xcc/0x12d pci_bus_add_device+0xb/0x30 pci_bus_add_devices+0x15/0x93 pci_bus_add_devices+0x63/0x93 acpiphp_enable_slot+0x2f1/0x3d0 acpi_ut_update_ref_count+0x4b/0xa0 handle_hotplug_event_func+0x6f/0x12f acpi_ex_exit_interpreter+0xa/0x2f acpi_evaluate_integer+0x98/0xa2 handle_hotplug_event_func+0x0/0x12f hotplug_dock_devices+0x21/0x79 acpi_os_execute_thread+0x0/0x1a dock_notify+0x7b/0x15d acpi_bus_notify+0x17/0x46 acpi_ev_notify_dispatch+0x49/0x52 acpi_os_execute_thread+0xc/0x1a kthread+0x91/0xbd kthread+0x0/0xbd kernel_thread_helper+0x5/0xb Code: e0 21 c2 d3 ea eb 11 9c 59 fa 8b 57 04 89 d8 ef 83 c2 04 ed 89 c2 51 9d 59 89 d0 5b 5e 5f 5d c3 55 89 c5 57 56 89 d6 53 83 ec 04 <83> 78 10 01 8b 7c 24 18 19 c0 83 e1 3f 25 00 00 00 f8 05 00 00 EIP: [] snd_emu10k1_ptr_write+0xb/0x89 [snd_emu10k1] SS:ESP 0068:cfae1c50 ====================================================================== ---------------------------------------------------------------------- jcdutton - 07-18-06 14:15 ---------------------------------------------------------------------- Can you please provide more information regarding the Oops. There should be some more lines above the part you posted. ---------------------------------------------------------------------- fizban - 07-18-06 17:17 ---------------------------------------------------------------------- Ok, I've attached a full dmesg with the oops, and lspci -vv traces from before and after the oops. Issue History Date Modified Username Field Change ====================================================================== 06-19-06 02:03 fizban New Issue 06-29-06 18:21 tiwai Note Added: 0010685 07-16-06 04:40 fizban File Added: emu10k1-not-a-real-fix.diff 07-16-06 04:46 fizban Note Added: 0011028 07-18-06 14:13 jcdutton Status new => assigned 07-18-06 14:13 jcdutton Assigned To => jcdutton 07-18-06 14:15 jcdutton Note Added: 0011055 07-18-06 14:15 jcdutton Status assigned => feedback 07-18-06 17:16 fizban File Added: dmesg-alsa-oops.txt 07-18-06 17:16 fizban File Added: lspci-pre-oops.txt 07-18-06 17:16 fizban File Added: lspci-post-oops.txt 07-18-06 17:17 fizban Note Added: 0011065 ====================================================================== ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV