Skip to contentSkip to conversation

New reiser4 snapshot (2003.09.12) is out

DISCUSSION Oleg Drokin 8 participants 21 messages Sep 12, 2003 – Sep 14, 2003

lore
Share & tools
lore
#0 lore raw

Hello!

Another reiser4 snapshot was released today. This time it is against 2.6.0-test5.
Please take note that DISK DORMAT IS CHANGED, so you need to recreate your reiser4 filesystems (if you have any). This involves getting new reiser4progs, too.

The snapshot is available from http://www.namesys.com/snapshots/2003.09.12

Full release notes are below:

Reiser4 snapshot for 2003.09.12

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

Fixed some bugs. Hide some config options that might lead to problems in compiling/running.
Readonly mounts (and hence - reiser4 as rootfs) are still not supported. Some OOM problems are still inplace too (involves mmap-dirtying lots of pages).

reiser4progs: You need to get new reiser4progs. Diskformat is changed in backwards incompatible manner, and so you need to recreate all your reiser4 volumes. fsck.reiser4 still is not functional

Snapshot is released as a patch against linux-2.6.0-test5
REISER4_NOOPT config option (Disable compiler optimizations for reiser4 code.)
is known to not compile on x86.
Enable CONFIG_REISER4_LARGE_KEY, as reiser4progs are creating filesystems with
large keys by default.
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.

Changelog (extracted by "bk changes"):

[email protected], 2003-09-11 22:00:25+04:00, [email protected]
wrong assertions: grabbed blocks should not be less than @count.

[email protected], 2003-09-11 21:40:11+04:00, [email protected]
add assertions for catching space reservation problems

[email protected], 2003-09-11 18:36:37+04:00, [email protected]
always relocate if JNODE_REPACK is set

[email protected], 2003-09-11 18:35:49+04:00, [email protected]
debugging print supoort for JNODE_REPACK.

[email protected], 2003-09-10 22:06:39+04:00, [email protected]
cryptcompress.c:
Fixed bugs

[email protected], 2003-09-10 18:49:42+04:00, [email protected]
bitmap backward scanning bug fix: it was possible to allocate more blocks than it was allowed by @max_len argument.

[email protected], 2003-09-10 12:29:18+04:00, [email protected]
handle_pos_on_formatted: wrong assertion removed

[email protected], 2003-09-09 18:45:22+04:00, [email protected]
clean up.
respect queue congestion.

[email protected], 2003-09-09 18:44:49+04:00, [email protected]
cleanup.

[email protected], 2003-09-09 18:44:33+04:00, [email protected]
mark error returns as such.

[email protected], 2003-09-09 18:44:07+04:00, [email protected]
avoid race between ->releasepage() and znode allocation:
remove page from radix tree manually.

[email protected], 2003-09-08 19:38:13+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into angband.namesys.com:/home/green/bk_work/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-09-08 19:38:01+04:00, [email protected]
plugin.h, object.c, static_stat.c, page_cache.c, inode.c:
get rid of kdev_t stuff

[email protected], 2003-09-08 19:22:49+04:00, [email protected]
for a while

[email protected], 2003-09-08 18:55:22+04:00, [email protected]
static_stat.c:
Fixed bug: set inode flag REISER4_CLUSTER_KNOWN
in cluster_sd_save()
cryptcompress.h:
More comments
cryptcompress.c:
Fixed bug: do not read new cluster from disk.

[email protected], 2003-09-08 17:16:03+04:00, [email protected]
sync with VM changes

[email protected], 2003-09-08 17:06:47+04:00, [email protected]
fix error in last commit

[email protected], 2003-09-08 16:22:41+04:00, [email protected]
Merge god@thebsh:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4

[email protected], 2003-09-08 16:18:21+04:00, [email protected]
check for concurrent node insertion in link_left_and_right()

[email protected], 2003-09-08 16:17:50+04:00, [email protected]
don't block ktxnmgrd on atom fusion.

[email protected], 2003-09-08 16:09:28+04:00, [email protected]

[email protected], 2003-09-08 15:21:22+04:00, [email protected]
cryptcompress.c:
Check value returned by scint_pack

[email protected], 2003-09-08 14:45:19+04:00, [email protected]
unnecessary function call removed

[email protected], 2003-09-08 14:25:12+04:00, [email protected]
comments

[email protected], 2003-09-08 14:23:19+04:00, [email protected]
remove inline from shared not inline function.

[email protected], 2003-09-05 21:05:59+04:00, [email protected]
flush.c:
Handling of empty nodes after squeeze_node() on leaf level

[email protected], 2003-09-05 19:43:59+04:00, [email protected]
Merge laputa.namesys.com:/home/god/projects/2.5/fs/reiser4 into laputa.namesys.com:/home/god/projects/i386/fs/reiser4

[email protected], 2003-09-05 19:43:31+04:00, [email protected]
move init_context() out of &inode_lock

[email protected], 2003-09-05 19:43:06+04:00, [email protected]
fix race

[email protected], 2003-09-05 19:42:52+04:00, [email protected]
remove assertion

[email protected], 2003-09-05 16:49:27+04:00, [email protected]
read_extent: bug fix

[email protected], 2003-09-05 15:23:28+04:00, [email protected]
Merge

[email protected], 2003-09-05 15:12:01+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-09-05 15:11:36+04:00, [email protected]
cleanup

[email protected], 2003-09-05 13:08:39+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into crimson.namesys.com:/mnt/store/src/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-09-05 10:04:03+04:00, [email protected]
reiser4 sysfs interface: device attr. output change.

[email protected], 2003-09-04 22:08:15+04:00, [email protected]
ctail.c:
Added cut_ctail()

[email protected], 2003-09-04 21:50:51+04:00, [email protected]
option for use yacc

[email protected], 2003-09-04 19:11:57+04:00, [email protected]
item.h, ctail.h:
cleanups
ctail.c, flush.c:
attach/detach squeeze item data was moved from squeeze_node() to squeeze() flush item plugin

[email protected], 2003-09-04 19:11:26+04:00, [email protected]
cleanup

[email protected], 2003-09-04 19:07:34+04:00, [email protected]
add mmap support to nfs_fh_stale.c

[email protected], 2003-09-04 19:07:15+04:00, [email protected]
disable these noisy debugging messages.

[email protected], 2003-09-04 19:06:57+04:00, [email protected]
fix typo.

[email protected], 2003-09-04 18:47:24+04:00, [email protected]
cleanup

[email protected], 2003-09-04 18:28:30+04:00, [email protected]
cleanup

[email protected], 2003-09-04 18:19:05+04:00, [email protected]
Merge laputa.namesys.com:/home/god/projects/2.5/fs/reiser4 into laputa.namesys.com:/home/god/projects/i386/fs/reiser4

