ping : segmentation fault
Hi All
Please can someone help me. I am running SuSE 10.1. When i try to ping, i get "Segmentation fault" I can't even ping localhost but i can browse the net and receive mail. I was trying to install a USB wireless device with ndiswrapper but have unsinstalled those drivers now. could someone perhaps tell me how to fix this. Thanks in advance. |
Try
1) ldd /bin/ping If you get some "not found" then its the cause. 2) strace -f /bin/ping localhost This will trace every operation and thus produce a lot of output, probably the last line where the segfault occurs can help. |
Thank you kindly for your reply
This is what i get... Carl-LT:~ # ldd /bin/ping linux-gate.so.1 => (0xffffe000) libresolv.so.2 => /lib/libresolv.so.2 (0xb7ebf000) libc.so.6 => /lib/libc.so.6 (0xb7d9f000) /lib/ld-linux.so.2 (0xb7eeb000) Carl-LT:~ # strace -f /bin/ping localhost execve("/bin/ping", ["/bin/ping", "localhost"], [/* 86 vars */]) = -1 ENOEXEC (Exec format error) --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Process 6178 detached Carl-LT:~ # :confused: I'm kinda new to all this, could you perhaps explain what this means? |
Quote:
So, before ndiswrapper it was working? You have to revert _all_ what you did. Do you have something called binfmt installed? Try to remove it. Probably some important things have been modified by this ndiswrapper. No clue really why this ENOEXEC comes here on certain binary. You said other binaries were working right? For additionnal info, can you give the result of this: ls -la /bin/ping mount | grep "/ " ll -tr /lib/ | tail These probably won't help but who knows.. |
Your ping binary is corrupted. You can restore it by reinstalling the iputils RPM package.
|
Thanks alot guys. Your replies have been very helpful.
I sorted the problem out by reinstalling iputils. LOL, but once i did that my wireless didnt want to work with ndiswrapper again. When i did get ndiswrapper working again, the segmentation fault came back. Why cant we all just...GETALONG!!! :cry: |
What do you do in order to use ndiswrapper?
|
I need to use ndiswrapper to load my netgear WG111T.
:cool: |
I mean, you may be making some mistake when setting up ndiswrapper. How do you set it up?
|
I'm doing this from memory, so lets see...
ndiswrapper -i <driver name>.inf ndiswrapper -l (to check) modprobe ndiswrapper then i can see the device is activated cuz the light comes on. but then when i try to connect to the network available, the knetwork manager get's to 28% and them bombs out. I've yet to sit and mess around with this some more.... |
What version ndiswrapper are you using?
You can try downloading and installing the newest version. |
I'll google to see what the latest version is, but this is the one i have.
Carl-LT:~ # rpm -q ndiswrapper ndiswrapper-1.10-19 Carl-LT:~ # Carl-LT:~ # ndiswrapper -v utils version: 1.7 driver version: 1.10 vermagic: 2.6.16.21-0.13-bigsmp SMP 586 REGPARM gcc-4.1 Carl-LT:~ # |
1.43
http://sourceforge.net/project/showf...group_id=93482 You might want to erase your ndiswrapper first, and make sure ping works. Then compile the ndiswrapper source(assuming you installed c compilers) |
i'll google the latest version, but this is what i have.
Carl-LT:~ # rpm -q ndiswrapper ndiswrapper-1.10-19 Carl-LT:~ # |
All times are GMT -5. The time now is 09:59 AM. |