Latest linux-compat src patch
netchild at FreeBSD.org
Tue Oct 17 08:31:27 PDT 2006
Quoting Ralph Zitz <ralph at 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
>> 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
>> binary itself or on the console), or does it coredump? Please
>> describe this more, does it start and you can't use it, or doesn't
>> 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
> 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
>> be great if you could narrow this down to maybe an hour (or maybe
>> 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
kernels and send me (not to emulation@) both files (maybe packed with
gzip/bzip2), or make them available at an URL. I can have a look which
syscalls are behaving different when I get both files.
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Never buy from a rich salesman.
More information about the freebsd-emulation