Skip to contentSkip to conversation

kernel 2.4.27 reiserfs quotas patch

DISCUSSION Jeff Meyer 5 participants 9 messages Aug 23, 2004 – Aug 24, 2004

lore
Share & tools
lore

Jeff Meyer

author
#0 lore raw

Does anyone know where I could find or even if they exist the patches to use reiserfs with quotas for the 2.4.27 kernel? I currently am using reiserfs with quotas on kernel 2.4.26 utilizing the patches for kernel 2.4.25.

Thanks,

Jeff

#1 lore raw
Quoted 9 lines · Jeff Meyer

Does anyone know where I could find or even if they exist the patches to use reiserfs with quotas for the 2.4.27 kernel? I currently am using reiserfs with quotas on kernel 2.4.26 utilizing the patches for kernel 2.4.25.

Thanks,

Jeff

You can use Chris Masons patches from 2.4.25. These include quotas. ftp://ftp.suse.com/pub/people/mason/patches/data-logging/2.4.25/

These currently have a fsync() bug (the same holds true for 2.6.7+) which does not lead to data loss.
Chris Mason wrote he is preparing fixes for both 2.4.x and 2.6.x.

Signature · 1 line
lg, Chris
author
#2 lore raw

Thanks,

I have tried using these patches and I cannot build my kernel with them. I get the following error when compile the kernel:

