Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde4 + reiser4 = kernel bug?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Mon Nov 12, 2007 4:46 pm    Post subject: kde4 + reiser4 = kernel bug? Reply with quote

Hi folks,

my girlfriend needs a more windows like desktop environment, because she's new to Linux. I use for all the years enlightenment e16, but that's not really suitable for her.

So I thought by myself, in the end of the year they will release kde4 and on Suse it's already available in beta status. Ok, let's try KDE4. I used this Howto:

http://fr.gentoo-wiki.com/HOWTO_KDE4

So far so good. Now I start gdm and can select in Sessions kde4-svn. After logon the boot screen of kde4 appears. But kde stops loading at the first icon in the boot screen. Dmesg gives me the following error:

Code:
...
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[drm] Setting GART location based on new memory map
[drm] writeback test succeeded in 1 usecs
BUG: unable to handle kernel NULL pointer dereference at virtual address 0000016                                                                                                c
 printing eip:
c019a041
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: sr_mod pcmcia cdrom
CPU:    0
EIP:    0060:[<c019a041>]    Not tainted VLI
EFLAGS: 00210296   (2.6.23-gentoo-r1 #1)
EIP is at reiser4_get_tree+0x0/0xa
eax: 00000000   ebx: d72a2454   ecx: 00000000   edx: 00000000
esi: d72a2400   edi: 00000000   ebp: 00000000   esp: d71a3d98
ds: 007b   es: 007b   fs: 0000  gs: 0033  ss: 0068
Process kded4 (pid: 6713, ti=d71a2000 task=d8674530 task.ti=d71a2000)
Stack: c01b7fac 00000000 00000175 d72a2400 00000000 d72a24b4 d71a3e44 00000000
       088e9c44 d72a24c4 2d69636f 006b6465 0088e9c5 00000000 00000174 00000000
       088e9c44 00000000 2d69636f 006b6465 0088e9c5 00000000 00000000 00000000
Call Trace:
 [<c01b7fac>] reiser4_write_extent+0x23/0x4bb
 [<c01a473a>] setattr_unix_file+0x182/0x393
 [<c0157415>] nameidata_to_filp+0x24/0x33
 [<c0168c52>] mntput_no_expire+0x13/0x50
 [<c0167dd1>] notify_change+0xf5/0x20c
 [<c0157b05>] do_truncate+0x5e/0x75
 [<c0157e00>] do_sys_truncate+0x15f/0x17a
 [<c0158f62>] generic_file_llseek+0x0/0x82
 [<c0221b3e>] copy_to_user+0x25/0x3b
 [<c0159188>] sys_llseek+0x65/0x87
 [<c0103be2>] sysenter_past_esp+0x5f/0x85
 =======================
Code: 83 c0 10 c3 8b 80 6c 01 00 00 8b 80 58 01 00 00 c3 8b 80 6c 01 00 00 8b 80                                                                                                 60 01 00 00 c3 8b 80 6c 01 00 00 8b 80 5c 01 00 00 c3 <8b> 80 6c 01 00 00 83 c0                                                                                                 14 c3 85 c0 89 c2 74 19 8b 80 6c 01 00
EIP: [<c019a041>] reiser4_get_tree+0x0/0xa SS:ESP 0068:d71a3d98
reiser4[kded4(6713)]: release_unix_file (fs/reiser4/plugin/file/file.c:2409)[vs-                                                                                                44]:
WARNING: out of memory?
reiser4[kded4(6713)]: release_unix_file (fs/reiser4/plugin/file/file.c:2409)[vs-                                                                                                44]:
WARNING: out of memory?
reiser4[kded4(6713)]: release_unix_file (fs/reiser4/plugin/file/file.c:2409)[vs-                                                                                                44]:
WARNING: out of memory?
reiser4[kded4(6713)]: release_unix_file (fs/reiser4/plugin/file/file.c:2409)[vs-                                                                                                44]:
...


After a while the computer seems so crash. I can ping it from another machine but I can't get access with ssh. In X I get a black screen where I can move the mouse pointer, but there's no panel, no bar, no menu.

The reiser4-patch I got from the Kamikaze sources because the namesys-server is down for a (long) while. With this patch I didn't have any problems.

Kernel: 2.6.23 gentoo-sources with Reiser4-Patch from Kamikaze sources
Computer: Dell Latitude c610, 512mb Ram, Pentium III mobile

emerge --info:
Code:
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r1 i686)
=================================================================
System uname: 2.6.23-gentoo-r1 i686 Mobile Intel(R) Pentium(R) III CPU - M 1000MHz
Timestamp of tree: Fri, 19 Oct 2007 12:00:08 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r3
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs cvs distcc distlocks fixpackages sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-chemnitz.de/pub/linux/gentoo http://ftp.tu-chemnitz.de/pub/linux/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://darkstar.ist.utl.pt/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://gentoo.ynet.sk/pub http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de pt"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 7zip X X509 Xaw3d a52 aac aalib accessibility acpi afs alsa amarok amr amuled apache2 audacious audiofile bash-completion bcmath berkdb bidi bitmap-fonts bluetooth bogofilter bonobo boost buttons bzip2 cairo calendar caps cardbus cdda cddb cdio cdparanoia cdrom cgi chardet cli context cracklib crypt css ctype cups curl curlwrappers cyrillic d dbus dbx deprecated devhelp dga dia dillo directfb discard-path discouraged divx djvu dmx doc dom4j dri dv dvb encode erandom escreen examples exif extra fam fame fastcgi fat fbcon fbsplash ffmpeg fftw firefox flac flash font-server fontconfig force-cgi-redirect fortran fpx ftp fuse games gcj gd ggi gif gimp gimpprint glade glib glut gmedia gmp gnomedb gphoto2 gpm graphics graphviz gs gtk gtkhtml guile gzip hal hash haskell hddtemp hdri hpn humanities iconv icq id3 idn image imagemagick imap inherit-graph inifile injection inkjar innodb irda java java-internal java5 javascript jbig jce jfs jikes jpeg jpeg2k justify kde lame latex lcms libcaca libdsk libsexy libssh2 live lm_sensors log4j lua lyx mad madwifi md5sum mhash midi mikmod mime ming mixer mjpeg mmap mmx mmxext mng modplug mozilla moznocompose moznoirc moznomail moznoroaming mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer msn mudflap multiuser musepack music mysql mysqli ncurses nemesi netboot network networking nfs nls nntp nptl nptlonly nsplugin ntfs ntlm objc objc++ odbc ogg ogre omega openal opengl overload parse-clocks pascal pcmcia pcntl pcre pdf pdo perforce perl php physfs plotutils plugin pmu png posix postgres postscript ppds pppd print pstricks publishers pvr python qt3 qt3support qt4 quicktime quotas rar readline real realmedia reflection regex reiser4 reiserfs rhino rpm rtc ruby samba science sdl seamonkey sendmail sensord serial session sge sharedext sid simplexml skey slang slp sndfile snmp sockets socks5 sourceview sox speex spell spl sql sqlite sqlite3 sse ssl subtitles subversion svg svga svgz sysfs sysvipc szip tcl tcpd tga theora threads tidy tiff timidity tk tokenizer transcode truetype truetype-fonts type1 type1-fonts ucs2 usb v4l v4l2 valgrind vcd vidix vim-pager visualization vorbis vorbis-psy wavpack wifi win32codecs wireshark wma wmf wmp wordexp wxwindows x264 x86 xanim xchatdccserver xcomposite xetex xface xfs xgetdefault xiph xml xmlreader xmlrpc xmlwriter xorg xosd xpm xrandr xsl xulrunner xv xvid xvmc yv12 zip zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de pt" USERLAND="GNU" VIDEO_CARDS="radeon fbdev vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Anyone an idea? Or it's better to start with kde-3.5.8?
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Mon Nov 12, 2007 5:37 pm    Post subject: Reply with quote

