[prev in list] [next in list] [prev in thread] [next in thread]
List: centos
Subject: Re: [CentOS] Kernel build warning
From: Johnny Hughes <mailing-lists () hughesjr ! com>
Date: 2007-07-06 9:11:43
Message-ID: 468E074F.8040109 () hughesjr ! com
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Akemi Yagi wrote:
> On 7/5/07, Mark Hull-Richter <mhullrich@gmail.com> wrote:
>> On Wed, 2007-07-04 at 20:04 -0700, Akemi Yagi wrote:
>> > When you got this warning:
>> >
>> > > WARNING: "autofs_kill_sb" [fs/autofs/autofs.ko] undefined!
>> >
>> > did you copy the config file from the SOURCES directory? And did you
>> > run "make oldconfig" after copying but before "make menuconfig"? If
>> > this was not the case, try the make oldconfig step. This should give
>> > you the correct AUTOFS options.
>> >
>>
>> Originally, no, I had run make oldconfig. I did a rebuild with that and
>> got no errors. Here is what my config files now contain:
>>
>> $ grep -i autofs *86_64*.config
>> kernel-2.6.18-x86_64.config:# CONFIG_AUTOFS_FS is not set
>> kernel-2.6.18-x86_64.config:CONFIG_AUTOFS4_FS=m
>> kernel-2.6.18-x86_64-kdump.config:CONFIG_AUTOFS_FS=m
>> kernel-2.6.18-x86_64-kdump.config:CONFIG_AUTOFS4_FS=m
>> kernel-2.6.18-x86_64-xen.config:CONFIG_AUTOFS_FS=m
>> kernel-2.6.18-x86_64-xen.config:CONFIG_AUTOFS4_FS=m
>>
>> $ ll *86_64*.config
>> 63438 Jul 5 12:05 kernel-2.6.18-x86_64.config
>> 64767 Jul 2 18:28 kernel-2.6.18-x86_64-kdump.config
>> 65935 Jul 2 18:27 kernel-2.6.18-x86_64-xen.config
>>
>> (Note that I only built the stock kernel, not the xen or dump kernels.)
>>
>> Thanks.
>>
>> mhr
>
> Right. Running make oldconfig was the key. Congrats on your
> successful rebuild.
For the record ... running "make oldconfig" has now been added to the
wiki article for creating a custom kernel:
http://wiki.centos.org/HowTos/Custom_Kernel
Thanks,
Johnny Hughes
["signature.asc" (application/pgp-signature)]
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic