View previous topic :: View next topic |
Author |
Message |
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Thu Feb 07, 2008 2:37 pm Post subject: |
|
|
Does that link work for anyone?
I found the Patch for 2.6.24 on Edward's Homepage.
Unfortunately I got a Kernel Ooops while booting kernel 2.6.24. I guess it's problem with nfs-server. |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Thu Feb 07, 2008 7:46 pm Post subject: |
|
|
musv wrote: | Unfortunately I got a Kernel Ooops while booting kernel 2.6.24. I guess it's problem with nfs-server. |
Ya.. Mine can't seem to mount it properly on my laptop.. Still getting VFS errors.. Unless I've got Reiser4 setup wrong. I am using ccreg40,gzip1.
I might look into the zen-sources. I'd really like to test out Reiser4 before I fully utilize it in all my systems. |
|
Back to top |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Thu Feb 07, 2008 8:00 pm Post subject: |
|
|
i think reg40 does compression now, and ccreg40 is deprecated.
as in, lzo1 compression is on by default. last i heard, to disable compression you had to use compressMode=none. _________________ '((eINIT) (soor overlay)) |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Thu Feb 07, 2008 8:02 pm Post subject: |
|
|
creidiki wrote: | i think reg40 does compression now, and ccreg40 is deprecated.
as in, lzo1 compression is on by default. last i heard, to disable compression you had to use compressMode=none. |
Do you have any link to where this info came from? I would be quite interrested. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Thu Feb 07, 2008 8:04 pm Post subject: |
|
|
I can't remember.. I don't have my links with me, and most of the sites hosting what little hard info there was on reiser4 have died.
That's my biggest beef with it really, it pretty much lacks any documentation /whatsoever/.
When I tested it myself though, partitions made with ccreg40 had bigger files than reg40 partitions - everything else default, so it might be even true.
With R4, you never know _________________ '((eINIT) (soor overlay)) |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Thu Feb 07, 2008 8:10 pm Post subject: |
|
|
creidiki wrote: | i think reg40 does compression now, and ccreg40 is deprecated.
as in, lzo1 compression is on by default. last i heard, to disable compression you had to use compressMode=none. |
Ya.. I prefer gzip1, but might use lzo1 on some of my slower systems.
Am I alright with ccreg40, or do I have to wipe everything and use reg40? |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Thu Feb 07, 2008 8:11 pm Post subject: |
|
|
@creidiki Testing with du produces wrong results. Afaik or as far as i tested, df works and du doesn't.
What did you use to test, if you remember? _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Thu Feb 07, 2008 8:58 pm Post subject: |
|
|
df _________________ '((eINIT) (soor overlay)) |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Fri Feb 08, 2008 2:53 am Post subject: |
|
|
creidiki wrote: | When I tested it myself though, partitions made with ccreg40 had bigger files than reg40 partitions - everything else default, so it might be even true. |
Hmm.. According to this:
"reg40", "unix-file plugin". Create a regular file managed by unix-file plugin.
"ccreg40", "cryptcompress file plugin". Create a regular file managed by cryptcompress file plugin. |
|
Back to top |
|
|
dusanc Apprentice
Joined: 19 Sep 2005 Posts: 248 Location: Serbia
|
Posted: Fri Feb 08, 2008 6:23 am Post subject: |
|
|
By default it creates uncompressed partition.
With ccreg40 it creates compressed lzo1 partition.
Oh and can you please send your bug reports to the reiserfs-devel@vger.kernel.org because there is no report of such problem yet.
Kernel version, reiser4 patch used, setup details and detailed info to reproduce would be great.
TIA |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Sat Feb 09, 2008 12:03 am Post subject: |
|
|
Basically, I used the SystemRescueCD to do a Stage1 Gentoo install on my laptop.
I followed the instructions word for word, but I'll take a peek at my kernel.
My Partitions/FileSystems are:
/dev/sda1 - Windows XP Media Center Edition 2005 (NTFS) - 30GB
/dev/sda2 - /boot (ext2) - 16MB
/dev/sda3 - Swap (swap) - 512MB
/dev/sda4 - / (reiser4) - 6.7GB
..using GRUB.. I'm gonna try it on a straight Gentoo system and see if it works.. |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Sat Feb 09, 2008 3:37 am Post subject: |
|
|
Yep.. Straight Gentoo system works perfectly.. Must be the way my partitions are layed out...
Maybe I should install Gentoo first, then Windows XP. |
|
Back to top |
|
|
creidiki Apprentice
Joined: 23 Mar 2007 Posts: 283 Location: Varese (Italy)
|
Posted: Sat Feb 09, 2008 3:48 am Post subject: |
|
|
Simba7 wrote: | Maybe I should install Gentoo first, then Windows XP. |
After which you'll have to go back into your LiveCD and chroot again to your gentoo and reinstall grub, as Windows overwrites the MBR of the 1st hard drive on the pc... and you won't have fixed anything.
The reason its not working is /probably/ because of the 1024-cylinder limit. I had forgotten about it and recently bashed my face into it when I tried booting from a kernel sitting in partition 2, after a 20GB NTFS partition.
The only (heh) thing you need to change is having the /boot partition as partition 1. _________________ '((eINIT) (soor overlay)) |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Sat Feb 09, 2008 3:56 am Post subject: |
|
|
..but would that prevent the kernel from being loaded completely?
The Kernel loads, but can't mount /dev/sda4. I'm going to wipe the system and throw XP on sda4 and see what happens.
I could always get /dev/sda1-4 partitioned, install Windows first (on sda4), then Gentoo on sda1-3.
EDIT: Yep.. My partitions were screwy..
After I B&N'd it, I partitioned it using SRCD (sda1=linux, sda2=linux swap, sda3=linux, sda4=ntfs), making the filesystems (sda1=ext2, sda3=reiser4), then rebooted and installed XP. After that was finished, I rebooted again and put my SRCD back into it and built Gentoo on Reiser4. Works Perfectly. |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Mon Feb 11, 2008 7:36 am Post subject: |
|
|
Oh ya.. One other question.. How to I prevent emerge --sync from trashing my reiser4-gentoo-sources? |
|
Back to top |
|
|
ArneBab Guru
Joined: 24 Jan 2006 Posts: 429 Location: Graben-Neudorf, Germany
|
Posted: Mon Feb 11, 2008 10:09 am Post subject: |
|
|
Put them into /usr/local/portage (or on recent systems I think it's /usr/portage/local )
The variable where you find this is in /etc/make.conf: PORTDIR_OVERLAY _________________ Being unpolitical means being political without realizing it. - Arne Babenhauserheide ( http://draketo.de )
pkgcore: So fast that it feels unreal - by doing only what is needed. |
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Sun Feb 24, 2008 8:32 am Post subject: |
|
|
me wrote: | Unfortunately I got a Kernel Ooops while booting kernel 2.6.24. I guess it's problem with nfs-server. |
Ok, I tried 2.6.24 another time. The Reiser4-patch I got from http://chichkin_i.zelnet.ru/namesys/reiser4-for-2.6.24.patch.gz
Yesterday everything worked fine. But today in the morning some things seemed to be broken.
/var/log/messages/: | Feb 24 09:20:01 Blechkasten BUG: unable to handle kernel NULL pointer dereference at virtual address 00000050
Feb 24 09:20:01 Blechkasten printing eip: c01a8b1a *pde = 00000000
Feb 24 09:20:01 Blechkasten Oops: 0000 [#1]
Feb 24 09:20:01 Blechkasten Modules linked in: libafs(P) lirc_i2c(F) lirc_dev nvidia(P) ne2k_pci 8390
Feb 24 09:20:01 Blechkasten
Feb 24 09:20:01 Blechkasten Pid: 4748, comm: nfsd Tainted: PF (2.6.24-gentoo-r2 #3)
Feb 24 09:20:01 Blechkasten EIP: 0060:[<c01a8b1a>] EFLAGS: 00010286 CPU: 0
Feb 24 09:20:01 Blechkasten EIP is at max_item_size_node40+0xb/0x15
Feb 24 09:20:01 Blechkasten EAX: 00000000 EBX: 00000002 ECX: f56c7eb4 EDX: c01ae024
Feb 24 09:20:01 Blechkasten ESI: c04fc9e4 EDI: c04719da EBP: f4969bdc ESP: f4969b60
Feb 24 09:20:01 Blechkasten cron[24875]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Feb 24 09:20:03 Blechkasten DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
Feb 24 09:20:03 Blechkasten Process nfsd (pid: 4748, ti=f4968000 task=f4e4a550 task.ti=f4968000)
Feb 24 09:20:03 Blechkasten Stack: c01ae02f c019820d c01a86e2 ffffffdc c01a808b 0000000c f362c8b3 f4969c58
Feb 24 09:20:03 Blechkasten f56c7eb4 00000014 00000282 0000fa80 d8f3550c 00000008 c531d000 c037d0ee
Feb 24 09:20:03 Blechkasten c531d080 f4a0d4c6 00000008 00000000 00000000 00000000 f4a0d4c6 000002c6
Feb 24 09:20:03 Blechkasten Call Trace:
Feb 24 09:20:03 Blechkasten [<c01ae02f>] max_name_len_cde+0xb/0xf
Feb 24 09:20:03 Blechkasten [<c019820d>] reiser4_max_filename_len+0x1e/0x1f
Feb 24 09:20:03 Blechkasten [<c01a86e2>] is_name_acceptable_common+0x8/0x12
Feb 24 09:20:03 Blechkasten [<c01a808b>] reiser4_lookup_name+0x2e/0xf4
Feb 24 09:20:03 Blechkasten [<c037d0ee>] skb_copy_and_csum_bits+0x15e/0x29c
Feb 24 09:20:03 Blechkasten [<c01a888a>] get_parent_common+0x50/0xbe
Feb 24 09:20:03 Blechkasten [<c03f7426>] __mutex_lock_slowpath+0x1b7/0x1bf
Feb 24 09:20:03 Blechkasten [<c037ec85>] memcpy_toiovec+0x27/0x4a
Feb 24 09:20:03 Blechkasten [<c0196eef>] reiser4_get_dentry_parent+0x1b/0x1d
Feb 24 09:20:03 Blechkasten [<c01e226a>] reconnect_path+0xa7/0x1d4
Feb 24 09:20:03 Blechkasten [<c0162fe4>] find_inode+0x1b/0x56
Feb 24 09:20:03 Blechkasten [<c01630af>] ifind+0x28/0x56
Feb 24 09:20:03 Blechkasten [<c01634c9>] iget5_locked+0x3b/0x126
Feb 24 09:20:03 Blechkasten [<c0197dbd>] reiser4_inode_find_actor+0x0/0x7e
Feb 24 09:20:03 Blechkasten [<c0198167>] reiser4_iget+0x277/0x297
Feb 24 09:20:03 Blechkasten [<c0197d88>] init_locked_inode+0x0/0x35
Feb 24 09:20:03 Blechkasten [<c01620dc>] d_alloc+0x1c/0x172
Feb 24 09:20:03 Blechkasten [<c0162489>] d_alloc_anon+0x3e/0xbb
Feb 24 09:20:03 Blechkasten [<c019e66b>] wire_get_common+0x34/0x6b
Feb 24 09:20:03 Blechkasten [<c0196f69>] reiser4_decode_fh+0x78/0x82
Feb 24 09:20:03 Blechkasten [<c0197095>] reiser4_fh_to_dentry+0x2a/0x31
Feb 24 09:20:03 Blechkasten [<c01e24dc>] exportfs_decode_fh+0x66/0x1a2
Feb 24 09:20:03 Blechkasten [<c011189f>] enqueue_task_fair+0x16/0x24
Feb 24 09:20:03 Blechkasten [<c0110da8>] enqueue_task+0xa/0x14
Feb 24 09:20:03 Blechkasten [<c03ef4d5>] cache_check+0x59/0x390
Feb 24 09:20:03 Blechkasten [<c01e83aa>] exp_get_by_name+0x43/0x52
Feb 24 09:20:03 Blechkasten [<c01e8909>] expkey_match+0x50/0x5f
Feb 24 09:20:03 Blechkasten [<c03ef4d5>] cache_check+0x59/0x390
Feb 24 09:20:03 Blechkasten [<c011de0f>] set_current_groups+0x126/0x130
Feb 24 09:20:03 Blechkasten [<c01ea240>] nfsd_setuser+0x120/0x16c
Feb 24 09:20:03 Blechkasten [<c03e9c36>] svc_sendto+0x235/0x297
Feb 24 09:20:03 Blechkasten [<c01e48f7>] nfsd_setuser_and_check_port+0x4f/0x57
Feb 24 09:20:03 Blechkasten [<c01e8811>] exp_find+0x56/0x5e
Feb 24 09:20:03 Blechkasten [<c01e8847>] rqst_exp_find+0x2e/0xa0
Feb 24 09:20:03 Blechkasten [<c01e5007>] fh_verify+0x237/0x450
Feb 24 09:20:03 Blechkasten [<c01e4d27>] nfsd_acceptable+0x0/0xa9
Feb 24 09:20:03 Blechkasten [<c011178c>] dequeue_entity+0xb/0x2a
Feb 24 09:20:03 Blechkasten [<c03ef7e3>] cache_check+0x367/0x390
Feb 24 09:20:03 Blechkasten [<c01eb810>] nfsd3_proc_getattr+0x8b/0xb8
Feb 24 09:20:03 Blechkasten [<c01e27df>] nfsd_dispatch+0xd3/0x1a0
Feb 24 09:20:03 Blechkasten [<c03e942d>] svc_process+0x39f/0x686
Feb 24 09:20:03 Blechkasten [<c01e2cd2>] nfsd+0x148/0x22a
Feb 24 09:20:03 Blechkasten [<c01e2b8a>] nfsd+0x0/0x22a
Feb 24 09:20:03 Blechkasten [<c0104767>] kernel_thread_helper+0x7/0x10
Feb 24 09:20:03 Blechkasten =======================
Feb 24 09:20:03 Blechkasten Code: eb 04 66 8b 43 fa 5b 66 29 d0 0f b7 c0 c3 b8 01 00 00 00 c3 b8 01 00 00 00 c3 b8 01 00 00 00 c3 a1 00 f0 4e c0 8b 80 f8 04 00 00 <8b> 40 50 8b 40 0c 83 e8 42 c3 53 0f b7 48 04 8b 18 6b c9 26 8b
Feb 24 09:20:03 Blechkasten EIP: [<c01a8b1a>] max_item_size_node40+0xb/0x15 SS:ESP 0068:f4969b60
Feb 24 09:20:03 Blechkasten ---[ end trace bfd93292002efce2 ]--- |
I guess it's the same problem I recognized some posts before.
I tried it now again. The kernel oops occures (reproducible: always) when I try to access my computer from another machine via nfs. Fortunately reboot still works.
dusanc, Edward: Should I write a bug-report to somewhere? I don't have the email address anymore you sent me once . |
|
Back to top |
|
|
dusanc Apprentice
Joined: 19 Sep 2005 Posts: 248 Location: Serbia
|
Posted: Sun Feb 24, 2008 1:16 pm Post subject: |
|
|
musv: Reiser4 mailing list adress is reiserfs-devel@vger.kernel.org
You should post that bugreport there. Exact kernel which was used (vanilla, gentoo-sources...), reiser4 patch version, how is fs formated (default or cryptocompress), that oops and a way to reproduce it would be enough ( I read that here, but there are people who don't read gentoo forums, can you imagine? ).
Thanks in advance
dushan |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Sun Feb 24, 2008 3:38 pm Post subject: |
|
|
Huh.. Odd.. I don't get this error on squit (Dual PPro 200 w/1MB Cache).
..although I get something like this on scratchansniff (PII-450), but I'm suspecting it's madwifi-ng and not reiser4. It doesn't require a reboot or anything.. |
|
Back to top |
|
|
SlackwareInAZ Tux's lil' helper
Joined: 29 Aug 2005 Posts: 92
|
Posted: Tue Feb 26, 2008 7:01 pm Post subject: |
|
|
musv,
Your problem sounds like my "chrooting" problem. It seems that reiser4 does not like to be heavily accessed from another operating system.
I can get the segfaults whether I access a R4 32-bit Gentoo install from Slackware or vice versa, so it's not a Gentoo issue.
I get them when I access my Gentoo-amd64 (just converted to 64-bit last week) from Slamd64 and vice versa there too, so it's consist across architectures.
I wasn't able to get a serial console output or camera picture of the segfaults. They do not require a reboot in Slackware, but they do in Gentoo. I guess that's possibly due to different method of init scripts.
I would venture to say this problem is prevalent on ANY reiser4 system that is accessed from another linux os. It's amazing that it has not been fixed yet as it is alarmingly easy to reproduce.
Gary |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3337 Location: de
|
Posted: Tue Feb 26, 2008 7:56 pm Post subject: |
|
|
SlackwareInAZ wrote: | musv,
Your problem sounds like my "chrooting" problem. It seems that reiser4 does not like to be heavily accessed from another operating system.
I can get the segfaults whether I access a R4 32-bit Gentoo install from Slackware or vice versa, so it's not a Gentoo issue. |
Yes I think too, it's a Reiser4 problem. I posted the issues to the Reiser4-Developer list. I'm running gentoo-sources-2.6.23-r5 until that problem with 2.6.24.x is fixed. With 2.6.23 I don't have any problems of that kind.
SlackwareInAZ wrote: |
I get them when I access my Gentoo-amd64 (just converted to 64-bit last week) from Slamd64 and vice versa there too, so it's consist across architectures.
I wasn't able to get a serial console output or camera picture of the segfaults. They do not require a reboot in Slackware, but they do in Gentoo. I guess that's possibly due to different method of init scripts. |
On both of my computers runs Gentoo 32 bit with Reiser4. So I didn't test it with any other OS. And of course there's no need to reboot immediately. It's only the problem that some things don't work anymore. E.g. emerge stops while finding the depencies of a package. If you just use a browser you won't recognize the kernel oops. |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Sat Mar 01, 2008 10:22 am Post subject: |
|
|
How to check the harddisk with reiser4 partitions for the badblocks? Is there anything special to know. I can't afford to wipe the partition by accident.
And I suspect that disk has (quite) some bad blocks.
Any experiences? _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Sat Mar 01, 2008 11:14 am Post subject: |
|
|
For all you peeps there is now hitchhiker-sources in berkano overlay (available via layman). It is simply gentoo-sources with added reiser4 and udf-2.50 patches. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
|