Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2006 17:31:12 +0200
From:      Alexander Leidinger <netchild@FreeBSD.org>
To:        Ralph Zitz <ralph@zitz.dk>
Cc:        emulation@FreeBSD.org
Subject:   Re: Latest linux-compat src patch
Message-ID:  <20061017173112.a3bp419dwgokkk0w@webmail.leidinger.net>
In-Reply-To: <4534F2C9.1080203@zitz.dk>
References:  <4534D957.6040001@zitz.dk> <20061017161004.ogi2o1gi040wcosg@webmail.leidinger.net> <4534F2C9.1080203@zitz.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Ralph Zitz <ralph@zitz.dk> (from Tue, 17 Oct 2006 17:12:09 +0200):

Please keep emulation@ in CC.

> Alexander Leidinger wrote:
>>
>> This is a very broad timeframe. I committed a lot of stuff there in =20
>>  the last weeks.
> Ah yes sorry....I made a rollback to the sources as of: Sunday October
> 15th 12.40.28 (which should be just prior to your latest commit?)

Ok, that helps.

>>> something. More specifically: I was running the teamspeak port (in
>>> audio/teamspeak_server) which worked fine before the recent changes to
>>> current. However after building a new kernel it has stopped working. To
>>
>> What does this mean? Are there error messages (either from the  =20
>> binary itself or on the console), or does it coredump? Please  =20
>> describe this more, does it start and you can't use it, or doesn't  =20
>> it start at all?
> It tries to start the server but it displays some internal error
> message from the server binary itself. This is what it outputs in the
> console:
>
> Error, Either an old instance of teamspeak is still running, or
>       an other application is using the tcpquery port!
> Error, Server was not started!
>
> I am 100% certain no other server is running at the time and I'm 100%
> certain that the port in question is not used by anything else.
> Normally when the server starts it looks like it forks off child
> processes ie "ps ax" shows:
>
> 1868  p0- SN     0:00.82 /usr/local/lib/teamspeak_server/server_linux
> 1869  p0- S      0:00.04 /usr/local/lib/teamspeak_server/server_linux
> 1870  p0- S      0:03.10 /usr/local/lib/teamspeak_server/server_linux
> 1871  p0- S      0:03.22 /usr/local/lib/teamspeak_server/server_linux
> 1872  p0- S      0:00.29 /usr/local/lib/teamspeak_server/server_linux
> 1873  p0- S      0:00.08 /usr/local/lib/teamspeak_server/server_linux
> 1874  p0- S      0:02.83 /usr/local/lib/teamspeak_server/server_linux
> 1875  p0- S      0:02.74 /usr/local/lib/teamspeak_server/server_linux
> 1876  p0- S      0:00.23 /usr/local/lib/teamspeak_server/server_linux
>
> But after the changes it can't, or at least it only shows a single
> process with "ps ax" and then it shows the error message mentioned
> above. Could it be related to the clone functionality you made? Either
> way the program itself doesn't segfault, it simply wont start up the
> right way, either because the forking mechanism doesn't work or because
> it for some weird reason can't bind to a port - at least that's how it
> looks to me. It would be much easier to debug of course if the source
> code for the server was available :(
>
>> We need at least the dates of "working" and "not working". It would =20
>>  be great if you could narrow this down to maybe an hour (or maybe =20
>> a  day).
> It was working before the 15th october.
> Let me know if you need more information, and I'll see what I can do.

Yes, please run
"ktrace -i <teamspeak-binary>"

This produces a ktrace.out file. If you could do this with both =20
kernels and send me (not to emulation@) both files (maybe packed with =20
gzip/bzip2), or make them available at an URL. I can have a look which =20
syscalls are behaving different when I get both files.

Bye,
Alexander.

--=20
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID =3D 72077137
Never buy from a rich salesman.
=09=09-- Goldenstern





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061017173112.a3bp419dwgokkk0w>