From: Thomas Charbonnel <thomas@undata.org>
To: Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca>
Cc: Tim Blechmann <TimBlechmann@gmx.net>, alsa-devel@lists.sourceforge.net
Subject: Re: Hammerfall (hdsp) initialization problem
Date: Sun, 25 Jul 2004 13:16:29 +0200 [thread overview]
Message-ID: <1090754189.15178.8.camel@localhost> (raw)
In-Reply-To: <1090734488.3156.2.camel@modemcable182.55-70-69.mc.videotron.ca>
> > that's a known problem with the hdsp driver, a lot of continuous memory
> > has to be allocated, which can more likely be done on a freshly booted
> > machine ...
> > the best solution: keep the cardbus interface plugged into the slot all
> > the time ... if you start the computer, the memory will be allocated
>
> Actually, I suspect there's more than that. I've tried running a program
> that malloc()'s 1 GB of memory (the amount of RAM I have), writes to it
> and then free()'s it, so there's lots of memory available after that.
> Still doesn't work (and obviously there's lots of continuous memory
> available).
>
> Jean-Marc
The problem is that for the preallocation to work, the card has to be
inserted and recognized (the preallocation code scans for the pci vendor
and device ids), so this is a cardbus specific issue. If the card is not
inserted when the preallocation is run, then it will default at probing
time to the standard snd_dma_alloc_pages which is more and more likely
to fail as your uptime rises. The only solution would be to preallocate
the memory anyway, but most user won't need this. Takashi, how about a
kernel/compile time option forcing preallocation for cardbus hdsp owners
?
Thomas
-------------------------------------------------------
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=4721&alloc_id=10040&op=click
next prev parent reply other threads:[~2004-07-25 11:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-23 18:32 Hammerfall (hdsp) initialization problem Jean-Marc Valin
2004-07-24 8:05 ` Tim Blechmann
2004-07-25 5:48 ` Jean-Marc Valin
2004-07-25 11:16 ` Thomas Charbonnel [this message]
2004-07-27 13:47 ` Takashi Iwai
2004-07-27 16:07 ` Jean-Marc Valin
2004-07-27 16:30 ` Takashi Iwai
2004-07-27 19:26 ` Paul Davis
2004-07-30 13:01 ` Takashi Iwai
2004-07-27 13:43 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1090754189.15178.8.camel@localhost \
--to=thomas@undata.org \
--cc=Jean-Marc.Valin@USherbrooke.ca \
--cc=TimBlechmann@gmx.net \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.