View Full Version : Seg Faulting after kernel Updates
Hi, ive just noticed a problem with my Teamspeak server this morning.
Its been running pefectly for about 2 weeks on my Fedora Core 2 Server using the "Linux 2.6.7-1.494.2.2" Fedora kernel.
This morning a new Fedora kernel came out "Linux 2.6.8-1.521".
Now when i try to start the server i get a Seg Fault error, and i have no idea whats causing it.
Can anyone one help ?
[game@gameserve teamspeak2]$ ./teamspeak2-server_startscript start
starting the teamspeak2 server
Runtime error 230 at 0805975D
./teamspeak2-server_startscript: line 92: 2004 Segmentation fault ./server_linux -PID=tsserver2.pid
Server Spec :
Compaq Deskpro
P4b 2.4Ghz
1Ghz PC3200 Ram
Fedora Core 2 Linux - with latest updates as of this morning (20/Aug/2004).
If i missed anything out, please ask and ill come back ASAP.
Thanks in advance.
Kalendrinn
20-08-2004, 14:19
I too am having the same problem. I was using a 2.4.20 kernel and upgraded to the latest Fedora Core 2 kernel. I have also been having problems with my iptables nat table not working. I am wondering if the kernel version is broken. I'll try again with the original Core 2 kernel and see if everything works. If so then it's the kernel itself and you should revert to using the 2.6.7 kernel if you still have it installed(hopefully you do).
Well, when I look back into the past it was never a good idea to use a kernel before revision .10
For production servers I recommend you stick with 2.4 until at least 2.6.10 is out, unless of course you absolutely need 2.6 for some feature.
Yep, same here, the new kernel lets TS crash.
Note: This kernel includes several Execshield cleanups and changes, and as a
result programs that make certain restrictive assumptions about the virtual
address space (such as Wine) need a different workaround than before.
The applications can get the old (legacy) VA layout via the
setarch -L <application>
option when a recent enough serarch application is in use, in addition there
now is a global switch to go to the legacy VA layout:
echo 1 > /proc/sys/vm/legacy_va_layout
Thats from the kernel release notes.
The global switch solution worked for me. setarch didnt seem to understand the -L switch and I'm too lazy to figure out why :).
Note: This kernel includes several Execshield cleanups and changes, and as a
result programs that make certain restrictive assumptions about the virtual
address space (such as Wine) need a different workaround than before.
The applications can get the old (legacy) VA layout via the
setarch -L <application>
option when a recent enough serarch application is in use, in addition there
now is a global switch to go to the legacy VA layout:
echo 1 > /proc/sys/vm/legacy_va_layout
Thats from the kernel release notes.
The global switch solution worked for me. setarch didnt seem to understand the -L switch and I'm too lazy to figure out why :).
It's not a "recent enough" version of setarch :) and "echo 1 > /proc/sys/vm/legacy_va_layout" works but a vanilla 2.6.8.1 Kernel works too, so it must be the Execshield patch from Redhat.
I have the latest kernel too..Then how i need for resolv this? i cant boot to other version, i need run ts with this kernel
Can anyone one help ?
[game@gameserve teamspeak2]$ ./teamspeak2-server_startscript start
starting the teamspeak2 server
Runtime error 230 at 0805975D
./teamspeak2-server_startscript: line 92: 2004 Segmentation fault ./server_linux -PID=tsserver2.pid
My too problem.. :( please help?
@Saxxon & Silvera
Have you read and tested what the guys (jumo & MrQuade) wrote ?
There are many other threads when searching for "segmentation". Use the already given information.
@Saxxon & Silvera
Have you read and tested what the guys (jumo & MrQuade) wrote ?
There are many other threads when searching for "segmentation". Use the already given information.
Doesn't working!
I have search awhole to "segmentation" forum and almost nobody make solved it. BTW I can't read a Germany support.
There have too many old link of www.teamspeak.com/forum/
maybe you should be a little bit more specific about your problem, what doesn't work (why / which error /... ?), what system you are using, kernel, distribution...
We already had too many guys where we had to guess for hours till we found out that the user simply wasn't able to handel the system. How shall we know that you know how to handle the /proc file system ? "It doesn't works" is, to be honest, a noobish answer.
Don't forget, we do not have glass balls to see what error you're runing into => give us more infos.
=> give us more infos.
Runtime error 230 at 0805975D
./teamspeak2-server_startscript: line 92: 23620 Segmentation fault ./server_linux -PID=tsserver2.pid
Alot people have too problem of this code from esac
Server run with Red Hat Fedora Core 2
MarkJohnson
08-10-2004, 05:03
[mark@localhost tss2_rc2]$ ./teamspeak2-server_startscript start
starting the teamspeak2 server
Runtime error 230 at 0805975D
./teamspeak2-server_startscript: line 92: 2708 Segmentation fault ./server_linux -PID=tsserver2.pid
I to get this error, anyone have a fix? I can boot on the old kernel I guess. But I would prefer to use newest one.
Thanks in advance.
-=Mark=-
p.s. almost forgot. I'm running Fedora 2 also. my machine is a 1.33ghz 1500+ AMD Athlon, 40G HD. 256 ram (266mhz), GForce 4 MX440 64mb and built in audio (Biostar M7NCD mobo)
Does the hint from MrQuade in this same thread doesn't help ?
MarkJohnson
08-10-2004, 20:21
sorry, I'm a noob to Linux. only been using it a year or so off and on. but if it did help, I guess I wouldn't of left the message ;) . I'm not too sure how to apply the fix or what any of the other stuff meant. It looks like I might be able to type the echo command on the command like or put it in the start script somewhere. just not sure how to go about it.
I guess I'll try a few trial and errors and see what happens.
Thanks
-=Mark=-
fataldata
07-11-2004, 23:37
Does the hint from MrQuade in this same thread doesn't help ?
It helped me but I did use the "echo 1 > /proc/sys/vm/legacy_va_layout" recomendation on Kernel 2.6.8-1.521
Bob Loblaw
24-06-2005, 19:58
The setarch command worked for me but the syntax in the tip is a bit unclear.
It should be:
setarch <arch> -L <command_that_you_use_to_start_TS2_server>
Where <arch> is that reported by uname -m
... that was using FC3 btw.
blackstone
23-05-2006, 06:19
setarch i386 ./teamspeak2-server_startscript start seemed to do it for me. It also worked wtih the client that way":
setarch i386 ./TeamSpeak
same segment problem
# uname -a
Linux ip-208-109-99-73.ip.secureserver.net 2.6.8-022stab067.1-enterprise #1 SMP Mon Jan 23 20:55:01 MSK 2006 i686 i686 i386 GNU/Linux
Fedora Core release 2 (Tettnang)
-sh-2.05b$ setarch i386 -L ./teamspeak2-server_startscript start
i386: Success
I cant create legacy_va_layout so thats no help.
2.6.11 box works perfect (fc4), this 2.6.8 box refuses to work.
Any ideas?
lermthya
25-06-2006, 12:37
use the following command :
setarch i386 ./teamspeak2-server_startscript start
it's work
fyrmn472
24-07-2006, 03:44
setarch i386 ./teamspeak2-server_startscript start seemed to do it for me. It also worked wtih the client that way":
setarch i386 ./TeamSpeak
same segment problem
You're the man!
tyiping: setarch i386 ./teamspeak2-server_startscript start worked for me too!
Thanks you very much!
Isn't that what our FAQ says?
http://www.goteamspeak.com/index.php?page=faq&id=4&item=50#q50
limeygrendel
25-07-2006, 02:51
Isn't that what our FAQ says?
http://www.goteamspeak.com/index.php?page=faq&id=4&item=50#q50
Yesy, it does. Unfortunately, this isn't working for everyone.
limeygrendel
25-07-2006, 03:15
My system is running:
Linux localhost.localdomain 2.6.8-022stab070.9-enterprise #1 SMP Thu Apr 20 10:48:12 MSD 2006 i686 i686 i386 GNU/Linux
For me, typing this fixed my problem:
setarch i386 -X ./teamspeak2-server_startscript start
It's not exactly what the FAQ says, but it's close. Hopefully this helps anyone else who is having problems.
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.