Skip to contentSkip to conversation

reiser4 snapshot

DISCUSSION Nikita Danilov 8 participants 21 messages Aug 11, 2003 – Aug 13, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

new reiser4 snapshot is available at

http://thebsh.namesys.com/snapshots/2003.08.11/

**********************************************************************
WARNING!!!
This code is experimental!
WE ARE NOT KIDDING! DO NOT PUT ANY VALUABLE DATA ON REISER4 YET!
**********************************************************************

Lots of changes in this snapshot compared to previous one that was release over half of year ago. Everything should be better and more stable I hope.

Snapshot is released as a patch against linux-2.6.0-test3.

REISER4_NOOPT config option (Disable compiler optimizations for reiser4 code.) is known to not compile on x86.

The reiser4-kernelonly.diff file represents only required kernel modifications if you plan to use our reiser4 bk repository. It does not contains any reiser4 code

The reiser4.diff is full patch with everything included.

With this snapshot reiser4 supports different on-disk format by default, so you should recreate your reiser4 file systems.

Nikita.

#1 lore raw
Quoted 5 lines · Nikita Danilov

Hello,

new reiser4 snapshot is available at

http://thebsh.namesys.com/snapshots/2003.08.11/

+config REISER4_LARGE_KEY
+ bool "Use larger keys on reiser4 tree"
+ depends on REISER4_FS
+ default y
+ ---help---
+ Make keys larger and use additional bits to order bodies of files
within

+      a directory in the order of their names, which is what you want
+      normally. If you turn this off, file bodies will be ordered by creation
+      time, which is not optimal for most users.

+
+ Warning: flipping this option makes your file system binary
+ incompatible.

This needs some explanation. What happens if I have two reiser4 fs on my disk, one written with REISER4_LARGE_KEY, the other one without? Does it prevent me from mounting both filesystems at the same time? If so, will this change some time?

Thanks,
Carl-Daniel

#2 lore raw
Quoted 21 lines · Carl-Daniel Hailfinger
Quoted 5 lines · Nikita Danilov

Hello,

new reiser4 snapshot is available at

http://thebsh.namesys.com/snapshots/2003.08.11/

(quoted diff) +6 -0
+config REISER4_LARGE_KEY
+	bool "Use larger keys on reiser4 tree"
+	depends on REISER4_FS
+	default y
+	---help---
+      Make keys larger and use additional bits to order bodies of files

within

(quoted diff) +6 -0
+      a directory in the order of their names, which is what you want
+      normally. If you turn this off, file bodies will be ordered by creation
+      time, which is not optimal for most users.
+
+      Warning: flipping this option makes your file system binary
+      incompatible.
Quoted 3 lines

This needs some explanation. What happens if I have two reiser4 fs on my disk, one written with REISER4_LARGE_KEY, the other one without? Does it prevent me from mounting both filesystems at the same time? If so, will

Right.

Quoted 2 lines

this change some time?

Not likely. Supporting both key assignment algorithms costs too much at run time. Probably small keys will be just obsoleted.

Quoted 4 lines

Thanks,
Carl-Daniel

Nikita.

#3 lore raw
In reply to Nikita Danilov

Hey.

I thought I'd give it a try on 2.6.0-test3-mm1.

Even with 'make mrproper' before compiling, I get the following error message:

(Is there any interest in such error reports?)

bobele linux # make bzImage
CHK include/linux/version.h
UPD include/linux/version.h
Making asm->asm-i386 symlink

  CC      scripts/empty.o
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  UPD     include/asm-i386/asm_offsets.h
  CC      init/main.o
In file included from include/linux/unistd.h:9,
                 from init/main.c:18:

include/asm/unistd.h: In function `reiser4':
include/asm/unistd.h:400: error: `__NR_reiser4' undeclared (first use in this function) include/asm/unistd.h:400: error: (Each undeclared identifier is reported only once include/asm/unistd.h:400: error: for each function it appears in.) make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

Quoted 31 lines · Nikita Danilov

Hello,

new reiser4 snapshot is available at

http://thebsh.namesys.com/snapshots/2003.08.11/

**********************************************************************
WARNING!!!
This code is experimental!
WE ARE NOT KIDDING! DO NOT PUT ANY VALUABLE DATA ON REISER4 YET!
**********************************************************************

Lots of changes in this snapshot compared to previous one that was release over half of year ago. Everything should be better and more stable I hope.

Snapshot is released as a patch against linux-2.6.0-test3.

REISER4_NOOPT config option (Disable compiler optimizations for reiser4 code.) is known to not compile on x86.

The reiser4-kernelonly.diff file represents only required kernel modifications if you plan to use our reiser4 bk repository. It does not contains any reiser4 code

The reiser4.diff is full patch with everything included.

With this snapshot reiser4 supports different on-disk format by default, so you should recreate your reiser4 file systems.

Nikita.

#4 lore raw

Hello!

Quoted 4 lines · Boris Tschirschwitz

I thought I'd give it a try on 2.6.0-test3-mm1.
Even with 'make mrproper' before compiling, I get the following error message:
(Is there any interest in such error reports?)

Yes, there is.

Quoted 16 lines

bobele linux # make bzImage
CHK include/linux/version.h
UPD include/linux/version.h
Making asm->asm-i386 symlink

  CC      scripts/empty.o
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  UPD     include/asm-i386/asm_offsets.h
  CC      init/main.o
In file included from include/linux/unistd.h:9,
                 from init/main.c:18:
Quoted 6 lines

include/asm/unistd.h: In function `reiser4':
include/asm/unistd.h:400: error: `__NR_reiser4' undeclared (first use in this function) include/asm/unistd.h:400: error: (Each undeclared identifier is reported only once include/asm/unistd.h:400: error: for each function it appears in.) make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

Hm, this is strange.
__NR_reiser4 is clearly defined in include/asm-i386/unistd.h

Probably you had that part of the patch rejected? Can you please verify?

Bye,
Oleg

#5 lore raw
Quoted 10 lines · Oleg Drokin

Hello!

Quoted 4 lines · Boris Tschirschwitz

I thought I'd give it a try on 2.6.0-test3-mm1.
Even with 'make mrproper' before compiling, I get the following error message:
(Is there any interest in such error reports?)

Yes, there is.

I have a problem: reiserfs4progs doesn't seem to pay attention to the --prefix when it comes to locating libaal. I configured libaal with --prefix=/scratch/riesling/reiser4-inst and installed it there, then tried to configure reiserfs4progs with the same prefix, and it still fails to locate libaal. When I force it a little by prepending the call to ./configure with suitable CFLAGS and LDFLAGS, it goes past locating libaal, but chokes on locating <aal/aal.h>.

I'll sure get past that, but it's a little annoying, and might get in the way of distributors (depending on the way they package libaal, ie separately or merged with the main reiserfs4progs package).

-- Cyrille

#6 lore raw
Quoted 3 lines · Cyrille Chepelov
Quoted 2 lines · Oleg Drokin

Hello!

Hello,

Quoted 11 lines
Quoted 8 lines · Boris Tschirschwitz
Quoted 5 lines

I thought I'd give it a try on 2.6.0-test3-mm1.
Even with 'make mrproper' before compiling, I get the following error message:
(Is there any interest in such error reports?)

Yes, there is.

I have a problem: reiserfs4progs doesn't seem to pay attention to the --prefix when it comes to locating libaal.

--prefix is not the prefix libraries are looked at. It is the prefix of where package libraries and includes will be installed.

Quoted 4 lines

I configured libaal with
--prefix=/scratch/riesling/reiser4-inst and installed it there, then tried to configure reiserfs4progs with the same prefix, and it still fails to locate libaal.

You need to let dynamic linker know, that some interesting libraries lie at some location.

Edit /etc/ld.so.conf and there line /scratch/riesling/reiser4-inst Or set evn. variable LD_LIBRARY_PATH like the following:

export LD_LIBRARY_PATH=/scratch/riesling/reiser4-inst:$LD_LIBRARY_PATH

Quoted 3 lines

When I force it a little by prepending the call to
./configure with suitable CFLAGS and LDFLAGS, it goes past locating libaal, but chokes on locating <aal/aal.h>.

This will be fixed. Thanks. temporary cure is to specify CFLAGS durring make:

make CFLAGS="-I/scratch/riesling/reiser4-inst/include/aal"

Quoted 4 lines

I'll sure get past that, but it's a little annoying, and might get in the way of distributors (depending on the way they package libaal, ie separately or merged with the main reiserfs4progs package).

libaal is planed to be used with another similar projects to as it contains useful utilities like device abstraction, etc. So, it is better to have it as separated package. But reiser4progs building may be automated.

Quoted 2 lines

-- Cyrille

Signature · 1 line
We're flying high, we're watching the world passes by...
#7 lore raw
Quoted 5 lines · Yury Umanets
Quoted 2 lines

