Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Helium Sources (kernel patchset)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
punloh
n00b
n00b


Joined: 29 Mar 2008
Posts: 23

PostPosted: Wed Aug 20, 2008 6:36 pm    Post subject: Reply with quote

Maybe everyone has alreadey made their own ebuilds for this excelent patchset. Here is mine helium-sources-2.6.26-r1.ebuild (I have to use rX where versions are heliumX):
Code:
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

ETYPE="sources"
K_WANT_GENPATCHES=""
# K_GENPATCHES_VER="1"      

inherit kernel-2
detect_version
detect_arch

DESCRIPTION="Helium: TuxOnIce+reiser4 patchset sources"
HOMEPAGE="http://hirakendu.mooo.com/helium-sources/"
IUSE=""

HELIUM_VERSION="1"   
HELIUM_TARGET="2.6.26"
HELIUM_SRC="${HELIUM_TARGET}-helium${HELIUM_VERSION}"
HELIUM_URI="http://hirakendu.mooo.com/helium-sources/${HELIUM_SRC}/${HELIUM_SRC}.patch.bz2"

UNIPATCH_LIST="${DISTDIR}/${HELIUM_SRC}.patch.bz2"
UNIPATCH_STRICTORDER="yes"
SRC_URI="${KERNEL_URI}  ${HELIUM_URI}"

KEYWORDS="~amd64 ~x86"

RDEPEND="${RDEPEND}
      >=sys-apps/tuxonice-userui-0.7.2
      >=sys-power/hibernate-script-1.97"


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

Thank you, hirakendu!
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Thu Aug 21, 2008 12:03 am    Post subject: Reply with quote

Hi. Thanks a lot for the ebuild. (Frankly I don't myself use one.) Glad to know people do use the patchset :). I will also try to keep a more detailed changelog. Btw, I don't change the versions very often although I do make changes frequently (I know its bad ;)).

The last edit to 2.6.26-helium1 was made yesterday. I have removed unionfs as I had an issue when I used it in my livecd (it has problems with heavy load, example, when doing a ldconfig from livecd). Fortunately, aufs is rock stable. Also added linux-staging patches from gregkh - quite a few new drivers (and novell filesystem) - but I have disabled vmware-modules because of compile issues (but they build fine with the last attachment posted in gentoo bugzilla 227303). Finally, also added apparmor patches (although I don't use it in gentoo, but for ubuntu and others).
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
punloh
n00b
n00b


Joined: 29 Mar 2008
Posts: 23

PostPosted: Fri Aug 29, 2008 6:22 am    Post subject: Reply with quote

[url]http://hirakendu.mooo.com/helium-sources/2.6.26-helium1/broken-out/01_reiser4-for-2.6.25.patch[/url]
Could you possibly check out whether the patchset for reiser4 is still correct, because after upgrading to helium1 I was unable to boot reiser4 partitions and had some minor fs corruptions. I had to temporarily switch to hitchhiker-sources. Previous versions of helium boot ok so something is definitely broken with the new version. The precompiled kernel doesn't work either.
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Fri Aug 29, 2008 9:31 am    Post subject: Reply with quote

Sorry for the trouble. My quick guess is that apparmor may have somehow borked it (due to changes in vfs related functions - actually its a simple change - add a NULL pointer parameter to every occurrence of a parameter of type dentry in vfs related functions in the reiser4 code, but needs to be done carefully). I'll revert the apparmor patches and things should be up in a few hours (will notify when done). And although I don't use reiser4, I just usually give it a try by mounting a local reiser4 file (a 500MB created using 'dd if=/dev/zero of=abc.rfs bs=1024 count=500000' and 'mkfs.resier4 -f abc.rfs'). I do see it mounts fine, but writing gives segfault. Anyway, my apologies for any data loss (but frankly I would not use reiser4 for any serious stuff for now ;)).
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Fri Aug 29, 2008 10:57 am    Post subject: Reply with quote

Ok, fixed :). (Removed apparmor and tested 'simple' reiser4 mount and write as mentioned above ;).) Many thanks for pointing out. Btw, aside, booting with 'nopat' kernel option may be helpful for performance.
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
punloh
n00b
n00b


Joined: 29 Mar 2008
Posts: 23

PostPosted: Fri Aug 29, 2008 10:59 am    Post subject: Reply with quote

hirakendu wrote:
Sorry for the trouble. Anyway, my apologies for any data loss (but frankly I would not use reiser4 for any serious stuff for now ;)).

Thank you for the loopback mounting check advice. And I don't use reiser4 for any sensitive data :-) I just like it for its superior emerge/paludis --sync performance.
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Fri Aug 29, 2008 11:19 am    Post subject: Reply with quote

hirakendu wrote:
(but frankly I would not use reiser4 for any serious stuff for now ;)).

You are so wrong, if I may say so. Reiser4 is very stable, apart from cockups like conflicting patches. It's proven to be the most reliable filesystem I have ever used, since its 1.0 release (which was like 4 years ago?). And I do test other filesystems from time to time. It is very robust and has survived many unclean mounts (blackouts, hard resets) without a hitch.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Fri Aug 29, 2008 12:25 pm    Post subject: Reply with quote

yngwin wrote:
hirakendu wrote:
(but frankly I would not use reiser4 for any serious stuff for now ;)).

You are so wrong, if I may say so. Reiser4 is very stable, apart from cockups like conflicting patches. It's proven to be the most reliable filesystem I have ever used, since its 1.0 release (which was like 4 years ago?). And I do test other filesystems from time to time. It is very robust and has survived many unclean mounts (blackouts, hard resets) without a hitch.


I really hope I am wrong :). Its just me on the backfoot. There are no questions about the concepts and the quality of code. Its hard to maintain something outside kernel (and something as massive as a primary filesystem, that too bleeding edge and unorthodox), especially with the difficult time namesys is having and an apparent negative bias from kernel devs. Time to time, there have been rants from people about borking their data, and on the other hand, tons of praises too. Performance has never been in question. Also, I do believe your robustness argument. I haven't used much of reiser4, but have been using reiser3 for a long time, and quite a few times, I have literally brought it back from dead :D. (Especially I remember once using my host gentoo system itself as guest (physical disk) in vmware and had to rebuild the tree after the mess :|.) All I can add is that in case of tough times, instead of panicking and giving up, a little bit of patience and resolutely doing things can go a long way. I am using ext3 at the moment (partly due to excellent support in windows using ext2fsd and partly due to the 'premier' support from kernel) - space efficiency is quite poor compared to reiser3, and routine fsck every 25 mounts or so is not so pleasing - but then again, its working and pretty satisfactorily ;).
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Sat Oct 11, 2008 9:16 am    Post subject: Reply with quote

Another update as usual - 2.6.27-helium0 : http://hirakendu.mooo.com/helium-sources/2.6.27-helium0/.
Quote:
patch : http://hirakendu.mooo.com/helium-sources/2.6.27-helium0/2.6.27-helium0.patch.bz2
broken-out : http://hirakendu.mooo.com/helium-sources/2.6.27-helium0/broken-out/
precompiled (x86,with source) : http://hirakendu.mooo.com/helium-sources/2.6.27-helium0/kernel-2.6.27-helium0-precompiled-full.tar.bz2
precompiled (x86, image+modules) : http://hirakendu.mooo.com/helium-sources/2.6.27-helium0/kernel-2.6.27-helium0-precompiled.tar.bz2

-----------------------------------------

A few notes. The reiser4 is from 2.6.27-rc5-mm1 (just picked the patches and reverted references of d_obtain_alias() to d_alloc_anon()). Here is a crude self-explanatory script-cum-howto for living happily forever ? :p (see comments) -
Code:
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.tar.bz2
wget http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.27-rc5/2.6.27-rc5-mm1/2.6.27-rc5-mm1-broken-out.tar.bz2
wget http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.27-rc5/2.6.27-rc5-mm1/patch-series

tar -xjpf linux-2.6.27.tar.bz2
mv linux-2.6.27 linux-2.6.27-reiser4
tar -xjpf linux-2.6.27.tar.bz2

cat patch-series | grep reiser4 | grep -v '#' > reiser4-series

cd linux-2.6.27-reiser4/

for filename in $(cat ../reiser4-series); do
# echo $filename
  patch -p1 < ../broken-out/$filename
done

## workaround for the moment :
## in files linux/fs/reiser4/plugin/file_plugin_common.c and dir_plugin_common.c,
## revert instances of d_obtain_alias() to d_alloc_anon() .

cd ..

diff -ruN linux-2.6.27 linux-2.6.27-reiser4 > 2.6.27-reiser4.patch


Tested reiser4 for simple mount, reads and writes. Also tested squashfs+lzma and aufs. Tuxonice didn't work on my machine, will be hopefully fixed sometime soon upstream. (I don't use hibernate anyway :p.) For those looking to run fglrx on 2.6.27 (will be fixed soon in 8-10 anyway), see any of the related threads in the forum or pick this ebuild and patch :
Quote:
http://hirakendu.mooo.com/gentoo/neon-src/portage/portage-delta/x11-drivers/ati-drivers/ati-drivers-8.532.ebuild
http://hirakendu.mooo.com/gentoo/neon-src/portage/portage-delta/x11-drivers/ati-drivers/files/ati-drivers-2.6.27.patch

