2.6.18 unknown symbol ksize error
Hi,
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.
--
Patrick Shirkey
Boost Hardware Ltd
Quoted 9 lines · Patrick Shirkey
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 ksizeAs 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.
Regards,
Clemens
At Mon, 18 Jun 2012 10:25:06 +0200,
Quoted 7 lines · Clemens Ladisch
Quoted 5 lines · Patrick Shirkey
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.
Quoted 8 lines
Quoted 4 lines
snd_rawmidi: Unknown symbol ksizeAs 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.
Takashi
---
configure.in +8 -0
@@ -812,6 +812,14 @@ case "$debug" in ;; esac +dnl ksize() is almost mandatory now +if test "$CONFIG_SND_DEBUG_MEMORY" != "y"; then + if test $kvernum -le 206022; then + CONFIG_SND_DEBUG_MEMORY=y + AC_DEFINE(CONFIG_SND_DEBUG_MEMORY) + fi +fi + dnl Check for ISA support (for 2.4 kernel)... if test $kvernum -ge 203000; then CHECK_KERNEL_CONFIG(CONFIG_ISA, [ISA support in kernel])
Quoted 14 lines · Takashi Iwai
At Mon, 18 Jun 2012 10:25:06 +0200,
Quoted 12 lines · Clemens Ladisch
Quoted 1 line · Patrick Shirkey
I have compiled the latest stable alsa drivers against 2.6.18 kernel
with
Quoted 7 lines
gcc-4.1.
I am getting an error when I insert the sound card modules.
snd_rawmidi: Unknown symbol ksizeAs far as I can tell 2.6.18 has support for ksize so I am not sure
where
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
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_MEMORYon 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_kmallocsnd_timer: Unknown symbol snd_register_device_for_devsnd_pcm: Unknown symbol snd_hidden_kzallocsnd_pcm: Unknown symbol snd_info_registersnd_pcm: Unknown symbol snd_info_create_module_entrysnd_pcm: Unknown symbol snd_timer_notifysnd_pcm: Unknown symbol snd_timer_interruptsnd_pcm: Unknown symbol snd_info_free_entrysnd_pcm: Unknown symbol snd_add_device_sysfs_filesnd_pcm: Unknown symbol snd_info_get_strsnd_pcm: Unknown symbol snd_hidden_kcallocsnd_pcm: Unknown symbol snd_hidden_kfreesnd_pcm: Unknown symbol snd_ctl_register_ioctlsnd_pcm: Unknown symbol snd_card_file_addsnd_pcm: Unknown symbol __snd_printksnd_pcm: Unknown symbol snd_iprintfsnd_pcm: Unknown symbol snd_majorsnd_pcm: Unknown symbol snd_unregister_devicesnd_pcm: Unknown symbol snd_timer_newsnd_pcm: Unknown symbol snd_device_newsnd_pcm: Unknown symbol snd_ctl_unregister_ioctlsnd_pcm: Unknown symbol snd_lookup_minor_datasnd_pcm: Unknown symbol snd_info_create_card_entrysnd_pcm: Unknown symbol snd_power_waitsnd_pcm: Unknown symbol snd_hidden_kmallocsnd_pcm: Unknown symbol snd_device_freesnd_pcm: Unknown symbol snd_card_file_removesnd_pcm: Unknown symbol snd_register_device_for_devsnd_pcm: Unknown symbol gcdsnd_pcm: Unknown symbol snd_device_registersnd_pcm: Unknown symbol snd_info_get_linesnd_ac97_codec: Unknown symbol snd_hidden_kzallocsnd_ac97_codec: Unknown symbol snd_info_registersnd_ac97_codec: Unknown symbol snd_ctl_addsnd_ac97_codec: Unknown symbol snd_info_free_entrysnd_ac97_codec: Unknown symbol snd_hidden_kcallocsnd_ac97_codec: Unknown symbol snd_interval_refinesnd_ac97_codec: Unknown symbol snd_hidden_kfreesnd_ac97_codec: Unknown symbol snd_ctl_find_idsnd_ac97_codec: Unknown symbol snd_ctl_new1snd_ac97_codec: Unknown symbol snd_ctl_remove_idsnd_ac97_codec: Unknown symbol snd_component_addsnd_ac97_codec: Unknown symbol snd_ctl_make_virtual_mastersnd_ac97_codec: Unknown symbol snd_pcm_hw_rule_addsnd_ac97_codec: Unknown symbol __snd_printksnd_ac97_codec: Unknown symbol snd_iprintfsnd_ac97_codec: Unknown symbol snd_ctl_boolean_mono_infosnd_ac97_codec: Unknown symbol snd_device_newsnd_ac97_codec: Unknown symbol _snd_ctl_add_slavesnd_ac97_codec: Unknown symbol snd_info_create_card_entrysnd_ac97_codec: Unknown symbol snd_info_get_line
snd: Unknown symbol unregister_sound_special
snd: Unknown symbol register_sound_special_device
snd: Unknown symbol sound_classsnd_seq_device: Unknown symbol snd_hidden_kzallocsnd_seq_device: Unknown symbol snd_info_register
usb 3-1: new low speed USB device using uhci_hcd and address 3snd_seq_device: Unknown symbol snd_info_create_module_entrysnd_seq_device: Unknown symbol snd_info_free_entrysnd_seq_device: Unknown symbol snd_seq_rootsnd_seq_device: Unknown symbol snd_hidden_kfreesnd_seq_device: Unknown symbol __snd_printksnd_seq_device: Unknown symbol snd_iprintfsnd_seq_device: Unknown symbol snd_device_new
snd: Unknown symbol unregister_sound_special
snd: Unknown symbol register_sound_special_device
snd: Unknown symbol sound_classsnd_seq_device: Unknown symbol snd_hidden_kzallocsnd_seq_device: Unknown symbol snd_info_registersnd_seq_device: Unknown symbol snd_info_create_module_entrysnd_seq_device: Unknown symbol snd_info_free_entrysnd_seq_device: Unknown symbol snd_seq_rootsnd_seq_device: Unknown symbol snd_hidden_kfreesnd_seq_device: Unknown symbol __snd_printksnd_seq_device: Unknown symbol snd_iprintfsnd_seq_device: Unknown symbol snd_device_newsnd_rawmidi: Unknown symbol snd_hidden_kzallocsnd_rawmidi: Unknown symbol snd_info_registersnd_rawmidi: Unknown symbol snd_hidden_ksizesnd_rawmidi: Unknown symbol snd_seq_device_newsnd_rawmidi: Unknown symbol snd_info_free_entrysnd_rawmidi: Unknown symbol snd_hidden_kfreesnd_rawmidi: Unknown symbol snd_unregister_oss_devicesnd_rawmidi: Unknown symbol snd_register_oss_devicesnd_rawmidi: Unknown symbol snd_ctl_register_ioctlsnd_rawmidi: Unknown symbol snd_card_file_addsnd_rawmidi: Unknown symbol __snd_printksnd_rawmidi: Unknown symbol snd_iprintfsnd_rawmidi: Unknown symbol snd_majorsnd_rawmidi: Unknown symbol snd_oss_info_registersnd_rawmidi: Unknown symbol snd_unregister_device
Quoted 14 lines
Takashi
---
configure.in +1
-0@@ -812,6 +812,14 @@ case "$debug" in ;; esac +dnl ksize() is almost mandatory now
configure.in case "$debug" in · line 825
Quoted 10 lines
configure.in +7
-0+if test "$CONFIG_SND_DEBUG_MEMORY" != "y"; then + if test $kvernum -le 206022; then + CONFIG_SND_DEBUG_MEMORY=y + AC_DEFINE(CONFIG_SND_DEBUG_MEMORY) + fi +fi + dnl Check for ISA support (for 2.4 kernel)... if test $kvernum -ge 203000; then CHECK_KERNEL_CONFIG(CONFIG_ISA, [ISA support in kernel])
--
Patrick Shirkey
Boost Hardware Ltd
At Sun, 24 Jun 2012 03:56:51 +0200 (CEST),
Quoted 33 lines · Patrick Shirkey
Quoted 14 lines · Takashi Iwai
At Mon, 18 Jun 2012 10:25:06 +0200,
Quoted 12 lines · Clemens Ladisch
Quoted 1 line · Patrick Shirkey
I have compiled the latest stable alsa drivers against 2.6.18 kernel
with
Quoted 7 lines
gcc-4.1.
I am getting an error when I insert the sound card modules.
snd_rawmidi: Unknown symbol ksizeAs far as I can tell 2.6.18 has support for ksize so I am not sure
where
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
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_MEMORYon 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.
Quoted 4 lines
Now seeing the following errors from dmesg:
snd_hidden_kmallocsnd_timer: Unknown symbolsnd_register_device_for_dev
...
Then try simple passing --with-debug=full configure option.
Takashi
Quoted 36 lines · Takashi Iwai
At Sun, 24 Jun 2012 03:56:51 +0200 (CEST),
Quoted 34 lines · Patrick Shirkey
Quoted 5 lines · Takashi Iwai
At Mon, 18 Jun 2012 10:25:06 +0200,
Quoted 3 lines · Clemens Ladisch
Quoted 1 line · Patrick Shirkey
I have compiled the latest stable alsa drivers against 2.6.18
kernel
Quoted 9 lines
Quoted 9 lines
with
Quoted 7 lines
gcc-4.1.
I am getting an error when I insert the sound card modules.
snd_rawmidi: Unknown symbol ksizeAs far as I can tell 2.6.18 has support for ksize so I am not sure
where
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
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_MEMORYon 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.
Quoted 9 lines
Quoted 4 lines
Now seeing the following errors from dmesg:
snd_hidden_kmallocsnd_timer: Unknown symbolsnd_register_device_for_dev...
Then try simple passing --with-debug=full configure option.
It's the same results with both methods.
Any other ideas or should I go ahead with compiling a new kernel?
--
Patrick Shirkey
Boost Hardware Ltd
At Sat, 30 Jun 2012 11:28:34 +0200 (CEST),
Quoted 43 lines · Patrick Shirkey
Quoted 40 lines · Takashi Iwai
At Sun, 24 Jun 2012 03:56:51 +0200 (CEST),
Quoted 38 lines · Patrick Shirkey
Quoted 5 lines · Takashi Iwai
At Mon, 18 Jun 2012 10:25:06 +0200,
Quoted 3 lines · Clemens Ladisch
Quoted 1 line · Patrick Shirkey
I have compiled the latest stable alsa drivers against 2.6.18
kernel
Quoted 9 lines
Quoted 9 lines
with
Quoted 7 lines
gcc-4.1.
I am getting an error when I insert the sound card modules.
snd_rawmidi: Unknown symbol ksizeAs far as I can tell 2.6.18 has support for ksize so I am not sure
where
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
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_MEMORYon 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_kmallocsnd_timer: Unknown symbolsnd_register_device_for_dev
Quoted 7 lines
Quoted 5 lines
...
Then try simple passing --with-debug=full configure option.
It's the same results with both methods.
Then something wrong in other parts.
Quoted 1 line
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