All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-11-09 15:34 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-11-09 15:34 UTC (permalink / raw)
  To: alsa-devel


The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=366> 
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Issue ID:                   366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Distribution:               
Kernel Version:             2.6.7
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              11-09-2004 16:34 CET
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 09-22-04 12:05 
----------------------------------------------------------------------
This is even wierder! Upgrading to 2.6.9-rc2 with mm1 patch solved the
problem! At least for me!

----------------------------------------------------------------------
 tiwai - 09-22-04 18:12 
----------------------------------------------------------------------
Ok, then close this bug now.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Issue                                    
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Note Added: 0001404                          
07-10-04 21:45 deathpudding   Note Added: 0001405                          
07-12-04 13:31 pzad           Note Added: 0001409                          
07-12-04 23:02 deathpudding   Note Added: 0001411                          
07-12-04 23:03 deathpudding   Note Edited: 0001411                         
08-03-04 17:11 vlajsa         Note Added: 0001528                          
09-07-04 09:37 pzad           Note Added: 0001703                          
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Note Added: 0001705                          
09-07-04 18:21 vlajsa         Note Added: 0001724                          
09-07-04 18:25 vlajsa         Note Edited: 0001724                         
09-08-04 01:38 deathpudding   Note Added: 0001725                          
09-08-04 17:06 tiwai          Note Added: 0001732                          
09-09-04 03:46 deathpudding   Note Added: 0001740                          
09-09-04 03:49 deathpudding   Note Added: 0001741                          
09-09-04 04:30 deathpudding   Note Added: 0001742                          
09-13-04 15:45 tiwai          Note Added: 0001748                          
09-14-04 02:43 deathpudding   Note Added: 0001756                          
09-21-04 12:41 tiwai          Note Added: 0001800                          
09-22-04 12:05 vlajsa         Note Added: 0001811                          
09-22-04 18:12 tiwai          Status                   assigned => resolved
09-22-04 18:12 tiwai          Resolution               open => fixed       
09-22-04 18:12 tiwai          Note Added: 0001813                          
11-09-04 16:34 tiwai          Status                   resolved => closed  
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-22 16:12 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-22 16:12 UTC (permalink / raw)
  To: alsa-devel


The following bug has been RESOLVED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Distribution:               
Kernel Version:             2.6.7
Resolution:                 fixed
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-22-2004 18:12 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:25 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from Andrew Morton, I think).
But I didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

here's the patch url:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/2.6.8.1-mm4.bz2

edited on: 09-07-04 18:25

----------------------------------------------------------------------
 deathpudding - 09-08-2004 01:38 CEST 
----------------------------------------------------------------------
I tried the -mm4 patch, but it didn't make a difference.

----------------------------------------------------------------------
 tiwai - 09-08-2004 17:06 CEST 
----------------------------------------------------------------------
This should not happen on the ALSA CVS version because it now has
__GFP_NORETRY unconditionally.  If still gets wrong, it must be a
kernel bug.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:46 CEST 
----------------------------------------------------------------------
I tried 1.0.7rc1, which uses the NORETRY flag, and the soundfont loads
without hanging/killing processes. But it doesn't load the entire
soundfont, probably stopping when it runs out of memory. Only one
instrument played when I played a test midi file. I don't understand why
it thinks there isn't enough memory.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:49 CEST 
----------------------------------------------------------------------
ah, it's using dma_alloc, and the txt I attached says there was only 32kb
DMA memory free.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 04:30 CEST 
----------------------------------------------------------------------
and also that there was 16MB of DMA memory total, while the soundfont is
32MB...

----------------------------------------------------------------------
 tiwai - 09-13-2004 15:45 CEST 
----------------------------------------------------------------------
This should NOT happen.  snd-page-alloc has a wrapper for
dma_alloc_coherent() to allocate the pages from __GFP_KERNEL
as much as possible.  It means, that this hack isn't working
on your environment.

