Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openssh - Floating point exception
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
~L~
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 154
Location: Finland

PostPosted: Tue Mar 09, 2004 7:32 am    Post subject: openssh - Floating point exception Reply with quote

I've got a bit annoying problem with openssh, basically it doesn't work.
I'm using 3.8_p1 and when I try to connect to a server (ssh 1.5), it gives
Code:

Are you sure you want to continue connecting (yes/no)? yes
Floating point exception


I can connect ok, if I boot up from knoppix cd. So I thought this might be amd64 specific problem.

I've actually tried earlier versions also, but I get the same result. Any solutions or advices how could I fix this?
Back to top
View user's profile Send private message
skimitar
n00b
n00b


Joined: 30 Dec 2003
Posts: 20

PostPosted: Tue Mar 09, 2004 8:50 am    Post subject: Reply with quote

Yeah, there is apparently a bug (known) for 64bit x86 CPU's in OpenSSL that produces this.

A patch is available - see http://www.aet.tu-cottbus.de/rt2/Ticket/Display.html?id=821
_________________
"Internet! Is that thing still around? " - HJS
Back to top
View user's profile Send private message
~L~
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 154
Location: Finland

PostPosted: Tue Mar 09, 2004 6:28 pm    Post subject: Reply with quote

Thanks for the help.

But being very new linux user, I have to ask if I did this correctly...

Now I did
emerge unmerge openssh
emerge unmerge openssl

downloaded the latest sources from openssl
fixed bug in openssl-0.9.7c/crypto/bn/asm/x86_64-gcc.c
-> tar -> gzip
cp openssl-0.9.7c.tar.gz /usr/local/src/
cp /usr/portage/dev-libs/openssl/openssl-0.9.7c-r1.ebuild /usr/local/portage/dev-libs/openssl/openssl-0.9.7c-r1.ebuild
edited the mirror to point to my tar.gz
ebuild openssl-0.9.7c-r1.ebuild digest
emerge /usr/local/portage/dev-libs/openssl/openssl-0.9.7c-r1.ebuild
--> error can't find patch
copied *-gentoo.diff patch from portage to similar local directory
- digest again
- emerge
- emerge openssh

If I installed manually with ./configure etc. openssh wouldn't work = or emerge doesn't like it. This way everything seemed to be ok and I don't have to use -nodeps for emerge, except that I get the same error, when I try to connect with ssh. Does this in principle look the way it should have worked?
Back to top
View user's profile Send private message
~L~
Apprentice
Apprentice


Joined: 15 Feb 2004
Posts: 154
Location: Finland

PostPosted: Thu Mar 11, 2004 5:37 am    Post subject: Reply with quote

Well then...Is somebody using ssh/ssl and if, what versions? I would like to test that, since this seems atm to be only my problem.

EDIT: It is working now with the new version. I guess my way of applying that patch was not the standard way :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum