openssh gives segmentation fault

Eric Malkowski eric at bvwireless.net
Sun Mar 5 22:25:38 UTC 2006


I could be way off here, but you're on an EPIA VIA box right?

I wonder if you need to compile for i586 as some older EDEN series cpu
models didn't implement all of the instructions for i686 compatibility.  I
would have expected SIGILL instead of SIGSEGV, but might be worth looking
into.  I think you need at least a model 9 nehemiah processor to compile
for generic i686 (Pentium II or III).  I'm probably wrong here...  but
thought I'd throw out some ideas.

On some VIA Nehemiah 1.0 ghz boards I've got, I'm successfully running
kernels / uclibc configured for PIII processor type.  If there's an
instruction the processor won't handle that PIII has, I haven't hit it yet
:)  Also -- my buildroot is only current as of August, 2005 -- so I'm a
little out of date.  I'm one uClibc rev behind the latest also, but I've
been very stable -- and one other thing, running only kernel 2.4.29... 
Sometime I'll update, but I've been enjoying stability.


> ----- Oorspronkelijk bericht -----
> From: Aurelien Jacobs <aurel at gnuage.org>
> To: uclibc at uclibc.org
> Date: 05-Mar-2006 16:27
> Subject: Re: openssh gives segmentation fault
>
>> On Sun, 05 Mar 2006 14:51:26 +0100
>> "theHog" <uclibc at t3i.nl> wrote:
>>
>> > > On Mar 4, 2006, at 7:27 PM, theHog wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > I've compiled a buildroot enviroment (standard setup via make
>> > > > menuconfig) and
>> > > > included the openssh package. When I boot the system, I can
>> bringup
>> > > > the
>> > > > network and ping some hosts on the internet. However, ssh gives a
>> > > > segmentation fault (all ssh-related commands do: ssh-keygen, sshd,
>> > > > ssh-add,
>> > > > ..) so it seems that there is something wrong with it. Other
>> > > > packages (nano,
>> > > > vi, ifconfig) do work, though.
>> > > >
>> > > > What can be wrong here?
>> > >
>> > > Try an strace to see where it dies.
>> >
>> > strace is attached below.  I suppose that the segfault occurs on
> "ioctl(1,
>> > SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) =
>> 0".
>>
>> I remember of a problem with a similar ioctl when trying to use wget.
>> Try adding the folling options to your uClibc config :
>>
>>   UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
>>   UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
>
> These options are enabled, still ssh crashes :-( Does anyone have openssh
> working on a i686?
>
> Richard
>
>
>




More information about the uClibc mailing list