[OpenAFS] OpenAFS 1.4.x on SuSE 10.1 and rlim error

Ken Aaker kenaaker@silverbacksystems.com
Tue, 19 Sep 2006 12:02:56 -0500


The general setup for SuSE kernels is to have "/lib/modules/{kernel-name
uname -r for the running kernel}/build" point back into a "built" kernel
tree that contains .config's, symvers, and anything else needed for
building modules for each of the shipped kernel versions. When the
kernel-source rpm gets updated those kernel build trees get replaced.

For example, on my 10.1 system the I installed with a
2.6.16.13-4-default kernel that was then updated to a 2.6.16.21-0.13
kernel. within the new kernel source trees, there are bigsmp, debug,
default, kdump, smp, um, xen, and xenpae kernels built off the full
sources in /usr/src/linux-2.6.16.21-0.13 directory. Typically you can
build successfully, for the running kernel, by using /lib/modules/`uname
-r`/build. for the linux kernel sources.

Ken Aaker

Derrick J Brashear wrote:
> On Tue, 19 Sep 2006, Lewis, Dave wrote:
>
>> In my previous attempt where I didn't specify where to find the kernel
>> headers, my src/config/Makefile.config has
>>     LINUX_KERNEL_PATH = /lib/modules/2.6.16.13-4-default/build
>
> does /lib/modules/2.6.16.13-4-default/source exist?
> what does it point to?
>
>> Now with the switch that file has
>>     LINUX_KERNEL_PATH = /usr/src/linux
>>
>>
>>> -----Original Message-----
>>> From: rees@citi.umich.edu [mailto:rees@citi.umich.edu]On Behalf Of Jim
>>> Rees
>>> Sent: Tuesday, September 19, 2006 10:42 AM
>>> To: Lewis, Dave
>>> Cc: OpenAFS-info (E-mail)
>>> Subject: Re: [OpenAFS] OpenAFS 1.4.x on SuSE 10.1 and rlim error
>>>
>>>
>>>   I did have kernel-source installed. The problem was that I had
>>>   left off "--with-linux-kernel-headers=/usr/src/linux" when I ran
>>>   configure. I am somewhat embarassed that it was so simple.
>>>
>>> That shouldn't be necessary.  Do you know why it failed?  Did
>>> it find a
>>> different set of kernel sources?
>>>
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info