[email protected], 2003-09-04 18:01:57+04:00, [email protected]
conflict resolved

[email protected], 2003-09-04 18:01:02+04:00, [email protected]
manual pull

[email protected], 2003-09-04 17:15:22+04:00, [email protected]
kill dead debugging code

[email protected], 2003-09-04 17:03:04+04:00, [email protected]
conflict resolved

[email protected], 2003-09-04 15:59:01+04:00, [email protected]
find_extent_slum_size: corrected assertions

[email protected], 2003-09-04 15:21:38+04:00, [email protected]
Merge god@thebsh:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4

[email protected], 2003-09-04 15:19:33+04:00, [email protected]
add more consistency checks for jnode

[email protected], 2003-09-04 15:17:33+04:00, [email protected]
add functions to print most wanted znodes

[email protected], 2003-09-04 15:17:04+04:00, [email protected]
fix typo.

[email protected], 2003-09-04 15:16:49+04:00, [email protected]
add /sys/fs/reiser4/*/contexts

[email protected], 2003-09-04 15:14:54+04:00, [email protected]
remove obsolete ->zgen statistics

[email protected], 2003-09-04 11:57:58+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-09-04 11:57:47+04:00, [email protected]
shorten_file: use current file size

[email protected], 2003-09-04 11:54:36+04:00, [email protected]
conflict resolved

[email protected], 2003-09-04 11:43:09+04:00, [email protected]
conflict resolution

[email protected], 2003-09-03 20:10:46+04:00, [email protected]
ctail.c, flush.c:
fixed

[email protected], 2003-09-03 19:19:07+04:00, [email protected]
cleanup

[email protected], 2003-09-03 19:17:18+04:00, [email protected]
remove ->zgen

[email protected], 2003-09-03 19:16:39+04:00, [email protected]
remove dead code

[email protected], 2003-09-03 17:41:58+04:00, [email protected]
flush.c:
comments

[email protected], 2003-09-03 14:55:24+04:00, [email protected]
ctail.c, cryptcompress.c:
cleanups
cryptcompress.h:
comments, cleanups

[email protected], 2003-09-03 14:44:45+04:00, [email protected]
Merge laputa.namesys.com:/home/god/projects/2.5/fs/reiser4 into laputa.namesys.com:/home/god/projects/i386/fs/reiser4

[email protected], 2003-09-03 14:44:29+04:00, [email protected]
lock neighboring formatted nodes and pass them down to the extent deletion code

[email protected], 2003-09-03 13:29:38+04:00, [email protected]
cde.c:
Removed dead code.

[email protected], 2003-09-02 19:24:55+04:00, [email protected]
tail.c:
Removed redundant stuff in lookup_tail().
extent.c:
Removed redundant stuff in lookup_extent().

[email protected], 2003-09-02 18:34:24+04:00, [email protected]
object.c, item.c, ctail.h, ctail.c, cryptcompress.h:
cleanups
cryptcompress.c:
Added capture(), delete() methods for cryptcompress object plugin.

[email protected], 2003-09-02 14:23:49+04:00, [email protected]
bug fixes, debugging code

[email protected], 2003-09-02 13:18:32+04:00, [email protected]
cut_or_kill_units: bug fix

[email protected], 2003-09-01 22:48:04+04:00, [email protected]
add "device" sysfs attribute for reiser4 kobject.

[email protected], 2003-09-01 21:41:00+04:00, [email protected]
object.c:
added mmap() for cryptcompress objects
item.c:
init_coord_extension for ctails
cryptcompress.c:
added get_block() for cryptcompress objects

[email protected], 2003-09-01 18:28:10+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-09-01 18:28:02+04:00, [email protected]
cleanups, fixes

[email protected], 2003-09-01 14:12:37+04:00, [email protected]
sync with changes in prepare_twig_cut()

[email protected], 2003-09-01 14:12:10+04:00, [email protected]
set JNODE_DKSET bit

[email protected], 2003-09-01 14:11:39+04:00, [email protected]
assertion was rendered invalid by recent chamges in prepare_twig_cut()

[email protected], 2003-09-01 11:34:02+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/bk/reiser4

[email protected], 2003-08-30 21:21:18+04:00, [email protected]
plugin.h:
Split cryptcompress specific info in reiser4_object_create data
into crypto/compression/cluster info to enable unspecified ones.
static_stat.c:
Allocating space for crypto_stat moved from save_crypto_sd() to create_cryptcompress()
item.c:
init kill_hook method for ctail items.
ctail.h:
cleanup
cryptcompress.c:
Create method for cryptcompression objects was changed to enable creation with unspecified crypto/compression info (the create method instals zero plugins).

[email protected], 2003-08-30 18:26:50+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-08-30 18:26:35+04:00, [email protected]
set_hint: hint is extended by lock mode. This is to distinguish hint set by read and write

[email protected], 2003-08-30 18:22:28+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/bk/reiser4

[email protected], 2003-08-29 22:53:49+04:00, [email protected]
the repacker: one more extent scanning loop fix.

[email protected], 2003-08-29 22:51:51+04:00, [email protected]
the repacker: blocknr hint update after extent relocation, extent scan loop fix.

[email protected], 2003-08-29 19:42:55+04:00, [email protected]
vfs_ops.c:
Do not assign any inode stats in reiser4_statfs. Big numbers seems to confurse all df implementations out there.

[email protected], 2003-08-29 18:56:58+04:00, [email protected]
the repacker: update blocknr_hint after successful block allocation

[email protected], 2003-08-29 18:23:25+04:00, [email protected]
page_cache.c:
We need jprivate in there, because zero private field is completely legal and even handled

[email protected], 2003-08-29 17:26:28+04:00, [email protected]
dir.h, dir.c, hashed_dir.c:

    Make rename properly update times of parent directories, export update_times->reiser4_update_times

[email protected], 2003-08-29 15:27:30+04:00, [email protected]
file.c:
Do not update anything other than atime when file is unpacked.

[email protected], 2003-08-29 12:52:00+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-08-29 12:51:48+04:00, [email protected]
fixes, cleanups

[email protected], 2003-08-29 12:44:55+04:00, [email protected]
conflict resolved

[email protected], 2003-08-29 11:26:47+04:00, [email protected]
static_stat.c:
Fixed compile. Actually now that we can have either rdev or bytes field, we probably may need to print only one of those, too

[email protected], 2003-08-28 19:40:16+04:00, [email protected]
fix precedence.

[email protected], 2003-08-28 19:34:44+04:00, [email protected]
fix read ahead code

[email protected], 2003-08-28 19:34:29+04:00, [email protected]
limit atom size

[email protected], 2003-08-28 19:34:06+04:00, [email protected]
add more checks for jnode consistency

[email protected], 2003-08-28 19:33:36+04:00, [email protected]
fix compilation errors

[email protected], 2003-08-28 19:30:39+04:00, [email protected]
remove noisy compiler options

[email protected], 2003-08-28 19:20:40+04:00, [email protected]
rearrange fields

[email protected], 2003-08-28 19:06:57+04:00, [email protected]
ctail.h:
Added prototypes
ctail.c, cryptcompress.h, cryptcompress.c:
Audited read_some_cluster_pages(), do_readpage_ctail()

[email protected], 2003-08-28 18:14:06+04:00, [email protected]
rdev fix?

[email protected], 2003-08-28 14:34:37+04:00, [email protected]
cryptcompress.c:
helper init operation for cluster handle

[email protected], 2003-08-28 12:19:11+04:00, [email protected]
calculate stat->blocks right

[email protected], 2003-08-28 12:13:03+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-08-28 12:12:57+04:00, [email protected]
fixes, cleanups

[email protected], 2003-08-28 12:11:41+04:00, [email protected]
conflict resolved

[email protected], 2003-08-28 08:36:43+04:00, [email protected]
the repacker: add missing deadllocation of relocatable blocks.

[email protected], 2003-08-28 07:42:03+04:00, [email protected]
missing JF_SET(, JNODE_RELOC) caused space reservation problems (zam-940).

[email protected], 2003-08-27 22:50:08+04:00, [email protected]
the repacker: extent relocation is rewritten to fix space reservation problems.

[email protected], 2003-08-27 21:23:29+04:00, [email protected]
ctail.h:
Added prototypes
ctail.c:
Added kill_hook method for ctail items
cryptcompress.c:
Added shorten_cryptcompress()

[email protected], 2003-08-27 16:36:36+04:00, [email protected]
ctail.c:
Fixed bugs

[email protected], 2003-08-26 17:17:32+04:00, [email protected]
change interface of flush_some_atom(): pass writeback_control so that pdflush can be distinguised from balance_dirty_pages()

[email protected], 2003-08-26 16:31:58+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/bk/reiser4

[email protected], 2003-08-26 14:59:32+04:00, [email protected]
fix of wrong result block calculation from bmap number and offset in bitmap_alloc_forward()

Bye,
Oleg

#1 lore raw

Any ideas why I would get this error while trying to compile reiser4progs-0.4.14? The previous version of reiser4progs seemed to compile fine for me, as did compiling reiser4 in to the test5 kernel.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DENABLE_MONOLITHIC -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DENABLE_COLLISIONS -DENABLE_PLUGINS_CHECK -DENABLE_SYMLINKS -DENABLE_R5_HASH -DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH -DENABLE_DEG_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -O0 -g -W -Wall -Wno-unused-parameter -Wredundant-decls -Werror -MT libmisc_la-exception.lo -MD -MP -MF .deps/libmisc_la-exception.Tpo -c exception.c -fPIC -DPIC -o .libs/libmisc_la-exception.lo exception.c: In function `misc_exception_handler':
exception.c:133: warning: unused variable i' exception.c:135: warning: unused variable variant' make[2]: *** [libmisc_la-exception.lo] Error 1
make[2]: Leaving directory `/home/ipso/downloads/reiser4progs-0.4.14/libmisc' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ipso/downloads/reiser4progs-0.4.14'
make: *** [all] Error 2

Quoted 474 lines · Oleg Drokin

Hello!

Another reiser4 snapshot was released today. This time it is against 2.6.0-test5.
Please take note that DISK DORMAT IS CHANGED, so you need to recreate your reiser4 filesystems (if you have any). This involves getting new reiser4progs, too.

The snapshot is available from http://www.namesys.com/snapshots/2003.09.12

Full release notes are below:

Reiser4 snapshot for 2003.09.12

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

Fixed some bugs. Hide some config options that might lead to problems in compiling/running.
Readonly mounts (and hence - reiser4 as rootfs) are still not supported. Some OOM problems are still inplace too (involves mmap-dirtying lots of pages).

reiser4progs: You need to get new reiser4progs. Diskformat is changed in backwards incompatible manner, and so you need to recreate all your reiser4 volumes. fsck.reiser4 still is not functional

Snapshot is released as a patch against linux-2.6.0-test5
REISER4_NOOPT config option (Disable compiler optimizations for reiser4 code.)
is known to not compile on x86.
Enable CONFIG_REISER4_LARGE_KEY, as reiser4progs are creating filesystems with
large keys by default.
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.

Changelog (extracted by "bk changes"):

[email protected], 2003-09-11 22:00:25+04:00, [email protected]
wrong assertions: grabbed blocks should not be less than @count.

[email protected], 2003-09-11 21:40:11+04:00, [email protected]
add assertions for catching space reservation problems

[email protected], 2003-09-11 18:36:37+04:00, [email protected]
always relocate if JNODE_REPACK is set

[email protected], 2003-09-11 18:35:49+04:00, [email protected]
debugging print supoort for JNODE_REPACK.

[email protected], 2003-09-10 22:06:39+04:00, [email protected]
cryptcompress.c:
Fixed bugs

[email protected], 2003-09-10 18:49:42+04:00, [email protected]
bitmap backward scanning bug fix: it was possible to allocate more blocks than it was allowed by @max_len argument.

[email protected], 2003-09-10 12:29:18+04:00, [email protected]
handle_pos_on_formatted: wrong assertion removed

[email protected], 2003-09-09 18:45:22+04:00, [email protected]
clean up.
respect queue congestion.

[email protected], 2003-09-09 18:44:49+04:00, [email protected]
cleanup.

[email protected], 2003-09-09 18:44:33+04:00, [email protected]
mark error returns as such.

[email protected], 2003-09-09 18:44:07+04:00, [email protected]
avoid race between ->releasepage() and znode allocation:
remove page from radix tree manually.

[email protected], 2003-09-08 19:38:13+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into angband.namesys.com:/home/green/bk_work/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-09-08 19:38:01+04:00, [email protected]
plugin.h, object.c, static_stat.c, page_cache.c, inode.c:
get rid of kdev_t stuff

[email protected], 2003-09-08 19:22:49+04:00, [email protected]
for a while

[email protected], 2003-09-08 18:55:22+04:00, [email protected]
static_stat.c:
Fixed bug: set inode flag REISER4_CLUSTER_KNOWN
in cluster_sd_save()
cryptcompress.h:
More comments
cryptcompress.c:
Fixed bug: do not read new cluster from disk.

[email protected], 2003-09-08 17:16:03+04:00, [email protected]
sync with VM changes

[email protected], 2003-09-08 17:06:47+04:00, [email protected]
fix error in last commit

[email protected], 2003-09-08 16:22:41+04:00, [email protected]
Merge god@thebsh:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4

[email protected], 2003-09-08 16:18:21+04:00, [email protected]
check for concurrent node insertion in link_left_and_right()

[email protected], 2003-09-08 16:17:50+04:00, [email protected]
don't block ktxnmgrd on atom fusion.

[email protected], 2003-09-08 16:09:28+04:00, [email protected]

[email protected], 2003-09-08 15:21:22+04:00, [email protected]
cryptcompress.c:
Check value returned by scint_pack

[email protected], 2003-09-08 14:45:19+04:00, [email protected]
unnecessary function call removed

[email protected], 2003-09-08 14:25:12+04:00, [email protected]
comments

[email protected], 2003-09-08 14:23:19+04:00, [email protected]
remove inline from shared not inline function.

[email protected], 2003-09-05 21:05:59+04:00, [email protected]
flush.c:
Handling of empty nodes after squeeze_node() on leaf level

[email protected], 2003-09-05 19:43:59+04:00, [email protected]
Merge laputa.namesys.com:/home/god/projects/2.5/fs/reiser4 into laputa.namesys.com:/home/god/projects/i386/fs/reiser4

[email protected], 2003-09-05 19:43:31+04:00, [email protected]
move init_context() out of &inode_lock

[email protected], 2003-09-05 19:43:06+04:00, [email protected]
fix race

[email protected], 2003-09-05 19:42:52+04:00, [email protected]
remove assertion

[email protected], 2003-09-05 16:49:27+04:00, [email protected]
read_extent: bug fix

[email protected], 2003-09-05 15:23:28+04:00, [email protected]
Merge

[email protected], 2003-09-05 15:12:01+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-09-05 15:11:36+04:00, [email protected]
cleanup

[email protected], 2003-09-05 13:08:39+04:00, [email protected]
Merge [email protected]:/home/bk/reiser4
into crimson.namesys.com:/mnt/store/src/reiser4-linux-2.5/fs/reiser4

[email protected], 2003-09-05 10:04:03+04:00, [email protected]
reiser4 sysfs interface: device attr. output change.

[email protected], 2003-09-04 22:08:15+04:00, [email protected]
ctail.c:
Added cut_ctail()

[email protected], 2003-09-04 21:50:51+04:00, [email protected]
option for use yacc

[email protected], 2003-09-04 19:11:57+04:00, [email protected]
item.h, ctail.h:
cleanups
ctail.c, flush.c:
attach/detach squeeze item data was moved from squeeze_node() to squeeze() flush item plugin

[email protected], 2003-09-04 19:11:26+04:00, [email protected]
cleanup

[email protected], 2003-09-04 19:07:34+04:00, [email protected]
add mmap support to nfs_fh_stale.c

[email protected], 2003-09-04 19:07:15+04:00, [email protected]
disable these noisy debugging messages.

[email protected], 2003-09-04 19:06:57+04:00, [email protected]
fix typo.

[email protected], 2003-09-04 18:47:24+04:00, [email protected]
cleanup

[email protected], 2003-09-04 18:28:30+04:00, [email protected]
cleanup

[email protected], 2003-09-04 18:19:05+04:00, [email protected]
Merge laputa.namesys.com:/home/god/projects/2.5/fs/reiser4 into laputa.namesys.com:/home/god/projects/i386/fs/reiser4

[email protected], 2003-09-04 18:01:57+04:00, [email protected]
conflict resolved

[email protected], 2003-09-04 18:01:02+04:00, [email protected]
manual pull

[email protected], 2003-09-04 17:15:22+04:00, [email protected]
kill dead debugging code

[email protected], 2003-09-04 17:03:04+04:00, [email protected]
conflict resolved

[email protected], 2003-09-04 15:59:01+04:00, [email protected]
find_extent_slum_size: corrected assertions

[email protected], 2003-09-04 15:21:38+04:00, [email protected]
Merge god@thebsh:/home/bk/reiser4
into laputa.namesys.com:/home/god/projects/2.5/fs/reiser4

[email protected], 2003-09-04 15:19:33+04:00, [email protected]
add more consistency checks for jnode

[email protected], 2003-09-04 15:17:33+04:00, [email protected]
add functions to print most wanted znodes

[email protected], 2003-09-04 15:17:04+04:00, [email protected]
fix typo.

[email protected], 2003-09-04 15:16:49+04:00, [email protected]
add /sys/fs/reiser4/*/contexts

[email protected], 2003-09-04 15:14:54+04:00, [email protected]
remove obsolete ->zgen statistics

[email protected], 2003-09-04 11:57:58+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-09-04 11:57:47+04:00, [email protected]
shorten_file: use current file size

[email protected], 2003-09-04 11:54:36+04:00, [email protected]
conflict resolved

[email protected], 2003-09-04 11:43:09+04:00, [email protected]
conflict resolution

[email protected], 2003-09-03 20:10:46+04:00, [email protected]
ctail.c, flush.c:
fixed

[email protected], 2003-09-03 19:19:07+04:00, [email protected]
cleanup

[email protected], 2003-09-03 19:17:18+04:00, [email protected]
remove ->zgen

[email protected], 2003-09-03 19:16:39+04:00, [email protected]
remove dead code

[email protected], 2003-09-03 17:41:58+04:00, [email protected]
flush.c:
comments

[email protected], 2003-09-03 14:55:24+04:00, [email protected]
ctail.c, cryptcompress.c:
cleanups
cryptcompress.h:
comments, cleanups

[email protected], 2003-09-03 14:44:45+04:00, [email protected]
Merge laputa.namesys.com:/home/god/projects/2.5/fs/reiser4 into laputa.namesys.com:/home/god/projects/i386/fs/reiser4