In file included from journal.c:42:
/usr/src/linux-2.4.27/include/linux/module.h:22:34: linux/modversions.h: No such file or directory
make[3]: *** [journal.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.27/fs/reiserfs' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.27/fs/reiserfs' make[1]: *** [_subdir_reiserfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.27/fs'
make: *** [_dir_fs] Error 2

I am running on gentoo linux with the vanilla kernel 2.4.27

Jeff

"Christian Mayrhuber" <[email protected]> wrote in message news:[email protected]...

Quoted 21 lines · Jeff Meyer
Quoted 9 lines

Does anyone know where I could find or even if they exist the patches to use reiserfs with quotas for the 2.4.27 kernel? I currently am using reiserfs with quotas on kernel 2.4.26 utilizing the patches for kernel 2.4.25.

Thanks,

Jeff

You can use Chris Masons patches from 2.4.25. These include quotas. ftp://ftp.suse.com/pub/people/mason/patches/data-logging/2.4.25/

These currently have a fsync() bug (the same holds true for 2.6.7+) which does not lead to data loss.
Chris Mason wrote he is preparing fixes for both 2.4.x and 2.6.x.

Signature · 1 line
lg, Chris
#3 lore raw

Hello,

Quoted 6 lines

I have tried using these patches and I cannot build my kernel with them. I get the following error when compile the kernel:

In file included from journal.c:42:
/usr/src/linux-2.4.27/include/linux/module.h:22:34: linux/modversions.h: No such file or directory

That seems quite strange and probably not related to the patch - can
you try following?
backup .config
make mrproper
copy back .config
make oldconfig
make bzImage

Honza

author
#4 lore raw

Problem fixed!!! You need to enable loadable module support selected in the kernel. Sorry!!!

"Jan Kara" <[email protected]> wrote in message news:[email protected]...

Quoted 3 lines

Hello,

Quoted 1 line

I have tried using these patches and I cannot build my kernel with them.

I

Quoted 4 lines
Quoted 4 lines

get the following error when compile the kernel:

In file included from journal.c:42:
/usr/src/linux-2.4.27/include/linux/module.h:22:34: linux/modversions.h:

No

Quoted 11 lines
Quoted 1 line

such file or directory

That seems quite strange and probably not related to the patch - can
you try following?
backup .config
make mrproper
copy back .config
make oldconfig
make bzImage

Honza

#5 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · On Mon, 23 Aug 2004 13:39:27 -0500 "Jeff Meyer" <[email protected]> wrote:

Problem fixed!!! You need to enable loadable module support selected in the kernel. Sorry!!!

I'd rather say that it's a bug that these patches require kernel modules enabled... you just need to remove a #include line and it compiles fine without modules enabled. (At least the time I came to it, but I think it were these 2.4.25 patches. I also think I mailed the maintainer, probably Jeff, about it but I never got a reply IIRC, and I didn't care about it any more because I rarely use kernels without modules.)

Regards,
Milan

- --

Milan Holzäpfel alias jagdfalke alias jag

Meine eMail-Adresse ist hier zu You can find my eMail-address
finden: here:
Kontaktinfos sowie Contact infos as well as
Öff GnuPG-Schlüssel <URL:http://con.mjh.name/> GnuPG Public Key
GnuPG Fingerabdruck 4C8A 5FAF 5D32 6125 89D1 GnuPG Fingerprint

                        0CE5 DB0C AF4F 6583 7966

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKm1r2wyvT2WDeWYRAvpFAKDnqPsdY33jT4IQpV2MjPJOzP7WowCfT5A9 nqQMIpJdewJnWG5iKHKwdNs=
=aJV2
-----END PGP SIGNATURE-----

#6 lore raw

On machines where I do not want kernel modules enabled I solved the build problem by modifying file "fs/reiserfs/journal.c". Just comment out the first line of code like this:

//#define EXPORT_SYMTAB

Works for me without problems...

Christian: What is all about that fsync() bug? Is it serious? Are there any special conditions to be met to actually see the results of it?

Regards,
Bostjan

Quoted 39 lines · Milan Holzäpfel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 23 Aug 2004 13:39:27 -0500

Quoted 2 lines · Jeff Meyer

Problem fixed!!! You need to enable loadable module support selected in the kernel. Sorry!!!

I'd rather say that it's a bug that these patches require kernel modules enabled... you just need to remove a #include line and it compiles fine without modules enabled. (At least the time I came to it, but I think it were these 2.4.25 patches. I also think I mailed the maintainer, probably Jeff, about it but I never got a reply IIRC, and I didn't care about it any more because I rarely use kernels without modules.)

Regards,
Milan

- --

Milan Holzäpfel alias jagdfalke alias jag

Meine eMail-Adresse ist hier zu You can find my eMail-address
finden: here:
Kontaktinfos sowie Contact infos as well
as Öff GnuPG-Schlüssel <URL:http://con.mjh.name/> GnuPG Public Key
GnuPG Fingerabdruck 4C8A 5FAF 5D32 6125 89D1 GnuPG Fingerprint 0CE5
DB0C AF4F 6583 7966

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBKm1r2wyvT2WDeWYRAvpFAKDnqPsdY33jT4IQpV2MjPJOzP7WowCfT5A9 nqQMIpJdewJnWG5iKHKwdNs=
=aJV2
-----END PGP SIGNATURE-----

#7 lore raw
Quoted 10 lines · On Tuesday 24 August 2004 10:46, Bostjan Skufca @ domenca.com wrote:

On machines where I do not want kernel modules enabled I solved the build problem by modifying file "fs/reiserfs/journal.c". Just comment out the first line of code like this:

//#define EXPORT_SYMTAB

Works for me without problems...

Christian: What is all about that fsync() bug? Is it serious? Are there any special conditions to be met to actually see the results of it?

Have a look at:
http://marc.theaimsgroup.com/?l=reiserfs&m=109250555704899&w=2

You may want to ask Chris Mason what the state of the patch update is.

Signature · 1 line
lg, Chris
#8 lore raw

Oh, this one... i thought i missed something although I was watching the list all the time... Chris will "cook up" patches when he finds some time to do it and I will not bother him as this is not really an issue for me...

B.

Quoted 16 lines · Christian Mayrhuber
Quoted 10 lines · On Tuesday 24 August 2004 10:46, Bostjan Skufca @ domenca.com wrote:

On machines where I do not want kernel modules enabled I solved the build problem by modifying file "fs/reiserfs/journal.c". Just comment out the first line of code like this:

//#define EXPORT_SYMTAB

Works for me without problems...

Christian: What is all about that fsync() bug? Is it serious? Are there any special conditions to be met to actually see the results of it?

Have a look at:
http://marc.theaimsgroup.com/?l=reiserfs&m=109250555704899&w=2

You may want to ask Chris Mason what the state of the patch update is.