Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reiser4 enabled gentoo livecd - release notes
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
tturktime
n00b
n00b


Joined: 18 Jul 2003
Posts: 27
Location: Donostia (43°19'N; 1°59'W)

PostPosted: Sat Apr 24, 2004 7:05 pm    Post subject: Reply with quote

There are some useful kernel sources based on 2.6.5 with reiser4 support here
http://oneofone.limitlessfx.com/phpwiki/index.php/SpeedySources
They work fine here. there'e even an ebuild (very useful for a lazy bastard like me ;-)
Back to top
View user's profile Send private message
beejay
Retired Dev
Retired Dev


Joined: 03 Oct 2002
Posts: 924
Location: Flensungen (das liegt neben Merlau)

PostPosted: Sat Apr 24, 2004 7:36 pm    Post subject: Reply with quote

Nice to see that you finally got all your issues fixed. :)
_________________
Dort wo schwarzer Rauch aufsteigt, sich alsbald ein Fehler zeigt.
www.paludis-sucks.org | www.gentoo.de | www.gentoo-ev.org | www.gentoo.org
Back to top
View user's profile Send private message
shift
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 146
Location: Vancouver, Canada

PostPosted: Sat Apr 24, 2004 8:51 pm    Post subject: Reply with quote

Before I start this tonight, I've got 3 questions:

1) When Reiser4 final ships, if there are any changes to it, do I have to backup/convert or reinstall my system again? Or will there just be a simple emerge that will take care of things?

2) If I make my fs using this LiveCD now, will I be able to switch to other kernels i.e. gentoo-dev-sources when they include Reiser4 support?

3) When I'm configuring the kernel (Chapter 7, handbook http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7 ), how do I go about installing your kernel?

Thanks.
_________________
Wallpapers:
Gentoo Space
Gentoo Infinity
Gentoo Matrix
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Sat Apr 24, 2004 9:13 pm    Post subject: Reply with quote

1) the reiser4 format should not change, only the tools to work
with it may be updated, and plugins will become available.

2) yes.

3) um.. you first get the 2.6.5 vanilla source, which you unpack
to /usr/src/foo. then, you get redeeman-sources or speedy-
sources and unpack them too, then patch the extracted vanilla
source with either patch (patch -pX < foo), and then you run
make menuconfig and compile as you would any 2.6 kernel.
Back to top
View user's profile Send private message
shift
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 146
Location: Vancouver, Canada

PostPosted: Sat Apr 24, 2004 9:55 pm    Post subject: Reply with quote

So I would do:

Code:

emerge vanilla-sources


Download Redeeman patch from here:
https://forums.gentoo.org/viewtopic.php?t=159749

Code:

tar -xvjpf 2.6.5-Redeeman2.patch.bz2

cd /usr/src/
patch -p0 < /path to/2.6.5-Redeeman2.patch

make menuconfig


Correct?

Also, do I need to reinstall GRUB?
_________________
Wallpapers:
Gentoo Space
Gentoo Infinity
Gentoo Matrix
Back to top
View user's profile Send private message
Johanta
n00b
n00b


Joined: 10 Apr 2004
Posts: 7

PostPosted: Sat Apr 24, 2004 10:25 pm    Post subject: Reply with quote

Have anyone tried Reiser4 on Amd64?
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Sat Apr 24, 2004 10:41 pm    Post subject: Reply with quote

im running it, though in 32bit only
Back to top
View user's profile Send private message
Egal
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jan 2003
Posts: 99

PostPosted: Sat Apr 24, 2004 10:46 pm    Post subject: Reply with quote

Nice work, but I have two issues:

First, my CMD64x IDE Controller is unsupported by the kernel and the second is, that the Kernel module for my network card is missing. (At least I think so by a short look :D)

The options for the kernel config would be:
CMD64{3|6|8|9} chipset support (CONFIG_BLK_DEV_CMD64X)
NE2000/NE1000 support (CONFIG_NE2000 / Module: ne)

so the LiveCD isn't much use for me atm :)

Is it possible, to compile the modules on another system (almost the same kernel) and load them from the LiveCD? Maybe I could try that.

cya Egal
Back to top
View user's profile Send private message
Lowspirit
Apprentice
Apprentice


Joined: 31 Jul 2002
Posts: 258
Location: Northern Sweden

PostPosted: Sat Apr 24, 2004 11:26 pm    Post subject: Reply with quote

Finally got around to get this thing in again and the livecd and kernel patch made it alot easier this time around, running reiser4 now with no issues whatsoever except that stuff I delete doesn't seem to end up in my trashcan like before (?)

