Problem compiling Alsa CVS on the Suse 8.0
Hi all! Another problem I am having is as follows: Upon installing kernel devel sources (pretty much full install from a 8.0 DVD on my laptop), I found out that my /lib/modules/ has 3 folders: 2.4.18-4GB (which is mostly empty with an exception of a couple of files, i.e. modules.dep and some *.*map files, as well as video folder) 2.4.18-4GB-SMP (which is empty) 2.4.18-64GB-SMP (which has all the right stuff) However, this is rather confusing since my cpu is a laptop and there is no way it needs an SMP kernel to run. Furthermore if I go to the /usr/src/linux/ and cat .kversion it tells me that the kernel is 2.4.18-4GB not 2.4.18-64GB-SMP (even though k control center tells me it is 2.4.18-64GB-SMP). Now, this would not bother me if it were not for a problem when it came to compiling ALSA CVS (the reason why I want to compile the CVS is since it has the latest HDSP driver which I want to test out). So, what happens is when I configure Alsa cvs (Which compiles just fine on other machines which tells me that something must be wrong with the Suse, rather than ALSA) is that it wants to dump all the installed modules in the /lib/modules/2.4.18-4GB/ folder, where even if I do depmod -a 2.4.18-4GB, I cannot modprobe modules (they are simply not found). If I force or move those modules into the 2.4.18-64GB-SMP folder (under the misc/ sub-folder), then I get the following error (Which makes no sense since there is only one kernel source in the /usr/src/linux): # modprobe snd-hdsp /lib/modules/2.4.18-64GB-SMP/misc/snd-hammerfall-mem.o: kernel-module version mismatch /lib/modules/2.4.18-64GB-SMP/misc/snd-hammerfall-mem.o was compiled for kernel version 2.4.18-4GB while this kernel is version 2.4.18-64GB-SMP. /lib/modules/2.4.18-64GB-SMP/misc/snd-hammerfall-mem.o: insmod /lib/modules/2.4.18-64GB-SMP/misc/snd-hammerfall-mem.o failed /lib/modules/2.4.18-64GB-SMP/misc/snd-hammerfall-mem.o: insmod snd-hdsp failed So my question is how the heck is this possible? Should I then recompile my own kernel to get rid of this problem, or is there a more elegant way of doing this? Any help is greatly appreciated! Sincerely, Ico
On Monday 20 May 2002 20.51, Ivica Bukvic wrote:
Hi all!
Another problem I am having is as follows:
Upon installing kernel devel sources (pretty much full install from a 8.0 DVD on my laptop), I found out that my /lib/modules/ has 3 folders:
2.4.18-4GB (which is mostly empty with an exception of a couple of files, i.e. modules.dep and some *.*map files, as well as video folder)
2.4.18-4GB-SMP (which is empty)
2.4.18-64GB-SMP (which has all the right stuff)
However, this is rather confusing since my cpu is a laptop and there is no way it needs an SMP kernel to run.
You have the nvidia driver rpms installed, haven't you? These rpms install drivers compiled for all kernels included in the distribution, so you get the directories which are empty except for the nvidia driver. Furthermore if I go to the
/usr/src/linux/ and cat .kversion it tells me that the kernel is 2.4.18-4GB
Don't trust that, that's just a text file. uname -a will tell you what the kernel think it's named.
not 2.4.18-64GB-SMP (even though k control center tells me it is 2.4.18-64GB-SMP).
Now, this would not bother me if it were not for a problem when it came to compiling ALSA CVS (the reason why I want to compile the CVS is since it has the latest HDSP driver which I want to test out).
So, what happens is when I configure Alsa cvs (Which compiles just fine on other machines which tells me that something must be wrong with the Suse, rather than ALSA) is that it wants to dump all the installed modules in the /lib/modules/2.4.18-4GB/ folder, where even if I do depmod -a 2.4.18-4GB, I cannot modprobe modules (they are simply not found).
Before you compile the alsa stuff you should do this cd /usr/src/linux make mrproper make cloneconfig make dep After that I suspect it will work. regards Anders -- I swear I do declare - how did you get that there?
Ivica Bukvic
However, this is rather confusing since my cpu is a laptop and there is no way it needs an SMP kernel to run.
There are cases where YaST2 installs a SMP kernel even if it's not needed. Either because the BIOS wrongly says so or because you have a Pentium4 processor with the flag for hyper threading set. If you only have a single CPU system, install k_deflt.rpm from the /suse/images directory on the first CD. This is the UP kernel, with modules located in /lib/modules/2.4.18-4GB. Philipp
participants (3)
-
Anders Johansson
-
Ivica Bukvic
-
Philipp Thomas