_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Sun Oct 12, 2008 8:00 pm    Post subject: Reply with quote

Reiser4 patches for 2.6.27 were posted last night:
http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Sun Oct 12, 2008 10:53 pm    Post subject: Reply with quote

;)
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
chrisyu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 206
Location: China

PostPosted: Mon Oct 13, 2008 8:57 am    Post subject: Reply with quote

Will there be a 2.6.27-helium1 for new reiser4 patch? :D
helium0 works on my pc very well here.

Thanks!
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Mon Oct 13, 2008 9:41 am    Post subject: Reply with quote

yikes, didn't know someone uses it, sure i will update in a moment :). (i was thinking of waiting for tuxonice to settle down and possibly even 2.6.27.1 ;).)
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Mon Oct 13, 2008 11:28 am    Post subject: Reply with quote

ok done. its still named 2.6.27-helium0, but now using reiser4 from upstream.
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
chrisyu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 206
Location: China

PostPosted: Mon Oct 13, 2008 2:56 pm    Post subject: Reply with quote

hirakendu wrote:
ok done. its still named 2.6.27-helium0, but now using reiser4 from upstream.


Compiled and running.
Code:

Linux gentoo 2.6.27-helium #1 SMP PREEMPT Mon Oct 13 22:25:44 CST 2008 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux

Thanks. :D
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Thu Dec 25, 2008 11:16 am    Post subject: Reply with quote

The routine update : 2.6.28-helium0 : http://hirakendu.mooo.com/helium-sources/2.6.28-helium0/.

Quote:
patch : http://hirakendu.mooo.com/helium-sources/2.6.28-helium0/2.6.28-helium0.patch.bz2
broken-out : http://hirakendu.mooo.com/helium-sources/2.6.28-helium0/broken-out/
precompiled (x86,with source) : http://hirakendu.mooo.com/helium-sources/2.6.28-helium0/kernel-2.6.28-helium0-precompiled-full.tar.bz2
precompiled (x86, image+modules) : http://hirakendu.mooo.com/helium-sources/2.6.28-helium0/kernel-2.6.28-helium0-precompiled.tar.bz2
precompiled (amd64,with source) : http://hirakendu.mooo.com/helium-sources/2.6.28-helium0/kernel-2.6.28-helium0-precompiled-full-amd64.tar.bz2
precompiled (amd64, image+modules) : http://hirakendu.mooo.com/helium-sources/2.6.28-helium0/kernel-2.6.28-helium0-precompiled-amd64.tar.bz2


-----------------------------------------

A few notes. The reiser4 is from 2.6.28-rc2-mm1 (fixed with reiser4-adjust-to-new-aops.patch). Squashfs+Lzma has been updated to 3.4, and Aufs to 20081208. Attansic L2 ethernet (for eeepc?) is now in mainline. Dropped Tuxonice (suspend2) for now. FBcondecor (fbsplash/gentoo) present as usual. Precompiled sources for amd64 are also present now (note that it was compiled on ubuntu 8.10 amd64). There are two generic configs now in the patch, one for x86 and another for amd64 (see http://hirakendu.mooo.com/helium-sources/2.6.28-helium0/broken-out/).

Tested OK. Compiled and running. Reiser4, squashfs+lzma and aufs have been tested for simple mounts and unmounts, reads and writes. For the first time for a new kernel release, all 3rd party drivers work fine (nvidia as always, ati, ndiswrapper, virtualbox, vmware(!)).

Happy Holidays! :D
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
punloh
n00b
n00b


Joined: 29 Mar 2008
Posts: 23

PostPosted: Sun Jan 11, 2009 10:36 am    Post subject: Reply with quote

With the new tuxonice 3.0rc8 now(8 January 2009) released and the respective patches updated, could you consider adding tuxonice back to helium?
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Sun Jan 11, 2009 2:12 pm    Post subject: Reply with quote

thanks for informing :). added tuxonice 3.0-rc8, updated reiser4 to official and updated fbcondecor to 0.9.5 (still named 2.6.28-helium0).
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Mon Mar 02, 2009 10:24 am    Post subject: Reply with quote

There are some usual updates (vanilla 2.6.28.7 and tuxonice-current) but version kept same.

Also, this time I am sticking to plain squashfs (from gentoo-sources), and dropped sqlzma support. The reason as you may be aware is that squashfs-4.0 is now in official kernel tree with 2.6.29 and as a result, apparently the sqlzma guys have decided not to create separate patches for this. So I am taking it as a hint that it may be temporarily not be maintained (but hopefully make it to official kernel tree in near-future) and hence keeping it away. (The other reason is regarding stability.) If really needed, the old and current patches are still in broken-out/ folder and one may reverse the current squashfs patch (patch -R) and apply the old one.

Another minor change is that the default config is now for x86_64 (although configs for both x86 and x86_64 are available in the patch). On that note, since (almost) all my machines are now running 64-bit linux, I couldn't manage to update the 32-bit precompiled kernel archive (not sure if anyone uses them fortunately ;)).
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Thu Mar 26, 2009 4:03 am    Post subject: Reply with quote

And there goes 2.6.29-helium0 : patch, broken-out and precompiled.

Some notes as usual:
1) As mentioned earlier, squashfs 4.0 is now in kernel. There is no sqlzma as mentioned before. Note that the squashfs 4.0 in this kernel doesnot support older 3.1 images. (They simply won't mount.) To use it, squashfs-tools may be updated to 4.0 - the latest in portage is 4.0_pre20090324.
2) As many of you know, a complete rewrite of aufs is going on - aufs2. As such, the old aufs, aka aufs1 apparently is not being maintained for quite some time. However, I have still included aufs1 instead of aufs2 in 2.6.29-helium0. (I have verified that this aufs works.)
3) The reiser4 is from yet unreleased 2.6.29-mm. (Tested ok for at least simple mounts, read, writes, deletes, unmounts etc.)
4) The tuxonice is current-20090313. (Compiles fine, haven't tested it as I don't use hibernate.)
5) Precompiled kernel is only for 64-bit as I don't run 32-bit systems. (I guess nobody uses precompiled kernels anyway ;).) Default config is for core2 - of course the config works and works well for athlon64's too :).
6) In general, there have been quite some changes in 2.6.29 (for the better of course), but many 3rd party drivers may not compile for the moment, most notably fglrx drivers and vmware-modules. (Especially some changes in the way credentials are handled.) If using these, may just wait for them to catch up soon. Overall, another nice kernel and do support Tuz! :D.
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Tue Apr 21, 2009 10:07 pm    Post subject: Reply with quote

Updated 2.6.29-helium and also 2.6.28-helium. Both contain aufs2 and squashfs4 :).
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
Skotlex
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 293

PostPosted: Tue Apr 21, 2009 10:30 pm    Post subject: Reply with quote

Hmm... yet no updates for Reiser4 (which has now the official patchset for 2.6.29 out) and TuxOnIce (which recently released version 3.0.1)? ;)
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Wed Apr 22, 2009 12:09 am    Post subject: Reply with quote

Actually, they are there too :). Just forgot to mention to check out the broken-out folders for the other details.
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
Skotlex
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 293

PostPosted: Tue Jun 16, 2009 9:12 am    Post subject: Reply with quote

Hmm... it's been two months, almost, and 2.6.30 is already out, just saying.

By the way, if there is a known working ebuild for this patchset, why not host it as well to make it easier for people who like using portage for package management?
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Tue Jun 16, 2009 9:46 am    Post subject: Reply with quote

Thanks for the interest. I am aware of the 2.6.30 release. I am waiting for the upstream reiser4 patches from Edward and also for Tuxonice, which should be out in a week or two hopefully. Hence or otherwise, I will have a 2.6.30-helium after that. (Usually I jump on to the kernel within a week, before the upstream patches are out, but this time around, I am a bit busy with my university studies and spent quite some time last few weeks trying out the new gcc-4.4 and glibc-2.10.)

Meanwhile, I do keep updating the patches every now and then, though I don't change the version numbers. Please do see the LATEST_IS file on the helium-sources page for a hint. For example, the last one was on 20090530 based on 2.6.29.4 (see broken-out/ folder as usual for details/changes).

Regarding ebuild, sorry regarding that - I unfortunately don't have the time right now to maintain an ebuild or overlay, and test it sufficiently well. Although some one was kind enough to contribute an ebuild for it sometime ago in this thread. Any case, I just want to keep things simple and modest ;), since it is a trivial collection of patches. Meanwhile, please do have a look at the excellent hitchhiker-sources which is similar in flavor and has an overlay, and of course, the epic zen-sources.
_________________
Helium Sources || Gentoo Minimal Livecd
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
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 3 of 6

 
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