: inserting maestro3 hangs system
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1477>
======================================================================
Reported By: cra Assigned To: tiwai ====================================================================== Project: ALSA - driver Issue ID: 1477 Category: PCI - maestro3 Reproducibility: always Severity: crash Priority: normal Status: assigned Distribution: Fedora Core 5 (development) Kernel Version: 2.6.13-1.1600_FC5 ====================================================================== Date Submitted: 10-16-2005 17:03 CEST Last Modified: 10-18-2005 17:27 CEST
======================================================================
Summary: inserting maestro3 hangs system
Description:
Kernel hangs upon loading snd-maestro3 driver during hardware initialization. The system only hangs if Windows was not booted prior to booting Linux. So it seems that the Windows driver is poking the hardware in some way that "helps" the Linux driver, and basically the ALSA driver is not initializing the hardware correctly.
Bug cross-reference:
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000376
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=134507
======================================================================
----------------------------------------------------------------------
cra - 10-17-05 19:37
----------------------------------------------------------------------
The attached patch linux-2.6-maestro3-assp-init.patch fixes this issue for me. It seems that the driver tries to start the ASSP before downloading the DSP code to it, which explains why booting Windows before warm-booting Linux works. A warm boot must not clear the DSP memory, which allows the ASSP startup to succeed.
The fix is to call the snd_m3_assp_init function to write the DSP firmware into the ASSP chip before sending the RUN_ASSP command. I also made the same fix in the OSS driver, but I did not test the OSS fix.
----------------------------------------------------------------------
tiwai - 10-18-05 17:27
----------------------------------------------------------------------
Could you give a changelog and a signed-off-by line to submit your patch? Thanks.
Issue History
Date Modified Username Field Change
======================================================================
10-16-05 17:03 cra New Issue
10-16-05 17:03 cra Distribution => Fedora Core 5
(development)
10-16-05 17:03 cra Kernel Version => 2.6.13-1.1600_FC5 10-16-05 17:18 cra File Added: dmesg.txt 10-16-05 17:19 cra File Added: lspci.txt 10-16-05 17:19 cra File Added: dmidecode.txt 10-16-05 17:40 cra File Added: linux-2.6-debug-maestro3.patch
10-16-05 17:41 cra File Added: alsa-warmboot-after-win2k.txt
10-16-05 17:43 cra File Added: alsa-coldboot-hang.txt
10-16-05 17:44 cra File Added: oss-coldboot-hang.txt
10-17-05 19:32 cra File Added: linux-2.6-maestro3-assp-init.patch
10-17-05 19:37 cra Note Added: 0006487
10-18-05 17:27 tiwai Note Added: 0006491
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl