View previous topic :: View next topic |
Author |
Message |
uman Apprentice
Joined: 20 Dec 2004 Posts: 223
|
Posted: Sat Mar 05, 2005 5:47 am Post subject: Hang on boot with Reiser4 root partition |
|
|
The title pretty much says it all, when I use a Reiser4 partition as root it hangs when I try to boot the machine. It says "mounting filesystem read/write" or something to that effect, and then hangs, not doing anything. Is there anything I can do to fix this problem? I really want to try reiser4. By the way, I am using kernel 2.6.11-nitro0. |
|
Back to top |
|
|
fearofcorners Tux's lil' helper
Joined: 18 Oct 2004 Posts: 90 Location: Ontario, Canada
|
Posted: Sat Mar 05, 2005 5:52 am Post subject: |
|
|
you're not using 4k stacks, are you? _________________ ich bin ein seg fault |
|
Back to top |
|
|
kenyon Apprentice
Joined: 23 Dec 2004 Posts: 155 Location: Southern California
|
Posted: Sat Mar 05, 2005 5:59 am Post subject: |
|
|
I also had this problem with 2.6.11-cko1. Everything ran great with 2.6.10-cko3. I just booted up with 2.6.11-love1, and it works, but the system seems slower so far than with 2.6.10-cko3.
I couldn't figure out what the problem is with the hanging at "mounting filesystem read/write". I tried doing the steps here: http://gentoo-wiki.com/HOWTO_Update_reiser4_partitions
That didn't help. Also got a segfault when doing the debugfs command, but that was with resier4progs 1.0.3.
So I emerged reiser4progs 1.0.4, which isn't in portage yet, but you can just copy the ebuild from 1.0.3 and re-emerge. Be sure to emerge reiser4progs TWICE or it will complain about a missing library (see https://bugs.gentoo.org/show_bug.cgi?id=74817 and https://bugs.gentoo.org/show_bug.cgi?id=82890). The 1.0.4 version of reiser4progs didn't fix the hanging with 2.6.11-cko1.
So I'm stumped. I was about to post a new message like you did on here. I've also looked through the ck mailing list (http://bhhdoa.org.au/mailman/listinfo/ck) for an answer but couldn't find one.
I guess for now you could try the love sources: http://love-sources.org/
Last edited by kenyon on Sat Mar 05, 2005 6:02 am; edited 2 times in total |
|
Back to top |
|
|
kenyon Apprentice
Joined: 23 Dec 2004 Posts: 155 Location: Southern California
|
Posted: Sat Mar 05, 2005 5:59 am Post subject: |
|
|
fearofcorners wrote: | you're not using 4k stacks, are you? |
No. |
|
Back to top |
|
|
uman Apprentice
Joined: 20 Dec 2004 Posts: 223
|
Posted: Sat Mar 05, 2005 6:04 am Post subject: |
|
|
@fearofcorners: I'm using 8k stacks.
@kenyon: Sorry to hear you're having the same problem. I'll be sure to message you if I find the solution and I'd appreciate it if you would do the same for me.
EDIT: by the way here is my /etc/fstab:
Quote: | # /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda4 /mnt/fedora ext3 noatime
/dev/hda1 /boot ext3 noatime 1 1
/dev/hda3 / reiser4 noatime 0 0
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 ro 0 0
/dev/cdroms/cdrom1 /mnt/dvdrw iso9660 ro 0 0
/dev/sda2 /mnt/ntfs ntfs ro
/dev/sda3 /mnt/windows vfat
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0 | [/quote] |
|
Back to top |
|
|
kenyon Apprentice
Joined: 23 Dec 2004 Posts: 155 Location: Southern California
|
Posted: Sat Mar 05, 2005 6:12 am Post subject: |
|
|
I think the difference between the love source and the other patches is that love source is using reiser4 code that was just released today. Maybe the cko and nitro patches will work once they update to the latest code (hopefully).
Either that, or it's something to do with the schedulers of the different patches. I remember reading somewhere that reiser4 might have a conflict with staircase scheduling or something. |
|
Back to top |
|
|
uman Apprentice
Joined: 20 Dec 2004 Posts: 223
|
Posted: Sat Mar 05, 2005 6:49 am Post subject: |
|
|
Someone in the Nitro-sources (which is based on -ck) thread is having the same problems, and the Nitro devs don't know what to do about it. They say they fixed the CPU scheduler/reiser4 problems a while ago. I'm currently compiling Love (booted from the LiveCD) and I'm goung to try it. Thanks for the advice. |
|
Back to top |
|
|
uman Apprentice
Joined: 20 Dec 2004 Posts: 223
|
Posted: Sat Mar 05, 2005 7:32 am Post subject: |
|
|
OK The problem is solved by using love-sources. Thank you for the help! By the way Reiser4 is AWESOME! It is far and away the fastest filesystem I have ever used. emerge -s finishes in seconds! |
|
Back to top |
|
|
Gargamel_968 n00b
Joined: 25 Dec 2003 Posts: 5 Location: Czech republic
|
Posted: Mon Mar 28, 2005 10:51 am Post subject: |
|
|
I recently ran into this problem as well and I discovered this freezing is caused by the SMP code (P4 with HyperThreading enabled). You have to recompile the kernel without the SMP support and then it is working fine.
Sama freezing I experienced with 2.6.11-nitro1 and 2.6.11-cko1. If I used 2.6.11-love2, everything went fine, except random freezing in high load. I am running now 2.6.11-nitro2 without SMP/HT and it is perfectly stable. |
|
Back to top |
|
|
kenyon Apprentice
Joined: 23 Dec 2004 Posts: 155 Location: Southern California
|
Posted: Mon Mar 28, 2005 4:13 pm Post subject: |
|
|
Hmm yes I also had random freezes at high load with the love sources, so I went back to 2.6.10-cko3 which is very stable with SMP support.
If we compile without SMP support, won't we see worse performance by not taking advantage of HyperThreading? |
|
Back to top |
|
|
feminista Apprentice
Joined: 25 Mar 2005 Posts: 182
|
Posted: Tue Mar 29, 2005 7:57 am Post subject: |
|
|
Compiling without SMP support DID fix the problem for me, but it also broke my NIC drivers (can't imagine why).
Anyway, I switched to love-sources, and I honestly like it a lot more anyway. Sorry nitro people. |
|
Back to top |
|
|
Archangel1 Veteran
Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Tue Mar 29, 2005 9:30 am Post subject: |
|
|
feminista wrote: | Compiling without SMP support DID fix the problem for me, but it also broke my NIC drivers (can't imagine why). |
Don't want to sound too obvious, but you did reinstall the kernel modules didn't you? _________________ What are you, stupid? |
|
Back to top |
|
|
scottfk n00b
Joined: 18 May 2003 Posts: 44 Location: New York, NY
|
Posted: Tue Mar 29, 2005 11:50 pm Post subject: |
|
|
I just tried this kernel on a dual PIII Xeon... it fixed my hanging issue.
Seems like whatever was broken in cko2 is fixed! _________________ Be seeing you.
scott |
|
Back to top |
|
|
kenyon Apprentice
Joined: 23 Dec 2004 Posts: 155 Location: Southern California
|
Posted: Wed Mar 30, 2005 12:01 am Post subject: |
|
|
scottfk wrote: | I just tried this kernel on a dual PIII Xeon... it fixed my hanging issue.
Seems like whatever was broken in cko2 is fixed! |
Are you talking about love-sources? Watch for the random lockups at high loads... Also, love-sources are way slow compared to cko. |
|
Back to top |
|
|
scottfk n00b
Joined: 18 May 2003 Posts: 44 Location: New York, NY
|
Posted: Wed Mar 30, 2005 3:42 pm Post subject: |
|
|
Sorry... I wasn't clear. cko3 fixes the problems I was having with cko2.
I have never tried love/nitro... but before 2.6.11-cko3, I tried mm-sources. When I went back to cko it felt like I'd got a faster computer. The performance increase is that noticeable. _________________ Be seeing you.
scott |
|
Back to top |
|
|
kenyon Apprentice
Joined: 23 Dec 2004 Posts: 155 Location: Southern California
|
Posted: Thu Mar 31, 2005 3:45 pm Post subject: |
|
|
Indeed, whatever changed between 2.6.11-cko2 and cko3 fixed this hang on boot. Awesome! Thanks scottfk. |
|
Back to top |
|
|
|