mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Waldo Bastian <bastian@kde.org>
To: "David Faure" <faure@kde.org>,
	"Paul Larson" <plars@linuxtestproject.org>,
	"Dieter Nützel" <Dieter.Nuetzel@hamburg.de>
Cc: Dave McCracken <dmccr@us.ibm.com>, Andrew Morton <akpm@digeo.com>,
	Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: 2.5.46-mm1: CONFIG_SHAREPTE do not work with KDE 3
Date: Sat, 9 Nov 2002 00:20:30 +0100	[thread overview]
Message-ID: <p05111b00b9f1ef8c20e1@[193.251.15.192]> (raw)
In-Reply-To: <200211081956.26946.faure@kde.org>

>Am Freitag, 8. November 2002 19:18 schrieb Paul Larson:
>>  On Wed, 2002-11-06 at 22:53, Andrew Morton wrote:
>>  > Dieter Nützel wrote:
>>  > > When I enable shared 3rd-level pagetables between processes KDE 3.0.x
>>  > > and KDE 3.1 beta2 at least do not work.
>>  >
>>  > Yup.  That's a bug which happens to everyone in the world
>>  > except Dave :(
>>
>>  I've tried to reproduce this also on a RH 7.3 box.  ksmserver is
>>  running, but strace says it's stuck on a select() call.  There are no
>>  kernel messages, but I got this from startx:
>>
>>  DCOPServer up and running.
>>  Warning: connect() failed: : Connection refused
>
>That's similar to mine.

Not sure where that comes from, it's either someone who tries to make 
connection to ksmserver for the purpose of session management or it 
is someone who tries to connect to the dcop server. It would surprise 
me somewhat if it is the dcop server because the dcopserver has a 
self-test and that apparently has succeeded.

It says "KDE does not work" but it doesn't mention to what degree. 
Does nothing show up? By the time ksmserver gets executed already a 
bunch of KDE processes should be running, what happens with them?

You may want to try to start the various KDE components one by one:

* dcopserver, it's workings can be tested by running the dcop command.
* kbuildsycoca, it should build/verify the sycoca database (see 
/tmp/kde-$USER/ksycoca)
* kdeinit, this should start another 4 processes or so
* kedit, simple application
* kwin, window manager, your kedit should now get a window border
* 'kdeinit_wrapper kedit', the same application but now started through kdeinit
* ksmserver
* 'kdeinit_wrapper kedit', the same application but it should now 
connect to ksmserver for session management purposes.

You may also want to test what happens when you start ksmserver with 
'kdeinit_wrapper ksmserver'

ksmserver, when idle, hangs in a select() waiting for input on some 
sockets, including the connection with the X server, (as part of the 
Qt event loop) not sure if that select call sets a timeout as well. 
You say it "hangs in select", I'm not sure if you mean with that "is 
stuck in select()" or just "waits for select to return", but the 
latter would be the normal idle state for most KDE applications. They 
often (always?) have a timeout set though.

Since you guys seems to be working page-tables the problems may be 
related to kdeinit which forks and then loads applications in the 
form of libraries. That usage pattern is somewhat different from the 
more common fork() + exec() combination. The exec() basically never 
happens.

Hope this helps a bit.

Cheers,
Waldo

       reply	other threads:[~2002-11-08 23:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200211081956.26946.faure@kde.org>
2002-11-08 23:20 ` Waldo Bastian [this message]
2002-11-07  4:47 Dieter Nützel
2002-11-07  4:53 ` Andrew Morton
2002-11-08 18:18   ` Paul Larson
2002-11-08 18:50     ` Dieter Nützel
     [not found] ` <200211080150.04839.Dieter.Nuetzel@hamburg.de>
     [not found]   ` <2630000.1036769258@baldur.austin.ibm.com>
2002-11-08 18:36     ` Dieter Nützel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='p05111b00b9f1ef8c20e1@[193.251.15.192]' \
    --to=bastian@kde.org \
    --cc=Dieter.Nuetzel@hamburg.de \
    --cc=akpm@digeo.com \
    --cc=dmccr@us.ibm.com \
    --cc=faure@kde.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=plars@linuxtestproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®