Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - urkle

Pages: [1]
1
Linux Specific Issues /
« on: April 19, 2006, 05:48:30 am »
Why isn\'t planeshift built using a shar style archive like the way the loki installers do?  That way a architecture agnostic bash shell script would start up and kick start and detect WHAT you are running and trigger the correct binary setup to install the data.  It would seem that would solve many of the problems people are having with the current installer..

http://www.planeshift3d.com/wbboard/thread.php?threadid=22838&boardid=41

2
I think I found the cause of the problem..  I believe it\'s the ld-loader. (ld-linux.so) from glibc 2.4

What I did to get this to install. was install qemu from extras and download the qemu-gnemul-0.5.3.tar.gz from qemu\'s website.

http://fabrice.bellard.free.fr/qemu/qemu-gnemul-0.5.3.tar.gz

then extracted that into a temp directory (/home/urkle/qemu) and ran the following

qemu-i386 -L /home/urkle/qemu/usr/local/gnemul/qemu-i386/ ./PlaneShift_CBV0.3.014b.bin

and it runs.. albiet emulated through qemu via an older ld-linux and glibc. (2.1.3)

3
Linux Specific Issues /
« on: April 19, 2006, 05:25:30 am »
Quote
Originally posted by sardit
gl accelleration does not work with the latest livna driver

type as root

chcon -t texrel_shlib_t /usr/lib/xorg/modules/extensions/nvidia/*.so

and enable in ( start / administration / security level and firewall )

under the tab selinux set permissive click modify policy in the section compatibility cross the box at allow the use of shared librarys with text relocation

it enables the gl again ( well first thing does that the second helps with apps that need that particular strategy with text relocation )

Livna posts that they will fix the selinux issue asap and that they will make sure the next nvidia driver doesnt have that problem but that will have to wait till the next kernel upgrade.


I\'ve had no problems running any opengl applications on FC5 w/ selinux enabled or set in permissive mode.  However, the planeshift installation issue is NOT related to GL as the installer does not use opengl.. and crashes right after the ld-loader tried to LOAD the binary.

Output from running strace ./PlaneShift_CBV0.3.014b.bin

execve(\"./PlaneShift_CBV0.3.014b.bin\", [\"./PlaneShift_CBV0.3.014b.bin\"], [/* 38 vars */]) = 0
old_mmap(0x1000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 0, 0) = 0x1000000
old_mmap(0x8048000, 999424, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 0, 0) = 0x8048000
munmap(0x8120000, 114688)               = 0
old_mmap(0x8048000, 883086, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 17158829, 0) = 0x8048000
mprotect(0x8048000, 883083, PROT_READ|PROT_EXEC) = 0
old_mmap(0x8120000, 109555, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 17158829, 0xd7000) = 0x8120000
mprotect(0x8120000, 109552, PROT_READ|PROT_WRITE) = 0
old_mmap(0x813b000, 2416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 0, 0) = 0x813b000
brk(0x813c000)                          = 0x813c000
open(\"/lib/ld-linux.so.2\", O_RDONLY)    = 4
read(4, \"\\177ELF\\1\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\3\\0\\1\\0\\0\\0@\\10\\0\\000\"..., 512) = 512
old_mmap(NULL, 110592, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x219000
munmap(0x232000, 8192)                  = 0
old_mmap(0x219000, 99268, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0x219000
mprotect(0x219000, 99268, PROT_READ|PROT_EXEC) = 0
old_mmap(0x232000, 5624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x18000) = 0x232000
mprotect(0x232000, 5624, PROT_READ|PROT_WRITE) = 0
close(4)                                = 0
munmap(0x1000000, 385024)               = 0
brk(0)                                  = 0x813c000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

4
Linux Specific Issues /
« on: April 15, 2006, 06:25:29 pm »
could be something to do with a bad ELF header in the installation binaries..  It could be the 2.4.16 kernel refuses to run binaries with corrupted headers.   What system were these built on?

here\'s the output of file on my FC5 system

file ./PlaneShift_CBV0.3.013.i686.bin
PlaneShift_CBV0.3.013.i686.bin: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size

file ./PlaneShift_CBV0.3.014b.bin
PlaneShift_CBV0.3.014b.bin:     ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size

That just doesn\'t look very \"good\" IMHO.

And I reverified the torrent download.  Also, turning off SELinux does not resolve the issue.

and I am finding no message in any logs as to WHY it is dying.

Pages: [1]