View previous topic :: View next topic |
Author |
Message |
brankob Apprentice
Joined: 29 Apr 2004 Posts: 188
|
Posted: Sun Jun 27, 2004 2:24 pm Post subject: Reiser4 on AMD64 in 2.6.7 kernel ? |
|
|
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 |
|
|
Kiff n00b
Joined: 22 Jul 2002 Posts: 73
|
Posted: Sun Jun 27, 2004 4:29 pm Post subject: |
|
|
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 |
|
|
thumper Guru
Joined: 06 Dec 2002 Posts: 552 Location: Venice FL
|
|
Back to top |
|
|
athena n00b
Joined: 27 Jun 2004 Posts: 1
|
|
Back to top |
|
|
brankob Apprentice
Joined: 29 Apr 2004 Posts: 188
|
Posted: Sun Jun 27, 2004 10:24 pm Post subject: |
|
|
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 |
|
|
squeegy Guru
Joined: 13 Mar 2004 Posts: 321 Location: Cincinnati, OH
|
Posted: Mon Jun 28, 2004 12:23 am Post subject: |
|
|
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 |
|
|
brankob Apprentice
Joined: 29 Apr 2004 Posts: 188
|
Posted: Mon Jun 28, 2004 1:06 am Post subject: |
|
|
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 |
|
|
thumper Guru
Joined: 06 Dec 2002 Posts: 552 Location: Venice FL
|
Posted: Mon Jun 28, 2004 2:41 am Post subject: |
|
|
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 |
|
|
Kow Apprentice
Joined: 28 Dec 2003 Posts: 227
|
Posted: Mon Jun 28, 2004 6:04 am Post subject: |
|
|
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 |
|
|
squeegy Guru
Joined: 13 Mar 2004 Posts: 321 Location: Cincinnati, OH
|
Posted: Mon Jun 28, 2004 3:40 pm Post subject: |
|
|
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 |
|
|
brankob Apprentice
Joined: 29 Apr 2004 Posts: 188
|
Posted: Mon Jun 28, 2004 7:32 pm Post subject: |
|
|
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 |
|
|
camouflageX n00b
Joined: 29 Mar 2003 Posts: 51
|
Posted: Mon Jun 28, 2004 10:52 pm Post subject: |
|
|
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 |
|
|
|