Check whether the codepath goes through dma_alloc_coherent wrapper
in memalloc.c (e.g. adding prink's there).

----------------------------------------------------------------------
 deathpudding - 09-14-2004 02:43 CEST 
----------------------------------------------------------------------
The hack is indeed used. Something very strange showed up when I tested it,
though: when I put a printk() in the beginning of
snd_dma_hack_alloc_coherent(), the soundfont loaded completely and the
midi file played correctly. But, when I removed the printk(), it broke as
I described earlier. I recompiled the driver several times both ways to
make sure it wasn't a fluke. Then I replaced the printk() with a small
delay:
int x = 1000000; while (x--);
and this also worked. Judging only from this information, it seems like
multiple calls to dma_alloc_coherent made too quickly somehow interfere
with each other.

----------------------------------------------------------------------
 tiwai - 09-21-2004 12:41 CEST 
----------------------------------------------------------------------
This is really weird.  Anyway, it's beyond the scope of ALSA...

----------------------------------------------------------------------
 vlajsa - 09-22-2004 12:05 CEST 
----------------------------------------------------------------------
This is even wierder! Upgrading to 2.6.9-rc2 with mm1 patch solved the
problem! At least for me!

----------------------------------------------------------------------
 tiwai - 09-22-2004 18:12 CEST 
----------------------------------------------------------------------
Ok, then close this bug now.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
09-07-04 18:25 vlajsa         Bugnote Edited: 0001724                      
09-08-04 01:38 deathpudding   Bugnote Added: 0001725                       
09-08-04 17:06 tiwai          Bugnote Added: 0001732                       
09-09-04 03:46 deathpudding   Bugnote Added: 0001740                       
09-09-04 03:49 deathpudding   Bugnote Added: 0001741                       
09-09-04 04:30 deathpudding   Bugnote Added: 0001742                       
09-13-04 15:45 tiwai          Bugnote Added: 0001748                       
09-14-04 02:43 deathpudding   Bugnote Added: 0001756                       
09-21-04 12:41 tiwai          Bugnote Added: 0001800                       
09-22-04 12:05 vlajsa         Bugnote Added: 0001811                       
09-22-04 18:12 tiwai          Bugnote Added: 0001813                       
09-22-04 18:12 tiwai          Resolution               open => fixed       
09-22-04 18:12 tiwai          Status                   assigned => resolved
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-22 10:05 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-22 10:05 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-22-2004 12:05 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:25 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from Andrew Morton, I think).
But I didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

here's the patch url:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/2.6.8.1-mm4.bz2

edited on: 09-07-04 18:25

----------------------------------------------------------------------
 deathpudding - 09-08-2004 01:38 CEST 
----------------------------------------------------------------------
I tried the -mm4 patch, but it didn't make a difference.

----------------------------------------------------------------------
 tiwai - 09-08-2004 17:06 CEST 
----------------------------------------------------------------------
This should not happen on the ALSA CVS version because it now has
__GFP_NORETRY unconditionally.  If still gets wrong, it must be a
kernel bug.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:46 CEST 
----------------------------------------------------------------------
I tried 1.0.7rc1, which uses the NORETRY flag, and the soundfont loads
without hanging/killing processes. But it doesn't load the entire
soundfont, probably stopping when it runs out of memory. Only one
instrument played when I played a test midi file. I don't understand why
it thinks there isn't enough memory.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:49 CEST 
----------------------------------------------------------------------
ah, it's using dma_alloc, and the txt I attached says there was only 32kb
DMA memory free.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 04:30 CEST 
----------------------------------------------------------------------
and also that there was 16MB of DMA memory total, while the soundfont is
32MB...

----------------------------------------------------------------------
 tiwai - 09-13-2004 15:45 CEST 
----------------------------------------------------------------------
This should NOT happen.  snd-page-alloc has a wrapper for
dma_alloc_coherent() to allocate the pages from __GFP_KERNEL
as much as possible.  It means, that this hack isn't working
on your environment.

