Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reiser4 for gentoo-dev-sources-2.6.7-r11
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Mon Jul 19, 2004 11:01 pm    Post subject: Reiser4 for gentoo-dev-sources-2.6.7-r11 Reply with quote

Ok, I wanted to try out the gentoo-dev-sources but can not live without reiser4. So I made a patch against it.
It is based on reiser4 snapshot of the 9th of July and you can find it here.

This works for me but may not for other people. Use at your own risk!

Enjoy :twisted:

[edit]
To use: emerge gentoo-dev-sources
cd into /usr/src/linux-2.6.7-gentoo-r11 and do
Code:
bzcat /parh/to/patch.bz2 | patch -p1
[/edit]
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today


Last edited by infirit on Mon Jul 19, 2004 11:24 pm; edited 4 times in total
Back to top
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Mon Jul 19, 2004 11:05 pm    Post subject: Reply with quote

which auto-snapshot is it based on?
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Mon Jul 19, 2004 11:09 pm    Post subject: Reply with quote

Its based on the auto snapshot reiser4-2004.07.09
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Mon Jul 19, 2004 11:13 pm    Post subject: Reply with quote

infirit wrote:
Its based on the auto snapshot reiser4-2004.07.09

I discovered from the latest love-sources that 07-16 works with 2.6.8-rc2. You should get two compile-time errors. Just comment out the lines that fail.
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Mon Jul 19, 2004 11:26 pm    Post subject: Reply with quote

Thanks, when the new gentoo-dev-sources are out i will try this again :D
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
jdong
n00b
n00b


Joined: 01 Mar 2004
Posts: 41

PostPosted: Tue Jul 20, 2004 8:02 pm    Post subject: Reply with quote

Jake wrote:
infirit wrote:
Its based on the auto snapshot reiser4-2004.07.09

I discovered from the latest love-sources that 07-16 works with 2.6.8-rc2. You should get two compile-time errors. Just comment out the lines that fail.


That doesn't sound too intelligent to do...
Back to top
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Tue Jul 20, 2004 8:34 pm    Post subject: Reply with quote

jdong wrote:
Jake wrote:
infirit wrote:
Its based on the auto snapshot reiser4-2004.07.09

I discovered from the latest love-sources that 07-16 works with 2.6.8-rc2. You should get two compile-time errors. Just comment out the lines that fail.


That doesn't sound too intelligent to do...

That's how the ck, cko, and love maintainers fix it.
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Wed Jul 21, 2004 8:45 am    Post subject: Reply with quote

Jake wrote:
That's how the ck, cko, and love maintainers fix it.


[edit]

My original post was a bit harsh

[/edit]

[new post]

Rubbish, ck and love-sources do not delete code simply because it does not compile.

They look at what code changes have been made between kernel versions (and the code change from 2.6.7-mm7 and 2.6.8-rc2 is significant) and adjust the patches accordingly.

Your way is a very bad thing to do (TM).

[/new post]
Back to top
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Wed Jul 21, 2004 3:22 pm    Post subject: Reply with quote

PickledOnion wrote:
Jake wrote:
That's how the ck, cko, and love maintainers fix it.


[edit]

My original post was a bit harsh

[/edit]

[new post]

Rubbish, ck and love-sources do not delete code simply because it does not compile.

They look at what code changes have been made between kernel versions (and the code change from 2.6.7-mm7 and 2.6.8-rc2 is significant) and adjust the patches accordingly.

Your way is a very bad thing to do (TM).

[/new post]

I never said commenting out lines is always a good way to fix compilation problems. I checked both errors. I've known about the first since cko had a version of 07-09 for vanilla 2.6.7, and I noticed the second was missing in the latest love. Perhaps I should have said this in my original post, but I thought people would trust me. If I had made a patch rather than telling infirit and anyone else interested how to fix the errors, everyone would have used my patch without questioning how I fixed it.
Back to top
View user's profile Send private message
galah
n00b
n00b


Joined: 23 Feb 2004
Posts: 50

PostPosted: Thu Jul 22, 2004 9:37 am    Post subject: Reply with quote

Hi,

Thank's much infirit! Worked flawlessly.

I am trying out a few new kernels and wanted to try reiser4 in gentoo-dev. Now I can :)

Galah
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Sun Aug 01, 2004 6:54 am    Post subject: Reply with quote

This is what I get:
Code:
# make
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-i386
  SPLIT   include/linux/autoconf.h -> include/config/*
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/kallsyms
  CC      scripts/empty.o
  HOSTCC  scripts/mk_elfconfig
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTCC  scripts/sumversion.o
  HOSTLD  scripts/modpost
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/bin2c
  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  UPD     include/asm-i386/asm_offsets.h
  CC      init/main.o
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
  CC      init/do_mounts_devfs.o
  CC      init/do_mounts_rd.o
  CC      init/do_mounts_initrd.o
  LD      init/mounts.o
init/do_mounts_devfs.o(.bss+0x0): multiple definition of `s_media_changed'
init/do_mounts.o(.bss+0x0): first defined here
init/do_mounts_rd.o(.bss+0x0): multiple definition of `s_media_changed'
init/do_mounts.o(.bss+0x0): first defined here
init/do_mounts_initrd.o(.bss+0x0): multiple definition of `s_media_changed'
init/do_mounts.o(.bss+0x0): first defined here
make[1]: *** [init/mounts.o] Error 1
make: *** [init] Error 2

_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
Jowilly
Guru
Guru


Joined: 22 Jun 2002
Posts: 319

PostPosted: Thu Aug 05, 2004 11:39 pm    Post subject: Reply with quote

Same output here, with gcc 3.3.3 and 3.4.1
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Thu Aug 19, 2004 7:57 pm    Post subject: Reply with quote

The compile errors are supermount's. If you disable it it will compile. I will try to make a new patch for the latest gentoo-dev-sources this weekend.
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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