i wouldn't want to present my gf with reiser4 and kde4 in 2007 :D. not even to my enemies :p. even namesys and kde won't do that. (and i will get flamed here for saying this, but i would have rather given debian with synaptic package manager and lots of repositories to a newcomer, especially on a p3 :). and perhaps as a symbol of good help, compile a custom kernel like kamikaze sources and set up all their hardware :D. and of course some good software config to start with.)
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Mon Nov 12, 2007 7:56 pm    Post subject: Reply with quote

Do you wan't to say the combination of that installation is not really conservative?
Back to top
View user's profile Send private message
hirakendu
Guru
Guru


Joined: 24 Jan 2007
Posts: 386
Location: san diego

PostPosted: Mon Nov 12, 2007 8:57 pm    Post subject: Reply with quote

conservative :o ? its outrageous by most standards :D. (i swear by ricers :p.) my suggestion would be of course to stick to kde 3.5.8 and reiserfs/ext3 for now. (personally, i won't use kde4 till 4.1 or 4.2 is launched - at least not before the release party, especially given the current state :D.) also try to stick to vanilla gentoo portage for work machines. ~x86 is very fair though. kernel sources might be the only thing you might want to consider out of portage (but there is little incentive given that vanilla 2.6.23 is very good in itself).

also see the forum threads with topics revolving around reiser4 (and kde). guess you require a couple of additional mount options for reiser4 with kde. my suggestion - try avoid reiser4 for the very moment. (its pretty safe though if you are using kernel <=2.6.22.)
_________________
Helium Sources || Gentoo Minimal Livecd
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Mon Nov 12, 2007 9:15 pm    Post subject: Reply with quote

Ok, I guess in some facts you are right. I'm also new to KDE and I don't have the time to get that big experimental thing working now. So I step down to KDE-3.5.8.
Back to top
View user's profile Send private message
dusanc
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 248
Location: Serbia

PostPosted: Tue Nov 13, 2007 7:17 am    Post subject: Reply with quote

And could you please report this bug, and a way to reproduce it if you can, to reiserfs-devel@vger.kernel.org
Too many bugs pass unreported, and therefore unfixed.

Thanks

Dushan
Back to top
View user's profile Send private message
deathrattle
n00b
n00b


Joined: 07 Apr 2007
Posts: 14
Location: Simmerath, Germany

PostPosted: Sat Nov 24, 2007 1:37 pm    Post subject: Reply with quote

Hi guys,

was that solved in any way during the meantime?

Has someone a hint for me, what to do?

Please don´t say remove reiser4 and use ext3. I know that this is one solution. But I don´t want to do that.

Thx!
Back to top
View user's profile Send private message
dusanc
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 248
Location: Serbia

PostPosted: Sat Nov 24, 2007 2:52 pm    Post subject: Reply with quote

deathrattle wrote:
Hi guys,

was that solved in any way during the meantime?

Has someone a hint for me, what to do?

Please don´t say remove reiser4 and use ext3. I know that this is one solution. But I don´t want to do that.

Thx!

Wait for official reiser4-for-2.6.23.patch and then try. It should be available soon.
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Sun Nov 25, 2007 2:25 am    Post subject: Reply with quote

@dsanc, just so we know who we're talking to, do you work for NAMESYS/work on reiser4, or are you just a helpful Samaritan?
dusanc wrote:
Wait for official reiser4-for-2.6.23.patch and then try. It should be available soon.

Are you saying this should be fixed in the official for-2.6.23 patch, or to try it, see if it's fixed or not and report back?
_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Sun Nov 25, 2007 3:07 am    Post subject: Reply with quote

deathrattle wrote:
was that solved in any way during the meantime?

Until now I didn't hear about something about a new reiser4-patch.

deathrattle wrote:
Has someone a hint for me, what to do?

I would advise you to remove reiser4 and use ext3, because this is one solution. And you should do that. And additionally you can downgrade you KDE. 8)
Back to top
View user's profile Send private message
dusanc
Apprentice
Apprentice


Joined: 19 Sep 2005
Posts: 248
Location: Serbia

PostPosted: Sun Nov 25, 2007 7:59 am    Post subject: Reply with quote

saintdev wrote:
@dsanc, just so we know who we're talking to, do you work for NAMESYS/work on reiser4, or are you just a helpful Samaritan?
dusanc wrote:
Wait for official reiser4-for-2.6.23.patch and then try. It should be available soon.

No I don't work for Namesys, but I do some free time work on Reiser4, and am a helpful Samaritian. Info I gave you is from the talk with Reiser4 dev (Edward)
saintdev wrote:
Are you saying this should be fixed in the official for-2.6.23 patch, or to try it, see if it's fixed or not and report back?

Second one.
Because the problem is already reported on m-l and devs are ( AFAIK ) aware of it, and it was made using unstable (like in -mm) patches.
You missed to tell us which r4 patch and kernel you were using. Can't help you more without that info.
And AFAIK this bug doesn't exist in latest "stable" reiser4-for-2.6.22-2.patch which could be found here: http://chichkin_i.zelnet.ru/namesys/index.html
So try it and tell us how it went.

Thanks
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Fri Dec 07, 2007 12:10 am    Post subject: Reply with quote

Well I just tried with the official reiser4-for-2.6.23-2.patch applied to the latest 2.6.23 gentoo-sources (-r3 iirc). And got a similar result. I sent an email with the updated stackdump to the reiserfs list.

http://thread.gmane.org/gmane.comp.file-systems.reiserfs.general/21226/focus=21265
_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Sat Dec 15, 2007 8:39 pm    Post subject: Reply with quote

if you turn on reiser4 debugging, you'll get a pretty nice kernel panic. You know, caps lock and num lock blinks and the box is completly locked up kind of crash.

Well, no KDE4 for me until that problem is solved...
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Mon Dec 17, 2007 10:47 am    Post subject: Reply with quote

Ok, because of my girl didn't like KDE at all, KDE as desktop environtment isn't really a question. She likes my configuration of enlightenment e16 much more.

But more interesting to know is for me: Did you try to run any KDE4-apps? I mean, how's dolphin, amarok-2 and ocular working on reiser4?
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Mon Dec 17, 2007 11:37 am    Post subject: Reply with quote

musv wrote:
Ok, because of my girl didn't like KDE at all, KDE as desktop environtment isn't really a question. She likes my configuration of enlightenment e16 much more.

But more interesting to know is for me: Did you try to run any KDE4-apps? I mean, how's dolphin, amarok-2 and ocular working on reiser4?


I have been looking at this thread for some time, and I think you are really in the wrong way.

First, kde4 is still far away of the functionality level that kde3 currently has. Even if you manage to install it and use it everyday, it will not be the best thing for a newcomer, because things are still far from stable, and you will still need a lot of kde3 stuff if you really want to be productive. Reiser4 is not a good thing (tm) for people who don't enjoy ocasinal breakage either.

What's the problem with the stable apps and filesystems?

While you think the answer, I will comment a bit on the programs you said.

There is a dolphin version for kde3, and I host an ebuild for d3lphin (and improved version with some backports from the kde4 version) at my home site:

http://jesgue.homelinux.org/ebuilds/

It is not the kde4 version, obviously, but the filemanagement stuff is there. Obviously, if you want kde4 for the eye candy, then I can't help there. The kde4 version is not completely stable, mostly due to the fact that a lot of underlying stuff is shared amongst all the apps, like kio-slaves, and that stuff is not completely stable.

I haven't tested amarok2, but I think that the big problem with it is not stability (which might be a problem, I don't know), but that it is not in any place near to amarok 1.x in which regards -actual- features. You will have to wait, I think.