[email protected], 2003-09-03 14:44:29+04:00, [email protected]
lock neighboring formatted nodes and pass them down to the extent deletion code

[email protected], 2003-09-03 13:29:38+04:00, [email protected]
cde.c:
Removed dead code.

[email protected], 2003-09-02 19:24:55+04:00, [email protected]
tail.c:
Removed redundant stuff in lookup_tail().
extent.c:
Removed redundant stuff in lookup_extent().

[email protected], 2003-09-02 18:34:24+04:00, [email protected]
object.c, item.c, ctail.h, ctail.c, cryptcompress.h:
cleanups
cryptcompress.c:
Added capture(), delete() methods for cryptcompress object plugin.

[email protected], 2003-09-02 14:23:49+04:00, [email protected]
bug fixes, debugging code

[email protected], 2003-09-02 13:18:32+04:00, [email protected]
cut_or_kill_units: bug fix

[email protected], 2003-09-01 22:48:04+04:00, [email protected]
add "device" sysfs attribute for reiser4 kobject.

[email protected], 2003-09-01 21:41:00+04:00, [email protected]
object.c:
added mmap() for cryptcompress objects
item.c:
init_coord_extension for ctails
cryptcompress.c:
added get_block() for cryptcompress objects

[email protected], 2003-09-01 18:28:10+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-09-01 18:28:02+04:00, [email protected]
cleanups, fixes

[email protected], 2003-09-01 14:12:37+04:00, [email protected]
sync with changes in prepare_twig_cut()

[email protected], 2003-09-01 14:12:10+04:00, [email protected]
set JNODE_DKSET bit

[email protected], 2003-09-01 14:11:39+04:00, [email protected]
assertion was rendered invalid by recent chamges in prepare_twig_cut()

[email protected], 2003-09-01 11:34:02+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/bk/reiser4

[email protected], 2003-08-30 21:21:18+04:00, [email protected]
plugin.h:
Split cryptcompress specific info in reiser4_object_create data
into crypto/compression/cluster info to enable unspecified ones.
static_stat.c:
Allocating space for crypto_stat moved from save_crypto_sd() to create_cryptcompress()
item.c:
init kill_hook method for ctail items.
ctail.h:
cleanup
cryptcompress.c:
Create method for cryptcompression objects was changed to enable creation with unspecified crypto/compression info (the create method instals zero plugins).

[email protected], 2003-08-30 18:26:50+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-08-30 18:26:35+04:00, [email protected]
set_hint: hint is extended by lock mode. This is to distinguish hint set by read and write

[email protected], 2003-08-30 18:22:28+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/bk/reiser4

[email protected], 2003-08-29 22:53:49+04:00, [email protected]
the repacker: one more extent scanning loop fix.

[email protected], 2003-08-29 22:51:51+04:00, [email protected]
the repacker: blocknr hint update after extent relocation, extent scan loop fix.

[email protected], 2003-08-29 19:42:55+04:00, [email protected]
vfs_ops.c:
Do not assign any inode stats in reiser4_statfs. Big numbers seems to confurse all df implementations out there.

[email protected], 2003-08-29 18:56:58+04:00, [email protected]
the repacker: update blocknr_hint after successful block allocation

[email protected], 2003-08-29 18:23:25+04:00, [email protected]
page_cache.c:
We need jprivate in there, because zero private field is completely legal and even handled

[email protected], 2003-08-29 17:26:28+04:00, [email protected]
dir.h, dir.c, hashed_dir.c:

    Make rename properly update times of parent directories, export update_times->reiser4_update_times

[email protected], 2003-08-29 15:27:30+04:00, [email protected]
file.c:
Do not update anything other than atime when file is unpacked.

[email protected], 2003-08-29 12:52:00+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-08-29 12:51:48+04:00, [email protected]
fixes, cleanups

[email protected], 2003-08-29 12:44:55+04:00, [email protected]
conflict resolved

[email protected], 2003-08-29 11:26:47+04:00, [email protected]
static_stat.c:
Fixed compile. Actually now that we can have either rdev or bytes field, we probably may need to print only one of those, too

[email protected], 2003-08-28 19:40:16+04:00, [email protected]
fix precedence.

[email protected], 2003-08-28 19:34:44+04:00, [email protected]
fix read ahead code

[email protected], 2003-08-28 19:34:29+04:00, [email protected]
limit atom size

[email protected], 2003-08-28 19:34:06+04:00, [email protected]
add more checks for jnode consistency

[email protected], 2003-08-28 19:33:36+04:00, [email protected]
fix compilation errors

[email protected], 2003-08-28 19:30:39+04:00, [email protected]
remove noisy compiler options

[email protected], 2003-08-28 19:20:40+04:00, [email protected]
rearrange fields

[email protected], 2003-08-28 19:06:57+04:00, [email protected]
ctail.h:
Added prototypes
ctail.c, cryptcompress.h, cryptcompress.c:
Audited read_some_cluster_pages(), do_readpage_ctail()

[email protected], 2003-08-28 18:14:06+04:00, [email protected]
rdev fix?

[email protected], 2003-08-28 14:34:37+04:00, [email protected]
cryptcompress.c:
helper init operation for cluster handle

[email protected], 2003-08-28 12:19:11+04:00, [email protected]
calculate stat->blocks right

[email protected], 2003-08-28 12:13:03+04:00, [email protected]
Merge tribesman.namesys.com:/home/vs/bk/reiser4
into tribesman.namesys.com:/home/vs/tmp-bk/UML/fs/reiser4

[email protected], 2003-08-28 12:12:57+04:00, [email protected]
fixes, cleanups

[email protected], 2003-08-28 12:11:41+04:00, [email protected]
conflict resolved

[email protected], 2003-08-28 08:36:43+04:00, [email protected]
the repacker: add missing deadllocation of relocatable blocks.

[email protected], 2003-08-28 07:42:03+04:00, [email protected]
missing JF_SET(, JNODE_RELOC) caused space reservation problems (zam-940).

[email protected], 2003-08-27 22:50:08+04:00, [email protected]
the repacker: extent relocation is rewritten to fix space reservation problems.

[email protected], 2003-08-27 21:23:29+04:00, [email protected]
ctail.h:
Added prototypes
ctail.c:
Added kill_hook method for ctail items
cryptcompress.c:
Added shorten_cryptcompress()

[email protected], 2003-08-27 16:36:36+04:00, [email protected]
ctail.c:
Fixed bugs

[email protected], 2003-08-26 17:17:32+04:00, [email protected]
change interface of flush_some_atom(): pass writeback_control so that pdflush can be distinguised from balance_dirty_pages()

[email protected], 2003-08-26 16:31:58+04:00, [email protected]
Merge thebsh:/home/bk/reiser4
into tribesman.namesys.com:/home/vs/bk/reiser4

[email protected], 2003-08-26 14:59:32+04:00, [email protected]
fix of wrong result block calculation from bmap number and offset in bitmap_alloc_forward()

Bye,
Oleg

Signature · 10 lines
Best Regards,
 
Mike Benoit
NetNation Communications Inc.
Systems Engineer
Tel: 604-684-6892 or 888-983-6600
 ---------------------------------------
 
 Disclaimer: Opinions expressed here are my own and not 
 necessarily those of my employer
#2 lore raw
Quoted 13 lines · Mike Benoit

Any ideas why I would get this error while trying to compile reiser4progs-0.4.14? The previous version of reiser4progs seemed to compile fine for me, as did compiling reiser4 in to the test5 kernel.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DENABLE_MONOLITHIC

(quoted diff) +0 -5
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DENABLE_COLLISIONS
-DENABLE_PLUGINS_CHECK -DENABLE_SYMLINKS -DENABLE_R5_HASH
-DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH
-DENABLE_DEG_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -O0 -g -W
-Wall -Wno-unused-parameter -Wredundant-decls -Werror -MT

