Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] ssh-keygen seg fault
Date: Fri, 14 Jan 2011 18:19:20 +0100	[thread overview]
Message-ID: <20110114181920.59ba8b8b@surf> (raw)
In-Reply-To: <AANLkTi=kVHeatBJ1G2wZsX1ww-FOV0qb5Vtf5rxXNneL@mail.gmail.com>

Hi Kyle,

On Fri, 14 Jan 2011 09:00:16 -0800
Kyle Hayes <kyle@greenmonitor.com> wrote:

> > Ok, good to know. We don't know if Kyle is using dropbear of the
> > full-fledged openssh. That might make a difference.
> 
> Sorry, it is the full OpenSSH version.  I need to use OpenVPN too, so
> I thought I would try to use the same tools I am currently using.

Ok, good idea.

> >> I think it does.
> 
> I am sure of it.  I can run Ubuntu 8.04 on the box with only a custom
> kernel.  Everything else is completely stock from Ubuntu 8.04.  As far
> as I know, Ubuntu is configured (or was) for either a 486 or a Pentium
> when you run it as stock for x86.

Ok.

> > Ok, great.
> 
> See above.  I am not sure what Ubuntu 8.04 assumes, but I'm fairly
> sure it is not using software FPU.

Yes, definitely.

> I am currently using a custom distro based on Ubuntu 8.04 with as many
> packages trimmed as I can easily do.  This still makes the base CF
> card image more than 400MB.  Buildroot is making a base image of about
> 6MB.  I intend to use extlinux' ability to concatenate multiple
> initramfs files to keep our software (which revs fairly often)
> separate from OpenVPN config (which doesn't change too often) separate
> from the core root filesystem.

Sounds good. Didn't know that extlinux was able to do this kind of
things. By the way, do you build extlinux with Buildroot or separatly ?
If built with Buildroot, does it work ? Is there anything we should
improve on that side ?

> I will try dropbear and see if that works any better.  OpenSSH works
> fine out-of-the box for the Ubuntu 8.04 version so I'm suspicious that
> it is something about the way it is built or with the current version
> of OpenSSH.

Yes, it's definitely something wrong in the build process, and it'd be
great to sort it out.

Would you mind running ssh-keygen under gdbserver+cross-gdb as
suggested in my first e-mail ? Or run "ulimit -c unlimited" on your
board, get ssh-keygen to crash, and then transfer the core file to your
development workstation, and get a backstrace with the cross-gdb. That
would immediatly point us to the segfault location, which would really,
really help in understanding what the issue is.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2011-01-14 17:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-13 21:29 [Buildroot] ssh-keygen seg fault Kyle Hayes
2011-01-14  8:07 ` Thomas Petazzoni
2011-01-14  9:24   ` Will Moore
2011-01-14  9:40     ` Thomas Petazzoni
2011-01-14 17:00       ` Kyle Hayes
2011-01-14 17:19         ` Thomas Petazzoni [this message]
2011-01-14 19:29           ` Kyle Hayes
2011-01-14 21:04             ` Michael S. Zick
2011-01-14 22:04               ` Kyle Hayes
2011-01-14 22:07             ` Kyle Hayes
2011-01-17 22:23           ` Kyle Hayes
2011-01-18  0:12             ` Kyle Hayes
2011-01-19 10:29             ` Peter Korsgaard
2011-01-19 17:50               ` Kyle Hayes
2011-01-19 19:14                 ` Peter Korsgaard
2011-01-19 19:21                   ` Kyle Hayes
2011-01-20 16:49                     ` Kyle Hayes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110114181920.59ba8b8b@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox