Errors while trying to start xserver(xvesa, xnvidia, etc)

Alok Bhatt the_hundredth_one at hotmail.com
Sun May 2 08:29:24 EST 2004


well this time i couldn't really say if there was an error because my screen 
went blank and input was not longer accepted. processes were still running 
though.

is there a log or a trace i can do

here's strace <fdo>/bin/Xvesa:

execve("/2/fdo/bin/Xvesa", ["/2/fdo/bin/Xvesa"], [/* 31 vars */]) = 0
uname({sys="Linux", node="cpc3-shep4-5-0-cust118.nott.cable.ntl.com", ...}) 
= 0
brk(0)                                  = 0x80f9000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=65002, ...}) = 0
old_mmap(NULL, 65002, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40000000
close(3)                                = 0
open("/usr/X11R6/lib/libXfont.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\205"..., 512) = 
512fstat64(3, {st_mode=S_IFREG|0755, st_size=443148, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x40010000
old_mmap(0x417fb000, 489752, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 
0x417fb000
old_mmap(0x4185f000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x64000) = 0x4185f000
old_mmap(0x41867000, 47384, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x41867000
close(3)                                = 0
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2605\264"..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=65416, ...}) = 0
old_mmap(0x47b42000, 66916, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 
0x47b42000old_mmap(0x47b52000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x47b52000
close(3)                                = 0
open("/usr/lib/libXau.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\364\251"..., 512) = 
512fstat64(3, {st_mode=S_IFREG|0755, st_size=77074, ...}) = 0
old_mmap(0x4180a000, 10040, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 
0x40011000old_mmap(0x40013000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40013000
close(3)                                = 0
open("/usr/lib/libXdmcp.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\30\16\0"..., 512) = 
512fstat64(3, {st_mode=S_IFREG|0755, st_size=272649, ...}) = 0
old_mmap(NULL, 11952, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40014000
old_mmap(0x40016000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x1000) = 0x40016000
close(3)                                = 0
open("/lib/tls/libm.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\243\20"..., 512) 
= 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=214796, ...}) = 0
old_mmap(0x46107000, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 
0x46107000
old_mmap(0x46128000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x20000) = 0x46128000
close(3)                                = 0
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\340"..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1455072, ...}) = 0
old_mmap(0x45fe9000, 1162188, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 
0x45fe9000
old_mmap(0x460ff000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x115000) = 0x460ff000
old_mmap(0x46103000, 7116, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x46103000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x40017000
mprotect(0x460ff000, 4096, PROT_READ)   = 0
mprotect(0x46128000, 4096, PROT_READ)   = 0
mprotect(0x45afe000, 4096, PROT_READ)   = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x40017460, limit:1048575, 
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, 
seg_not_present:0, useable:1}) = 0
munmap(0x40000000, 65002)               = 0
geteuid32()                             = 500
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
brk(0)                                  = 0x80f9000
brk(0x811a000)                          = 0x811a000
brk(0)                                  = 0x811a000
close(0)                                = 0
close(1)                                = 0
write(2, "", 0)                         = 0
getpgrp()                               = 2518
open("/tmp/.tX0-lock", O_WRONLY|O_CREAT|O_EXCL, 0644) = 0
getpid()                                = 2519
write(0, "      2519\n", 11)            = 11
fchmod(0, 0444)                         = 0
close(0)                                = 0
link("/tmp/.tX0-lock", "/tmp/.X0-lock") = -1 EEXIST (File exists)
open("/tmp/.X0-lock", O_RDONLY)         = 0
read(0, "      2276\n", 11)             = 11
close(0)                                = 0
kill(2276, SIG_0)                       = -1 EPERM (Operation not permitted)
unlink("/tmp/.tX0-lock")                = 0
write(2, "\nFatal server error:\n", 21
Fatal server error:
) = 21
write(2, "Server is already active for dis"..., 116Server is already active 
for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.
) = 116
write(2, "\n", 1
)                       = 1
exit_group(1)                           = ?


>From: Jeremy Kolb <jkolb at brandeis.edu>
>Reply-To: "Xserver development list." <xserver at freedesktop.org>
>To: "Xserver development list." <xserver at freedesktop.org>
>Subject: Re: Errors while trying to start xserver(xvesa, xnvidia, etc)
>Date: Sat, 01 May 2004 18:07:02 -0400
>
>Really? that's odd, I just use -ac and it seems to work.  I followed the
>post except i specified "3 weeks ago" instead of "a week ago" (did this
>today) and then recompiled X11 and xserver and it worked.
>
>Jeremy
>
>
>On Sat, 2004-05-01 at 22:00 +0000, Alok Bhatt wrote:
> > same problem here too.
> > even checking out 3 weeks ago or 4 weeks ago doesn't make a difference. 
>it
> > still can't establish a listening socket
> > if i try -ac -nolisten tcp then the error is
> >
> > _XSERVTransTransNoListen: unable to find transport: tcp
> >
> > Fatal server error:
> > Failed to disable listen for tcp
> >
> > which xtrans is currently working?
> >
> > >From: "Jeremy A. Kolb" <jkolb at brandeis.edu>
> > >Reply-To: "Xserver development list." <xserver at freedesktop.org>
> > >To: xserver at freedesktop.org
> > >Subject: Re: Errors while trying to start xserver(xvesa, xnvidia, etc)
> > >Date: Sat, 1 May 2004 17:03:46 -0400 (EDT)
> > >
> > >I ran into this problem today and had to do the following (except I 
>used 3
> > >weeks).  So Xtrans is still broken after 3 weeks.
> > >
> > >Jeremy
> > >
> > >On Wed, 2004-04-21 at 00:57, Daniel Stone wrote:
> > > > On Tue, Apr 20, 2004 at 08:39:07PM +0200, Chris wrote:
> > > > > Hi again. Tried the suggestion below, without success :( Here's 
>the
> > > > > errors generated:
> > > > >
> > > > > shroomz:/opt/fdo/bin # /opt/fdo/bin/Xvesa -mode 0x117 :1 -ac & 
>sleep 5
> > > > > && xterm -display :1
> > > > > [1] 2629
> > > > >
> > > > > Fatal server error:
> > > > > Cannot establish any listening sockets - Make sure an X server 
>isn't
> > > > > already running
> > > > > [1]+  Exit 1                  /opt/fdo/bin/Xvesa -mode 0x117 :1 
>-ac
> > > > > Warning: This program is an suid-root program or is being run by 
>the
> > > > > root user.
> > > > > The full text of the error or warning message cannot be safely
> > >formatted
> > > > > in this environment. You may get a more descriptive message by 
>running
> > > > > the
> > > > > program as a non-root user or by removing the suid bit on the
> > > > > executable.
> > > > > xterm Xt error: Can't open display: %s
> > > > >
> > > > > Yes, i've checked for sockets and stuff in /tmp, netstat lsof. 
>Nodda.
> > >..
> > > > > The last part of this error is obviously caused by the Xserver not
> > > > > starting.
> > > > >
> > > > > Could it be a problem that i'm running the 2.6 kernel(2.6.4) and
> > > > > framebuffer?
> > > >
> > > > I think it's a botched xtrans merge; try checking out the xtrans 
>module
> > > > (in xlibs) with -D "a week ago" (cvs -z4 up -PdD "a week ago"), and
> > > > installing that.
> > >
> > >
> > >_______________________________________________
> > >xserver mailing list
> > >xserver at freedesktop.org
> > >http://freedesktop.org/mailman/listinfo/xserver
> >
> > _________________________________________________________________
> > Use MSN Messenger to send music and pics to your friends
> > http://www.msn.co.uk/messenger
> >
> >
> > _______________________________________________
> > xserver mailing list
> > xserver at freedesktop.org
> > http://freedesktop.org/mailman/listinfo/xserver
><< signature.asc >>
>_______________________________________________
>xserver mailing list
>xserver at freedesktop.org
>http://freedesktop.org/mailman/listinfo/xserver

_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection 
http://www.msn.co.uk/specials/btbroadband




More information about the xserver mailing list