Check whether the codepath goes through dma_alloc_coherent wrapper
in memalloc.c (e.g. adding prink's there).

----------------------------------------------------------------------
 deathpudding - 09-14-2004 02:43 CEST 
----------------------------------------------------------------------
The hack is indeed used. Something very strange showed up when I tested it,
though: when I put a printk() in the beginning of
snd_dma_hack_alloc_coherent(), the soundfont loaded completely and the
midi file played correctly. But, when I removed the printk(), it broke as
I described earlier. I recompiled the driver several times both ways to
make sure it wasn't a fluke. Then I replaced the printk() with a small
delay:
int x = 1000000; while (x--);
and this also worked. Judging only from this information, it seems like
multiple calls to dma_alloc_coherent made too quickly somehow interfere
with each other.

----------------------------------------------------------------------
 tiwai - 09-21-2004 12:41 CEST 
----------------------------------------------------------------------
This is really weird.  Anyway, it's beyond the scope of ALSA...

----------------------------------------------------------------------
 vlajsa - 09-22-2004 12:05 CEST 
----------------------------------------------------------------------
This is even wierder! Upgrading to 2.6.9-rc2 with mm1 patch solved the
problem! At least for me!

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
09-07-04 18:25 vlajsa         Bugnote Edited: 0001724                      
09-08-04 01:38 deathpudding   Bugnote Added: 0001725                       
09-08-04 17:06 tiwai          Bugnote Added: 0001732                       
09-09-04 03:46 deathpudding   Bugnote Added: 0001740                       
09-09-04 03:49 deathpudding   Bugnote Added: 0001741                       
09-09-04 04:30 deathpudding   Bugnote Added: 0001742                       
09-13-04 15:45 tiwai          Bugnote Added: 0001748                       
09-14-04 02:43 deathpudding   Bugnote Added: 0001756                       
09-21-04 12:41 tiwai          Bugnote Added: 0001800                       
09-22-04 12:05 vlajsa         Bugnote Added: 0001811                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-21 10:41 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-21 10:41 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-21-2004 12:41 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:25 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from Andrew Morton, I think).
But I didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

here's the patch url:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/2.6.8.1-mm4.bz2

edited on: 09-07-04 18:25

----------------------------------------------------------------------
 deathpudding - 09-08-2004 01:38 CEST 
----------------------------------------------------------------------
I tried the -mm4 patch, but it didn't make a difference.

----------------------------------------------------------------------
 tiwai - 09-08-2004 17:06 CEST 
----------------------------------------------------------------------
This should not happen on the ALSA CVS version because it now has
__GFP_NORETRY unconditionally.  If still gets wrong, it must be a
kernel bug.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:46 CEST 
----------------------------------------------------------------------
I tried 1.0.7rc1, which uses the NORETRY flag, and the soundfont loads
without hanging/killing processes. But it doesn't load the entire
soundfont, probably stopping when it runs out of memory. Only one
instrument played when I played a test midi file. I don't understand why
it thinks there isn't enough memory.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:49 CEST 
----------------------------------------------------------------------
ah, it's using dma_alloc, and the txt I attached says there was only 32kb
DMA memory free.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 04:30 CEST 
----------------------------------------------------------------------
and also that there was 16MB of DMA memory total, while the soundfont is
32MB...

----------------------------------------------------------------------
 tiwai - 09-13-2004 15:45 CEST 
----------------------------------------------------------------------
This should NOT happen.  snd-page-alloc has a wrapper for
dma_alloc_coherent() to allocate the pages from __GFP_KERNEL
as much as possible.  It means, that this hack isn't working
on your environment.

Check whether the codepath goes through dma_alloc_coherent wrapper
in memalloc.c (e.g. adding prink's there).

----------------------------------------------------------------------
 deathpudding - 09-14-2004 02:43 CEST 
----------------------------------------------------------------------
The hack is indeed used. Something very strange showed up when I tested it,
though: when I put a printk() in the beginning of
snd_dma_hack_alloc_coherent(), the soundfont loaded completely and the
midi file played correctly. But, when I removed the printk(), it broke as
I described earlier. I recompiled the driver several times both ways to
make sure it wasn't a fluke. Then I replaced the printk() with a small
delay:
int x = 1000000; while (x--);
and this also worked. Judging only from this information, it seems like
multiple calls to dma_alloc_coherent made too quickly somehow interfere
with each other.

----------------------------------------------------------------------
 tiwai - 09-21-2004 12:41 CEST 
----------------------------------------------------------------------
This is really weird.  Anyway, it's beyond the scope of ALSA...

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
09-07-04 18:25 vlajsa         Bugnote Edited: 0001724                      
09-08-04 01:38 deathpudding   Bugnote Added: 0001725                       
09-08-04 17:06 tiwai          Bugnote Added: 0001732                       
09-09-04 03:46 deathpudding   Bugnote Added: 0001740                       
09-09-04 03:49 deathpudding   Bugnote Added: 0001741                       
09-09-04 04:30 deathpudding   Bugnote Added: 0001742                       
09-13-04 15:45 tiwai          Bugnote Added: 0001748                       
09-14-04 02:43 deathpudding   Bugnote Added: 0001756                       
09-21-04 12:41 tiwai          Bugnote Added: 0001800                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-14  0:43 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-14  0:43 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-14-2004 02:43 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:25 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from Andrew Morton, I think).
But I didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

here's the patch url:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/2.6.8.1-mm4.bz2

edited on: 09-07-04 18:25

----------------------------------------------------------------------
 deathpudding - 09-08-2004 01:38 CEST 
----------------------------------------------------------------------
I tried the -mm4 patch, but it didn't make a difference.

----------------------------------------------------------------------
 tiwai - 09-08-2004 17:06 CEST 
----------------------------------------------------------------------
This should not happen on the ALSA CVS version because it now has
__GFP_NORETRY unconditionally.  If still gets wrong, it must be a
kernel bug.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:46 CEST 
----------------------------------------------------------------------
I tried 1.0.7rc1, which uses the NORETRY flag, and the soundfont loads
without hanging/killing processes. But it doesn't load the entire
soundfont, probably stopping when it runs out of memory. Only one
instrument played when I played a test midi file. I don't understand why
it thinks there isn't enough memory.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:49 CEST 
----------------------------------------------------------------------
ah, it's using dma_alloc, and the txt I attached says there was only 32kb
DMA memory free.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 04:30 CEST 
----------------------------------------------------------------------
and also that there was 16MB of DMA memory total, while the soundfont is
32MB...

----------------------------------------------------------------------
 tiwai - 09-13-2004 15:45 CEST 
----------------------------------------------------------------------
This should NOT happen.  snd-page-alloc has a wrapper for
dma_alloc_coherent() to allocate the pages from __GFP_KERNEL
as much as possible.  It means, that this hack isn't working
on your environment.

Check whether the codepath goes through dma_alloc_coherent wrapper
in memalloc.c (e.g. adding prink's there).

----------------------------------------------------------------------
 deathpudding - 09-14-2004 02:43 CEST 
----------------------------------------------------------------------
The hack is indeed used. Something very strange showed up when I tested it,
though: when I put a printk() in the beginning of
snd_dma_hack_alloc_coherent(), the soundfont loaded completely and the
midi file played correctly. But, when I removed the printk(), it broke as
I described earlier. I recompiled the driver several times both ways to
make sure it wasn't a fluke. Then I replaced the printk() with a small
delay:
int x = 1000000; while (x--);
and this also worked. Judging only from this information, it seems like
multiple calls to dma_alloc_coherent made too quickly somehow interfere
with each other.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
09-07-04 18:25 vlajsa         Bugnote Edited: 0001724                      
09-08-04 01:38 deathpudding   Bugnote Added: 0001725                       
09-08-04 17:06 tiwai          Bugnote Added: 0001732                       
09-09-04 03:46 deathpudding   Bugnote Added: 0001740                       
09-09-04 03:49 deathpudding   Bugnote Added: 0001741                       
09-09-04 04:30 deathpudding   Bugnote Added: 0001742                       
09-13-04 15:45 tiwai          Bugnote Added: 0001748                       
09-14-04 02:43 deathpudding   Bugnote Added: 0001756                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-13 13:45 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-13 13:45 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-13-2004 15:45 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:25 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from Andrew Morton, I think).
But I didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

