Grant Parnell - EverythingLinux wrote:
Not sure if anyone else has used SuSE 9.3 or SuSE 10 on a Via EPIA MII
with 1.2GHZ CPU but we have a machine here that's segfaulting when running
ssh-keygen for example but runs fine otherwise.

Not shocked.  The VIA chips don't have all the instructions
a Pentium II has, and vendors usually issue the SSH packages
as i686 package because there are significant performance
gains from using the multimedia instructions in the loops
which do crypto.

Use RPM to list all i686 packages and back them out, replacing
them with i586.  Hopefully there will be none.  As you're
getting SIGABORT, not SIGILL, so I don't think you're hitting
an unsupported multimedia instruction.

For SSH as a special case VIA has crypto helper instructions
(code named Padlock).  There are options when compiling SSH
libraries to use this, however only in the most recent releases
of the VIA chips is this useful (the previous versions did DES
with Padlock,  but SSH uses AES).

What seems to be happening in your trace is that SSH is walking
through libraries looking for the crypto hardware and GLIBC
blows up, typically because it has been handed a 0-valued
pointer.  Next step: install the debugging version of SSH, run
ssh-keygen from gdb and backtrace the stack.  Look at the
source and fix the foolish error you'll find (probably handing
a zero-valued pointer to a directory listing function).

C) Would anyone like to try to fix it for a credit voucher at ELX?

Bit hard without the particular hardware (as the bug seems
related to the search for the Padlock function).  Why not
configure it for serial console, attach it to a terminal
server and re-issue your offer?

<http://www.logix.cz/michal/devel/padlock/>
<http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=108860967904667>
<http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=113245827112591&w=2>

--
 Glen Turner         Tel: (08) 8303 3936 or +61 8 8303 3936
 Australia's Academic & Research Network  www.aarnet.edu.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to