On Tue, Jul 13, 2004 at 12:02:47AM -0500, Branden Robinson wrote:
> tag 258874 + moreinfo
> thanks
> 
> On Mon, Jul 12, 2004 at 01:24:02AM +0300, Micha Feigin wrote:
> > Package: xbase-clients
> > Version: 4.3.0.dfsg.1-6
> > Severity: normal
> > 
> > When starting X (startx or wdm)
> 
> If you see the same behavior in startx and in a window manager,
> xbase-clients isn't the right package to file a bug against.
> 

You are right, sorry, it seems to be /usr/X11R6/bin/X which is causing
the problem, so it would be xserver-common, although just downgrading
that and xserver-xfree86 (due to dependencies) doesn't solve the
problem.

Can you reassign the bug or should I refile?

> > with a configured network but no network cable pluged in then X hands on
> > a network timeout. (running tcpdump shows arp requests looking for the
> > nameserver/gateway).
> > 
> > This started on the upgrade from dfsg.1-5 to dfsg.1-6
> 
> Can you reproduce this when running a minimal X session?
> 
> E.g.,
> 
> $ startx $(which xterm) -- :1
> 

This works fine, no hang.

Running startx (standard xsession) I see on the screen:

Using authority file /home/micha/.Xauthority
Writing authority file /home/micha/.Xauthority

and then it hangs for about 30 seconds, no output to
/var/log/XFree86.0.log yet or .xsession-errors. Running ps shows the
following related processes running:

/bin/sh /usr/bin/X11/startx
xinit /usr/X11R6/lib/X11/xinit/xinitrc -- /usr/X11R6/lib/X11/xinit/xserverrc
/usr/bin/X11/X -dpi 100 -nolisten tcp

startx and xinit respond gracefully to kill (they just exit without
problem). X doesn't respond and it requires kill -9 to kill it. If I
kill just startx and xinit and leave X running and then plug in the
network cable X comes up immediately. If I run startx and press Ctrl-C
nothing happens, if I plug in the cable at this point I see a black
screen (X initializing the screen) and then it immediately exits with
the message that it was stopped (as expected except for the hang).

Waiting out the 30 seconds or so for the network timeout gives the same
result.

Running startx -- :1 when another session of X is already running will
not hang BTW.

I also tried running tcpdump when X starts and it gives the following
output, showing the name lookup request (my machine is litshi, rice is
the name server/gateway)

20:25:55.791908 IP litshi.luna.local.32784 > rice.luna.local.domain:  6405+ A? 
-.luna.local. (30)
20:25:55.792612 IP litshi.luna.local.32785 > rice.luna.local.domain:  7688+ 
PTR? 1.0.168.192.in-addr.arpa. (42)
20:25:55.793239 IP rice.luna.local.domain > litshi.luna.local.32784:  6405 
NXDomain* 0/1/0 (80)
20:25:55.793411 IP litshi.luna.local.32786 > rice.luna.local.domain:  6406+ A? 
-. (19)
20:25:55.793894 IP rice.luna.local.domain > litshi.luna.local.32785:  7688* 
1/1/0 PTR[|domain]
20:25:55.794140 IP litshi.luna.local.32787 > rice.luna.local.domain:  7689+ 
PTR? 3.0.168.192.in-addr.arpa. (42)
20:25:55.794252 IP rice.luna.local.domain > litshi.luna.local.32786:  6406 
NXDomain 0/1/0 (94)
20:25:55.794411 IP litshi.luna.local.32788 > rice.luna.local.domain:  6407+ A? 
-.luna.local. (30)
20:25:55.795182 IP rice.luna.local.domain > litshi.luna.local.32787:  7689* 
1/1/0 PTR[|domain]
20:25:55.795591 IP rice.luna.local.domain > litshi.luna.local.32788:  6407 
NXDomain* 0/1/0 (80)
20:25:55.795645 IP litshi.luna.local.32788 > rice.luna.local.domain:  6408+ A? 
-. (19)
20:25:55.796280 IP rice.luna.local.domain > litshi.luna.local.32788:  6408 
NXDomain 0/1/0 (94)
20:25:55.796419 IP litshi.luna.local.32788 > rice.luna.local.domain:  6409+ A? 
local:root.luna.local. (39)
20:25:55.797114 IP rice.luna.local.domain > litshi.luna.local.32788:  6409 
NXDomain* 0/1/0 (89)
20:25:55.797158 IP litshi.luna.local.32788 > rice.luna.local.domain:  6410+ A? 
local:root. (28)
20:25:55.797800 IP rice.luna.local.domain > litshi.luna.local.32788:  6410 
NXDomain 0/1/0 (103)
20:26:00.790557 arp who-has litshi.luna.local tell rice.luna.local
20:26:00.790591 arp reply litshi.luna.local is-at 08:00:46:5b:70:62

> -- 
> G. Branden Robinson                |       Psychology is really biology.
> Debian GNU/Linux                   |       Biology is really chemistry.
> [EMAIL PROTECTED]                 |       Chemistry is really physics.
> http://people.debian.org/~branden/ |       Physics is really math.




Reply via email to