Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257721 - media-sound/awesfx - asfxload: 64bit system + 4GB+ RAM asfxload fails to load anything but smalish soundfonts with "no memory"
Summary: media-sound/awesfx - asfxload: 64bit system + 4GB+ RAM asfxload fails to load...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 04:17 UTC by Rüdiger Ruwe
Modified: 2009-02-06 08:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Ruwe 2009-02-05 04:17:23 UTC
Mistake either in kernel / emu10k1 kernel module or in asfxload.
When trying to load a soundfont in the specific configuration asfxload fails with the report "no memory left". asfxload -M delivers correct amount of free memory on card or in system as specified by max_buffer_size, but fails to load anything in the size of 10-100 MBs.
since -M gives right value this routine:
SNDRV_EMUX_IOCTL_MEM_AVAIL = _IOW('H', 0x84, int)

int seq_mem_avail(void)
{
	int mem_avail = 0;
	snd_hwdep_ioctl(hwdep, SNDRV_EMUX_IOCTL_MEM_AVAIL, &mem_avail);
	return mem_avail;
}

seems to work, but while loading the return value is 3 not 0. This probably comes from a mistake in the driver.

Reproducible: Always

Steps to Reproduce:
1.64bit AMD
2.4GB RAM
3.EMU0404 card
4. Try to load anything bigger than a couple of MBs with asfxload.

Actual Results:  
asfxload reports "no memory"

Expected Results:  
asfxload should report success, return value 0
Comment 1 Patrick Lauer gentoo-dev 2009-02-05 06:53:18 UTC
Which package / kernel module / ... is this coming from?
Excuse my ignorance, I boycott Creative Labs :)
Comment 2 Rüdiger Ruwe 2009-02-06 08:03:08 UTC
(In reply to comment #1)
> Which package / kernel module / ... is this coming from?
> Excuse my ignorance, I boycott Creative Labs :)

emu10k1