View previous topic :: View next topic |
Author |
Message |
tturktime n00b
Joined: 18 Jul 2003 Posts: 27 Location: Donostia (43°19'N; 1°59'W)
|
|
Back to top |
|
|
beejay Retired Dev
Joined: 03 Oct 2002 Posts: 924 Location: Flensungen (das liegt neben Merlau)
|
|
Back to top |
|
|
shift Tux's lil' helper
Joined: 21 Feb 2004 Posts: 146 Location: Vancouver, Canada
|
Posted: Sat Apr 24, 2004 8:51 pm Post subject: |
|
|
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 |
|
|
neenee Veteran
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Sat Apr 24, 2004 9:13 pm Post subject: |
|
|
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 |
|
|
shift Tux's lil' helper
Joined: 21 Feb 2004 Posts: 146 Location: Vancouver, Canada
|
|
Back to top |
|
|
Johanta n00b
Joined: 10 Apr 2004 Posts: 7
|
Posted: Sat Apr 24, 2004 10:25 pm Post subject: |
|
|
Have anyone tried Reiser4 on Amd64? |
|
Back to top |
|
|
Redeeman l33t
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
Posted: Sat Apr 24, 2004 10:41 pm Post subject: |
|
|
im running it, though in 32bit only |
|
Back to top |
|
|
Egal Tux's lil' helper
Joined: 25 Jan 2003 Posts: 99
|
Posted: Sat Apr 24, 2004 10:46 pm Post subject: |
|
|
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 )
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 |
|
|
Lowspirit Apprentice
Joined: 31 Jul 2002 Posts: 258 Location: Northern Sweden
|
Posted: Sat Apr 24, 2004 11:26 pm Post subject: |
|
|
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 |
|
|
Redeeman l33t
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
Posted: Sat Apr 24, 2004 11:32 pm Post subject: |
|
|
cp -a is easier |
|
Back to top |
|
|
Evil Dark Archon Guru
Joined: 21 Dec 2002 Posts: 562 Location: Santa Rosa, CA
|
Posted: Sun Apr 25, 2004 12:54 am Post subject: |
|
|
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 |
|
|
ali3nx l33t
Joined: 21 Sep 2003 Posts: 722 Location: Winnipeg, Canada
|
Posted: Sun Apr 25, 2004 1:57 am Post subject: |
|
|
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 _________________ Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper! |
|
Back to top |
|
|
shift Tux's lil' helper
Joined: 21 Feb 2004 Posts: 146 Location: Vancouver, Canada
|
Posted: Sun Apr 25, 2004 2:15 am Post subject: |
|
|
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 |
|
|
Isaiah Guru
Joined: 25 Feb 2003 Posts: 359
|
Posted: Sun Apr 25, 2004 3:58 am Post subject: |
|
|
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 |
|
Back to top |
|
|
ali3nx l33t
Joined: 21 Sep 2003 Posts: 722 Location: Winnipeg, Canada
|
Posted: Sun Apr 25, 2004 5:28 am Post subject: |
|
|
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? 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 |
|
|
Redeeman l33t
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
Posted: Sun Apr 25, 2004 8:14 am Post subject: |
|
|
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 |
|
|
shift Tux's lil' helper
Joined: 21 Feb 2004 Posts: 146 Location: Vancouver, Canada
|
Posted: Sun Apr 25, 2004 9:32 am Post subject: |
|
|
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 |
|
|
shift Tux's lil' helper
Joined: 21 Feb 2004 Posts: 146 Location: Vancouver, Canada
|
Posted: Sun Apr 25, 2004 10:27 am Post subject: |
|
|
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 |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Sun Apr 25, 2004 12:26 pm Post subject: |
|
|
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 |
|
|
Redeeman l33t
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
Posted: Sun Apr 25, 2004 12:47 pm Post subject: |
|
|
dont take redeeman2, take redee1 in the redeeman2 dir! |
|
Back to top |
|
|
shift Tux's lil' helper
Joined: 21 Feb 2004 Posts: 146 Location: Vancouver, Canada
|
|
Back to top |
|
|
Isaiah Guru
Joined: 25 Feb 2003 Posts: 359
|
Posted: Mon Apr 26, 2004 3:57 am Post subject: |
|
|
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 |
|
Back to top |
|
|
neenee Veteran
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Mon Apr 26, 2004 8:38 am Post subject: |
|
|
it should work fine. |
|
Back to top |
|
|
Redeeman l33t
Joined: 25 Sep 2003 Posts: 958 Location: Portugal
|
Posted: Mon Apr 26, 2004 2:39 pm Post subject: |
|
|
yeah chroot works fine |
|
Back to top |
|
|
Isaiah Guru
Joined: 25 Feb 2003 Posts: 359
|
Posted: Mon Apr 26, 2004 3:37 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
|