libmisc_la-exception.lo -MD -MP -MF .deps/libmisc_la-exception.Tpo -c exception.c -fPIC -DPIC -o .libs/libmisc_la-exception.lo exception.c: In function `misc_exception_handler':

Quoted 8 lines

exception.c:133: warning: unused variable i' exception.c:135: warning: unused variable variant' make[2]: *** [libmisc_la-exception.lo] Error 1
make[2]: Leaving directory `/home/ipso/downloads/reiser4progs-0.4.14/libmisc' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ipso/downloads/reiser4progs-0.4.14'
make: *** [all] Error 2

It is because of paranoid -Werror flag.
./configure --disable-werror will help you.

However, if your system will have readline (as on systems which are used by reiser4progs developers :-) headers that warning disappear.

[...]

Signature · 1 line
Alex.
#3 lore raw
Quoted 26 lines · Alex Zarochentsev
Quoted 13 lines · Mike Benoit

Any ideas why I would get this error while trying to compile reiser4progs-0.4.14? The previous version of reiser4progs seemed to compile fine for me, as did compiling reiser4 in to the test5 kernel.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -DENABLE_MONOLITHIC

(quoted diff) +0 -5
-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DENABLE_COLLISIONS
-DENABLE_PLUGINS_CHECK -DENABLE_SYMLINKS -DENABLE_R5_HASH
-DENABLE_FNV1_HASH -DENABLE_RUPASOV_HASH -DENABLE_TEA_HASH
-DENABLE_DEG_HASH -DENABLE_LARGE_KEYS -DENABLE_SHORT_KEYS -O0 -g -W
-Wall -Wno-unused-parameter -Wredundant-decls -Werror -MT

libmisc_la-exception.lo -MD -MP -MF .deps/libmisc_la-exception.Tpo -c exception.c -fPIC -DPIC -o .libs/libmisc_la-exception.lo exception.c: In function `misc_exception_handler':

Quoted 8 lines

exception.c:133: warning: unused variable i' exception.c:135: warning: unused variable variant' make[2]: *** [libmisc_la-exception.lo] Error 1
make[2]: Leaving directory `/home/ipso/downloads/reiser4progs-0.4.14/libmisc' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ipso/downloads/reiser4progs-0.4.14'
make: *** [all] Error 2

It is because of paranoid -Werror flag.
./configure --disable-werror will help you.

Quoted 2 lines

However, if your system will have readline (as on systems which are used by reiser4progs developers :-) headers that warning disappear.

my system definitely has readline installed, and i get the same error.

rday

#4 lore raw

Hello!

Quoted 5 lines · Robert P. J. Day
Quoted 4 lines

It is because of paranoid -Werror flag.
./configure --disable-werror will help you.
However, if your system will have readline (as on systems which are used by reiser4progs developers :-) headers that warning disappear.

my system definitely has readline installed, and i get the same error.

On the other hand, you need not only readline itself, but also its header files. Lots of distributions (e.g. redhat-alike) form another package called (usuaully) readline-devel, that contains this necessary stuff.

Bye,
Oleg

#5 lore raw
Quoted 9 lines · Oleg Drokin

Hello!

Quoted 4 lines · Robert P. J. Day
Quoted 4 lines

It is because of paranoid -Werror flag.
./configure --disable-werror will help you.
However, if your system will have readline (as on systems which are used by reiser4progs developers :-) headers that warning disappear.

Quoted 6 lines
Quoted 1 line

my system definitely has readline installed, and i get the same error.

On the other hand, you need not only readline itself, but also its header files. Lots of distributions (e.g. redhat-alike) form another package called (usuaully) readline-devel, that contains this necessary stuff.

i *have* the readline-devel RPM installed (this is a red hat beta system that had an *everything* install, so it's unlikely it's missing anything.)

in addition, i tried the "./configure --disable-werror" suggestion and, while the configure worked, the make produced the same error as before.

still open to suggestions.

rday

#15 lore raw
In reply to Oleg Drokin
Quoted 9 lines · Oleg Drokin

Hello!

Another reiser4 snapshot was released today. This time it is against 2.6.0-test5.
Please take note that DISK DORMAT IS CHANGED, so you need to recreate your reiser4 filesystems (if you have any). This involves getting new reiser4progs, too.

The snapshot is available from http://www.namesys.com/snapshots/2003.09.12

I've downloaded libaal and reiser4progs as noted above. I applied the whole reiser4.diff to 2.6.0-test5-bk3, but, when I run:

# mkfs.reiser4 /dev/hda4
# mount -t reiser4 /dev/hda4 /mnt

I get the following oops:

reiser4[mount(306)]: parse_node40 (fs/reiser4/plugin/node/node40.c:745)[nikita-494]:
WARNING: Wrong level found in node: 2 != 0
reiser4[mount(306)]: key_warning
(fs/reiser4/plugin/object.c:86)[nikita-717]:
WARNING: Error for inode 42 (-5)

Unable to handle kernel NULL pointer dereference at virtual address

00000000
printing eip:
c01ae82d
*pde = 00000000

Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c01ae82d>]    Not tainted
EFLAGS: 00010286

EIP is at inode_detach_jnode+0x1d/0xa0
eax: 00000000 ebx: cc627d80 ecx: cc627d80 edx: c80b8054
esi: c16d0000 edi: 00000000 ebp: c10dd4c8 esp: c16d1c1c
ds: 007b es: 007b ss: 0068
Process mount (pid: 306, threadinfo=c16d0000 task=ce87b900)

Stack: c10dd4c8 ffffe000 cc627d80 c16d0000 00000000 c01ae988 cc627d80
c16d0000 
       c01ae9cd cc627d80 cc627d80 c01cf8b8 cc627d80 cc627d80 cee30680
c16d0000 
       c01c2f51 00000000 00000000 00000000 00000000 00000000 00000000
00000000 
Call Trace:
 [<c01ae988>] unhash_unformatted_node_nolock+0x58/0x80
 [<c01ae9cd>] unhash_unformatted_jnode+0x1d/0x40
 [<c01cf8b8>] reiser4_invalidatepage+0xd8/0x160
 [<c01c2f51>] dealloc_wmap+0x31/0x40
 [<c013fef7>] do_invalidatepage+0x27/0x30
 [<c013ff7f>] truncate_complete_page+0x7f/0x90
 [<c0140170>] truncate_inode_pages+0x100/0x2a0
 [<c016c99f>] wake_up_inode+0xf/0x30
 [<c0172d1b>] write_inode_now+0x4b/0x90
 [<c016c4ae>] generic_forget_inode+0x14e/0x170
 [<c016c552>] iput+0x62/0x90
 [<c01c670d>] done_formatted_fake+0x4d/0x60
 [<c01cddba>] reiser4_fill_super+0x44a/0x630
 [<c0159754>] get_sb_bdev+0x124/0x160
 [<c01ce19f>] reiser4_get_sb+0x2f/0x40
 [<c01cd970>] reiser4_fill_super+0x0/0x630
 [<c01599bf>] do_kern_mount+0x5f/0xe0
 [<c016f2c8>] do_add_mount+0x78/0x160
 [<c016f5d4>] do_mount+0x134/0x180
 [<c016f490>] copy_mount_options+0xe0/0xf0
 [<c016f99f>] sys_mount+0xbf/0x140
 [<c010941b>] syscall_call+0x7/0xb