here's the patch url:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/2.6.8.1-mm4.bz2

edited on: 09-07-04 18:25

----------------------------------------------------------------------
 deathpudding - 09-08-2004 01:38 CEST 
----------------------------------------------------------------------
I tried the -mm4 patch, but it didn't make a difference.

----------------------------------------------------------------------
 tiwai - 09-08-2004 17:06 CEST 
----------------------------------------------------------------------
This should not happen on the ALSA CVS version because it now has
__GFP_NORETRY unconditionally.  If still gets wrong, it must be a
kernel bug.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:46 CEST 
----------------------------------------------------------------------
I tried 1.0.7rc1, which uses the NORETRY flag, and the soundfont loads
without hanging/killing processes. But it doesn't load the entire
soundfont, probably stopping when it runs out of memory. Only one
instrument played when I played a test midi file. I don't understand why
it thinks there isn't enough memory.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:49 CEST 
----------------------------------------------------------------------
ah, it's using dma_alloc, and the txt I attached says there was only 32kb
DMA memory free.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 04:30 CEST 
----------------------------------------------------------------------
and also that there was 16MB of DMA memory total, while the soundfont is
32MB...

----------------------------------------------------------------------
 tiwai - 09-13-2004 15:45 CEST 
----------------------------------------------------------------------
This should NOT happen.  snd-page-alloc has a wrapper for
dma_alloc_coherent() to allocate the pages from __GFP_KERNEL
as much as possible.  It means, that this hack isn't working
on your environment.

Check whether the codepath goes through dma_alloc_coherent wrapper
in memalloc.c (e.g. adding prink's there).

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
09-07-04 18:25 vlajsa         Bugnote Edited: 0001724                      
09-08-04 01:38 deathpudding   Bugnote Added: 0001725                       
09-08-04 17:06 tiwai          Bugnote Added: 0001732                       
09-09-04 03:46 deathpudding   Bugnote Added: 0001740                       
09-09-04 03:49 deathpudding   Bugnote Added: 0001741                       
09-09-04 04:30 deathpudding   Bugnote Added: 0001742                       
09-13-04 15:45 tiwai          Bugnote Added: 0001748                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-09  2:30 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-09  2:30 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-09-2004 04:30 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:25 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from Andrew Morton, I think).
But I didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

here's the patch url:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/2.6.8.1-mm4.bz2

edited on: 09-07-04 18:25

----------------------------------------------------------------------
 deathpudding - 09-08-2004 01:38 CEST 
----------------------------------------------------------------------
I tried the -mm4 patch, but it didn't make a difference.

----------------------------------------------------------------------
 tiwai - 09-08-2004 17:06 CEST 
----------------------------------------------------------------------
This should not happen on the ALSA CVS version because it now has
__GFP_NORETRY unconditionally.  If still gets wrong, it must be a
kernel bug.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:46 CEST 
----------------------------------------------------------------------
I tried 1.0.7rc1, which uses the NORETRY flag, and the soundfont loads
without hanging/killing processes. But it doesn't load the entire
soundfont, probably stopping when it runs out of memory. Only one
instrument played when I played a test midi file. I don't understand why
it thinks there isn't enough memory.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:49 CEST 
----------------------------------------------------------------------
ah, it's using dma_alloc, and the txt I attached says there was only 32kb
DMA memory free.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 04:30 CEST 
----------------------------------------------------------------------
and also that there was 16MB of DMA memory total, while the soundfont is
32MB...

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
09-07-04 18:25 vlajsa         Bugnote Edited: 0001724                      
09-08-04 01:38 deathpudding   Bugnote Added: 0001725                       
09-08-04 17:06 tiwai          Bugnote Added: 0001732                       
09-09-04 03:46 deathpudding   Bugnote Added: 0001740                       
09-09-04 03:49 deathpudding   Bugnote Added: 0001741                       
09-09-04 04:30 deathpudding   Bugnote Added: 0001742                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-09  1:49 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-09  1:49 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-09-2004 03:49 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:25 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from Andrew Morton, I think).
But I didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

