What does this mean:
WARNING: "autofs_kill_sb" [fs/autofs/autofs.ko] undefined! WARNING: /var/tmp/kernel-2.6.18-8.1.6.el5.nx-root/lib/modules/2.6.18-8.1.6.el5.nx/kernel/fs/autofs/autofs.ko needs unknown symbol autofs_kill_sb
It causes a similar warning when I install the kernel. The only change I made when I built this kernel was to add NTFS support (need it for various reasons, including portable repairs...).
Thanks,
mhr
On 7/2/07, Mark Hull-Richter mhullrich@gmail.com wrote:
What does this mean:
WARNING: "autofs_kill_sb" [fs/autofs/autofs.ko] undefined! WARNING: /var/tmp/kernel-2.6.18-8.1.6.el5.nx-root/lib/modules/2.6.18-8.1.6.el5.nx/kernel/fs/autofs/autofs.ko needs unknown symbol autofs_kill_sb
It causes a similar warning when I install the kernel. The only change I made when I built this kernel was to add NTFS support (need it for various reasons, including portable repairs...).
You must have changed something other than the NTFS option. autofs is supposedly OFF by default. Instead, autofs4 is used in the CentOS kernel.
Akemi
On Mon, 2007-07-02 at 17:33 -0700, Akemi Yagi wrote:
You must have changed something other than the NTFS option. autofs is supposedly OFF by default. Instead, autofs4 is used in the CentOS kernel.
Not to dispute you, but actually they are all configured as modules ("m") in all three of the x86_64 config files distributed with the 2.6.18-8.1.6 kernel sources. In fact, I can't build the non-xen kernel unless the xen config file includes the autofs line.
mhr
On 7/3/07, Mark Hull-Richter mhullrich@gmail.com wrote:
On Mon, 2007-07-02 at 17:33 -0700, Akemi Yagi wrote:
You must have changed something other than the NTFS option. autofs is supposedly OFF by default. Instead, autofs4 is used in the CentOS kernel.
Not to dispute you, but actually they are all configured as modules ("m") in all three of the x86_64 config files distributed with the 2.6.18-8.1.6 kernel sources. In fact, I can't build the non-xen kernel unless the xen config file includes the autofs line.
mhr
I don't intend to dispute either, but what I see is defferent from yours. My source's BUILD directory contains these .config files:
61487 Jun 30 12:09 kernel-2.6.18-x86_64.config 61520 Jun 30 12:09 kernel-2.6.18-x86_64-debug.config 60896 Jun 30 12:09 kernel-2.6.18-x86_64-xen.config
Then the following command shows AUTOFS options:
find . -type f -exec grep -il AUTOFS {} ; -exec grep -i AUTOFS {} ; -exec echo ;
./kernel-2.6.18-x86_64.config # CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=m
./kernel-2.6.18-x86_64-xen.config # CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=m
./kernel-2.6.18-x86_64-debug.config # CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=m
In all .config files, autofs is 'not set' and autofs4 is 'm'. With this setup, autofs4.ko is built, not autofs.ko.
Akemi
On 7/3/07, Akemi Yagi amyagi@gmail.com wrote:
I don't intend to dispute either, but what I see is defferent from yours. My source's BUILD directory contains these .config files:
61487 Jun 30 12:09 kernel-2.6.18-x86_64.config 61520 Jun 30 12:09 kernel-2.6.18-x86_64-debug.config 60896 Jun 30 12:09 kernel-2.6.18-x86_64-xen.config
Then the following command shows AUTOFS options:
find . -type f -exec grep -il AUTOFS {} ; -exec grep -i AUTOFS {} ; -exec echo ;
./kernel-2.6.18-x86_64.config # CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=m
./kernel-2.6.18-x86_64-xen.config # CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=m
./kernel-2.6.18-x86_64-debug.config # CONFIG_AUTOFS_FS is not set CONFIG_AUTOFS4_FS=m
In all .config files, autofs is 'not set' and autofs4 is 'm'. With this setup, autofs4.ko is built, not autofs.ko.
Hmm, interesting - where did you get this source (I want it!). I pulled down mine from http://mirror.centos.org/centos/5.0/updates/SRPMS/ yesterday - it is dated 15-Jun-2007 23:32, which is 15 days older than your config files. Mine (which are in the SOURCES directory) show this:
64703 Jun 1 15:44 kernel-2.6.18-x86_64.config 64767 Jun 1 15:44 kernel-2.6.18-x86_64-kdump.config 65935 Jun 1 15:44 kernel-2.6.18-x86_64-xen.config
and they contain (before reconfiguration):
./kernel-2.6.18-x86_64.config CONFIG_AUTOFS_FS=m CONFIG_AUTOFS4_FS=m
./kernel-2.6.18-x86_64-xen.config CONFIG_AUTOFS_FS=m CONFIG_AUTOFS4_FS=m
./kernel-2.6.18-x86_64-kdump.config CONFIG_AUTOFS_FS=m CONFIG_AUTOFS4_FS=m
Even the CentOSplus kernel source (which I do not have) is only dated June 26....
???
mhr
On 7/3/07, Mark Hull-Richter mhullrich@gmail.com wrote:
Hmm, interesting - where did you get this source (I want it!). I pulled down mine from http://mirror.centos.org/centos/5.0/updates/SRPMS/ yesterday - it is dated 15-Jun-2007 23:32, which is 15 days older than your config files. Mine (which are in the SOURCES directory) show this:
64703 Jun 1 15:44 kernel-2.6.18-x86_64.config 64767 Jun 1 15:44 kernel-2.6.18-x86_64-kdump.config 65935 Jun 1 15:44 kernel-2.6.18-x86_64-xen.config
The .config files I showed are from the BUILD directory. The timestamp was when I ran rpmbuild -bp. The src.rpm is from the same place as yours I believe.
Akemi
On 7/3/07, Akemi Yagi amyagi@gmail.com wrote:
On 7/3/07, Mark Hull-Richter mhullrich@gmail.com wrote:
Hmm, interesting - where did you get this source (I want it!). I pulled down mine from http://mirror.centos.org/centos/5.0/updates/SRPMS/ yesterday - it is dated 15-Jun-2007 23:32, which is 15 days older than your config files. Mine (which are in the SOURCES directory) show this:
64703 Jun 1 15:44 kernel-2.6.18-x86_64.config 64767 Jun 1 15:44 kernel-2.6.18-x86_64-kdump.config 65935 Jun 1 15:44 kernel-2.6.18-x86_64-xen.config
The .config files I showed are from the BUILD directory. The timestamp was when I ran rpmbuild -bp. The src.rpm is from the same place as yours I believe.
Akemi
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.
Akemi
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
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.
Akemi
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