You are not logged in.

#1 2009-12-04 18:49:52

batoo
Member
Registered: 2008-12-01
Posts: 7

Can't compile kernel 2.6.32 with reiser4 patch

Hi, I was trying to compile Kernel 2.6.32 with reiser4 patch and I have got error during compilation (patching was fine), anybody has the same problem?
I have x86-64 system and it was vanilla kernel.

Thank you

Offline

#2 2009-12-04 18:57:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Can't compile kernel 2.6.32 with reiser4 patch

Nobody can help you if you don't post the error.

Also, moving to Kernel & Hardware Issues.

Offline

#3 2009-12-04 19:13:58

batoo
Member
Registered: 2008-12-01
Posts: 7

Re: Can't compile kernel 2.6.32 with reiser4 patch

sorry for that, here is the output:

LD      fs/ramfs/ramfs.o
  LD      fs/ramfs/built-in.o
  CC      fs/reiser4/debug.o
  CC      fs/reiser4/jnode.o
  CC      fs/reiser4/znode.o
  CC      fs/reiser4/key.o
  CC      fs/reiser4/pool.o
  CC      fs/reiser4/tree_mod.o
  CC      fs/reiser4/estimate.o
  CC      fs/reiser4/carry.o
  CC      fs/reiser4/carry_ops.o
  CC      fs/reiser4/lock.o
  CC      fs/reiser4/tree.o
  CC      fs/reiser4/context.o
fs/reiser4/context.c: In function 'reiser4_throttle_write_at':
fs/reiser4/context.c:156: error: implicit declaration of function 'current_is_pdflush'
make[2]: *** [fs/reiser4/context.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2
root:/usr/src/linux-2.6.32 >

Offline

#4 2009-12-04 21:14:17

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: Can't compile kernel 2.6.32 with reiser4 patch

Offline

#5 2009-12-04 21:22:59

batoo
Member
Registered: 2008-12-01
Posts: 7

Re: Can't compile kernel 2.6.32 with reiser4 patch

root:/usr/src/linux-2.6.32 > patch -p1 < fs-reiser4-contextc-current_is_pdflush-got-removed.patch
patching file fs/reiser4/context.c
Hunk #1 FAILED at 151.
1 out of 1 hunk FAILED -- saving rejects to file fs/reiser4/context.c.rej
patching file fs/reiser4/txnmgr.c
root:/usr/src/linux-2.6.32 >


But if I used almost all patches from your link it ends with another error.
So it seems that I have to wait for proper patch :-/

Offline

#6 2010-01-04 13:23:28

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: Can't compile kernel 2.6.32 with reiser4 patch

batoo wrote:

root:/usr/src/linux-2.6.32 > patch -p1 < fs-reiser4-contextc-current_is_pdflush-got-removed.patch
patching file fs/reiser4/context.c
Hunk #1 FAILED at 151.
1 out of 1 hunk FAILED -- saving rejects to file fs/reiser4/context.c.rej
patching file fs/reiser4/txnmgr.c
root:/usr/src/linux-2.6.32 >


But if I used almost all patches from your link it ends with another error.
So it seems that I have to wait for proper patch :-/

there is some bug in the kernel 2.6.32 regarding reiser4 so it doesn't work atm

Offline

#7 2010-02-01 22:01:07

jensp
Member
Registered: 2008-02-12
Posts: 40

Re: Can't compile kernel 2.6.32 with reiser4 patch

I ripped this patch from zen sources, I didn't have time to test it properly, but it compiles and the module loads.

Offline

Board footer

Powered by FluxBB