Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - driver 0001477]: inserting maestro3 hangs system
@ 2005-10-16 15:03 bugtrack
  0 siblings, 0 replies; 5+ messages in thread
From: bugtrack @ 2005-10-16 15:03 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<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-16-2005 17:03 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

======================================================================

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
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ALSA - driver 0001477]: inserting maestro3 hangs system
@ 2005-10-17 17:37 bugtrack
  0 siblings, 0 replies; 5+ messages in thread
From: bugtrack @ 2005-10-17 17:37 UTC (permalink / raw)
  To: alsa-devel


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-17-2005 19:37 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.

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                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ALSA - driver 0001477]: inserting maestro3 hangs system
@ 2005-10-18 15:27 bugtrack
  0 siblings, 0 replies; 5+ messages in thread
From: bugtrack @ 2005-10-18 15:27 UTC (permalink / raw)
  To: alsa-devel


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ALSA - driver 0001477]: inserting maestro3 hangs system
@ 2005-10-18 16:40 bugtrack
  0 siblings, 0 replies; 5+ messages in thread
From: bugtrack @ 2005-10-18 16:40 UTC (permalink / raw)
  To: alsa-devel


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 18:40 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

======================================================================

----------------------------------------------------------------------
 tiwai - 10-18-05 17:27 
----------------------------------------------------------------------
Could you give a changelog and a signed-off-by line to submit your patch? 
Thanks.

----------------------------------------------------------------------
 cra - 10-18-05 18:40 
----------------------------------------------------------------------
Summary: Fix maestro3 hang after cold boot

This patch fixes the maestro3 driver to call the snd_m3_assp_init
function to write the DSP firmware into the ASSP chip before sending the
RUN_ASSP command, thereby solving the hang after a cold boot.

Signed-off-by: Charles R. Anderson <cra@alum.wpi.edu>

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                          
10-18-05 18:40 cra            Note Added: 0006492                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ALSA - driver 0001477]: inserting maestro3 hangs system
@ 2005-10-20 12:53 bugtrack
  0 siblings, 0 replies; 5+ messages in thread
From: bugtrack @ 2005-10-20 12:53 UTC (permalink / raw)
  To: alsa-devel


The following issue has been RESOLVED.
======================================================================
<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:                     resolved
Distribution:               Fedora Core 5 (development)
Kernel Version:             2.6.13-1.1600_FC5
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             10-16-2005 17:03 CEST
Last Modified:              10-20-2005 14:53 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-18-05 18:40 
----------------------------------------------------------------------
Summary: Fix maestro3 hang after cold boot

This patch fixes the maestro3 driver to call the snd_m3_assp_init
function to write the DSP firmware into the ASSP chip before sending the
RUN_ASSP command, thereby solving the hang after a cold boot.

Signed-off-by: Charles R. Anderson <cra@alum.wpi.edu>

----------------------------------------------------------------------
 tiwai - 10-20-05 14:53 
----------------------------------------------------------------------
Thanks, now it's on CVS.

The patch portion to OSS is out of our hands.  Please submit it to LKML.

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                          
10-18-05 18:40 cra            Note Added: 0006492                          
10-20-05 14:53 tiwai          Status                   assigned => resolved
10-20-05 14:53 tiwai          Resolution               open => fixed       
10-20-05 14:53 tiwai          Note Added: 0006505                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-20 12:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-17 17:37 [ALSA - driver 0001477]: inserting maestro3 hangs system bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2005-10-20 12:53 bugtrack
2005-10-18 16:40 bugtrack
2005-10-18 15:27 bugtrack
2005-10-16 15:03 bugtrack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox