Re: New reiser4 snapshot (2003.09.12) is out
On Fri, Sep 12, 2003 at 01:20:59PM -0700, Mike Benoit wrote: 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 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. [...] -- Alex.
Re: New reiser4 snapshot (2003.09.12) is out
On Sat, 13 Sep 2003, Alex Zarochentsev wrote: On Fri, Sep 12, 2003 at 01:20:59PM -0700, Mike Benoit wrote: 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 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. rday
Re: New reiser4 snapshot (2003.09.12) is out
Hello! On Sat, Sep 13, 2003 at 04:38:01AM -0400, Robert P. J. Day wrote: 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
Re: New reiser4 snapshot (2003.09.12) is out
On Sat, 13 Sep 2003, Oleg Drokin wrote: Hello! On Sat, Sep 13, 2003 at 04:38:01AM -0400, Robert P. J. Day wrote: 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. 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
Re: New reiser4 snapshot (2003.09.12) is out
On Fri, 2003-09-12 at 18:15, Oleg Drokin wrote: 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 printing eip: c01ae82d *pde = Oops: [#1] CPU:0 EIP:0060:[c01ae82d]Not tainted EFLAGS: 00010286 EIP is at inode_detach_jnode+0x1d/0xa0 eax: ebx: cc627d80 ecx: cc627d80 edx: c80b8054 esi: c16d edi: ebp: c10dd4c8 esp: c16d1c1c ds: 007b es: 007b ss: 0068 Process mount (pid: 306, threadinfo=c16d task=ce87b900) Stack: c10dd4c8 e000 cc627d80 c16d c01ae988 cc627d80 c16d c01ae9cd cc627d80 cc627d80 c01cf8b8 cc627d80 cc627d80 cee30680 c16d c01c2f51 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 6note: mount[306] exited with preempt_count 2 Reiser4 was built into the kernel.
Re: New reiser4 snapshot (2003.09.12) is out
On Sat, 13 Sep 2003, Felipe Alfaro Solana wrote: 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
Re: New reiser4 snapshot (2003.09.12) is out
Oleg Drokin wrote: Hello! On Sat, Sep 13, 2003 at 04:38:01AM -0400, Robert P. J. Day wrote: 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 did you adjust our headers to be redhat compatible? If not, please do. -- Hans
Re: New reiser4 snapshot (2003.09.12) is out
On Sat, 13 Sep 2003, Hans Reiser wrote: 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
Re: New reiser4 snapshot (2003.09.12) is out
Hello! On Sat, Sep 13, 2003 at 06:05:58PM +0400, Hans Reiser wrote: 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
Re: New reiser4 snapshot (2003.09.12) is out
Hello! On Sat, Sep 13, 2003 at 10:41:47AM -0400, Robert P. J. Day wrote: 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. 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
Re: New reiser4 snapshot (2003.09.12) is out
Hi, I hope this patch for configure.in will solve the problem. Try it please and tell us about your results. On Saturday 13 September 2003 23:21, Oleg Drokin wrote: Hello! On Sat, Sep 13, 2003 at 06:05:58PM +0400, Hans Reiser wrote: 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 -- Thanks, Vitaly Fertmandiff -Nru a/configure.in b/configure.in --- a/configure.in Sat Sep 13 23:54:34 2003 +++ b/configure.in Sat Sep 13 23:54:34 2003 @@ -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
Re: New reiser4 snapshot (2003.09.12) is out
On Sat, Sep 13, 2003 at 07:59:51AM -0400, Robert P. J. Day wrote: 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.) ;)
Re: New reiser4 snapshot (2003.09.12) is out
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 On Fri, 2003-09-12 at 09:15, Oleg Drokin wrote: 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 [EMAIL