Skip to contentSkip to conversation

Autoconf error

PATCH In review Grant Miner 3 participants 18 messages Jul 28, 2003 – Jul 31, 2003

lore
Share & tools
lore
#0 lore raw

Hi!
I am trying to compile reiser4progs from bk; I run 'prepare' and get this output

$ ./prepare
Running aclocal...
Running autoheader...
Running autoconf...
configure.in:44: error: possibly undefined macro: dnl
     If this token and others are legitimate, please use m4_pattern_allow.
     See the Autoconf documentation.
configure.in:48: error: possibly undefined macro: AC_CHECK_LIB
configure.in:49: error: possibly undefined macro: AC_MSG_ERROR
configure.in:54: error: possibly undefined macro: AC_CHECK_HEADER
configure.in:58: error: possibly undefined macro: AC_MSG_CHECKING
configure.in:60: error: possibly undefined macro: AC_TRY_LINK_FUNC
configure.in:61: error: possibly undefined macro: AC_MSG_RESULT
configure.in:73: error: possibly undefined macro: AC_TRY_RUN

then run configure and get:

$ ./configure
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
./configure: line 1827: syntax error near unexpected token `;;'
./configure: line 1827: `        ;;'
$ autoconf --version
autoconf (GNU Autoconf) 2.57

any ideas?

#1 lore raw
$ ./prepare
Quoted 6 lines

Running aclocal...
Running autoheader...
Running autoconf...
configure.in:44: error: possibly undefined macro: dnl
If this token and others are legitimate, please use
m4_pattern_allow.

Quoted 10 lines

See the Autoconf documentation.
configure.in:48: error: possibly undefined macro: AC_CHECK_LIB configure.in:49: error: possibly undefined macro: AC_MSG_ERROR configure.in:54: error: possibly undefined macro: AC_CHECK_HEADER configure.in:58: error: possibly undefined macro: AC_MSG_CHECKING configure.in:60: error: possibly undefined macro: AC_TRY_LINK_FUNC configure.in:61: error: possibly undefined macro: AC_MSG_RESULT configure.in:73: error: possibly undefined macro: AC_TRY_RUN

This first happens with version 1.136 of configure.in

#17 lore raw
In reply to Grant Miner
Quoted 1 line · Grant Miner

Hi!

Hello,

Quoted 10 lines

I am trying to compile reiser4progs from bk; I run 'prepare' and get this output

$ ./prepare
Running aclocal...
Running autoheader...
Running autoconf...
configure.in:44: error: possibly undefined macro: dnl
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Probably dnl as token for denoting a comment is somewhat deprecated. I will change it by #.

Thanks for report.

But probably it is better idea to put package on to our ftp? It will not need to run aclocal, autoheader, etc, just configure.

It seems I've fixed it. Try again please.

Quoted 32 lines

configure.in:48: error: possibly undefined macro: AC_CHECK_LIB configure.in:49: error: possibly undefined macro: AC_MSG_ERROR configure.in:54: error: possibly undefined macro: AC_CHECK_HEADER configure.in:58: error: possibly undefined macro: AC_MSG_CHECKING configure.in:60: error: possibly undefined macro: AC_TRY_LINK_FUNC configure.in:61: error: possibly undefined macro: AC_MSG_RESULT configure.in:73: error: possibly undefined macro: AC_TRY_RUN

then run configure and get:

$ ./configure
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
./configure: line 1827: syntax error near unexpected token `;;'
./configure: line 1827: `        ;;'
$ autoconf --version
autoconf (GNU Autoconf) 2.57

any ideas?

Signature · 1 line
We're flying high, we're watching the world passes by...
#2 lore raw
In reply to Grant Miner
Quoted 18 lines · Grant Miner
$ ./prepare
Quoted 6 lines

Running aclocal...
Running autoheader...
Running autoconf...
configure.in:44: error: possibly undefined macro: dnl
If this token and others are legitimate, please use
m4_pattern_allow.

Quoted 10 lines

See the Autoconf documentation.
configure.in:48: error: possibly undefined macro: AC_CHECK_LIB configure.in:49: error: possibly undefined macro: AC_MSG_ERROR configure.in:54: error: possibly undefined macro: AC_CHECK_HEADER configure.in:58: error: possibly undefined macro: AC_MSG_CHECKING configure.in:60: error: possibly undefined macro: AC_TRY_LINK_FUNC configure.in:61: error: possibly undefined macro: AC_MSG_RESULT configure.in:73: error: possibly undefined macro: AC_TRY_RUN

Quoted 1 line

This first happens with version 1.136 of configure.in

I have put reiser4progs and libaal to
http://www.namesys.com/snapshots/2003.07.29

Use it please.

Signature · 1 line
We're flying high, we're watching the world passes by...
#3 lore raw
Quoted 19 lines · Yury Umanets
Quoted 18 lines · Grant Miner
$ ./prepare
Quoted 16 lines

Running aclocal...
Running autoheader...
Running autoconf...
configure.in:44: error: possibly undefined macro: dnl
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.in:48: error: possibly undefined macro: AC_CHECK_LIB configure.in:49: error: possibly undefined macro: AC_MSG_ERROR configure.in:54: error: possibly undefined macro: AC_CHECK_HEADER configure.in:58: error: possibly undefined macro: AC_MSG_CHECKING configure.in:60: error: possibly undefined macro: AC_TRY_LINK_FUNC configure.in:61: error: possibly undefined macro: AC_MSG_RESULT configure.in:73: error: possibly undefined macro: AC_TRY_RUN

Quoted 6 lines
Quoted 1 line

This first happens with version 1.136 of configure.in

I have put reiser4progs and libaal to
http://www.namesys.com/snapshots/2003.07.29

Use it please.

Thank you. I was trying to compile reiser4progs-0.4.10; i got this error below (but I was able to get reiser4progs-0.4.9 working).

Making all in librepair
make[2]: Entering directory `/r4/reiser4progs-0.4.10/librepair' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include -DENABLE_MONOLITHIC -D_REENTRANT -DENABLE_COLLISIONS
-DENABLE_PLUGINS_CHECK -DENABLE_SYMLINKS -DENABLE_R5_HASH -DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -O0 -g -W -Wall -Wno-unused -Werror -MT librepair_la-filesystem.lo -MD -MP -MF ".deps/librepair_la-filesystem.Tpo" \
-c -o librepair_la-filesystem.lo `test -f 'filesystem.c' || echo
'./'`filesystem.c; \
then mv ".deps/librepair_la-filesystem.Tpo" ".deps/librepair_la-filesystem.Plo"; \
else rm -f ".deps/librepair_la-filesystem.Tpo"; exit 1; \
fi
rm -f .libs/librepair_la-filesystem.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DENABLE_MONOLITHIC -D_REENTRANT -DENABLE_COLLISIONS -DENABLE_PLUGINS_CHECK -DENABLE_SYMLINKS -DENABLE_R5_HASH -DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -O0 -g -W -Wall -Wno-unused -Werror -MT librepair_la-filesystem.lo -MD -MP -MF .deps/librepair_la-filesystem.Tpo -c filesystem.c -fPIC -DPIC -o .libs/librepair_la-filesystem.lo In file included from filesystem.c:7:
../include/repair/librepair.h:25:27: repair/object.h: No such file or directory
make[2]: *** [librepair_la-filesystem.lo] Error 1
make[2]: Leaving directory `/r4/reiser4progs-0.4.10/librepair' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/r4/reiser4progs-0.4.10'
make: *** [all] Error 2

#4 lore raw
Quoted 61 lines · Grant Miner
Quoted 19 lines · Yury Umanets
Quoted 18 lines · Grant Miner
$ ./prepare
Quoted 16 lines

Running aclocal...
Running autoheader...
Running autoconf...
configure.in:44: error: possibly undefined macro: dnl
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.in:48: error: possibly undefined macro: AC_CHECK_LIB configure.in:49: error: possibly undefined macro: AC_MSG_ERROR configure.in:54: error: possibly undefined macro: AC_CHECK_HEADER configure.in:58: error: possibly undefined macro: AC_MSG_CHECKING configure.in:60: error: possibly undefined macro: AC_TRY_LINK_FUNC configure.in:61: error: possibly undefined macro: AC_MSG_RESULT configure.in:73: error: possibly undefined macro: AC_TRY_RUN

Quoted 6 lines
Quoted 1 line

This first happens with version 1.136 of configure.in

I have put reiser4progs and libaal to
http://www.namesys.com/snapshots/2003.07.29

Use it please.

Thank you. I was trying to compile reiser4progs-0.4.10; i got this error below (but I was able to get reiser4progs-0.4.9 working).

Making all in librepair
make[2]: Entering directory `/r4/reiser4progs-0.4.10/librepair' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..

(quoted diff) +0 -5
-I../include   -DENABLE_MONOLITHIC -D_REENTRANT -DENABLE_COLLISIONS
-DENABLE_PLUGINS_CHECK -DENABLE_SYMLINKS -DENABLE_R5_HASH
-DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH
-DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -O0 -g -W -Wall -Wno-unused
-Werror -MT librepair_la-filesystem.lo -MD -MP -MF

".deps/librepair_la-filesystem.Tpo" \
-c -o librepair_la-filesystem.lo `test -f 'filesystem.c' || echo
'./'`filesystem.c; \
then mv ".deps/librepair_la-filesystem.Tpo" ".deps/librepair_la-filesystem.Plo"; \
else rm -f ".deps/librepair_la-filesystem.Tpo"; exit 1; \
fi
rm -f .libs/librepair_la-filesystem.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DENABLE_MONOLITHIC

(quoted diff) +0 -4
-D_REENTRANT -DENABLE_COLLISIONS -DENABLE_PLUGINS_CHECK
-DENABLE_SYMLINKS -DENABLE_R5_HASH -DENABLE_FNV1_HASH
-DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH -DENABLE_LARGE_KEYS
-DENABLE_SHORT_KEYS -O0 -g -W -Wall -Wno-unused -Werror -MT

librepair_la-filesystem.lo -MD -MP -MF .deps/librepair_la-filesystem.Tpo -c filesystem.c -fPIC -DPIC -o .libs/librepair_la-filesystem.lo In file included from filesystem.c:7:
../include/repair/librepair.h:25:27: repair/object.h: No such file or directory
make[2]: *** [librepair_la-filesystem.lo] Error 1
make[2]: Leaving directory `/r4/reiser4progs-0.4.10/librepair' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/r4/reiser4progs-0.4.10'

Quoted 1 line

make: *** [all] Error 2

Take reiser4progs from http://www.namesys.com/snapshots/2003.07.29 one more time. Sorry for errors :)

Quoted 1 line
Signature · 1 line
We're flying high, we're watching the world passes by...
#5 lore raw
Quoted 62 lines · Yury Umanets
Quoted 60 lines · Grant Miner
Quoted 19 lines · Yury Umanets
Quoted 18 lines · Grant Miner
$ ./prepare
Quoted 16 lines

Running aclocal...
Running autoheader...
Running autoconf...
configure.in:44: error: possibly undefined macro: dnl
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.in:48: error: possibly undefined macro: AC_CHECK_LIB configure.in:49: error: possibly undefined macro: AC_MSG_ERROR configure.in:54: error: possibly undefined macro: AC_CHECK_HEADER configure.in:58: error: possibly undefined macro: AC_MSG_CHECKING configure.in:60: error: possibly undefined macro: AC_TRY_LINK_FUNC configure.in:61: error: possibly undefined macro: AC_MSG_RESULT configure.in:73: error: possibly undefined macro: AC_TRY_RUN

Quoted 6 lines
Quoted 1 line

This first happens with version 1.136 of configure.in

I have put reiser4progs and libaal to
http://www.namesys.com/snapshots/2003.07.29

Use it please.

Thank you. I was trying to compile reiser4progs-0.4.10; i got this error below (but I was able to get reiser4progs-0.4.9 working).

Making all in librepair
make[2]: Entering directory `/r4/reiser4progs-0.4.10/librepair' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..

(quoted diff) +0 -5
-I../include   -DENABLE_MONOLITHIC -D_REENTRANT -DENABLE_COLLISIONS
-DENABLE_PLUGINS_CHECK -DENABLE_SYMLINKS -DENABLE_R5_HASH
-DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH
-DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -O0 -g -W -Wall -Wno-unused
-Werror -MT librepair_la-filesystem.lo -MD -MP -MF

".deps/librepair_la-filesystem.Tpo" \
-c -o librepair_la-filesystem.lo `test -f 'filesystem.c' || echo
'./'`filesystem.c; \
then mv ".deps/librepair_la-filesystem.Tpo" ".deps/librepair_la-filesystem.Plo"; \
else rm -f ".deps/librepair_la-filesystem.Tpo"; exit 1; \
fi
rm -f .libs/librepair_la-filesystem.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DENABLE_MONOLITHIC

(quoted diff) +0 -4
-D_REENTRANT -DENABLE_COLLISIONS -DENABLE_PLUGINS_CHECK
-DENABLE_SYMLINKS -DENABLE_R5_HASH -DENABLE_FNV1_HASH
-DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH -DENABLE_LARGE_KEYS
-DENABLE_SHORT_KEYS -O0 -g -W -Wall -Wno-unused -Werror -MT

librepair_la-filesystem.lo -MD -MP -MF .deps/librepair_la-filesystem.Tpo -c filesystem.c -fPIC -DPIC -o .libs/librepair_la-filesystem.lo In file included from filesystem.c:7:
../include/repair/librepair.h:25:27: repair/object.h: No such file or directory
make[2]: *** [librepair_la-filesystem.lo] Error 1
make[2]: Leaving directory `/r4/reiser4progs-0.4.10/librepair' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/r4/reiser4progs-0.4.10'

Quoted 5 lines
Quoted 1 line

make: *** [all] Error 2

Take reiser4progs from http://www.namesys.com/snapshots/2003.07.29 one more time. Sorry for errors :)

Quoted 1 line

Ok great, you fixed it :)

#6 lore raw
Quoted 63 lines · Grant Miner
Quoted 62 lines · Yury Umanets
Quoted 60 lines · Grant Miner
Quoted 19 lines · Yury Umanets
Quoted 18 lines · Grant Miner
$ ./prepare
Quoted 16 lines

Running aclocal...
Running autoheader...
Running autoconf...
configure.in:44: error: possibly undefined macro: dnl
If this token and others are legitimate, please use
m4_pattern_allow.
See the Autoconf documentation.
configure.in:48: error: possibly undefined macro: AC_CHECK_LIB configure.in:49: error: possibly undefined macro: AC_MSG_ERROR configure.in:54: error: possibly undefined macro: AC_CHECK_HEADER configure.in:58: error: possibly undefined macro: AC_MSG_CHECKING configure.in:60: error: possibly undefined macro: AC_TRY_LINK_FUNC configure.in:61: error: possibly undefined macro: AC_MSG_RESULT configure.in:73: error: possibly undefined macro: AC_TRY_RUN

Quoted 6 lines
Quoted 1 line

This first happens with version 1.136 of configure.in

I have put reiser4progs and libaal to
http://www.namesys.com/snapshots/2003.07.29

Use it please.

Thank you. I was trying to compile reiser4progs-0.4.10; i got this error below (but I was able to get reiser4progs-0.4.9 working).

Making all in librepair
make[2]: Entering directory `/r4/reiser4progs-0.4.10/librepair' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..

(quoted diff) +0 -5
-I../include   -DENABLE_MONOLITHIC -D_REENTRANT -DENABLE_COLLISIONS
-DENABLE_PLUGINS_CHECK -DENABLE_SYMLINKS -DENABLE_R5_HASH
-DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH
-DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -O0 -g -W -Wall -Wno-unused
-Werror -MT librepair_la-filesystem.lo -MD -MP -MF

".deps/librepair_la-filesystem.Tpo" \
-c -o librepair_la-filesystem.lo `test -f 'filesystem.c' || echo
'./'`filesystem.c; \
then mv ".deps/librepair_la-filesystem.Tpo" ".deps/librepair_la-filesystem.Plo"; \
else rm -f ".deps/librepair_la-filesystem.Tpo"; exit 1; \
fi
rm -f .libs/librepair_la-filesystem.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DENABLE_MONOLITHIC

(quoted diff) +0 -4
-D_REENTRANT -DENABLE_COLLISIONS -DENABLE_PLUGINS_CHECK
-DENABLE_SYMLINKS -DENABLE_R5_HASH -DENABLE_FNV1_HASH
-DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH -DENABLE_LARGE_KEYS
-DENABLE_SHORT_KEYS -O0 -g -W -Wall -Wno-unused -Werror -MT

librepair_la-filesystem.lo -MD -MP -MF .deps/librepair_la-filesystem.Tpo -c filesystem.c -fPIC -DPIC -o .libs/librepair_la-filesystem.lo In file included from filesystem.c:7:
../include/repair/librepair.h:25:27: repair/object.h: No such file or directory
make[2]: *** [librepair_la-filesystem.lo] Error 1
make[2]: Leaving directory `/r4/reiser4progs-0.4.10/librepair' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/r4/reiser4progs-0.4.10'

Quoted 6 lines
Quoted 5 lines
Quoted 1 line

make: *** [all] Error 2

Take reiser4progs from http://www.namesys.com/snapshots/2003.07.29 one more time. Sorry for errors :)

Quoted 1 line

Ok great, you fixed it :)

Thanks a lot for trying our software and for reports :)

Signature · 1 line
We're flying high, we're watching the world passes by...
#7 lore raw

Ok, I tried reiser4progs-0.4.10 with libaal-0.4.8, then used that mkfs.reiser4 to make a fs. Trying to mount, mount said "wrong mount type, too many filesystems, etc." so I went back to the other snapshot (libaal-0.4.7 and reiser4progs-0.4.9) and used that mkfs.reiser4. After that I could mount the filesystems! So I copied my system over to this reiser4 fs and ran it a bit; so for it works great, no corruptions etc.
Although stuff like "echo "500" > file/..uid" seemes to lock up the
file system requiring a reboot.

#8 lore raw
In reply to Grant Miner
Quoted 5 lines · Grant Miner

Ok, I tried reiser4progs-0.4.10 with libaal-0.4.8, then used that mkfs.reiser4 to make a fs. Trying to mount, mount said "wrong mount type, too many filesystems, etc." so I went back to the other snapshot (libaal-0.4.7 and reiser4progs-0.4.9) and used that mkfs.reiser4. After that I could mount the filesystems!

Hello,

The problem probably is that, since 0.4.10 large keys are supported in reiser4progs and they are used by mkfs as default key policy. But, you also should enable large keys in reiser4 kernel code.

Or just use mkfs option --keys=SHORT

Quoted 4 lines

So I copied my system over to this
reiser4 fs and ran it a bit; so for it works great, no corruptions etc.
Although stuff like "echo "500" > file/..uid" seemes to lock up the
file system requiring a reboot.

Probably mr. Nikita will comment this.

Thanks.

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

Ok, I tried reiser4progs-0.4.10 with libaal-0.4.8, then used that mkfs.reiser4 to make a fs. Trying to mount, mount said "wrong mount type, too many filesystems, etc." so I went back to the other snapshot (libaal-0.4.7 and reiser4progs-0.4.9) and used that mkfs.reiser4. After that I could mount the filesystems!

Quoted 12 lines

Hello,

The problem probably is that, since 0.4.10 large keys are supported in reiser4progs and they are used by mkfs as default key policy. But, you also should enable large keys in reiser4 kernel code.

Or just use mkfs option --keys=SHORT

Quoted 4 lines

So I copied my system over to this
reiser4 fs and ran it a bit; so for it works great, no corruptions etc.
Although stuff like "echo "500" > file/..uid" seemes to lock up the
file system requiring a reboot.

Very interesting. Is there anything in the logs (/var/log/messages), or on the console?

Can you compile with Kernel-Hacking/Magic-Sysrq turned on, press sysrq-T on lock up and send us its output?

Quoted 9 lines

Probably mr. Nikita will comment this.

Thanks.

Signature · 1 line
We're flying high, we're watching the world passes by...

Nikita.

#10 lore raw
Quoted 21 lines · Nikita Danilov
Quoted 7 lines · Yury Umanets
Quoted 5 lines · Grant Miner

Ok, I tried reiser4progs-0.4.10 with libaal-0.4.8, then used that mkfs.reiser4 to make a fs. Trying to mount, mount said "wrong mount type, too many filesystems, etc." so I went back to the other snapshot (libaal-0.4.7 and reiser4progs-0.4.9) and used that mkfs.reiser4. After that I could mount the filesystems!