I have a problem: reiserfs4progs doesn't seem to pay attention to the --prefix when it comes to locating libaal.

--prefix is not the prefix libraries are looked at. It is the prefix of where package libraries and includes will be installed.

yes, of course. However, you saw that it's not the only problem.

Quoted 7 lines
Quoted 3 lines

When I force it a little by prepending the call to
./configure with suitable CFLAGS and LDFLAGS, it goes past locating libaal, but chokes on locating <aal/aal.h>.

This will be fixed. Thanks. temporary cure is to specify CFLAGS durring make:

make CFLAGS="-I/scratch/riesling/reiser4-inst/include/aal"

can't be done, as there is no Makefile until configure completes -- and it can't complete as it doesnt pay attention to things like

	CFLAGS="-I/.../include" ./configure 

I got past that, though.

Another little glitch is that the configure.in explicitly checks for 0.4.8 while the provided libaal is 0.4.9. No biggie, just requires modifying the configure.in and re-running autoconf (you might want to add a check against that condition in your pre-upload QA scripts).

-- Cyrille

#8 lore raw
Quoted 4 lines

Another little glitch is that the configure.in explicitly checks for 0.4.8 while the provided libaal is 0.4.9. No biggie, just requires modifying the configure.in and re-running autoconf (you might want to add a check against that condition in your pre-upload QA scripts).

yes, thanks, I have found and fixed it already.
Vitaly Fertman

#9 lore raw
In reply to Cyrille Chepelov
Quoted 20 lines · Cyrille Chepelov
Quoted 5 lines · Yury Umanets
Quoted 2 lines

I have a problem: reiserfs4progs doesn't seem to pay attention to the --prefix when it comes to locating libaal.

--prefix is not the prefix libraries are looked at. It is the prefix of where package libraries and includes will be installed.

yes, of course. However, you saw that it's not the only problem.

Quoted 7 lines
Quoted 3 lines

When I force it a little by prepending the call to
./configure with suitable CFLAGS and LDFLAGS, it goes past locating libaal, but chokes on locating <aal/aal.h>.

This will be fixed. Thanks. temporary cure is to specify CFLAGS durring make:

make CFLAGS="-I/scratch/riesling/reiser4-inst/include/aal"

can't be done, as there is no Makefile until configure completes -- and it can't complete as it doesnt pay attention to things like

Quoted 8 lines
	CFLAGS="-I/.../include" ./configure 

I got past that, though.

Another little glitch is that the configure.in explicitly checks for 0.4.8 while the provided libaal is 0.4.9. No biggie, just requires modifying the configure.in and re-running autoconf (you might want to add a check against that condition in your pre-upload QA scripts).

Hello,

Everything is fixed and new snapshot is in
http://thebsh.namesys.com/snapshots/2003.08.11/.

See ./configure --help for new option --with-libaal.

Thanks for reports one more time.

#10 lore raw
Quoted 4 lines · Yury Umanets

Everything is fixed and new snapshot is in
http://thebsh.namesys.com/snapshots/2003.08.11/.

See ./configure --help for new option --with-libaal.

That fixes it, thanks!

