View previous topic :: View next topic |
Author |
Message |
StarCat76 n00b
Joined: 03 Nov 2003 Posts: 15
|
Posted: Sat Jul 10, 2004 3:02 am Post subject: Reiser4 Woes |
|
|
Alright, this may take a bit to fully describe my situation.
I was using reiserfs for my root partition. People were saying that Reiser4 was good, so I decided to switch to it. This is how I did so:
Booted into knoppix.
Used resize_reiserfs to resize my partition to less than half of the entire size of the disc.
Used fdisk to recreate the partion, ending a little after where the filesystem did. Create a new partiton from the end of that partition to the end of the disc.
Booted back to gentoo.
Used mkfs.reiser4 to create a reiser4 filesystem on the 2nd partition.
Copied everything over to there (cp -a -x / /mnt/reiser4).
Booted into that partition.
Created Reiser4 filesystem on first partiton, copied everything back.
In knoppix set the 1st partition till the end of disk. Tried to use resizefs.reiser4 to resize it, got
"ERR: Not Implemented". Damn, alright, I'll live with half the room till they implement that.
Boot into 1st one, live.
That's esssentially how I got it going, though I'm not sure whether that's relevant. Alright, here's the prob. Whenever I try to merge certain packages, the computer freezes, hard. At the same spot every time. Ex: PHP.
When it happens, the merge stops. Any 'sync' command stalls and is unkillable. Withing a minute or so, the computer will be dead, as in no Alt-SysRq-B dead. If I reboot into knoppix and fsck the drive, it usually finds errors, which I always fix. Boot back into gentoo, same thing.
What I've tried: A lot.
Upgraded from 2.6.7-rc3-love2 to 2.6.7-r7-love7. Same thing. If I renice the threads up to -19 as is stated in the ebuild, the php ebuild is killed straight off. Other ebuilds kill the system, though.
Booted into redeeman's love live-cd. Fsck it, mount it, chroot into it, emerge php, regardless of niceness of threads, system's dead as a doornail.
I'm out of ideas. What all can you suggest, besides yelling "Damn!" and trying to go back to ReiserFS?
-Neil |
|
Back to top |
|
|
_danno n00b
Joined: 08 Nov 2003 Posts: 17 Location: Michigan, USA
|
Posted: Sat Jul 10, 2004 3:49 am Post subject: |
|
|
are you using the latest libaal and reiser4progs? I had the same problem about three weeks ago, which all went away after i installed libaal-5.2 and reiser4progs-0.5.5 while chrooted from the live cd into my reiser4 partition. It was a while ago, so your probably using the newer versions but just an idea |
|
Back to top |
|
|
petrjanda Veteran
Joined: 05 Sep 2003 Posts: 1557 Location: Brno, Czech Republic
|
Posted: Sat Jul 10, 2004 4:28 am Post subject: |
|
|
I installed Gentoo on a reiser4 /, so far i don't notice any weirdness, other than that which can be ascribed to the kernel source i am using, redeeman10, i don't like that it uses mm-sources, it has a lot of unstable code. For example my mouse sometiems becomes jerky. _________________ There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta |
|
Back to top |
|
|
StarCat76 n00b
Joined: 03 Nov 2003 Posts: 15
|
Posted: Sat Jul 10, 2004 4:28 am Post subject: I am. |
|
|
I checked, and I am indeed using reiser4progs .5.5 and libaal .5.2. So I guess that's probably not the problem. Thanks for replying though. |
|
Back to top |
|
|
teutzz Guru
Joined: 22 Apr 2004 Posts: 333 Location: .ro
|
Posted: Sat Jul 10, 2004 9:04 am Post subject: |
|
|
run this: Code: | pgrep hdXY | xargs renice -19 | , where hdXY points to your reiser4 partition, and add this to your boot loader append line _________________ Cand nu stii ce sa raspunzi sau ce sa spui un simplu BLA ajunge... lolz |
|
Back to top |
|
|
boroshan l33t
Joined: 16 Apr 2003 Posts: 730 Location: upside down
|
Posted: Sat Jul 10, 2004 9:43 am Post subject: nopseudo didn't help |
|
|
I've been having similar problems. I didn't find nopseudo helped either
Luckily, my data is in /home which is still R3, and I still have my old R3 root partition as well. I can see me migrating back until things stabilise a bit. I don't mind a bit of instability, but persistent repeatable hangs on compilation are pretty much a show stopper. _________________ Don't let THEM immanentize the Eschaton! |
|
Back to top |
|
|
teutzz Guru
Joined: 22 Apr 2004 Posts: 333 Location: .ro
|
Posted: Sat Jul 10, 2004 10:17 am Post subject: |
|
|
well, i have root and boot partition with reiser4 (using lilo) and i really have no problems... i really mean... none!!! _________________ Cand nu stii ce sa raspunzi sau ce sa spui un simplu BLA ajunge... lolz |
|
Back to top |
|
|
boroshan l33t
Joined: 16 Apr 2003 Posts: 730 Location: upside down
|
Posted: Sat Jul 10, 2004 10:30 am Post subject: it could be the kernel |
|
|
what kernel are you running? I have my doubts about some of the recent mm/love releases... _________________ Don't let THEM immanentize the Eschaton! |
|
Back to top |
|
|
petrjanda Veteran
Joined: 05 Sep 2003 Posts: 1557 Location: Brno, Czech Republic
|
Posted: Sat Jul 10, 2004 10:52 am Post subject: |
|
|
I think i finally found a working kernel for me...2.6.7-love8-ck5 _________________ There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta |
|
Back to top |
|
|
teutzz Guru
Joined: 22 Apr 2004 Posts: 333 Location: .ro
|
Posted: Sat Jul 10, 2004 10:53 am Post subject: |
|
|
currently 2.6.7-love7 (in my opinnion the best love since 2.6.6-love, but didn´t had the time to try out 2.6.7-love8); but YMMV _________________ Cand nu stii ce sa raspunzi sau ce sa spui un simplu BLA ajunge... lolz |
|
Back to top |
|
|
spb Retired Dev
Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
Posted: Sat Jul 10, 2004 11:21 am Post subject: |
|
|
teutzz wrote: | run this: Code: | pgrep hdXY | xargs renice -19 | , where hdXY points to your reiser4 partition | Slightly more automated one; I have this in local.start: Code: | mount |awk '/reiser4/{gsub("/dev/","",$1); system("pgrep "$1"|xargs renice -19")}' >/dev/null |
I had the exact same problems; that fixed it for me. |
|
Back to top |
|
|
petrjanda Veteran
Joined: 05 Sep 2003 Posts: 1557 Location: Brno, Czech Republic
|
Posted: Sat Jul 10, 2004 11:42 am Post subject: |
|
|
thebell wrote: | teutzz wrote: | run this: Code: | pgrep hdXY | xargs renice -19 | , where hdXY points to your reiser4 partition | Slightly more automated one; I have this in local.start: Code: | mount |awk '/reiser4/{gsub("/dev/","",$1); system("pgrep "$1"|xargs renice -19")}' >/dev/null |
I had the exact same problems; that fixed it for me. |
hmm before i put it there, what does it do exactly? the part thart says /reiser4/ _________________ There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta |
|
Back to top |
|
|
boroshan l33t
Joined: 16 Apr 2003 Posts: 730 Location: upside down
|
Posted: Sat Jul 10, 2004 11:53 am Post subject: |
|
|
it basically greps your mounts for reiser4 partitions and then renices the userspace programs that manage those partitions. Take a look at the awk man page - its an incredibly useful scripting tool _________________ Don't let THEM immanentize the Eschaton! |
|
Back to top |
|
|
spb Retired Dev
Joined: 02 Jan 2004 Posts: 2135 Location: Cambridge, UK
|
Posted: Sat Jul 10, 2004 12:58 pm Post subject: |
|
|
petrjanda wrote: | hmm before i put it there, what does it do exactly? the part thart says /reiser4/ |
Takes the output of 'mount', ie a list of mounted filesystems. For every line containing 'reiser4' (that's the /reiser4/; it does a regex match on each line, and executes the following { } block for every line that matches it), takes the first string (seperated by spaces) (that's the $1). This will be the device node that's mounted. Then removes '/dev/' from the string, leaving you with just the 'hdXY' portion (that's the gsub function). Then executes 'pgrep hdXY |xargs renice 19' for that device name (the system() call), redirecting the output to null. Net result: renices all the processes managing any mounted reiser4 partition. |
|
Back to top |
|
|
StarCat76 n00b
Joined: 03 Nov 2003 Posts: 15
|
Posted: Sat Jul 10, 2004 7:11 pm Post subject: |
|
|
I do have the pgrep renicer as part of my startup scripts, but that didn't seem to help ; things just died in different ways. I'm trying out the rootflags=nopseudo thing right now and will update you.
Two more things:
Where is 2.6.7-love8? I haven't seen anything past love7.
And, when I use resizefs.reiser4 on the partition, version .5.5, if I, say, do
resizefs.reiser4 /dev/hda3 105G
it just gi and ves me the usage as if I gave it too many args. If I don't give it the size, it complains about that too. I've tried pretty much any way I can think of, without it working. Ideas? |
|
Back to top |
|
|
StarCat76 n00b
Joined: 03 Nov 2003 Posts: 15
|
Posted: Sat Jul 10, 2004 7:27 pm Post subject: 2.6.7-love7 and nopseudo |
|
|
I tried with 2.6.7-love7 and rootflags=nopseudo. Now, when I try to emerge php, it confgures, starts to compile, then is mysterously killed. After the first compile command, it just says that make in php-java.jar I think it is Killed, and quits. No error message, nothing. Perhaps the kernel's killing it for some reason? This now happens regardless of whether the reiser4 threads are niced to -19.[/code] |
|
Back to top |
|
|
Isaiah Guru
Joined: 25 Feb 2003 Posts: 359
|
Posted: Sat Jul 10, 2004 7:56 pm Post subject: |
|
|
StarCat76 wrote: | Where is 2.6.7-love8? I haven't seen anything past love7. |
2.6.7-love8 |
|
Back to top |
|
|
teutzz Guru
Joined: 22 Apr 2004 Posts: 333 Location: .ro
|
Posted: Sat Jul 10, 2004 7:57 pm Post subject: |
|
|
i really don´t think this a reiser4 connected problem, but i must admit i have no clue why this happens (ie been using reiser 4 on my root partition for 3 months now and i even did an emerge -e world during this time)
p.s. do you have use larger_keys enabled under reiser4 filesystem options in kernel config (it must be enabled) and larger_keys reiser4 is bynary incompatible with small_keys reiser4 _________________ Cand nu stii ce sa raspunzi sau ce sa spui un simplu BLA ajunge... lolz |
|
Back to top |
|
|
StarCat76 n00b
Joined: 03 Nov 2003 Posts: 15
|
Posted: Sat Jul 10, 2004 11:48 pm Post subject: |
|
|
It seems weird, some people have no probs with Reiser4, for me, nothing but problems. Yes, I am using larger keys in both the kernel config and the filesystem. Here is the output of debugfs.reiser4 /dev/hda3:
debugfs.reiser4 0.5.5
Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by reiser4progs/COPYING.
Master super block (16):
magic: ReIsEr4
blksize: 4096
format: 0x0 (format40)
uuid: a51d4ff3-205e-499b-9353-d53978fa92ce
label: <none>
Format super block (17):
plugin: format40
description: Disk-format for reiser4, ver. 0.5.5
magic: ReIsEr40FoRmAt
flushes: 0
mkfs id: 0x5c7101ec
blocks: 29145926
free blocks: 21355155
root block: 6668972
tail policy: 0x2 (smart)
next oid: 0x1b803d
file count: 277905
tree height: 4
key policy: LARGE
FS status block (21):
FS marked consistent
I will try love8. |
|
Back to top |
|
|
StarCat76 n00b
Joined: 03 Nov 2003 Posts: 15
|
Posted: Mon Jul 12, 2004 9:37 pm Post subject: Still |
|
|
I am using love8, and it is still occurring. Dang. |
|
Back to top |
|
|
MrApples Guru
Joined: 13 Dec 2002 Posts: 511
|
Posted: Mon Jul 12, 2004 9:54 pm Post subject: |
|
|
i just had this same problem, i tried love8, love8-ck5, and xx, none of which worked
im moving back to reiserfs right now |
|
Back to top |
|
|
boroshan l33t
Joined: 16 Apr 2003 Posts: 730 Location: upside down
|
Posted: Tue Jul 13, 2004 9:03 am Post subject: |
|
|
I'm on R4/love8 with all process reniced and passing nopseudo and all of a sudden, everything works again.
The trouble seems to have been a borked config somwehere in the last few kernel upgrades. Since then it all seems to run fine...
Wish I knew what I did to snafu it in the first place... _________________ Don't let THEM immanentize the Eschaton! |
|
Back to top |
|
|
coutts99 Apprentice
Joined: 19 Sep 2002 Posts: 171 Location: Sunderland, UK
|
Posted: Tue Jul 13, 2004 11:36 am Post subject: |
|
|
I tired Reiser 4 and it just segfaulted both machines I had it running on. |
|
Back to top |
|
|
_Adik_ Apprentice
Joined: 09 Jan 2004 Posts: 205 Location: Katowice, Poland
|
Posted: Tue Jul 13, 2004 2:03 pm Post subject: |
|
|
petrjanda wrote: | thebell wrote: | teutzz wrote: | run this: Code: | pgrep hdXY | xargs renice -19 | , where hdXY points to your reiser4 partition | Slightly more automated one; I have this in local.start: Code: | mount |awk '/reiser4/{gsub("/dev/","",$1); system("pgrep "$1"|xargs renice -19")}' >/dev/null |
I had the exact same problems; that fixed it for me. |
hmm before i put it there, what does it do exactly? the part thart says /reiser4/ |
i had the same problem as @StarCat76 had but renicing fixed it!~
tnx for tips! reiser4 is REALLY DAMN FAST _________________ No linux, no fun... |
|
Back to top |
|
|
MrApples Guru
Joined: 13 Dec 2002 Posts: 511
|
Posted: Tue Jul 13, 2004 3:51 pm Post subject: |
|
|
i tried all the renicing and nopseudo suggestions and they didnt make a difference for me |
|
Back to top |
|
|
|