Quoted 12 lines

Hello,

The problem probably is that, since 0.4.10 large keys are supported in reiser4progs and they are used by mkfs as default key policy. But, you also should enable large keys in reiser4 kernel code.

Or just use mkfs option --keys=SHORT

Quoted 4 lines

So I copied my system over to this
reiser4 fs and ran it a bit; so for it works great, no corruptions etc.
Although stuff like "echo "500" > file/..uid" seemes to lock up the
file system requiring a reboot.

Quoted 5 lines

Very interesting. Is there anything in the logs (/var/log/messages), or on the console?

Can you compile with Kernel-Hacking/Magic-Sysrq turned on, press sysrq-T on lock up and send us its output?

OK. I found an error. Wait a second, I shall send you a patch.

Quoted 11 lines
Quoted 10 lines

Probably mr. Nikita will comment this.

Thanks.

Signature · 1 line
We're flying high, we're watching the world passes by...

Nikita.

#15 lore raw
In reply to Nikita Danilov
Quoted 6 lines

Very interesting. Is there anything in the logs (/var/log/messages), or on the console?

Can you compile with Kernel-Hacking/Magic-Sysrq turned on, press sysrq-T on lock up and send us its output?

The first time I try that, I get an oops (see below). And init goes into runlevel 5 for some reason. Second time, cat freezes up.

 Unable to handle kernel NULL pointer dereference at virtual address

00000000
printing eip:
c021c724
*pde = 00000000

