All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Paul Davis <paul@linuxaudiosystems.com>
Cc: Jaroslav Kysela <perex@suse.cz>,
	"alsa-devel@lists.sourceforge.net"
	<alsa-devel@lists.sourceforge.net>
Subject: Re: access to GPLONLY symbol SNAFU?
Date: Tue, 04 Mar 2003 17:30:30 +0100	[thread overview]
Message-ID: <s5hptp7f61l.wl@alsa2.suse.de> (raw)
In-Reply-To: <E18qEvh-0000x8-00@sc8-sf-list1.sourceforge.net>

At Tue, 04 Mar 2003 11:09:14 -0500,
Paul Davis wrote:
> 
> >> module-init-tools 0.9.10
> >  ^^^^^^^^^^^^^^^^^
> >
> >Probably bug in this package. I don't know the exact status of modules in 
> >2.5 (it's dramaticaly changing), but all ALSA modules are GPLed, thus this 
> >problem shouldn't occur.
> 
> good first guess, but no luck. i uninstalled it, reinstalled modutils
> 2.4.9, and the same problem occurs.

modutils-2.4.9 is fairly old..  isn't it 2.4.19?

> i don't understand how this
> happens: the kernel image contains only vmalloc_to_page, but
> /proc/ksyms has only the GPL version. i was hoping that someone with
> even more experience of this than i might have an idea what has gone
> wrong. it all works under 2.5 BTW, but i can't use 2.5 right now
> because the main serial driver is broken.

not the real solution but a workaround would be to change the
condition in alsa-driver/include/adriver.h line 322 like below

	/* vmalloc_to_page wrapper */
==>	#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 19)
	struct page *snd_compat_vmalloc_to_page(void *addr);
	#define vmalloc_to_page(addr) snd_compat_vmalloc_to_page(addr)
	#endif

and the corresponding part definition in
alsa-driver/acore/memory_wrapper.c and
EXPORT_SYMBOL() in alsa-driver/acore/sound.c.

or, try 2.4.20 or later.  it's changed as without GPL suffix.


ciao,

Takashi


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

  reply	other threads:[~2003-03-04 16:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-04 14:55 access to GPLONLY symbol SNAFU? Paul Davis
2003-03-04 15:48 ` Jaroslav Kysela
2003-03-04 16:09   ` Paul Davis
2003-03-04 16:30     ` Takashi Iwai [this message]
2003-03-04 16:44       ` Paul Davis
2003-03-04 16:40     ` Martin Langer
     [not found] <E18qIp2-00048W-00@sc8-sf-list2.sourceforge.net>
2003-03-08  5:12 ` Florian Bomers
2003-03-08 14:25   ` Jaroslav Kysela

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=s5hptp7f61l.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=paul@linuxaudiosystems.com \
    --cc=perex@suse.cz \
    /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.