here's the patch url:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/2.6.8.1-mm4.bz2

edited on: 09-07-04 18:25

----------------------------------------------------------------------
 deathpudding - 09-08-2004 01:38 CEST 
----------------------------------------------------------------------
I tried the -mm4 patch, but it didn't make a difference.

----------------------------------------------------------------------
 tiwai - 09-08-2004 17:06 CEST 
----------------------------------------------------------------------
This should not happen on the ALSA CVS version because it now has
__GFP_NORETRY unconditionally.  If still gets wrong, it must be a
kernel bug.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:46 CEST 
----------------------------------------------------------------------
I tried 1.0.7rc1, which uses the NORETRY flag, and the soundfont loads
without hanging/killing processes. But it doesn't load the entire
soundfont, probably stopping when it runs out of memory. Only one
instrument played when I played a test midi file. I don't understand why
it thinks there isn't enough memory.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:49 CEST 
----------------------------------------------------------------------
ah, it's using dma_alloc, and the txt I attached says there was only 32kb
DMA memory free.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
09-07-04 18:25 vlajsa         Bugnote Edited: 0001724                      
09-08-04 01:38 deathpudding   Bugnote Added: 0001725                       
09-08-04 17:06 tiwai          Bugnote Added: 0001732                       
09-09-04 03:46 deathpudding   Bugnote Added: 0001740                       
09-09-04 03:49 deathpudding   Bugnote Added: 0001741                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-09  1:46 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-09  1:46 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-09-2004 03:46 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:25 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from Andrew Morton, I think).
But I didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

here's the patch url:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/2.6.8.1-mm4.bz2

edited on: 09-07-04 18:25

----------------------------------------------------------------------
 deathpudding - 09-08-2004 01:38 CEST 
----------------------------------------------------------------------
I tried the -mm4 patch, but it didn't make a difference.

----------------------------------------------------------------------
 tiwai - 09-08-2004 17:06 CEST 
----------------------------------------------------------------------
This should not happen on the ALSA CVS version because it now has
__GFP_NORETRY unconditionally.  If still gets wrong, it must be a
kernel bug.

----------------------------------------------------------------------
 deathpudding - 09-09-2004 03:46 CEST 
----------------------------------------------------------------------
I tried 1.0.7rc1, which uses the NORETRY flag, and the soundfont loads
without hanging/killing processes. But it doesn't load the entire
soundfont, probably stopping when it runs out of memory. Only one
instrument played when I played a test midi file. I don't understand why
it thinks there isn't enough memory.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
09-07-04 18:25 vlajsa         Bugnote Edited: 0001724                      
09-08-04 01:38 deathpudding   Bugnote Added: 0001725                       
09-08-04 17:06 tiwai          Bugnote Added: 0001732                       
09-09-04 03:46 deathpudding   Bugnote Added: 0001740                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-08 15:06 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-08 15:06 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-08-2004 17:06 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:25 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from Andrew Morton, I think).
But I didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

here's the patch url:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/2.6.8.1-mm4.bz2

edited on: 09-07-04 18:25

----------------------------------------------------------------------
 deathpudding - 09-08-2004 01:38 CEST 
----------------------------------------------------------------------
I tried the -mm4 patch, but it didn't make a difference.