Okular seems to work mostly ok. I haven't tested it extensively, mostly for pdf stuff, still, kpdf (kde 3.x) seems far more responsive for now.



In other words: if your girlfriend is not skilled with linux yet, the last thing she needs is additional problems, like kde4 or reiser4. I'd go with a slightly less shinny, but stable desktop. If you want shinny stuff, use kde3 or gnome with compiz-fusion. Or consider using xfce4 which has some integrated compositing capabilities.
Back to top
View user's profile Send private message
rzZzn
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2004
Posts: 96
Location: Sweden

PostPosted: Thu Jan 10, 2008 7:06 am    Post subject: Reply with quote

Has anyone found any fix or workaround for this???

//rZn
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Thu Jan 10, 2008 6:09 pm    Post subject: Reply with quote

you could try the latest reiser4 patch:

A new one has been added:
http://chichkin_i.zelnet.ru/namesys/reiser4-for-2.6.23-3.patch.gz

Everyone who has compression enabled, please, upgrade.
All changes are listed at the patch header.

Thanks,
Edward.
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
rzZzn
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2004
Posts: 96
Location: Sweden

PostPosted: Thu Jan 10, 2008 8:33 pm    Post subject: Reply with quote

energyman76b wrote:
you could try the latest reiser4 patch:

A new one has been added:
http://chichkin_i.zelnet.ru/namesys/reiser4-for-2.6.23-3.patch.gz

Everyone who has compression enabled, please, upgrade.
All changes are listed at the patch header.

Thanks,
Edward.



Did not work :(

//rZn
Back to top
View user's profile Send private message
Wittgenstein
n00b
n00b


Joined: 27 Sep 2007
Posts: 4

PostPosted: Fri Jan 11, 2008 12:27 am    Post subject: Reply with quote

I have played a bit with Reiser4 and KDE4, and the bug even shows up if one starts a minuscule KDE4 app like

Code:

#include <KApplication>
#include <KCmdLineArgs>

int main(int argc, char* argv[]){

  KCmdLineArgs::init(argc,argv,"test",0,ki18n("Test"),0);
  KApplication app;
}


in a non-KDE environment (e.g. fluxbox). The program terminates with
Code:

Creating link /home/roland/.kde/cache-localhost.
Created link from "/home/roland/.kde/cache-localhost" to "/var/tmp/kdecache-roland"
Segmentation fault


and the usual dmesg. The bug seems to be related to the KDE icon cache, but this is open to
further investigation. :? Two workarounds actually work for me:

(1) Mount tmpfs at /var/tmp or at /var/tmp/kdecache-$USER.

(2) Use Reiser4 with ccreg40, the cryptcompress plugin.
Back to top
View user's profile Send private message
rzZzn
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2004
Posts: 96
Location: Sweden

PostPosted: Sat Jan 12, 2008 2:38 pm    Post subject: Reply with quote

Wittgenstein wrote:
I have played a bit with Reiser4 and KDE4, and the bug even shows up if one starts a minuscule KDE4 app like

Code:

#include <KApplication>
#include <KCmdLineArgs>

int main(int argc, char* argv[]){

  KCmdLineArgs::init(argc,argv,"test",0,ki18n("Test"),0);
  KApplication app;
}


in a non-KDE environment (e.g. fluxbox). The program terminates with
Code:

Creating link /home/roland/.kde/cache-localhost.
Created link from "/home/roland/.kde/cache-localhost" to "/var/tmp/kdecache-roland"
Segmentation fault


and the usual dmesg. The bug seems to be related to the KDE icon cache, but this is open to
further investigation. :? Two workarounds actually work for me:

(1) Mount tmpfs at /var/tmp or at /var/tmp/kdecache-$USER.

(2) Use Reiser4 with ccreg40, the cryptcompress plugin.


Thanks works great with ccreg40 :D

//rZn
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Mon Jan 21, 2008 4:15 pm    Post subject: Reply with quote

stupid question, but how do you activate this plugin AND does it have any negative impact on the performance?
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Jan 21, 2008 5:03 pm    Post subject: Reply with quote

energyman76b wrote:
stupid question, but how do you activate this plugin AND does it have any negative impact on the performance?


you can "activate" those plugins by choosing them during formatting of r4 partitions:

Code:
mkfs.reiser4 -o formatting=tails /dev/sda6

mkfs.reiser4 -o formatting=extents /dev/sda6

mkfs.reiser4 -o create=ccreg40,compress=gzip1 /dev/sda6
mkfs.reiser4 -o create=ccreg40,compress=lzo1 /dev/sda6


negative impact: nearly no, higher cpu load
positive impact: openoffice launch times 4-7 seconds are possible 8) , better launch time, less space usage (around 60-70% of previous with reiser4)

