Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel-2.6.30 and reiser4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Sat Jun 13, 2009 7:12 am    Post subject: kernel-2.6.30 and reiser4 Reply with quote

Hello!

Does anybody know the status of reiser4 patch for 2.6.30 kernel version ?
On Edward site I found only discussions about BKL and include reiser4 in mainline sometime later.

Thank you!
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Jun 13, 2009 10:21 am    Post subject: Re: kernel-2.6.30 and reiser4 Reply with quote

costel78 wrote:
Hello!

Does anybody know the status of reiser4 patch for 2.6.30 kernel version ?
On Edward site I found only discussions about BKL and include reiser4 in mainline sometime later.

Thank you!


checkout zen-sources from their git-overlay and create a reiser4-patch out of them

reiser4 works fine here so far ...
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Sat Jun 13, 2009 11:23 am    Post subject: Reply with quote

I'm unable to get a clean patch. zen-sources does not have a 2.6.30 version, anyway
I guest I'll take 2.6.29 version of reiser4 patch and try to apply it manually.
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Jun 13, 2009 12:18 pm    Post subject: Reply with quote

costel78 wrote:
I'm unable to get a clean patch. zen-sources does not have a 2.6.30 version, anyway
I guest I'll take 2.6.29 version of reiser4 patch and try to apply it manually.


so they're lacking a tag:

Quote:
uname -r
2.6.30-zen0


big deal:
http://omploader.org/iMXRwcw

this is from 2.6.30-rc8-zen0

no guarantee, it should work fine though

this is a temporary "fix" until Edward gets out an official patch for 2.6.30 (afaik zen-sources' patch is based on mmotm / mm-sources)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Sat Jun 13, 2009 12:33 pm    Post subject: Reply with quote

I manage to adapt/apply 2.6.29 version manually. Take longest, but:
Code:

uname -r
2.6.30-reiser4-r1-costel

It's compiled and I booted into it. So far, so good.
Keep the finger crossed. :D

I'll make an ebuild from your patch to be 100% sure I'm not getting fs corruptions.
Thank you!
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Mon Jun 15, 2009 3:58 pm    Post subject: Reply with quote

costel78 wrote:
I manage to adapt/apply 2.6.29 version manually. Take longest, but:
Code:

uname -r
2.6.30-reiser4-r1-costel

It's compiled and I booted into it. So far, so good.
Keep the finger crossed. :D

I'll make an ebuild from your patch to be 100% sure I'm not getting fs corruptions.
Thank you!


can you post the patch here? someone might need it.
thanks!
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
costel78
Guru
Guru


Joined: 20 Apr 2007
Posts: 402

PostPosted: Mon Jun 15, 2009 4:20 pm    Post subject: Reply with quote

I taken manually every file and patched it.
The clean applied patches are from kernelOfTruth http://omploader.org/iMXRwcw

You may simple do:
Code:

emerge =gentoo-sources-2.6.30-r1
cd /usr/src/linux
patch -p1 < path/patch-name


For ebuild variant I prefer to wait for Edward official version.
Here i a propossed ebuild, just the reiser4 patch isn't ready yet.
Code:
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.6.29-r1.ebuild,v 1.1 2009/04/05 01:43:54 mpagano Exp $

ETYPE="sources"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="2"
inherit kernel-2
detect_version
detect_arch
R4V="${KV_MAJOR}.${KV_MINOR}.30"

KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE=""

DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree and the reiser4 patchset"
HOMEPAGE="http://dev.gentoo.org/~dsd/genpatches http://gentoo-wiki.com/HOWTO_Reiser4_With_Gentoo-Sources"
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} \
        mirror://kernel/linux/kernel/people/edward/reiser4/reiser4-for-${KV_MAJOR}.${KV_MINOR}/reiser4-for-${R4V}.patch.bz2"
UNIPATCH_LIST="${DISTDIR}/reiser4-for-${R4V}.patch.bz2"

pkg_postinst() {
        kernel-2_pkg_postinst
        einfo "For more info on this patchset, and how to report problems, see:"
        einfo "${HOMEPAGE}"
}


Hope these help you.
_________________
Sorry for my English. I'm still learning this language.
Back to top
View user's profile Send private message
Dont Panic
Guru
Guru


Joined: 20 Jun 2007
Posts: 322
Location: SouthEast U.S.A.

PostPosted: Tue Jun 16, 2009 9:53 pm    Post subject: Reply with quote

Thanks for the tip on using zen-sources to generate a patch.

The way they merge reiser4 into their main branch with git generates a nice patch that applied perfectly.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Jun 16, 2009 10:43 pm    Post subject: Reply with quote

Dont Panic wrote:
Thanks for the tip on using zen-sources to generate a patch.

The way they merge reiser4 into their main branch with git generates a nice patch that applied perfectly.


we should have 2.6.30-zen1 wrapped up soon with an ebuild
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
dusanc
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 248
Location: Serbia

PostPosted: Thu Jun 25, 2009 9:58 am    Post subject: Reply with quote

http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/reiser4-for-2.6.30.patch.bz2
_________________
Reiser4 Gentoo FAQ [25Dec2016]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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