Fredrik Tolf ha scritto: >On Thu, 2005-03-17 at 14:05 -0800, ms419@freezone.co.uk wrote: > > >>Begin forwarded message: >> >> >> >>>From: Antonio-Blasco Bonito >>>Date: March 17, 2005 4:02:35 AM PST >>>To: ms419@freezone.co.uk >>>Subject: Re: alsa bluetooth module >>> >>> >[...] > > >>>I get: >>># modprobe snd-bt-sco >>>FATAL: Error inserting snd_bt_sco >>>(/lib/modules/2.6.8-2-686/extra/snd-bt-sco.ko): Unknown symbol in >>>module, or unknown parameter (see dmesg) >>> >>># dmesg|tail >>>... >>>snd_bt_sco: no version for "struct_module" found: kernel tainted. >>>snd_bt_sco: Unknown symbol kcalloc >>> >>> > >Well, I'm not sure (especially since I don't use Debian and thus have no >idea how they compile their kernels), but I would guess that this is a >matter of symbol versioning. Is this module compiled against the same >kernel (and with the same compilation options) that Blasco is using? > > Yes. Running kernel is from debian package 2.6.8-2-686 and the module is compiled against kernel-headers-2.6.8-2-686 >Try to check the output of `grep kcalloc /proc/kallsyms' and compare >that to the output of `nm /path/to/snd-bt-sco.ko | grep kcalloc'. > > $ grep kcalloc /proc/kallsyms ce9f6a40 U snd_kcalloc [snd_opl3_lib] ce9f6a40 U snd_kcalloc [snd_hwdep] ce9f6a40 U snd_kcalloc [snd_mpu401_uart] ce9f6a40 U snd_kcalloc [snd_rawmidi] ce9f6a40 U snd_kcalloc [snd_seq_device] ce9f6a40 U snd_kcalloc [snd_cs4231_lib] ce9f6a40 U snd_kcalloc [snd_pcm_oss] ce9f6a40 U snd_kcalloc [snd_mixer_oss] ce9f6a40 U snd_kcalloc [snd_pcm] ce9f6a40 U snd_kcalloc [snd_timer] ce9fc4d8 r __kcrctab_snd_kcalloc [snd] ce9fc634 r __kstrtab_snd_kcalloc [snd] ce9fca40 r __ksymtab_snd_kcalloc [snd] ce9f6a40 T snd_kcalloc [snd] 4da9e78a a __crc_snd_kcalloc [snd] $ nm /lib/modules/2.6.8-2-686/extra/snd-bt-sco.ko |grep kcalloc U kcalloc > > >>>I looked in alsa sources in the kernel and I only found >>>"snd_magic_kcalloc" >>>Maybe kcalloc calls should be renamed as such? >>> >>> > >By no means. kcalloc() is a core kernel function, defined in mm/slab.c. >It's not an ALSA-specific routine. > > No kcalloc in there... see the appended file from kernel-source-2.6.8 Blasco -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Con la Pietra Naturale puoi grigliare carne, pesce e verdura direttamente in tavola! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2743&d=19-3