Speed wise I think early betas felt faster (could be just me) but I'll certainly stay with reiser4 even though I'm not noticing any speed improvements.

It's alot easier now to switch so nothing really prevents anyone that want to to try it out (presuming you've got yourself the livecd burned and a working kernel with reiser4 support compiled to boot) :

Backed up my root hdd.
Code:
find / -xdev -print0|cpio -pa0V /mnt/files/backup


Boot into livecd, format hdd to reiser4 and copy back all stuff.
Code:
mkfs.reiser4 /dev/hda7
mount /dev/hda7 /mnt/gentoo
cp /mnt/files/backup/* /mnt/gentoo -r


Edit my /etc/fstab :
Code:
5. /dev/hda7               /               reiser4                               0 0


Reboot and reap the benefits on Reiser4

This is obviously not a stepbystep guide, it assumes you can read between the lines for the obvious stuff, it's just to show how easy it really is.
_________________
Gentoo | AMD X2 3800+ 2GB RAM | Kernel 2.6.30 . ReiserFS . CFQ . GCC4.3.3 | Firefox 3.5 | Gnome 2.26 w/ Compiz-Fusion
"Penguins are the only fish that can fly"
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Sat Apr 24, 2004 11:32 pm    Post subject: Reply with quote

cp -a is easier
Back to top
View user's profile Send private message
Evil Dark Archon
Guru
Guru


Joined: 21 Dec 2002
Posts: 562
Location: Santa Rosa, CA

PostPosted: Sun Apr 25, 2004 12:54 am    Post subject: Reply with quote

shift wrote:
So I would do:

Code:

emerge vanilla-sources


Download Redeeman patch from here:
https://forums.gentoo.org/viewtopic.php?t=159749

Code:

tar -xvjpf 2.6.5-Redeeman2.patch.bz2

cd /usr/src/
patch -p0 < /path to/2.6.5-Redeeman2.patch

make menuconfig


Correct?

Also, do I need to reinstall GRUB?


i'd just extract the kernel tarball directly because the development-sources ebuild does something weird that creates a couple (minor) rejects, for example, it won't change the EXTRAVERSION field in the makefile, and the other one probably doesn't apply unless you are creating a patch against a development-sources kernel (the patches.txt file). No, you don't need to reinstall grub, if you tell it to boot (insert boot partition here)/vmlinuz as your kernel than if you do a make install than it will switch to your new kernel automatically, also, don't worry about your old kernels, the make install process perserves them, it just changes the vmlinuz and vmlinuz.old symlinks. For your patch command, i'd change the -p0 to a -p1, but that may be different for redeeman-sources.
_________________
This post has been over explained for newb-informing purposes.

Registered Linux user 347334
Abit AV8-3rd eye, AMD Athlon64 3500+ 90nm, ATI Radeon x850 pro
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 722
Location: Winnipeg, Canada

PostPosted: Sun Apr 25, 2004 1:57 am    Post subject: Reply with quote

Congrats! I was working on this myself last month but baselayout needed some fixing with regards to the dev in baselayout issue so my efforts were stalled. Because i prefer to use nptl enabled installations the 2.6 1.4 experimental livecd was all that was available for chrooting into an nptl installation for recovery if needed; Believe me... Loosing an 860 package installation was a sobering lesson.

The 2.6 livecd kernel doesn't support reiser4 and my p2 was ripe for a test installation. Installing from scratch wasn't required due to having more than the needed capacity on my lan for backing up the entire fs on g0r. If you ever do this u *must* cp with -Rpf ( i didn't personally use rsync) or every file will have permissions altered rendering a working installation into 100,000 garbage files with messed up permissions. Check, check and triplecheck!

After some dicussions with zhen and beejay they started to research the dev issue after catalyst ran into a little problem with baselayout. Since the releng crew work 29 hours a day they had it fixed very quickly. Excellent job guys! If these cd's don't support nptl i would be wary about using them for my systems because recovery after an nptl upgrade would leave be without a usable recovery cd thats unable to chroot into the drive stating that the kernel is too old. Should anyone using reiser4 want an nptl *and* reiser4 livecd, stages utilizing nptl by default from stage2 i'm planning to fire up catalyst asap on my dual p3 to finish the job :)

Have an excellent weekend everyone. May the force of larry be with you :lol:
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
shift
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 146
Location: Vancouver, Canada

PostPosted: Sun Apr 25, 2004 2:15 am    Post subject: Reply with quote

Evil Dark Archon wrote:
i'd just extract the kernel tarball directly because the development-sources ebuild does something weird that creates a couple (minor) rejects, for example, it won't change the EXTRAVERSION field in the makefile, and the other one probably doesn't apply unless you are creating a patch against a development-sources kernel (the patches.txt file). No, you don't need to reinstall grub, if you tell it to boot (insert boot partition here)/vmlinuz as your kernel than if you do a make install than it will switch to your new kernel automatically, also, don't worry about your old kernels, the make install process perserves them, it just changes the vmlinuz and vmlinuz.old symlinks. For your patch command, i'd change the -p0 to a -p1, but that may be different for redeeman-sources.


Right, I see what you mean. The vanilla-sources only has 2.4 sources anyway, doh!

So I'd get the 2.6.5 from kernel.org (http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.5.tar.bz2)

Then unpack it using:
Code:
gzip -cd linux-2.6.5.tar.gz | tar xvf -


Where do I unpack this to? The readme said to not unpack to /usr/src/linux...but I thought that where it's supposed to go...

The -p0 I got from Redeeman's Reiser4 HOW-TO.
_________________
Wallpapers:
Gentoo Space
Gentoo Infinity
Gentoo Matrix
Back to top
View user's profile Send private message
Isaiah
Guru
Guru


Joined: 25 Feb 2003
Posts: 359

PostPosted: Sun Apr 25, 2004 3:58 am    Post subject: Reply with quote

ali3nx wrote:
If these cd's don't support nptl i would be wary about using them for my systems because recovery after an nptl upgrade would leave be without a usable recovery cd thats unable to chroot into the drive stating that the kernel is too old.

I've seen that message trying to chroot my 2.6/NPTL system and thought it was because I was using 2.4 kernel based Live CD - thanks for clearing this up before I try doing this 8)
Back to top
View user's profile Send private message
ali3nx
l33t
l33t


Joined: 21 Sep 2003
Posts: 722
Location: Winnipeg, Canada

PostPosted: Sun Apr 25, 2004 5:28 am    Post subject: Reply with quote

shift wrote:
Evil Dark Archon wrote:
i'd just extract the kernel tarball directly because the development-sources ebuild does something weird that creates a couple (minor) rejects, for example, it won't change the EXTRAVERSION field in the makefile, and the other one probably doesn't apply unless you are creating a patch against a development-sources kernel (the patches.txt file). No, you don't need to reinstall grub, if you tell it to boot (insert boot partition here)/vmlinuz as your kernel than if you do a make install than it will switch to your new kernel automatically, also, don't worry about your old kernels, the make install process perserves them, it just changes the vmlinuz and vmlinuz.old symlinks. For your patch command, i'd change the -p0 to a -p1, but that may be different for redeeman-sources.


Right, I see what you mean. The vanilla-sources only has 2.4 sources anyway, doh!

So I'd get the 2.6.5 from kernel.org (http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.5.tar.bz2)

Then unpack it using:
Code:
gzip -cd linux-2.6.5.tar.gz | tar xvf -


Where do I unpack this to? The readme said to not unpack to /usr/src/linux...but I thought that where it's supposed to go...

The -p0 I got from Redeeman's Reiser4 HOW-TO.


I've had success patching gentoo-dev-sources with the latest all.diff.gz from namesys's ftp server until just recently when attempting a kernel upgrade on fr0stbite; mine and Davetha's headless dedicated 50MBit gameserver thats hosted by fdcservers.net in chicago. Just yesterday i attempted to patch 2.6.5 gentoo-dev-sources but the compile failed and I haven't gotten around to attempting to resolve the problem. With regards to your question about how to manually update and patch kernel sources here goes nuthin... First the portage assisted variety. You don't get the extra patches added by portage from stable vanilla kernel.org sources unless you hand patch all the genpatches but why? :P Portage makes that so much easier and keeping your alsa kernel patch level's consistant with the installed alsa-libs isn't too bad if an idea. I will however for the sake of a demonstration illustrate both procedures.

With portage assisting

Code:
ACCEPT_KEYWORDS="~x86" emerge -D gentoo-dev-sources && cd /usr/src && cp linux/.config /root/.config && rm linux && ln -s linux-2.6.5-gentoo-r1 linux && cd linux && cp /root/.config . && wget http://thebsh.namesys.com/snapshots/LATEST/all.diff.gz && gunzip all.diff.gz && patch -p1 < all.diff && make menuconfig


Without portage assisting

Code:
cd /usr/src && wget http://gentoo.eliteitminds.com/distfiles/linux-2.6.5.tar.bz2 && tar xjpvf linux-2.6.5.tar.bz2 && cp linux/.config /root/.config && rm linux && ln -s linux-2.6.5 linux && cd linux && cp /root/.config . && wget http://thebsh.namesys.com/snapshots/LATEST/all.diff.gz && gunzip all.diff.gz && patch -p1 < all.diff && make menuconfig

With regards to using gunzip and patch separately you *can* use zcat all.diff.gz | patch -p1 but the patch failed on my once before... could have been a 2am overworked and tired kinda thing but it's occasionally best to use what your comfortable with. Hope this helps
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Sun Apr 25, 2004 8:14 am    Post subject: Reply with quote

argh! will this livecd fsck up a system that have got nptl if it doesent have nptl itself? in case of that, there will be a nptl livecd PRETTY soon (i use nptl!!!!!)
Back to top
View user's profile Send private message
shift
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 146
Location: Vancouver, Canada

PostPosted: Sun Apr 25, 2004 9:32 am    Post subject: Reply with quote

ali3nx, thanks for the tips.

I got this error during the patch.

Code:

Hunk #1 FAILED at 22.
1 out of 1 hunk FAILED -- saving rejects to file arch/sparc/kernel/init_task.c.rej


Got these errors during make.

Code:

fs/reiser4/as_ops.c: In function `move_inode_out_from_sync_inodes_loop':
fs/reiser4/as_ops.c:570: error: structure has no member named `dirtied_when'
make[2]: *** [fs/reiser4/as_ops.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2

_________________
Wallpapers:
Gentoo Space
Gentoo Infinity
Gentoo Matrix
Back to top
View user's profile Send private message
shift
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 146
Location: Vancouver, Canada

PostPosted: Sun Apr 25, 2004 10:27 am    Post subject: Reply with quote

The vanilla sources from kernel.org + redeeman2 patch did work...

Gonna reboot into that kernel now.

Edit: Yup that kernel works fine. Gonna get some sleep, burn the Redeeman LiveCD tomorrow and get Reiser4 running!
_________________
Wallpapers:
Gentoo Space
Gentoo Infinity
Gentoo Matrix
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sun Apr 25, 2004 12:26 pm    Post subject: Reply with quote

shift wrote:
ali3nx, thanks for the tips.

I got this error during the patch.

Code:

Hunk #1 FAILED at 22.
1 out of 1 hunk FAILED -- saving rejects to file arch/sparc/kernel/init_task.c.rej


Got these errors during make.

Code:

fs/reiser4/as_ops.c: In function `move_inode_out_from_sync_inodes_loop':
fs/reiser4/as_ops.c:570: error: structure has no member named `dirtied_when'
make[2]: *** [fs/reiser4/as_ops.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2


Hi,

I had this error on every 2.6.5 kernel I tried.

it only worked on dev-sources-2.6.4 - perhaps this will help you.
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Sun Apr 25, 2004 12:47 pm    Post subject: Reply with quote

dont take redeeman2, take redee1 in the redeeman2 dir! 8)
Back to top
View user's profile Send private message
shift
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2004
Posts: 146
Location: Vancouver, Canada

PostPosted: Sun Apr 25, 2004 8:19 pm    Post subject: Reply with quote

I used this:
http://users.pandora.be/yen/2.6.5-Redeeman2.patch.bz2

It patched vanilla 2.6.5 from kernel.org and it booted up fine. I assume the Reiser4 stuff in the kernel should be functioning normally.

Where is Redeeman1?
Can't access this directory http://users.pandora.be/yen/
_________________
Wallpapers:
Gentoo Space
Gentoo Infinity
Gentoo Matrix
Back to top
View user's profile Send private message
Isaiah
Guru
Guru


Joined: 25 Feb 2003
Posts: 359

PostPosted: Mon Apr 26, 2004 3:57 am    Post subject: Reply with quote

Redeeman wrote:
argh! will this livecd fsck up a system that have got nptl if it doesent have nptl itself? in case of that, there will be a nptl livecd PRETTY soon (i use nptl!!!!!)

I would like to use Reiser4/NPTL also - and to also be able to chroot if/when necessary :wink:
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Mon Apr 26, 2004 8:38 am    Post subject: Reply with quote

it should work fine.
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 958
Location: Portugal

PostPosted: Mon Apr 26, 2004 2:39 pm    Post subject: Reply with quote

yeah chroot works fine
Back to top
View user's profile Send private message
Isaiah
Guru
Guru


Joined: 25 Feb 2003
Posts: 359

PostPosted: Mon Apr 26, 2004 3:37 pm    Post subject: Reply with quote

neenee wrote:
it should work fine.

Redeeman wrote:
yeah chroot works fine

Thanks! Time to grab that drive out of the donor computer - got the burner setup last nite 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 3 of 10

 
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