Re: [gdm-list] Gdm awaiting for network



Il giorno lun, 25/08/2008 alle 09.06 -0500, Brian Cameron ha scritto:

> Does the desktop file associated with the session you are using have an
> Entry/X-Gdm-XserverArgs value in it?
$ ls
-la /etc/dm/Sessions/*.desktop /usr/share/gdm/BuiltInSessions/*.desktop /usr/share/xsessions/*.desktop
ls: cannot access /etc/dm/Sessions/*.desktop: No such file or directory
-rw-r--r-- 1 root root 6.7K Jul 17
21:14 /usr/share/gdm/BuiltInSessions/default.desktop
-rw-r--r-- 1 root root 9.5K Jul 17
21:14 /usr/share/xsessions/ssh.desktop
-rw-r--r-- 1 root root 1.1K Jun 30
23:39 /usr/share/xsessions/xfce4.desktop

$ grep -i
X-Gdm-XserverArgs /etc/dm/Sessions/*.desktop /usr/share/gdm/BuiltInSessions/*.desktop /usr/share/xsessions/*.desktop
grep: /etc/dm/Sessions/*.desktop: No such file or directory


> Do you see the delay with all sessions, or only this particular session?

I've installed fluxbox just to have a different session to check, and
yes there is the same delay also with fluxbox.


> In the auth logic, it does call functions like gethostname(), so
> if you don't have /etc/hosts set up properly, it might be waiting
> trying to figure out your hostname over the network.

I think /etc/hosts is fine, it just lists the loopback address and the
hosts of my home lan.


> Could you try running pstack on the gdm-binary processs when it is
> hanging.  This might help point out more specifically where the
> code is hanging, whether in the auth code or in the X-Gdm-XserverArgs
> code.

When gdm was "waiting" I run:


$ ps ax | grep gdm
12108 ?        Ss     0:00 /usr/sbin/gdm --config=/etc/gdm/gdm-cdd.conf
12109 ?        S      0:00 /usr/sbin/gdm --config=/etc/gdm/gdm-cdd.conf
12117 tty7     Ss+    0:02 /usr/bin/X :0 -br -audit 0
-auth /var/lib/gdm/:0.Xaut
12714 pts/2    R+     0:00 sh -c ps ax | grep gdm


# pstack 12117

12117: /usr/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth vt7
(No symbols found)
0xb7f99424: ???? (bfeb2f40, 8c57af0, 0, 8c68078, bfeb3038, b7facc50) +
450
0x0808d69d: ???? (2, 0, 8adb7d0, bfeb33c4, 0, 0) + 30
0x0807471b: ???? (b7fb4ce0, 81c34a0, bfeb3448, b7d2f450, 8, bfeb3474) +
50
0xb7d2f450: ???? (8074290, 8, bfeb3474, 81c34a0, 81c3490, b7fa7dc0) +
4014cb98
[19:31:08]root eee ~ # pstack 12109

12109: /usr/sbin/gdm --config=/etc/gdm/gdm-cdd.conf
(No symbols found)
0xb80be424: ???? (bfbd247c, 1, 1256, 4000, 8a0be70, b73031df) + 30c
0xb7309d45: ???? (b7934860, bfbd24e0, 15, bfbd2ee0, 400, bfbd3708) + 154
0xb7308ac5: ???? (b7934860, bfbd264b, 1, 1c, bfbd2ee0, 400) + 41c
0xb7308db6: ???? (1, 1c, bfbd2ee0, 400, bfbd3708, 0) + 43c
0xb73090cf: ???? (b7934860, bfbd3cd8, 1, 1c, bfbd2ee0, 400) + 844
0xb7317736: ???? (bfbd3cd8, a, bfbd3b28, bfbd37c0, 200, b75048bc) + c
0xb73179eb: ???? (bfbd3cd8, a, bfbd3b28, bfbd37c0, 200, b75048bc) + 24
0xb78d53c5: ???? (bfbd3cd8, a, bfbd3b28, bfbd37c0, 200, bfbd3b44) + 3c0
0xb78a36c7: ???? (bfbd3c74, bfbd3c64, 0, bfbd3c6c, 6565652d, 0) + 100
0xb78a4ad9: ???? (bfbd3cd8, 0, bfbd3cb4, bfbd3cd4, 0, 0) + 2040
0x080701f1: ???? (bfbd5d58, 3ff, 746e656d, 5d65645b, 6569443d, 53206573)
+ 460
0x08073716: ???? (89f3f08, 1f5, 89f40da, 8a0ae08, 8a0aea0, 0) + d0
0x08069114: ???? (8a0ae08, 8a04600, 8085d1c, 7, 5, 0) + 40
0x0806ad0d: ???? (0, 80, 808dfc5, 89f3d18, 0, 3) + 350
0x0806b5fe: ???? (89f3f08, 4, 800, 0, 0, 48b2ebe4) + 30
0x0805cb40: ???? (89f3f08, 80, 80865c4, 89f3d18, 89f6350, 0) + 10
0x08051efe: ???? (89f6350, 808d572, 89f5f90, 0, 10569c, 24842094) + 2290
0x080529c6: ???? (b80d9ce0, 8085110, bfbd89c8, b77fd450, 1, bfbd89f4) +
50
0xb77fd450: ???? (8051f60, 2, bfbd89f4, 8085110, 8085100, b80ccdc0) +
40427618


# pstack 12108

12108: /usr/sbin/gdm --config=/etc/gdm/gdm-cdd.conf
(No symbols found)
0xb80be424: ???? (89f6390, 3, ffffffff, 89f6390, 4, b79ea5f8) + 40
0xb79751c6: ???? (89d36e8, 1, 89f6350, 80855ea, bfbd8958, b80d1c50) + 10
0xb7975577: ???? (89f3a60, 808d572, 89f5f90, 0, 10569c, 24842094) + 2290
0x08052a0d: ???? (b80d9ce0, 8085110, bfbd89c8, b77fd450, 1, bfbd89f4) +
50
0xb77fd450: ???? (8051f60, 2, bfbd89f4, 8085110, 8085100, b80ccdc0) +
40427618


I've never used pstack, and I hope these data could make sense to you,
because it's greek to me :-)

Many thanks for your answer.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]