On Tue, 3 May 2005 at 1:15pm, Maciej Zenczykowski wrote> I basically need reiserfs3 (nb. why is it disabled? it's a module, you > use it, it doesn't wreck anything...) and I don't really want to change > the rest of the kernel, and I'd like to have the minimum amount of fuss on > future kernel upgrades.Not answering the main question, but I would guess that this module is disabled for the same reason that XFS is -- support. Anything Red Hat distributes in RHEL they must support at a high level. They decided not to spend resources supporting XFS, and it looks like reiserfs is in the same boat. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
Hi, Here'a a question - is it possible to compile a single module (distributed in the kernel source tree) for the current CentOS kernel (2.6.9-5.0.5) without recompiling the entire kernel and all other modules. I basically need reiserfs3 (nb. why is it disabled? it's a module, you use it, it doesn't wreck anything...) and I don't really want to change the rest of the kernel, and I'd like to have the minimum amount of fuss on future kernel upgrades. Now I know external modules can be compiled without recompiling the kernel - question is how to do it for an internal kernel module. What I've tried: I've installed the kernel source code, copied over the kernel settings (the entire /usr/src/kernels/2.6.... dir) onto it. run make menuconfig and selected modular reiserfs. A diff of the new and old configs shows only reiser module (and suboptions for selinux) has been enabled. So no other changes have been made. Now a make fs/reiserfs/ almost works, but it borks on some sort of .tmp_versions/reiserfs.mod problem (file not present). The resultant reiserfs.o doesn't work as reiserfs.ko (not sure if it should, though).. I can't run make modules_install without first compiling all the other modules... Should I just grep through the .config file and replace all (except reiser) =m with =n's (and rerun make oldconfig to make sure it's still consistent)? And then run make modules modules_install? Any ideas? Basically all I want is reiserfs3 for the current CentOS4 kernel... Cheers, MaZe.
* Maciej Zenczykowski <maze at cela.pl> [2005-05-03 12:07:48]:> > Now I know external modules can be compiled without recompiling the > kernel - question is how to do it for an internal kernel module.You might be able to build the ReiserFS code as if it was an external module, this is the trick I used with the Areca SATA RAID driver, although you need to make sure the code doesn't require access to internal kernel headers. You need to have the kernel-(smp-)devel packages installed, not the kernel-source package. Basically, if you have the reiserfs source files in a directory, do: $ make CONFIG_REISERFS_FS=m -C /usr/src/kernels/<kernel version> \ M=/path/to/reiserfs/sources modules $ make CONFIG_REI..... modules_install As I said, this worked with the Areca drivers, not sure if it will work for the ReiserFS drivers, but it's probably worth a try. HTH Matt -- "I've seen his style before, terminal psychotic!" -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20050503/84a9fe62/attachment-0005.sig>
Am Di, den 03.05.2005 schrieb Maciej Zenczykowski um 13:15:> Here'a a question - is it possible to compile a single module (distributed > in the kernel source tree) for the current CentOS kernel (2.6.9-5.0.5) > without recompiling the entire kernel and all other modules.> MaZe.You had a close look at the release notes linked from the centos.org page? http://mirror.centos.org/centos/4/docs/html/release-notes/as-x86/ Alexander -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp Serendipity 17:12:18 up 1 day, 1:18, load average: 1.01, 0.83, 0.71 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: <http://lists.centos.org/pipermail/centos/attachments/20050503/be8ff0f3/attachment-0004.sig>
indeed what do you mean? On Tue, 3 May 2005, Alexander Dalloz wrote:> Am Di, den 03.05.2005 schrieb Maciej Zenczykowski um 13:15: > > > Here'a a question - is it possible to compile a single module (distributed > > in the kernel source tree) for the current CentOS kernel (2.6.9-5.0.5) > > without recompiling the entire kernel and all other modules. > > > MaZe. > > You had a close look at the release notes linked from the centos.org > page? > > http://mirror.centos.org/centos/4/docs/html/release-notes/as-x86/ > > Alexander > > > -- > Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 > legal statement: http://www.uni-x.org/legal.html > Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.14_FC2smp > Serendipity 17:12:18 up 1 day, 1:18, load average: 1.01, 0.83, 0.71 >