On Wednesday 09 September 2009 20:46:35 Richard wrote:
athelon:/usr/src # ll total 152 drwxrwxrwx 2 500 500 4096 Jan 20 2002 buildkernel-1.06 -rwxrwxrwx 1 ricreig users 88976 Sep 8 20:53 buildkernel-1.06.tar.gz drwxrwxrwx 2 root root 4096 Sep 8 21:28 configs lrwxrwxrwx 1 root root 12 Sep 9 01:06 linux -> linux-2.6.30
Above is correct link.
drwxrwxrwx 24 root root 4096 Sep 8 23:07 linux-2.6.27.29-0.1 drwxrwxrwx 3 root root 4096 Aug 16 08:52 linux-2.6.27.29-0.1-obj drwxrwxrwx 3 root root 4096 Jul 24 02:38 linux-2.6.27.7-9-obj drwxrwxrwx 22 root root 4096 Sep 9 18:07 linux-2.6.30 drwxrwxrwx 3 root root 4096 Sep 8 22:49 linux-obj
But above is wrong. linux-obj should point to linux-2.6.30-obj directory, not to be a directory. Check that linux-obj contain build environment for linux-2.6.30 and if yes, change directory name to linux-2.6.30-obj, but taking that you get errors it is probably not the case. If not remove directory and install kernel-<flavor>-devel package for 2.6.30 and it will create correct symlink. Although, I would recommend to use the latest kernel from http://download.opensuse.org/factory/repo/oss . It has, as usually, few more bugs solved. But, also check where point links /lib/modules/2.6.27.29-0.1-pae/build and /lib/modules/2.6.27.29-0.1-pae/sources (for my current kernel). Here, openSUSE 11.1: build -> /usr/src/linux-2.6.27.29-0.1-obj/i386/pae source -> /usr/src/linux-2.6.27.29-0.1 That is what scripts for building modules will look for, unless you provide sources manually. The kernel compilation should not look for them. BTW, when my Nvidia module compilation failed the Nvidia script was looking for /lib/modules/`uname -r`/build , but that link was pointing to nothing. After installing kernel-syms that pulled in kernel-desktop-devel that link was OK, and compilation succeeded. In the meantime I checked content of kernel-desktop-devel package and it really contained symlink to linux-<version>-obj directory and that directory (and some /boot files), so you don't really need kernel-syms, but just kernel devel package for the kernel flavor that you want to use. -- Regards, Rajko People of openSUSE editor. Latest interviews: http://news.opensuse.org/category/people-of-opensuse/ About us: http://en.opensuse.org/People_of_openSUSE/About -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org