2006-03-21 05:46:53

by Dave Jones

[permalink] [raw]
Subject: unresolved emu10k1 synth symbols.

I just noticed this whilst booting 2.6.16 on a test box

snd_emu10k1_synth: Unknown symbol snd_emu10k1_ptr_read
snd_emu10k1_synth: Unknown symbol snd_emu10k1_synth_copy_from_user
snd_emu10k1_synth: Unknown symbol snd_emu10k1_voice_free
snd_emu10k1_synth: Unknown symbol snd_emu10k1_synth_free
snd_emu10k1_synth: Unknown symbol snd_emu10k1_ptr_write
snd_emu10k1_synth: Unknown symbol snd_emu10k1_synth_bzero
snd_emu10k1_synth: Unknown symbol snd_emu10k1_voice_alloc
snd_emu10k1_synth: Unknown symbol snd_emu10k1_memblk_map
snd_emu10k1_synth: Unknown symbol snd_emu10k1_synth_alloc

This kernel was configured with CONFIG_SND_EMU10K1=m
and CONFIG_SND_SEQUENCER=m

This looks like it can't possibly work, unless I change
CONFIG_SND_EMU10K1 to =y. Is exporting a symbol from one
module to another actually supposed to work?
I thought this was why we had the ill-fated intermodule_register() ?.

Dave

--
http://www.codemonkey.org.uk


2006-03-21 10:53:40

by Adrian Bunk

[permalink] [raw]
Subject: Re: unresolved emu10k1 synth symbols.

On Tue, Mar 21, 2006 at 12:46:34AM -0500, Dave Jones wrote:
>...
> This looks like it can't possibly work, unless I change
> CONFIG_SND_EMU10K1 to =y. Is exporting a symbol from one
> module to another actually supposed to work?
>...

How could e.g. CONFIG_SCSI=m or CONFIG_USB=m do anything useful if it
wasn't?

> Dave

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2006-03-21 11:04:41

by Takashi Iwai

[permalink] [raw]
Subject: Re: unresolved emu10k1 synth symbols.

At Tue, 21 Mar 2006 00:46:34 -0500,
Dave Jones wrote:
>
> I just noticed this whilst booting 2.6.16 on a test box
>
> snd_emu10k1_synth: Unknown symbol snd_emu10k1_ptr_read
> snd_emu10k1_synth: Unknown symbol snd_emu10k1_synth_copy_from_user
> snd_emu10k1_synth: Unknown symbol snd_emu10k1_voice_free
> snd_emu10k1_synth: Unknown symbol snd_emu10k1_synth_free
> snd_emu10k1_synth: Unknown symbol snd_emu10k1_ptr_write
> snd_emu10k1_synth: Unknown symbol snd_emu10k1_synth_bzero
> snd_emu10k1_synth: Unknown symbol snd_emu10k1_voice_alloc
> snd_emu10k1_synth: Unknown symbol snd_emu10k1_memblk_map
> snd_emu10k1_synth: Unknown symbol snd_emu10k1_synth_alloc
>
> This kernel was configured with CONFIG_SND_EMU10K1=m
> and CONFIG_SND_SEQUENCER=m
>
> This looks like it can't possibly work, unless I change
> CONFIG_SND_EMU10K1 to =y. Is exporting a symbol from one
> module to another actually supposed to work?
> I thought this was why we had the ill-fated intermodule_register() ?.

Weird. By modprobe, snd-emu10k1 module should be loaded in prior to
snd-emu10k1-synth because of the dependency of above symbols.

How is snd-emu10k1-synth module loaded?


Takashi

2006-03-21 18:10:08

by Dave Jones

[permalink] [raw]
Subject: Re: unresolved emu10k1 synth symbols.

On Tue, Mar 21, 2006 at 12:04:35PM +0100, Takashi Iwai wrote:

> Weird. By modprobe, snd-emu10k1 module should be loaded in prior to
> snd-emu10k1-synth because of the dependency of above symbols.
>
> How is snd-emu10k1-synth module loaded?

with the following modprobe.conf fragment

install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && /sbin/modprobe snd-emu10k1-synth

Dave

--
http://www.codemonkey.org.uk

2006-03-22 14:16:49

by Takashi Iwai

[permalink] [raw]
Subject: Re: unresolved emu10k1 synth symbols.

At Tue, 21 Mar 2006 13:09:57 -0500,
Dave Jones wrote:
>
> On Tue, Mar 21, 2006 at 12:04:35PM +0100, Takashi Iwai wrote:
>
> > Weird. By modprobe, snd-emu10k1 module should be loaded in prior to
> > snd-emu10k1-synth because of the dependency of above symbols.
> >
> > How is snd-emu10k1-synth module loaded?
>
> with the following modprobe.conf fragment
>
> install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && /sbin/modprobe snd-emu10k1-synth

Does the manual modprobe snd-emu10k1-synth after loading snd-emu10k1
work?


Takashi

2006-03-22 17:54:35

by Dave Jones

[permalink] [raw]
Subject: Re: unresolved emu10k1 synth symbols.

On Wed, Mar 22, 2006 at 03:16:47PM +0100, Takashi Iwai wrote:
> At Tue, 21 Mar 2006 13:09:57 -0500,
> Dave Jones wrote:
> >
> > On Tue, Mar 21, 2006 at 12:04:35PM +0100, Takashi Iwai wrote:
> >
> > > Weird. By modprobe, snd-emu10k1 module should be loaded in prior to
> > > snd-emu10k1-synth because of the dependency of above symbols.
> > >
> > > How is snd-emu10k1-synth module loaded?
> >
> > with the following modprobe.conf fragment
> >
> > install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && /sbin/modprobe snd-emu10k1-synth
>
> Does the manual modprobe snd-emu10k1-synth after loading snd-emu10k1
> work?

Yes, it does.

Dave

--
http://www.codemonkey.org.uk

2006-03-23 10:46:52

by Takashi Iwai

[permalink] [raw]
Subject: Re: unresolved emu10k1 synth symbols.

At Wed, 22 Mar 2006 12:54:26 -0500,
Dave Jones wrote:
>
> On Wed, Mar 22, 2006 at 03:16:47PM +0100, Takashi Iwai wrote:
> > At Tue, 21 Mar 2006 13:09:57 -0500,
> > Dave Jones wrote:
> > >
> > > On Tue, Mar 21, 2006 at 12:04:35PM +0100, Takashi Iwai wrote:
> > >
> > > > Weird. By modprobe, snd-emu10k1 module should be loaded in prior to
> > > > snd-emu10k1-synth because of the dependency of above symbols.
> > > >
> > > > How is snd-emu10k1-synth module loaded?
> > >
> > > with the following modprobe.conf fragment
> > >
> > > install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && /sbin/modprobe snd-emu10k1-synth
> >
> > Does the manual modprobe snd-emu10k1-synth after loading snd-emu10k1
> > work?
>
> Yes, it does.

Hm, then I have no more ideas... :<


Takashi

2006-03-23 19:35:43

by Margit Schubert-While

[permalink] [raw]
Subject: Re: unresolved emu10k1 synth symbols.

>> with the following modprobe.conf fragment
>> install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 &&
/sbin/modprobe snd-emu10k1-synth

Isn't that command wrong ?
You are telling it to ignore the install for snd-emu10k1.
How about :
install snd-emu10k1-synth /sbin/modprobe snd-emu10k1 && /sbin/modprobe
--ignore-install snd-emu10k1-synth

Margit