Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reiser4 on AMD64 in 2.6.7 kernel ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
brankob
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 188

PostPosted: Sun Jun 27, 2004 2:24 pm    Post subject: Reiser4 on AMD64 in 2.6.7 kernel ? Reply with quote

Hi to all,

like subject line says, I'm considering switching to Reiser4m but I need some things from kernel 2.6.7 (like improved tigon3 driver for Gigabit ethernet, improved some bits in blockedev handling etc).

Is there any way to do it with kernel 2.6.7 ? I have tried Hans patches (meant for 2.6.5.rc2), but its no good with 2.6.7.

Is anything known about when it is supposed to appear in mainline vanilla 2.6 kernels ?
Back to top
View user's profile Send private message
Kiff
n00b
n00b


Joined: 22 Jul 2002
Posts: 73

PostPosted: Sun Jun 27, 2004 4:29 pm    Post subject: Reply with quote

You could try the love-sources or evil-sources, they are supposed to have those patches included.

No experience with them whatsoever though!
Back to top
View user's profile Send private message
thumper
Guru
Guru


Joined: 06 Dec 2002
Posts: 552
Location: Venice FL

PostPosted: Sun Jun 27, 2004 9:03 pm    Post subject: Reply with quote

Redeeman has what appears to be a working patch on the 2.6.7 kernel, see this thread: https://forums.gentoo.org/viewtopic.php?t=189452&highlight=reiser4

Also there is snapshots for a few 2.6.7 kernel versions here:
http://www.namesys.com/auto-snapshots/

I've not had time to poke at reiser4 yet, been watching its progress though, if you get a working kernel with reiser4 on amd64, post back what kernel and patch set you used. :D

George
Back to top
View user's profile Send private message
athena
n00b
n00b


Joined: 27 Jun 2004
Posts: 1

PostPosted: Sun Jun 27, 2004 9:20 pm    Post subject: Reply with quote

I was looking around for one, and I found this:

http://xy1.org/reiserfs-list@namesys.com/msg01405.html

which gives a link to

http://kem.p.lodz.pl/~peter/cko/reiser4/reiser4-2004.06.24-19.36-linux-2.6.7.diff.bz2

As I understand it, this is an altered version of the ones available at

http://thebsh.namesys.com/auto-snapshots/

but for the vanilla kernel instead of mm.

I don't know first hand if it works -- I've been trying to build a livecd with it and the nvidia's patch for their sata, but it does apply without errors and the kernel compiles.
Back to top
View user's profile Send private message
brankob
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 188

PostPosted: Sun Jun 27, 2004 10:24 pm    Post subject: Reply with quote

I've tried this and all those patches (automatically generated etc) are a minefield.

I have applied this patch over a clean 2.6.7 and whole thing dies in first second of compiling.

Thanks, but my system really wants to live. I'll have to wait for official patch...
Back to top
View user's profile Send private message
squeegy
Guru
Guru


Joined: 13 Mar 2004
Posts: 321
Location: Cincinnati, OH

PostPosted: Mon Jun 28, 2004 12:23 am    Post subject: Reply with quote

Use this It is 2.6.7-mm2 with Reiser4, v31a, and some other work of Nick Piggin. It uses the snapshot from 6.25.04.

Alternatively you could download the 2.6.7 kernel, patch it with 2.6.7-mm2, then apply the newest Reiser4 auto-snapshot.

P.S. Redeeman's server is sometimes down, so if you can't access it don't be discouraged just try again in a few hours.
Back to top
View user's profile Send private message
brankob
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 188

PostPosted: Mon Jun 28, 2004 1:06 am    Post subject: Reply with quote

Thanks. I have just tried that and gcc says:

Quote:


incinclude/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
arch/x86_64/kernel/asm-offsets.c:15:22: asm/ia32.h: No such file or directory
arch/x86_64/kernel/asm-offsets.c: In function `main':
arch/x86_64/kernel/asm-offsets.c:38: error: dereferencing pointer to incomplete type
arch/x86_64/kernel/asm-offsets.c:39: error: dereferencing pointer to incomplete type
.
.
.
.

Back to top
View user's profile Send private message
thumper
Guru
Guru


Joined: 06 Dec 2002
Posts: 552
Location: Venice FL

PostPosted: Mon Jun 28, 2004 2:41 am    Post subject: Reply with quote

And I for grins tried as well and can confirm brankob's findings.

Code:
include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from include/linux/irq.h:72,
                 from include/asm/hardirq.h:6,
                 from arch/x86_64/kernel/asm-offsets.c:11:
include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
arch/x86_64/kernel/asm-offsets.c:15:22: asm/ia32.h: No such file or directory
arch/x86_64/kernel/asm-offsets.c: In function `main':
arch/x86_64/kernel/asm-offsets.c:38: error: dereferencing pointer to incomplete type


(was with redeeman4)

George
Back to top
View user's profile Send private message
Kow
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 227

PostPosted: Mon Jun 28, 2004 6:04 am    Post subject: Reply with quote

This is definitely an arch related bug.... I'd just wait until AMD64 devels get to Reiser4 as it'll probably work fine for x86 but will break on AMD64, and even if it compiled I would not trust it.
_________________
-Kow
Back to top
View user's profile Send private message
squeegy
Guru
Guru


Joined: 13 Mar 2004
Posts: 321
Location: Cincinnati, OH

PostPosted: Mon Jun 28, 2004 3:40 pm    Post subject: Reply with quote

Check Redeeman's notes for Redeeman4, he forgot symlinks don't translate into diff's or something to that effect. He explains you have to delete /usr/src/linux/include/asm and symlink it to your architecture.
Back to top
View user's profile Send private message
brankob
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 188

PostPosted: Mon Jun 28, 2004 7:32 pm    Post subject: Reply with quote

I did that:

I have symlinked /include/asm to /include/asm-i386

Thing now dies after a few minutes of compiling, saying...
Quote:


CC fs/reiser4/tap.o
CC fs/reiser4/coord.o
fs/reiser4/coord.c: In function `coords_equal':
fs/reiser4/coord.c:598: error: duplicate case value
fs/reiser4/coord.c:598: error: previously used here
make[2]: *** [fs/reiser4/coord.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2



I'have tried to symlink asm to asm-x86-64, but compile fails on almost the same spot:


Quote:

CC fs/reiser4/context.o
CC fs/reiser4/tap.o
CC fs/reiser4/coord.o
fs/reiser4/coord.c: In function `coords_equal':
fs/reiser4/coord.c:598: error: duplicate case value
fs/reiser4/coord.c:598: error: previously used here
make[2]: *** [fs/reiser4/coord.o] Error 1
make[1]: *** [fs/reiser4] Error 2



:?
Back to top
View user's profile Send private message
camouflageX
n00b
n00b


Joined: 29 Mar 2003
Posts: 51

PostPosted: Mon Jun 28, 2004 10:52 pm    Post subject: Reply with quote

Quote:

CC fs/reiser4/context.o
CC fs/reiser4/tap.o
CC fs/reiser4/coord.o
fs/reiser4/coord.c: In function `coords_equal':
fs/reiser4/coord.c:598: error: duplicate case value
fs/reiser4/coord.c:598: error: previously used here
make[2]: *** [fs/reiser4/coord.o] Error 1
make[1]: *** [fs/reiser4] Error 2


I have exactly the same problem on my AMD64 :/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum