* reiser4 as module (reiser4-2004.06.01-17.16-linux-2.6.7-rc1-mm1 )
@ 2004-06-02 11:46 Svetoslav Slavtchev
2004-06-03 10:25 ` Alex Zarochentsev
0 siblings, 1 reply; 4+ messages in thread
From: Svetoslav Slavtchev @ 2004-06-02 11:46 UTC (permalink / raw)
To: reiserfs-list
[-- Attachment #1: Type: text/plain, Size: 882 bytes --]
Hi all,
i'm having problem with unresolved symbols,
when compiling the above auto bk-snapshot
with reiser4 as module, and i really need
to compile it as module
[svetljo@svetljo mm1]$ make
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
Building modules, stage 2.
MODPOST
*** Warning: "errno" [drivers/media/dvb/frontends/tda1004x.ko] undefined!
*** Warning: "swapper_space" [fs/reiser4/reiser4.ko] undefined!
*** Warning: "__iget" [fs/reiser4/reiser4.ko] undefined!
[svetljo@svetljo mm1]$
i've fixed the first and the last messages,
but i can not find a solution for "swapper_space"
any ideas ?
thanks in advance
best,
svetljo
PS.
attached is the export __iget fix
--
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info
[-- Attachment #2: reiser4-export-__iget.diff --]
[-- Type: application/octect-stream, Size: 265 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: reiser4 as module (reiser4-2004.06.01-17.16-linux-2.6.7-rc1-mm1 )
2004-06-02 11:46 reiser4 as module (reiser4-2004.06.01-17.16-linux-2.6.7-rc1-mm1 ) Svetoslav Slavtchev
@ 2004-06-03 10:25 ` Alex Zarochentsev
2004-06-03 11:06 ` Svetoslav Slavtchev
0 siblings, 1 reply; 4+ messages in thread
From: Alex Zarochentsev @ 2004-06-03 10:25 UTC (permalink / raw)
To: Svetoslav Slavtchev; +Cc: reiserfs-list
On Wed, Jun 02, 2004 at 01:46:09PM +0200, Svetoslav Slavtchev wrote:
> Hi all,
>
> i'm having problem with unresolved symbols,
> when compiling the above auto bk-snapshot
> with reiser4 as module, and i really need
> to compile it as module
>
try this fix:
========================================
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/06/03 14:07:30+04:00 zam@crimson.namesys.com
# reiser4_clear_page_dirty: use page->mapping instead of the wrapper.
#
# as_ops.c
# 2004/06/03 14:07:26+04:00 zam@crimson.namesys.com +1 -1
# reiser4_clear_page_dirty: use page->mapping instead of the wrapper.
#
diff -Nru a/as_ops.c b/as_ops.c
--- a/as_ops.c Thu Jun 3 14:20:25 2004
+++ b/as_ops.c Thu Jun 3 14:20:25 2004
@@ -72,7 +72,7 @@
struct address_space *mapping;
unsigned long flags;
- mapping = page_mapping(page);
+ mapping = page->mapping;
BUG_ON(mapping == NULL);
read_lock_irqsave(&mapping->tree_lock, flags);
========================================
--
Alex.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: reiser4 as module (reiser4-2004.06.01-17.16-linux-2.6.7-rc1-mm1 )
2004-06-03 10:25 ` Alex Zarochentsev
@ 2004-06-03 11:06 ` Svetoslav Slavtchev
0 siblings, 0 replies; 4+ messages in thread
From: Svetoslav Slavtchev @ 2004-06-03 11:06 UTC (permalink / raw)
To: Alex Zarochentsev; +Cc: reiserfs-list
> On Wed, Jun 02, 2004 at 01:46:09PM +0200, Svetoslav Slavtchev wrote:
> > Hi all,
> >
> > i'm having problem with unresolved symbols,
> > when compiling the above auto bk-snapshot
> > with reiser4 as module, and i really need
> > to compile it as module
> >
>
> try this fix:
> ========================================
> # This is a BitKeeper generated diff -Nru style patch.
> #
> # ChangeSet
> # 2004/06/03 14:07:30+04:00 zam@crimson.namesys.com
> # reiser4_clear_page_dirty: use page->mapping instead of the wrapper.
> #
> # as_ops.c
> # 2004/06/03 14:07:26+04:00 zam@crimson.namesys.com +1 -1
> # reiser4_clear_page_dirty: use page->mapping instead of the wrapper.
> #
> diff -Nru a/as_ops.c b/as_ops.c
> --- a/as_ops.c Thu Jun 3 14:20:25 2004
> +++ b/as_ops.c Thu Jun 3 14:20:25 2004
> @@ -72,7 +72,7 @@
> struct address_space *mapping;
> unsigned long flags;
>
> - mapping = page_mapping(page);
> + mapping = page->mapping;
> BUG_ON(mapping == NULL);
>
> read_lock_irqsave(&mapping->tree_lock, flags);
> ========================================
thanks this fixes compile,
noe i gues is time to make clean recompile,
and see what happens :-)
--
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: reiser4 as module (reiser4-2004.06.01-17.16-linux-2.6.7-rc1-mm1 )
@ 2004-06-03 12:34 Svetoslav Slavtchev
0 siblings, 0 replies; 4+ messages in thread
From: Svetoslav Slavtchev @ 2004-06-03 12:34 UTC (permalink / raw)
To: Alex Zarochentsev; +Cc: reiserfs-list
[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]
> On Wed, Jun 02, 2004 at 01:46:09PM +0200, Svetoslav Slavtchev wrote:
> > Hi all,
> >
> > i'm having problem with unresolved symbols,
> > when compiling the above auto bk-snapshot
> > with reiser4 as module, and i really need
> > to compile it as module
> >
>
> try this fix:
> ========================================
> # This is a BitKeeper generated diff -Nru style patch.
> #
> # ChangeSet
> # 2004/06/03 14:07:30+04:00 zam@crimson.namesys.com
> # reiser4_clear_page_dirty: use page->mapping instead of the wrapper.
> #
> # as_ops.c
> # 2004/06/03 14:07:26+04:00 zam@crimson.namesys.com +1 -1
> # reiser4_clear_page_dirty: use page->mapping instead of the wrapper.
> #
> diff -Nru a/as_ops.c b/as_ops.c
> --- a/as_ops.c Thu Jun 3 14:20:25 2004
> +++ b/as_ops.c Thu Jun 3 14:20:25 2004
> @@ -72,7 +72,7 @@
> struct address_space *mapping;
> unsigned long flags;
>
> - mapping = page_mapping(page);
> + mapping = page->mapping;
> BUG_ON(mapping == NULL);
>
> read_lock_irqsave(&mapping->tree_lock, flags);
> ========================================
>
ok,
once again the missing hunks
the pagevec exports are needed only for 2.6.7-rc2+++
best,
svetljo
--
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info
[-- Attachment #2: reiser4-export-__iget.diff --]
[-- Type: application/octect-stream, Size: 265 bytes --]
[-- Attachment #3: reiser4-export_pagevec_release-and-pagevec_lookup_tag.diff --]
[-- Type: application/octect-stream, Size: 471 bytes --]
[-- Attachment #4: reiser4-20040601-20040602.diff --]
[-- Type: application/octect-stream, Size: 1428 bytes --]
[-- Attachment #5: reiser4-swapper_space_fix.diff --]
[-- Type: application/octect-stream, Size: 338 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-06-03 12:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-02 11:46 reiser4 as module (reiser4-2004.06.01-17.16-linux-2.6.7-rc1-mm1 ) Svetoslav Slavtchev
2004-06-03 10:25 ` Alex Zarochentsev
2004-06-03 11:06 ` Svetoslav Slavtchev
-- strict thread matches above, loose matches on Subject: below --
2004-06-03 12:34 Svetoslav Slavtchev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.