----------------------------------------------------------------------
 tiwai - 09-08-2004 17:06 CEST 
----------------------------------------------------------------------
This should not happen on the ALSA CVS version because it now has
__GFP_NORETRY unconditionally.  If still gets wrong, it must be a
kernel bug.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
09-07-04 18:25 vlajsa         Bugnote Edited: 0001724                      
09-08-04 01:38 deathpudding   Bugnote Added: 0001725                       
09-08-04 17:06 tiwai          Bugnote Added: 0001732                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-07 23:38 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-07 23:38 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-08-2004 01:38 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:25 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from Andrew Morton, I think).
But I didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

here's the patch url:
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm4/2.6.8.1-mm4.bz2

edited on: 09-07-04 18:25

----------------------------------------------------------------------
 deathpudding - 09-08-2004 01:38 CEST 
----------------------------------------------------------------------
I tried the -mm4 patch, but it didn't make a difference.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
09-07-04 18:25 vlajsa         Bugnote Edited: 0001724                      
09-08-04 01:38 deathpudding   Bugnote Added: 0001725                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-07 16:21 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-07 16:21 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-07-2004 18:21 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

----------------------------------------------------------------------
 vlajsa - 09-07-2004 18:21 CEST 
----------------------------------------------------------------------
hmm,
somewhere on the rosegarden-user list I've heared that problem will be
gone after kernel patching (with mm# patch from A.Morton, I think). But I
didn't try this becouse of fedora_core2 kernel, which is not easyly
patchable, and I cann't download complete kernel sources.. something's
wrong with my provider!

deathpudding, are you able to do this test?

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
09-07-04 18:21 vlajsa         Bugnote Added: 0001724                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-07  8:31 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-07  8:31 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-07-2004 10:31 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

----------------------------------------------------------------------
 deathpudding - 09-07-2004 10:31 CEST 
----------------------------------------------------------------------
I tried again with kernel 2.6.8.1, alsa 1.0.6a and SB Live!. This time,
instead of alsa hanging, several of my unrelated running processes were
killed. I at least got some debug output, which I've attached to the
report as a text file. The file only contains the message for asfxload -
the other killed processes had similar messages but without page faults.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
09-07-04 10:26 deathpudding   File Added: alsacrash.txt                    
09-07-04 10:31 deathpudding   Bugnote Added: 0001705                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-09-07  7:37 bugtrack
  0 siblings, 0 replies; 18+ messages in thread
From: bugtrack @ 2004-09-07  7:37 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_advanced_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              09-07-2004 09:37 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:03 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

edited on: 07-12-04 23:03

----------------------------------------------------------------------
 vlajsa - 08-03-2004 17:11 CEST 
----------------------------------------------------------------------
Hmm... I really don't know how I've missed this one! When playing some
music with xmms through alsa plugin, the song continues to the end, and
then silently driver hangs! Of course this happenes when trying to load
soundfont while playing some song! Hope this can help!!

I'm sure I can find sone fonts that dont need wine to use them. If you
want me to do that, let me know!

----------------------------------------------------------------------
 pzad - 09-07-2004 09:37 CEST 
----------------------------------------------------------------------
Sorry, I can not reproduce this with alsa 1.0.6a + Audigy + kernel 2.6.5.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
07-12-04 23:03 deathpudding   Bugnote Edited: 0001411                      
08-03-04 17:11 vlajsa         Bugnote Added: 0001528                       
09-07-04 09:37 pzad           Bugnote Added: 0001703                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-07-12 21:02 noreply
  0 siblings, 0 replies; 18+ messages in thread
From: noreply @ 2004-07-12 21:02 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              07-12-2004 23:02 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

----------------------------------------------------------------------
 pzad - 07-12-2004 13:31 CEST 
----------------------------------------------------------------------
I tested this with 32 MB soundfont what I have and it worked.
If this is free soundfont can you give link to it ????

----------------------------------------------------------------------
 deathpudding - 07-12-2004 23:02 CEST 
----------------------------------------------------------------------
I've tried it with multiple soundfonts, but here are two examples:

http://www.hammersound.net/cgi-bin/soundlink.pl?action=view_download_page;ID=116;SoundFont_Filename_Selected=mustheory2.sfArk
http://bennetng.kc-studio.com/bennetng_AnotherGS_v2-0.exe

Unfortunately the first requires the sfArk program, and the second is a
self-extracting sfArk. Both should work under Wine, at least.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
07-12-04 13:31 pzad           Bugnote Added: 0001409                       
07-12-04 23:02 deathpudding   Bugnote Added: 0001411                       
======================================================================




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-07-10 19:45 noreply
  0 siblings, 0 replies; 18+ messages in thread
From: noreply @ 2004-07-10 19:45 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              07-10-2004 21:45 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

----------------------------------------------------------------------
 deathpudding - 07-10-2004 21:45 CEST 
----------------------------------------------------------------------
I marked this as a 1.0.5a bug, but it doesn't look like it showed up in the
report.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
07-10-04 21:45 deathpudding   Bugnote Added: 0001405                       
======================================================================




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-07-10 18:39 noreply
  0 siblings, 0 replies; 18+ messages in thread
From: noreply @ 2004-07-10 18:39 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              07-10-2004 20:39 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

----------------------------------------------------------------------
 vlajsa - 07-10-2004 20:39 CEST 
----------------------------------------------------------------------
To add to this report! Sfxload don't work with alsa 1.0.5, too!

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
07-10-04 20:39 vlajsa         Bugnote Added: 0001404                       
======================================================================




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com

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

* [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB
@ 2004-07-05  7:43 noreply
  0 siblings, 0 replies; 18+ messages in thread
From: noreply @ 2004-07-05  7:43 UTC (permalink / raw)
  To: alsa-devel


The following bug has been SUBMITTED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000366
======================================================================
Reported By:                deathpudding
Assigned To:                pzad
======================================================================
Project:                    ALSA - driver
Bug ID:                     366
Category:                   PCI - emu10k1
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.6.7
======================================================================
Date Submitted:             07-05-2004 09:43 CEST
Last Modified:              07-05-2004 09:43 CEST
======================================================================
Summary:                    driver hangs when trying to load a soundfont >8MB
Description: 
The alsa driver and the applications using it hang, unkillable and unable
to be unloaded, when I try to load a soundfont larger than 8MB. This
sometimes results in the appearance of a page fault message when shutting
down. The shutdown is never completed because the disk cannot be
unmounted, presumably because the alsa driver is still frozen while trying
load the soundfont from it.

I found a thread in the alsa-devel archives discussing this problem:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg12386.html

I see that the discussed patch has been applied, but I still have this
problem. I haven't tested with versions prior to 1.0.4 because they did
not compile with the later library version, but I do know that it was
working not too long ago (with kernel 2.6.x).
======================================================================

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-05-04 09:43 deathpudding   New Bug                                      
07-05-04 09:43 deathpudding   Kernel Version            => 2.6.7           
======================================================================




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com

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

end of thread, other threads:[~2004-11-09 15:34 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-09 15:34 [ALSA - driver 0000366]: driver hangs when trying to load a soundfont >8MB bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2004-09-22 16:12 bugtrack
2004-09-22 10:05 bugtrack
2004-09-21 10:41 bugtrack
2004-09-14  0:43 bugtrack
2004-09-13 13:45 bugtrack
2004-09-09  2:30 bugtrack
2004-09-09  1:49 bugtrack
2004-09-09  1:46 bugtrack
2004-09-08 15:06 bugtrack
2004-09-07 23:38 bugtrack
2004-09-07 16:21 bugtrack
2004-09-07  8:31 bugtrack
2004-09-07  7:37 bugtrack
2004-07-12 21:02 noreply
2004-07-10 19:45 noreply
2004-07-10 18:39 noreply
2004-07-05  7:43 noreply

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.