It can be debated whether --with-libaal=/foo/bar should imply LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/foo/bar/lib or not (it doesn't seem it does right now), but at least it's now possible to build and install libaal + reiser4progs in a user tree without touching /usr.

-- Cyrille

#11 lore raw
Quoted 7 lines · Cyrille Chepelov
Quoted 4 lines · Yury Umanets

Everything is fixed and new snapshot is in
http://thebsh.namesys.com/snapshots/2003.08.11/.

See ./configure --help for new option --with-libaal.

Quoted 7 lines

That fixes it, thanks!

It can be debated whether --with-libaal=/foo/bar should imply LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/foo/bar/lib or not (it doesn't seem it does right now), but at least it's now possible to build and install libaal + reiser4progs in a user tree without touching /usr.

I guess, it is not the job for configure script, but rather for user/administrator. At least I don't even one project that do so :)

Quoted 2 lines

-- Cyrille

#12 lore raw
Quoted 16 lines · Yury Umanets
Quoted 7 lines · Cyrille Chepelov
Quoted 4 lines · Yury Umanets

Everything is fixed and new snapshot is in
http://thebsh.namesys.com/snapshots/2003.08.11/.

See ./configure --help for new option --with-libaal.

Quoted 7 lines

That fixes it, thanks!

It can be debated whether --with-libaal=/foo/bar should imply LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/foo/bar/lib or not (it doesn't seem it does right now), but at least it's now possible to build and install libaal + reiser4progs in a user tree without touching /usr.

Quoted 5 lines

I guess, it is not the job for configure script, but rather for user/administrator.

At least I don't even one project that do so :)

I don't know at least one project, that does so :)

Quoted 4 lines
Quoted 3 lines

-- Cyrille

Signature · 1 line
We're flying high, we're watching the world passes by...
#13 lore raw
In reply to Yury Umanets
Quoted 5 lines · Yury Umanets
Quoted 2 lines

It can be debated whether --with-libaal=/foo/bar should imply LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/foo/bar/lib or not (it doesn't seem it

I guess, it is not the job for configure script, but rather for user/administrator. At least I don't even one project that do so :)

fair enough

I successfully built 2.6.0-test3 with yesterday's patch. I don't know when I'll be able to give it a spin, but at least here's some partial progress/success feedback, FWIW.

-- Cyrille

#14 lore raw
Quoted 7 lines · Cyrille Chepelov
Quoted 5 lines · Yury Umanets
Quoted 2 lines

It can be debated whether --with-libaal=/foo/bar should imply LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/foo/bar/lib or not (it doesn't seem it

I guess, it is not the job for configure script, but rather for user/administrator. At least I don't even one project that do so :)

Quoted 7 lines

fair enough

I successfully built 2.6.0-test3 with yesterday's patch. I don't know when I'll be able to give it a spin, but at least here's some partial progress/success feedback, FWIW.

-- Cyrille

Thanks Cyrille.

Signature · 1 line
We're flying high, we're watching the world passes by...
#15 lore raw
In reply to Cyrille Chepelov
Quoted 20 lines · Cyrille Chepelov
Quoted 10 lines · Oleg Drokin

Hello!

Quoted 4 lines · Boris Tschirschwitz

I thought I'd give it a try on 2.6.0-test3-mm1.
Even with 'make mrproper' before compiling, I get the following error message:
(Is there any interest in such error reports?)

Yes, there is.

I have a problem: reiserfs4progs doesn't seem to pay attention to the --prefix when it comes to locating libaal. I configured libaal with --prefix=/scratch/riesling/reiser4-inst and installed it there, then tried to configure reiserfs4progs with the same prefix, and it still fails to locate libaal. When I force it a little by prepending the call to ./configure with suitable CFLAGS and LDFLAGS, it goes past locating libaal, but chokes on locating <aal/aal.h>.

Quoted 5 lines

I'll sure get past that, but it's a little annoying, and might get in the way of distributors (depending on the way they package libaal, ie separately or merged with the main reiserfs4progs package).

-- Cyrille

The problem can't be eliminated just by fixing dynamic linker. Will be fixed soon.

Thanks for report.

#16 lore raw
In reply to Oleg Drokin

Today I tried applying the patch to 2.6.0-test3-mm2, and, yes, some patches failed. I'll just append the output for the failed hunks. I guess it gets less surprising the more we get away from 'mm0'.

Boris.

bobele linux # patch -p 1 < ../reiser4.diff
patching file arch/i386/kernel/entry.S
Hunk #1 FAILED at 878.
1 out of 1 hunk FAILED -- saving rejects to file arch/i386/kernel/entry.S.rej patching file fs/Kconfig
patching file fs/Makefile
Hunk #1 FAILED at 86.
1 out of 1 hunk FAILED -- saving rejects to file fs/Makefile.rej patching file fs/buffer.c
Hunk #1 succeeded at 262 (offset 37 lines).
patching file fs/fs-writeback.c
patching file fs/inode.c
Hunk #1 succeeded at 990 (offset 2 lines).
Hunk #2 succeeded at 1017 (offset 2 lines).
patching file fs/jbd/transaction.c
patching file fs/sysfs/inode.c
patching file include/asm-i386/unistd.h
Hunk #1 FAILED at 277.
Hunk #2 succeeded at 398 (offset 3 lines).
1 out of 2 hunks FAILED -- saving rejects to file include/asm-i386/unistd.h.rej patching file include/linux/fs.h
Hunk #2 succeeded at 861 (offset 6 lines).
Hunk #3 succeeded at 1233 (offset 6 lines).
patching file include/linux/init_task.h
Hunk #1 FAILED at 107.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/init_task.h.rej

Quoted 38 lines · Oleg Drokin

Hello!

Quoted 3 lines · Boris Tschirschwitz

I thought I'd give it a try on 2.6.0-test3-mm1. Even with 'make mrproper' before compiling, I get the following error message:
(Is there any interest in such error reports?)

Yes, there is.

Quoted 14 lines

bobele linux # make bzImage
CHK include/linux/version.h
UPD include/linux/version.h
Making asm->asm-i386 symlink

  CC      scripts/empty.o
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
  SPLIT   include/linux/autoconf.h -> include/config/* CC     
  arch/i386/kernel/asm-offsets.s CHK     include/asm-i386/asm_offsets.h
  UPD     include/asm-i386/asm_offsets.h CC      init/main.o
In file included from include/linux/unistd.h:9,
                 from init/main.c:18:
Quoted 6 lines

include/asm/unistd.h: In function `reiser4': include/asm/unistd.h:400:
error: `__NR_reiser4' undeclared (first use in this function) include/asm/unistd.h:400: error: (Each undeclared identifier is reported only once include/asm/unistd.h:400: error: for each function it appears in.) make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

Hm, this is strange.
__NR_reiser4 is clearly defined in include/asm-i386/unistd.h

Probably you had that part of the patch rejected? Can you please verify?

Bye,
Oleg

#17 lore raw
In reply to Nikita Danilov

Am Montag, 11. August 2003 17:57 schrieb Nikita Danilov:

Quoted 6 lines

Hello,

new reiser4 snapshot is available at

http://thebsh.namesys.com/snapshots/2003.08.11/

Hi,

thank you for the snapshot.

I've tested the reiser4.diff patch, it apply cleanly on my system.

1)
The option "CONFIG_REISER4_FS_SYSCALL" breaks the build on my system.

[...]
CC fs/reiser4/sys_reiser4.o
In file included from include/asm/hardirq.h:6,

                 from include/linux/interrupt.h:10,
                 from include/asm/highmem.h:24,
                 from include/linux/highmem.h:14,
                 from include/linux/pagemap.h:10,
                 from fs/reiser4/sys_reiser4.c:15:

include/linux/irq.h:69: warning: size of irq_desc' is 28672 bytes fs/reiser4/sys_reiser4.c:45:27: parser/parser.h: file not found fs/reiser4/sys_reiser4.c:54:32: parser/parser.code.c: file not found fs/reiser4/sys_reiser4.c: In function sys_reiser4':
fs/reiser4/sys_reiser4.c:75: warning: implicit declaration of function `reiser4_pars_init'
fs/reiser4/sys_reiser4.c:75: warning: assignment makes pointer from integer without a cast
fs/reiser4/sys_reiser4.c:80: dereferencing pointer to incomplete type fs/reiser4/sys_reiser4.c:81: warning: implicit declaration of function `PTRACE'
fs/reiser4/sys_reiser4.c:82: warning: implicit declaration of function `yyparse'
fs/reiser4/sys_reiser4.c:83: warning: implicit declaration of function `reiser4_pars_free'
fs/reiser4/sys_reiser4.c:66: warning: unused variable `Gencode' make[2]: *** [fs/reiser4/sys_reiser4.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

2)
Without this option the build finish, but it gave also many warnings about a include from include/asm/hardirq.h

3)
I'm also unable to build reiser4 as module:
[...]
include/linux/irq.h:69: warning: size of `irq_desc' is 28672 bytes

  LD [M]  fs/reiser4/reiser4.o
  LD      fs/built-in.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/i386/kernel/built-in.o(.data+0x7c0): In function `sys_call_table':
: undefined reference to `sys_reiser4'
make: *** [.tmp_vmlinux1] Error 1

Are this know issues?

Henning

#18 lore raw
Quoted 8 lines · Henning Westerholt

Am Montag, 11. August 2003 17:57 schrieb Nikita Danilov:

Quoted 6 lines

Hello,

new reiser4 snapshot is available at

http://thebsh.namesys.com/snapshots/2003.08.11/

Quoted 8 lines

Hi,

thank you for the snapshot.

I've tested the reiser4.diff patch, it apply cleanly on my system.

1)
The option "CONFIG_REISER4_FS_SYSCALL" breaks the build on my system.

Disable it. We should disable it by default, it seems.

Quoted 30 lines

[...]
CC fs/reiser4/sys_reiser4.o
In file included from include/asm/hardirq.h:6,

                 from include/linux/interrupt.h:10,
                 from include/asm/highmem.h:24,
                 from include/linux/highmem.h:14,
                 from include/linux/pagemap.h:10,
                 from fs/reiser4/sys_reiser4.c:15:

include/linux/irq.h:69: warning: size of irq_desc' is 28672 bytes fs/reiser4/sys_reiser4.c:45:27: parser/parser.h: file not found fs/reiser4/sys_reiser4.c:54:32: parser/parser.code.c: file not found fs/reiser4/sys_reiser4.c: In function sys_reiser4':
fs/reiser4/sys_reiser4.c:75: warning: implicit declaration of function `reiser4_pars_init'
fs/reiser4/sys_reiser4.c:75: warning: assignment makes pointer from integer without a cast
fs/reiser4/sys_reiser4.c:80: dereferencing pointer to incomplete type fs/reiser4/sys_reiser4.c:81: warning: implicit declaration of function `PTRACE'
fs/reiser4/sys_reiser4.c:82: warning: implicit declaration of function `yyparse'
fs/reiser4/sys_reiser4.c:83: warning: implicit declaration of function `reiser4_pars_free'
fs/reiser4/sys_reiser4.c:66: warning: unused variable `Gencode' make[2]: *** [fs/reiser4/sys_reiser4.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

Quoted 3 lines

2)
Without this option the build finish, but it gave also many warnings about a include from include/asm/hardirq.h

Something about structure being XXXXX bytes? Ignore them.

Quoted 14 lines

3)
I'm also unable to build reiser4 as module:
[...]
include/linux/irq.h:69: warning: size of `irq_desc' is 28672 bytes

  LD [M]  fs/reiser4/reiser4.o
  LD      fs/built-in.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
Quoted 6 lines

arch/i386/kernel/built-in.o(.data+0x7c0): In function `sys_call_table':
: undefined reference to `sys_reiser4'
make: *** [.tmp_vmlinux1] Error 1

Are this know issues?

Yes. Does it build as module with CONFIG_REISER4_FS_SYSCALL off?

Quoted 4 lines

Henning

Nikita.

#19 lore raw

Am Dienstag, 12. August 2003 10:56 schrieb Nikita Danilov

Quoted 17 lines
Quoted 17 lines

[know issues]
3)
I'm also unable to build reiser4 as module:
[...]
include/linux/irq.h:69: warning: size of `irq_desc' is 28672 bytes

  LD [M]  fs/reiser4/reiser4.o
  LD      fs/built-in.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/i386/kernel/built-in.o(.data+0x7c0): In function `sys_call_table':
: undefined reference to `sys_reiser4'

Quoted 8 lines
Quoted 4 lines

make: *** [.tmp_vmlinux1] Error 1

Are this know issues?

Yes. Does it build as module with CONFIG_REISER4_FS_SYSCALL off?

Nikita.

No, it doesn't build with the following options:

CONFIG_REISER4_FS=m
# CONFIG_REISER4_FS_SYSCALL is not set
CONFIG_REISER4_LARGE_KEY=y
# CONFIG_REISER4_CHECK is not set
# CONFIG_REISER4_USE_EFLUSH is not set
# CONFIG_REISER4_BADBLOCKS is not set

**
uname -rvmpio
2.6.0-test3-reiserfs4 #4 Tue Aug 12 02:59:22 CEST 2003 i686 AMD Athlon(tm) XP 1900+ AuthenticAMD GNU/Linux
**
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice) **
Gentoo 1.4 Stable

Henning

#20 lore raw
In reply to Henning Westerholt

Hello!

Quoted 6 lines · Henning Westerholt
Quoted 2 lines

new reiser4 snapshot is available at
http://thebsh.namesys.com/snapshots/2003.08.11/

thank you for the snapshot.
I've tested the reiser4.diff patch, it apply cleanly on my system.
1)
The option "CONFIG_REISER4_FS_SYSCALL" breaks the build on my system.

It seems one necessary directory was not included in the patch and that broke build with CONFIG_REISER4_FS_SYSCALL.
Also we have some 64bit problems reports, so I am going to investigate those and may be we will release new snapshot with 64 bit fixes and parser directory inplace.

Quoted 11 lines

include/linux/irq.h:69: warning: size of `irq_desc' is 28672 bytes

  LD [M]  fs/reiser4/reiser4.o
  LD      fs/built-in.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

arch/i386/kernel/built-in.o(.data+0x7c0): In function `sys_call_table':
: undefined reference to `sys_reiser4'

hm.
I will take a look.
Thank you.

Bye,
Oleg