Skip to contentSkip to conversation

: System freeze at end of MIDI playback

ALSA - driver 0000952 [email protected] 1 participant 1 message Jul 4, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=952>
======================================================================
Reported By: skunk
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   952
Category:                   PCI - emu10k1
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     new
Distribution:               Debian testing
Kernel Version:             2.6.8-2-k7
======================================================================
Date Submitted:             03-01-2005 06:28 CET
Last Modified:              07-04-2006 07:20 CEST

======================================================================
Summary: System freeze at end of MIDI playback
Description:
Hardware: Sound Blaster Live! Value
Software: sfxload (for patch loading) and drvmidi (playback)

I often play a list of MIDI files. On a number of occasions---either at the end of a MIDI song, or when I hit STOP---the computer has frozen hard. The recurrence is rare enough to make this more an annoyance than a showstopper, but then, I haven't been too keen on ferreting out this bug.

I am reporting this against ALSA from the 2.6.8 kernel, as that is what I'm using now (Debian official package) but the same problem arose with alsa-driver 1.0.8 (as compiled by me) on 2.4.29.

I could probably rig up something to start/stop MIDI playback repeatedly, with a debug-compiled driver, but is there any way to get useful debugging output when the bug takes the whole system down?
======================================================================

----------------------------------------------------------------------
phorn - 07-04-06 04:58
----------------------------------------------------------------------
The patch seems to at least have made the crash less frequent for me (i.e. I haven't run into it yet).

The .deb packages didn't seem to compile for 2.6.17.3, but the Hg sources do work.

amarsh04, you will likely get more information if you play from a text-mode console.
To do this, hit Ctrl+Alt+F1 to bring you to the console, login, and use aplaymidi like in X...
If you want disk activity, switch to ctrl+alt+F2 and cat a bunch of files, then return to ctrl+alt+F1.
Hopefully, when the crash occurs, you will get a lot of output on your screen (which was hidden when running in X), and you can take a picture or copy the panic screen.
To return to X, hit Ctrl+alt+F7.

----------------------------------------------------------------------
amarsh04 - 07-04-06 07:20
----------------------------------------------------------------------
I had already tried using aplaymidi in single user mode backgrounded then running a disk intensive task and still had lockups.

By booting into kernel 2.6.16-2-686 (Debian Unstable) instead of the 2.6.17-686 I had been using when previously reporting problems, MIDI playback was perfect, even under heavy disk load.

So it appears to be a problem with 2.6.17-686 kernel on Debian (which is compiled for SMP, unlike the other kernels I've run).

Issue History
Date Modified Username Field Change
======================================================================

03-01-05 06:28 skunk          New Issue                                    
03-01-05 06:28 skunk          Distribution              => Debian testing  
03-01-05 06:28 skunk          Kernel Version            => 2.6.8-2-k7      
09-19-05 10:10 jdthood        Note Added: 0006287                          
09-19-05 10:19 skunk          Note Added: 0006290                          
04-23-06 07:57 skunk          Note Added: 0009441                          
06-07-06 18:09 pen            Note Added: 0010085                          
06-07-06 18:09 pen            Issue Monitored: pen                         
06-07-06 18:23 rlrevell       Note Added: 0010086                          
06-07-06 19:45 pen            Note Added: 0010087                          
06-07-06 19:50 rlrevell       Note Added: 0010088                          
06-08-06 09:28 skunk          Note Added: 0010109                          
06-27-06 23:35 phorn          File Added: kernel_spinlock-2.6.17.1-nosmp.txt    
06-27-06 23:43 phorn          Note Added: 0010602                          
06-28-06 00:03 rlrevell       Note Added: 0010603                          
06-28-06 03:50 phorn          Note Added: 0010605                          
07-02-06 15:33 amarsh04       Issue Monitored: amarsh04                    
07-02-06 15:37 amarsh04       Note Added: 0010791                          
07-02-06 20:07 riesebie       Issue Monitored: riesebie                    
07-03-06 02:57 amarsh04       Note Added: 0010796                          
07-03-06 18:04 rlrevell       File Added: alsa-timer-irqsave.patch              
07-03-06 18:05 rlrevell       Note Added: 0010801                          
07-03-06 20:24 riesebie       Note Added: 0010806                          
07-03-06 20:25 riesebie       Note Edited: 0010806                         
07-04-06 03:23 amarsh04       Note Added: 0010813                          
07-04-06 04:58 phorn          Note Added: 0010814                          
07-04-06 07:20 amarsh04       Note Added: 0010816                          

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

Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642