Oops: 0002 [#1]
CPU:    0
EIP:    0060:[<c021c724>]    Not tainted
EFLAGS: 00010202

EIP is at reiser4_setattr+0x64/0xf0
eax: 00000000 ebx: 00000000 ecx: deee5c00 edx: 00000000
esi: de4cc108 edi: d30e9980 ebp: cf6dfd88 esp: cf6dfd80
ds: 007b es: 007b ss: 0068
Process bash (pid: 1569, threadinfo=cf6de000 task=d594f380)

Stack: de4cc108 cf6dfe48 00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 30 11:37:14 uber login(pam_unix)[1030]: session closed for user root
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Call Trace:
[<c016ebe1>] notify_change+0x201/0x260
[<c02387f0>] update_ugid+0x90/0xb0
[<c024a7b4>] vsscanf+0x274/0x4a0
[<c024a9ff>] sscanf+0x1f/0x24
[<c023886d>] get_uid+0x5d/0x70
[<c023c689>] write_pseudo+0x69/0xb0
[<c02063ba>] init_context+0x9a/0xd0
[<c021d1dd>] reiser4_write+0x8d/0x100
[<c021d150>] reiser4_write+0x0/0x100
[<c0152d3c>] vfs_write+0xdc/0x150
[<c0152e62>] sys_write+0x42/0x70
[<c010accb>] syscall_call+0x7/0xb
Code: 83 08 04 89 2c 24 e8 61 9d fe ff 89 d8 8b b4 24 8c 00 00 00
#11 lore raw
In reply to Nikita Danilov
Quoted 22 lines · Nikita Danilov
Quoted 21 lines · Nikita Danilov
Quoted 19 lines · Yury Umanets
Quoted 5 lines · Grant Miner

Ok, I tried reiser4progs-0.4.10 with libaal-0.4.8, then used that mkfs.reiser4 to make a fs. Trying to mount, mount said "wrong mount type, too many filesystems, etc." so I went back to the other snapshot (libaal-0.4.7 and reiser4progs-0.4.9) and used that mkfs.reiser4. After that I could mount the filesystems!

Hello,

The problem probably is that, since 0.4.10 large keys are supported in reiser4progs and they are used by mkfs as default key policy. But, you also should enable large keys in reiser4 kernel code.

Or just use mkfs option --keys=SHORT

Quoted 4 lines

So I copied my system over to this
reiser4 fs and ran it a bit; so for it works great, no corruptions etc.
Although stuff like "echo "500" > file/..uid" seemes to lock up the
file system requiring a reboot.

Quoted 7 lines
Quoted 5 lines

Very interesting. Is there anything in the logs (/var/log/messages), or on the console?

Can you compile with Kernel-Hacking/Magic-Sysrq turned on, press sysrq-T on lock up and send us its output?

OK. I found an error. Wait a second, I shall send you a patch.

Try this:
----------------------------------------------------------------------
===== fs/reiser4/context.h 1.28 vs edited =====

fs/reiser4/context.h renamed from context.h +5 -2
@@ -229,8 +229,11 @@
  * directory. Commit will be performed by ktxnmgrd. */
 static inline void context_set_commit_async(reiser4_context * ctx)
 {
-	ctx->nobalance = 1;
-	ctx->trans->flags |= TXNH_DONT_COMMIT;
+	reiser4_context *context;
+
+	context = ctx->parent;
+	context->nobalance = 1;
+	context->trans->flags |= TXNH_DONT_COMMIT;
 }
 
 extern int reiser4_exit_context(reiser4_context * context);

----------------------------------------------------------------------

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Probably mr. Nikita will comment this.

Quoted 8 lines
Quoted 7 lines
Quoted 6 lines

Thanks.

Signature · 1 line
We're flying high, we're watching the world passes by...

Nikita.

#12 lore raw

link error [was Re: Autoconf error]

Quoted 12 lines

Try this:
----------------------------------------------------------------------
===== fs/reiser4/context.h 1.28 vs edited =====

fs/reiser4/context.h renamed from context.h +0 -1
@@ -229,8 +229,11 @@
  * directory. Commit will be performed by ktxnmgrd. */
 static inline void context_set_commit_async(reiser4_context * ctx)
 {
-	ctx->nobalance = 1;

fs/reiser4/context.h

Quoted 10 lines
fs/reiser4/context.h renamed from context.h +5 -2
-	ctx->trans->flags |= TXNH_DONT_COMMIT;
+	reiser4_context *context;
+
+	context = ctx->parent;
+	context->nobalance = 1;
+	context->trans->flags |= TXNH_DONT_COMMIT;
 }
 
 extern int reiser4_exit_context(reiser4_context * context);
----------------------------------------------------------------------

I didn't get a chance to test your patch yet, since after pulling changes to the reiser4-linux-2.5 tree I received this link error (I might try going back a changeset):

make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
./scripts/pnmtologo -t clut224 -n logo_linux_clut224 -o drivers/video/logo/logo_linux_clut224.c drivers/video/logo/logo_linux_clut224.ppm

  CC      drivers/video/logo/logo_linux_clut224.o
  LD      drivers/video/logo/built-in.o
  LD      drivers/video/built-in.o
  LD      drivers/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

fs/built-in.o(.text+0x100d55): In function `cluster_index_by_coord':
: undefined reference to __udivdi3' fs/built-in.o(.text+0x101ee9): In function utmost_child_ctail':
: undefined reference to `__umoddi3'
make: *** [.tmp_vmlinux1] Error 1

Hopefully that is useful to you

#13 lore raw

PATCH 1/1 for configure.in for reiser4progs

In reply to Nikita Danilov

This makes autoconf stop complaining on my machine.

myconfigure.in renamed from configure.in +1 -1
@@ -42,7 +42,7 @@
 AC_DEFINE_UNQUOTED(LIBREISER4_MIN_INTERFACE_VERSION, $LIBREISER4_INTERFACE_AGE)
 
 # Macro for checking libaal
-AC_DEFUN(AC_CHECK_LIBAAL,
+AC_DEFUN([AC_CHECK_LIBAAL],
 [
 
 AC_CHECK_LIB($1, aal_device_open, ,
#14 lore raw

Re: [patch] for configure.in for reiser4progs

Quoted 6 lines · Grant Miner

This makes autoconf stop complaining on my machine.

______________________________________________________________________

myconfigure.in line 48

Quoted 8 lines
myconfigure.in renamed from configure.in +1 -1
@@ -42,7 +42,7 @@
 AC_DEFINE_UNQUOTED(LIBREISER4_MIN_INTERFACE_VERSION, $LIBREISER4_INTERFACE_AGE)
 
 # Macro for checking libaal
-AC_DEFUN(AC_CHECK_LIBAAL,
+AC_DEFUN([AC_CHECK_LIBAAL],
 [
 
 AC_CHECK_LIB($1, aal_device_open, ,

Thanks, will take a look.

Signature · 1 line
We're flying high, we're watching the world passes by...