Code: 8b 38 ff 46 14 8d 9f 24 ff ff ff 8b 51 14 89 0c 24 a1 5c 0d 
 <6>note: mount[306] exited with preempt_count 2

Reiser4 was built into the kernel.

#16 lore raw
Quoted 7 lines · Felipe Alfaro Solana

I've downloaded libaal and reiser4progs as noted above. I applied the whole reiser4.diff to 2.6.0-test5-bk3, but, when I run:

# mkfs.reiser4 /dev/hda4
# mount -t reiser4 /dev/hda4 /mnt

I get the following oops:

(snip)

not to beat this dead horse even further, but how did you get the reiser progs to build. at least a couple of us have run into the same "make" error in trying to build them.

so far, what's worked:

1) patch kernel 2.6.0-test5-bk2, configure, build
2) build and install libaal

but it's the reiser progs that are not building. suggestions?

rday

#17 lore raw
Quoted 8 lines · Robert P. J. Day
Quoted 6 lines · Felipe Alfaro Solana

I've downloaded libaal and reiser4progs as noted above. I applied the whole reiser4.diff to 2.6.0-test5-bk3, but, when I run:

# mkfs.reiser4 /dev/hda4
# mount -t reiser4 /dev/hda4 /mnt
Quoted 7 lines
Quoted 1 line

I get the following oops:

(snip)

not to beat this dead horse even further, but how did you get the reiser progs to build. at least a couple of us have run into the same "make" error in trying to build them.

If my memory serves me well, that's the only patch needed to make it compile.

exception.c renamed from exception.c.old +1 -2
@@ -130,9 +130,8 @@
 aal_exception_option_t misc_exception_handler(
 	aal_exception_t *exception)		/* exception to be processed */
 {
-	int i, tty;
+	int tty;
 	void *stream = stderr;
-	aal_list_t *variant = NULL;
 	aal_exception_option_t opt = EXCEPTION_UNHANDLED;
     
 	if (misc_exception_option_count(exception->options, 0) == 1) {
#18 lore raw
Quoted 11 lines · Felipe Alfaro Solana
Quoted 10 lines · Robert P. J. Day
Quoted 7 lines · Felipe Alfaro Solana

I've downloaded libaal and reiser4progs as noted above. I applied the whole reiser4.diff to 2.6.0-test5-bk3, but, when I run:

# mkfs.reiser4 /dev/hda4
# mount -t reiser4 /dev/hda4 /mnt

I get the following oops:

Quoted 8 lines
Quoted 5 lines

(snip)

not to beat this dead horse even further, but how did you get the reiser progs to build. at least a couple of us have run into the same "make" error in trying to build them.

If my memory serves me well, that's the only patch needed to make it compile.

i'm confused. the "patch" i refer to is the kernel patch to build reiser 4 support into the kernel. the fact that this works on patching the kernel doesn't seem to prevent the reiser4 progs build problem.

i'm going to start from scratch, to verify what does and does not work. in order to speed things up, here's the recipe i'm going to use -- feel free to point out what i'm doing wrong.

kernel:
2.6.0-test5-bk3
patch with reiser4.diff
config with reiser4 support
build

libaal:
configure, make and make install
update /etc/ld.so.confB

reiser4progs:
configure, make and make install

from memory, this is what i did before and the last step failed
with the error that at least two of us have posted here.

so, i'm just starting this process over, i'll see if anything
changes.

rday

p.s. FYI, the clinical definition of insanity is "the fixation that doing the same thing repeatedly will somehow produce different results."

#19 lore raw
Quoted 7 lines · Robert P. J. Day
Quoted 2 lines

If my memory serves me well, that's the only patch needed to make it compile.

i'm confused. the "patch" i refer to is the kernel patch to build reiser 4 support into the kernel. the fact that this works on patching the kernel doesn't seem to prevent the reiser4 progs build problem.

The patch I submitted was against reiser4progs, not against the kernel. With that patch applied, I've been able to compile reiser4progs with no problem at all.

#6 lore raw
In reply to Oleg Drokin
Quoted 15 lines · Oleg Drokin

Hello!

Quoted 8 lines · Robert P. J. Day
Quoted 5 lines

It is because of paranoid -Werror flag. ./configure --disable-werror will help you. However, if your system will have readline (as on systems which are used by reiser4progs developers :-) headers that warning disappear.

my system definitely has readline installed, and i get the same error.

Quoted 10 lines

On the other hand, you need not only readline itself, but also its header files. Lots of distributions (e.g. redhat-alike) form another package called (usuaully) readline-devel, that contains this necessary stuff.

Bye,
Oleg

did you adjust our headers to be redhat compatible? If not, please do.

Signature · 1 line
Hans
#7 lore raw
Quoted 1 line · Hans Reiser

did you adjust our headers to be redhat compatible? If not, please do.

i didn't see anything in the READ.ME about adjusting headers, but would this also explain why, if i build reiser 4 support directly into the kernel, my "make modules_install" works fine, but if i make it modular, i get

WARNING: /lib/modules/2.6.0-test5-bk3/kernel/fs/reiser4/reiser4.ko needs unknown symbol balance_dirty_pages
WARNING: /lib/modules/2.6.0-test5-bk3/kernel/fs/reiser4/reiser4.ko needs unknown symbol max_sane_readahead
WARNING: /lib/modules/2.6.0-test5-bk3/kernel/fs/reiser4/reiser4.ko needs unknown symbol __remove_from_page_cache
WARNING: /lib/modules/2.6.0-test5-bk3/kernel/fs/reiser4/reiser4.ko needs unknown symbol generic_sync_sb_inodes
WARNING: /lib/modules/2.6.0-test5-bk3/kernel/fs/reiser4/reiser4.ko needs unknown symbol truncate_mapping_pages_range
WARNING: /lib/modules/2.6.0-test5-bk3/kernel/fs/reiser4/reiser4.ko needs unknown symbol balance_dirty_pages_ratelimited
WARNING: /lib/modules/2.6.0-test5-bk3/kernel/fs/reiser4/reiser4.ko needs unknown symbol inodes_stat
WARNING: /lib/modules/2.6.0-test5-bk3/kernel/fs/reiser4/reiser4.ko needs unknown symbol nr_free_pagecache_pages
WARNING: /lib/modules/2.6.0-test5-bk3/kernel/fs/reiser4/reiser4.ko needs unknown symbol destroy_inode

just curious. haven't rebooted under the new kernel yet, but i'd like
to clear up the above before i do that. thanks.

rday

#9 lore raw
In reply to Hans Reiser

Hello!

Quoted 7 lines · Hans Reiser
Quoted 6 lines
Quoted 1 line

my system definitely has readline installed, and i get the same error.

On the other hand, you need not only readline itself, but also its header files.
Lots of distributions (e.g. redhat-alike) form another package called (usuaully) readline-devel,
that contains this necessary stuff.

did you adjust our headers to be redhat compatible? If not, please do.

The problem turned out to be that RedHat's readline was compiled with ncurses dynamically, so when you link in readline, you need to link ncurses too.

Vitaly will release the fix to configure script shortly, I believe.

Bye,
Oleg

#8 lore raw
In reply to Robert P. J. Day

Hello!

Quoted 5 lines · Robert P. J. Day
Quoted 1 line

did you adjust our headers to be redhat compatible? If not, please do.

i didn't see anything in the READ.ME about adjusting headers, but would this also explain why, if i build reiser 4 support directly into the kernel, my "make modules_install" works fine, but if i make it modular, i get

reiser4 is not supposed to be build as module yet.
Hm, I thought I disabled this in Kconfig, but it seems I done this not fully.

Anyway the list of unresolved symbols you provided is valuable and we will export those on next snapshot.

Quoted 2 lines

just curious. haven't rebooted under the new kernel yet, but i'd like
to clear up the above before i do that. thanks.

Bye,
Oleg

#10 lore raw
In reply to Oleg Drokin

Hi,

I hope this patch for configure.in will solve the problem. Try it please and tell us about your results.

Quoted 21 lines · Oleg Drokin

Hello!

Quoted 9 lines · Hans Reiser
Quoted 7 lines
Quoted 1 line

my system definitely has readline installed, and i get the same error.

On the other hand, you need not only readline itself, but also its header files.
Lots of distributions (e.g. redhat-alike) form another package called (usuaully) readline-devel,
that contains this necessary stuff.

did you adjust our headers to be redhat compatible? If not, please do.

The problem turned out to be that RedHat's readline was compiled with ncurses dynamically, so when you link in readline, you need to link ncurses too.

Vitaly will release the fix to configure script shortly, I believe.

Bye,
Oleg

Signature · 2 lines
Thanks,
Vitaly Fertman
configure.in +5 -4
diff -Nru a/configure.in b/configure.in
@@ -154,14 +154,14 @@
         with_readline=yes
 )
 
-# Check for termcap
+# Check for ncurses
 if test "x$with_readline" = xyes; then
 	OLD_LIBS="$LIBS"
 	LIBS=""
-	AC_SEARCH_LIBS(tgetent, ncurses curses termcap termlib,
+	AC_SEARCH_LIBS(tgetent, ncurses, 
 		PROGS_LIBS="$PROGS_LIBS $LIBS",
 		AC_MSG_WARN(
-termcap could not be found which is required for the
+ncurses could not be found which is required for the
 --with-readline option (which is enabled by default).
 		)
 		with_readline=no
@@ -177,7 +177,8 @@
 	    AC_MSG_WARN(
 GNU Readline could not be found which is required for the --with-readline
 	    )
-	    with_readline=no
+	    with_readline=no,
+	    -lncurses
     )
     PROGS_LIBS="$PROGS_LIBS $LIBS"
     LIBS="$OLD_LIBS"
#20 lore raw
In reply to Robert P. J. Day
Quoted 2 lines · Robert P. J. Day

p.s. FYI, the clinical definition of insanity is "the fixation that doing the same thing repeatedly will somehow produce different results."

Heh, there are many things where doing the same thing repeatedly will produce different results. Though, you usually have to look at it on a small scale. (twist, twist, twist, twist, twist, slip. Ok now the screw is tight.)

;)

#13 lore raw
In reply to Oleg Drokin
Quoted 4 lines · Oleg Drokin

The problem turned out to be that RedHat's readline was compiled with ncurses dynamically, so when you link in readline, you need to link ncurses too.

Vitaly will release the fix to configure script shortly, I believe.

just to try to keep up with the adjustments so far, as i read it, there are three fixes coming:

1) the above, to handle the ncurses link
2) a change to Kconfig, to prevent building reiser 4 as modules
3) a short patch to the reiser4progs file libmisc/exception.c

is it worth waiting for an updated snapshot directory at namesys?

rday

#14 lore raw
Quoted 7 lines · Robert P. J. Day
Quoted 4 lines · Oleg Drokin

The problem turned out to be that RedHat's readline was compiled with ncurses dynamically, so when you link in readline, you need to link ncurses too.

Vitaly will release the fix to configure script shortly, I believe.

Quoted 8 lines

just to try to keep up with the adjustments so far, as i read it, there are three fixes coming:

1) the above, to handle the ncurses link
2) a change to Kconfig, to prevent building reiser 4 as modules
3) a short patch to the reiser4progs file libmisc/exception.c

is it worth waiting for an updated snapshot directory at namesys?

Probably not.

They've been releasing a snapshot every week or two recently.

If you have patches that will fix the current snapshot for you, then just use those until the next one comes out.

#11 lore raw
In reply to Vitaly Fertman
Quoted 5 lines · Vitaly Fertman

Hi,

I hope this patch for configure.in will solve the problem. Try it please and tell us about your results.

What about making --disable-werror working?

Or, which is better, I think, remove -Werror from CFLAGS ? It is second time when small warning breaks reiser4progs compilation.

Quoted 26 lines · Oleg Drokin
Quoted 21 lines

Hello!

Quoted 9 lines · Hans Reiser
Quoted 7 lines
Quoted 1 line

my system definitely has readline installed, and i get the same error.

On the other hand, you need not only readline itself, but also its header files.
Lots of distributions (e.g. redhat-alike) form another package called (usuaully) readline-devel,
that contains this necessary stuff.

did you adjust our headers to be redhat compatible? If not, please do.

The problem turned out to be that RedHat's readline was compiled with ncurses dynamically, so when you link in readline, you need to link ncurses too.

Vitaly will release the fix to configure script shortly, I believe.

Bye,
Oleg

Signature · 2 lines
Thanks,
Vitaly Fertman
Signature · 1 line
Alex.
#12 lore raw
Quoted 7 lines · Alex Zarochentsev
Quoted 4 lines · Vitaly Fertman

Hi,

I hope this patch for configure.in will solve the problem. Try it please and tell us about your results.

What about making --disable-werror working?

it depends on if progs can be compiled without it.

Quoted 1 line

Or, which is better, I think, remove -Werror from CFLAGS ?

yes, I think it needs to be done.

Quoted 1 line

It is second time when small warning breaks reiser4progs compilation.

there was another problem actually, readline lib detection had a bug, the patch fixes it.

Signature · 2 lines
Thanks,
Vitaly Fertman