I'm a newbie to SuSE, but I've used RHL for years. I'm working on my first test install and it all went quite well. I now want to build a custom kernel and I'd like reiserFS support compiled in so that I don't need an initial ram disk for booting. However, I get an error when trying to compiler the kernel that some reiser_<something> symbols are undefined and a linking fails. If I change reiser to be compiled as a module, everything is just fine. I'm guessing that if reiserFS is build into the kernel, then there will need to be some other module that must be compiled in rather than made a module... Anyone have any experience with this? Thanks! -Michael
Hi, Am Dienstag, 20. Mai 2003 19:45 schrieb Michael George:
I'm a newbie to SuSE, but I've used RHL for years. I'm working on my first test install and it all went quite well.
I now want to build a custom kernel and I'd like reiserFS support compiled in so that I don't need an initial ram disk for booting. However, I get an error when trying to compiler the kernel that some reiser_<something> symbols are undefined and a linking fails.
If I change reiser to be compiled as a module, everything is just fine. I'm guessing that if reiserFS is build into the kernel, then there will need to be some other module that must be compiled in rather than made a module...
Anyone have any experience with this?
Not really. But try cd /usr/src/linux make cloneconfig make xconfig (or menuconfig) Change nothing but reiserfs to be included in the kernel rather than having it as a module. Then make dep make clean make bzImage Does the error still show up? Greetings from Bremen hartmut
On Tue, May 20, 2003 at 08:25:32PM +0200, Hartmut Meyer wrote:
Anyone have any experience with this?
Not really. But try
cd /usr/src/linux make cloneconfig make xconfig (or menuconfig)
Change nothing but reiserfs to be included in the kernel rather than having it
as a module. Then
make dep make clean make bzImage
Does the error still show up?
Yes, it definitely still shows up. I've had the build succeed and then fail and the ONLY change was the change of reiserfs from module to "Yes". I checked this 3 times... -Michael
On Tue, 20 May 2003 13:45:49 -0400
Michael George
I'm a newbie to SuSE, but I've used RHL for years. I'm working on my first test install and it all went quite well.
I now want to build a custom kernel and I'd like reiserFS support compiled in so that I don't need an initial ram disk for booting. However, I get an error when trying to compiler the kernel that some reiser_<something> symbols are undefined and a linking fails.
If I change reiser to be compiled as a module, everything is just fine. I'm guessing that if reiserFS is build into the kernel, then there will need to be some other module that must be compiled in rather than made a module...
Anyone have any experience with this?
What sources are you using? I've been buiding reiserfs into my kernels with no problem. I've been using vanilla kernel sources. -- use Perl; #powerful programmable prestidigitation
On Tue, May 20, 2003 at 05:00:18PM -0400, zentara wrote:
What sources are you using? I've been buiding reiserfs into my kernels with no problem. I've been using vanilla kernel sources.
I did a straight install of SuSE 8.2 and I'm building from that. kernel-source-2.4.20.SuSE-30.i586.rpm is the package... -Michael
On Tue, 20 May 2003 17:25:44 -0400
Michael George
On Tue, May 20, 2003 at 05:00:18PM -0400, zentara wrote:
What sources are you using? I've been buiding reiserfs into my kernels with no problem. I've been using vanilla kernel sources.
I did a straight install of SuSE 8.2 and I'm building from that. kernel-source-2.4.20.SuSE-30.i586.rpm is the package...
Maybe the SuSE kernel sources have been so heavily patched that they require you to build reiserfs as a module? It's more likely you have something amiss in your kernel source tree setup. You should always do a make mrproper before and in between kernel builds to get rid of old dependency files. Or else you can get problems. -- use Perl; #powerful programmable prestidigitation
You should always do a make mrproper before and in between kernel builds to get rid of old dependency files. Or else you can get problems.
I tried doing that, but I still get this error: fs/fs.o(.text+0x8860f): In function `user_get': : undefined reference to `reiserfs_permission_locked' fs/fs.o(.text+0x886ec): In function `user_set': : undefined reference to `reiserfs_permission_locked' fs/fs.o(.text+0x887b8): In function `user_del': : undefined reference to `reiserfs_permission_locked' make: *** [vmlinux] Error 1 I have tracked this down a bit. reiserfs_permission_locked() is defined in xattr_acl.c, but there is no xattr_acl.o, so it's not getting built. I need to find out why... -Michael
Okay, I think the problem is with POSIX_ACLs. I cannot set that option in teh filesystem section of my xconfig. When I save an exit, I get this error: ERROR - Attempting to write value for unconfigured variable (CONFIG_FS_POSIX_ACL). What the heck is that about and how can I fix it? -Michael
Michael George
Okay, I think the problem is with POSIX_ACLs. I cannot set that option in the filesystem section of my xconfig.
What the heck is that about and how can I fix it?
Having had enough trouble with xconfig in the 8-9 years I'm dealing with linux, I'd suggest to try using menuconfig. Philipp -- Philipp Thomas work: pthomas@suse.de Development, SuSE Linux AG private: philipp.thomas@t-link.de
On Thu, May 22, 2003 at 12:51:18AM +0200, Philipp Thomas wrote:
Having had enough trouble with xconfig in the 8-9 years I'm dealing with linux, I'd suggest to try using menuconfig.
Hmm, you might be on to something there. I think that worked, but I'm going to do a clean and rebuild tomorrow morning... Thanks!
participants (4)
-
Hartmut Meyer
-
Michael George
-
Philipp Thomas
-
zentara