[alsa-devel] 2.6.18 unknown symbol ksize error
Takashi Iwai
tiwai at suse.de
Mon Jul 2 10:09:06 CEST 2012
At Sat, 30 Jun 2012 11:28:34 +0200 (CEST),
Patrick Shirkey wrote:
>
>
> On Sun, June 24, 2012 9:23 pm, Takashi Iwai wrote:
> > At Sun, 24 Jun 2012 03:56:51 +0200 (CEST),
> > Patrick Shirkey wrote:
> >>
> >>
> >> On Mon, June 18, 2012 11:33 am, Takashi Iwai wrote:
> >> > At Mon, 18 Jun 2012 10:25:06 +0200,
> >> > Clemens Ladisch wrote:
> >> >>
> >> >> Patrick Shirkey wrote:
> >> >> > I have compiled the latest stable alsa drivers against 2.6.18
> >> kernel
> >> >> with
> >> >> > gcc-4.1.
> >> >> >
> >> >> > I am getting an error when I insert the sound card modules.
> >> >> >
> >> >> > snd_rawmidi: Unknown symbol ksize
> >> >> >
> >> >> > As far as I can tell 2.6.18 has support for ksize so I am not sure
> >> >> where
> >> >> > this error is coming from.
> >> >>
> >> >> That kernel didn't export ksize.
> >> >>
> >> >> Try --with-debug=memory to get a separate allocator implementation.
> >> >
> >> > Indeed. The patch below (untested) forces to enable
> >> > CONFIG_SND_DEBUG_MEMORY on older kernels. Let me know if this helps.
> >> >
> >>
> >> Seems to be worse now. Compiling with gcc-4.1 because that is the latest
> >> version of gcc we can get on this old system without having to go
> >> wholesale LFS on it. Upgrading alsa and jack is a big step for this
> >> machine. If this is in the too hard basket I'll compile a new kernel
> >> instead.
> >>
> >> Now seeing the following errors from dmesg:
> >>
> >> snd_hidden_kmalloc
> >> snd_timer: Unknown symbol snd_register_device_for_dev
> > ...
> >
> > Then try simple passing --with-debug=full configure option.
> >
> >
>
> It's the same results with both methods.
Then something wrong in other parts.
> Any other ideas or should I go ahead with compiling a new kernel?
Make sure that you recompile all after make clean, then give the whole
kernel message after loading the module.
Takashi
More information about the Alsa-devel
mailing list