From owner-freebsd-multimedia Sun Jan 7 16:23:19 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from wop21.wop.wtb.tue.nl (wop21.wop.wtb.tue.nl [131.155.56.216]) by hub.freebsd.org (Postfix) with ESMTP id 7670C37B402 for ; Sun, 7 Jan 2001 16:23:00 -0800 (PST) Received: (from karelj@localhost) by wop21.wop.wtb.tue.nl (8.11.1/8.11.1) id f080Mde76752; Mon, 8 Jan 2001 01:22:39 +0100 (CET) (envelope-from karelj) Date: Mon, 8 Jan 2001 01:22:33 +0100 From: "Karel J. Bosschaart" To: Gianmarco Giovannelli Cc: multimedia@FreeBSD.ORG Subject: Re: ut dedicated server Message-ID: <20010108012233.A76726@wop21.wop.wtb.tue.nl> Reply-To: K.J.Bosschaart@wtb.tue.nl References: <5.0.2.1.2.20010105092903.01880578@pop3.spa.norton.antivirus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <5.0.2.1.2.20010105092903.01880578@pop3.spa.norton.antivirus>; from gmarco@giovannelli.it on Fri, Jan 05, 2001 at 09:34:52AM +0100 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Jan 05, 2001 at 09:34:52AM +0100, Gianmarco Giovannelli wrote: > > Hi, I am trying to run an ut dedicated server on a FreeBSD 4.2-STABLE box, > but obviusly I don't succeded in it. :-) > I am not able to play the game too, but for now I'll be very happy to let > it woks in server mode (console only). :-) > > It always exit with segfault even if lokigames said that every games they > sold works on FreeBSD too... > So it has to be a fault of mine ... > > gmarco:/usr/local/games/ut# ucc server > Executing Class Engine.ServerCommandlet > Unreal engine initialized > Browse: > CityIntro.unr?Name=Player?Class=Botpack.TMale2?team=255?skin=SoldierSkin > s.blkt?Face=SoldierSkins.Othello > LoadMap: > CityIntro.unr?Name=Player?Class=Botpack.TMale2?team=255?skin=SoldierSki > ns.blkt?Face=SoldierSkins.Othello > Bound to Fire.so > Case-insensitive search: Botpack -> ..\System\BotPack.u > Bound to IpDrv.so > Case-insensitive search: genfluid -> ..\Textures\GenFluid.utx > Signal: SIGSEGV [segmentation fault] > Aborting. > Exiting. > Name subsystem shut down > Allocation checking disabled > > Os there anyone that is running ut on a FreeBSD box ? > I don't have experience with the server, although I could start it just now by typing ucc server. It did not give above error message. I suspect that something went wrong while patching some files from the CD; it happened to me as well a while ago and the game segfaulted shortly after startup, maybe the same as in your case. If you did not reboot your system after installation of Unreal Tournament: Watch dmesg and/or your console for messages about 'xdelta: segfault' or core dump or something like that. xdelta is a program included in the installer and has failed sometimes to execute for some reason. The nasty thing is that the main installer program may not notice this; I've seen one of the installers (I think 4.28) announce that patching succeeded, while I saw the messages in the console and the game crashing on startup. I've used two workarounds: 1. The simplest one that I used recently with the 4.36 installer: do not run it as root but as normal user, having access to the directory where UT should be installed. It is not clear to me why this works and why it fails as root. I even had machine hangs running it as root! The same happened running the Soldier of Fortune installer. It looks like one of the linux programs in the archive is not correctly branded, and FreeBSD runs the binary assuming it is a FreeBSD binary. Doing this as root can hang the machine - a few weeks back there was a thread in -emulation about it (not connected to UT). I was very surprised to see that UT installed smoothly as user, including the patching, after all the struggle as root. Looking into the archive it seems that the Linux binaries are correctly branded - I have no idea why FreeBSD appears to think that some programs are FreeBSD binaries when run as root. 2. The way that I did it before I discovered that it runs OK as user: run the installer with the option -keep, possibly also -confirm. -keep will keep all extracted programs on disk, -confirm asks for confirmation before the installer proceeds after unpacking the archive. This way, you can better investigate where the installation is going wrong and do something about it. I found that I had to replace the xdelta binary by a version from Loki games, also from www.lokigames.com/~overcode. Depending on how you run the installer, you might have to do other things as well. For instance, in some installers from Loki (sorry, I saw too many of them and I don't remember anymore which one) there is a FreeBSD directory next to a Linux directory. The FreeBSD directory contains, obviously, the FreeBSD versions of some programs but when you run in a linux bash shell (i.e. /usr/compat/linux/bin/bash) the script will detect your system as "Linux" (it uses uname -s) and run the wrong ones... Hope it helps, Karel. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message