use deadline scheduler for reiser4 partitions & tune vm system ...

Code:
# doing some filesystem tuning
echo "40" > /proc/sys/vm/dirty_ratio
# echo "3" > /proc/sys/vm/dirty_background_ratio


for i in /sys/block/sd*; do
         /bin/echo "8192" >  $i/queue/read_ahead_kb
done

for i in /sys/block/sd*; do
         /bin/echo "deadline" >  $i/queue/scheduler
done

for i in /sys/block/sd*; do
         /bin/echo "256" >  $i/queue/nr_requests
done


Quote:
(2) Use Reiser4 with ccreg40, the cryptcompress plugin.


Thanks works great with ccreg40 :D


unfortunately didn't work for me

kde4-apps still are launched, eating cpu-time / daemonizing and can't be killed
...
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Mon Jan 21, 2008 5:07 pm    Post subject: Reply with quote

kernelOfTruth wrote:
energyman76b wrote:
stupid question, but how do you activate this plugin AND does it have any negative impact on the performance?


you can "activate" those plugins by choosing them during formatting of r4 partitions:


crap.

kernelOfTruth wrote:

Code:
mkfs.reiser4 -o formatting=tails /dev/sda6

mkfs.reiser4 -o formatting=extents /dev/sda6

mkfs.reiser4 -o create=ccreg40,compress=gzip1 /dev/sda6
mkfs.reiser4 -o create=ccreg40,compress=lzo1 /dev/sda6


negative impact: nearly no, higher cpu load
positive impact: openoffice launch times 4-7 seconds are possible 8) , better launch time, less space usage (around 60-70% of previous with reiser4)

use deadline scheduler for reiser4 partitions & tune vm system ...



deadline didn't work for me. Lots of coasters when burning dvds. No coasters with cfq.

Is there a big difference betwen gzip1 and lzo1?
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Mon Jan 21, 2008 5:10 pm    Post subject: Reply with quote

Quote:
Is there a big difference betwen gzip1 and lzo1?


at least in portage-tree there was concerning space usage (a lot less!)

there's a noticable performance "regression" / much cpu usage with gzip1 on not well-outfitted (== older) PCs :roll:

try - it - out :wink:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Mon Jan 21, 2008 6:16 pm    Post subject: Reply with quote

kernelOfTruth wrote:
Quote:
Is there a big difference betwen gzip1 and lzo1?


at least in portage-tree there was concerning space usage (a lot less!)

there's a noticable performance "regression" / much cpu usage with gzip1 on not well-outfitted (== older) PCs :roll:

try - it - out :wink:


Dateisystem Größe Benut Verf Ben% Eingehängt auf
/dev/sda3 34G 15G 20G 43% /
udev 10M 88K 10M 1% /dev
/dev/sda5 89G 61G 28G 69% /home
/dev/sda6 20G 15G 4,8G 76% /var
/dev/hda7 8,0G 560K 8,0G 1% /tmp
shm 2,0G 0 2,0G 0% /dev/shm
/dev/sda1 23M 6,0M 16M 28% /boot

with / reiserfs and /home, /var, /tmp reiser4 'try it out' when it has to be done via mkfs is not that easy....
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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