All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] 2019.02-rc1 doesn't boot properly
@ 2019-02-20 16:32 Andy Shevchenko
  2019-02-21 16:26 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2019-02-20 16:32 UTC (permalink / raw)
  To: buildroot

Hello,

Recently I had tried to boot 2019-02.rc1 on my Intel Edison board (after few
iterations I confirm that the issue somewhere in Buildroot,
since 2018.11.x works with the same configuration), but it went unsuccessfully.

It's a bit hard for me and time consuming to debug right now, though here are
the symptoms. Since I have SSH and network enabled it looks like ssh-keygen
goes to endless wait for entropy / random generator (?) and never becomes back
that prevents to have a shell. Everything from kernel till daemons and modules
works. (I have USB OTG enabled and I see dmesg when I switched USB roles).

Is it known issue?

-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] 2019.02-rc1 doesn't boot properly
  2019-02-20 16:32 [Buildroot] 2019.02-rc1 doesn't boot properly Andy Shevchenko
@ 2019-02-21 16:26 ` Peter Korsgaard
  2019-02-22 16:28   ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2019-02-21 16:26 UTC (permalink / raw)
  To: buildroot

>>>>> "Andy" == Andy Shevchenko <andriy.shevchenko@intel.com> writes:

 > Hello,
 > Recently I had tried to boot 2019-02.rc1 on my Intel Edison board (after few
 > iterations I confirm that the issue somewhere in Buildroot,
 > since 2018.11.x works with the same configuration), but it went unsuccessfully.

 > It's a bit hard for me and time consuming to debug right now, though here are
 > the symptoms. Since I have SSH and network enabled it looks like ssh-keygen
 > goes to endless wait for entropy / random generator (?) and never becomes back
 > that prevents to have a shell. Everything from kernel till daemons and modules
 > works. (I have USB OTG enabled and I see dmesg when I switched USB roles).
 > Is it known issue?

Not that I am aware of. Are you using the same kernel version as for
2018.11? The kernel recently(-ish) changed the way lack of entropy is
handled, leading to hangs / very slow boot.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] 2019.02-rc1 doesn't boot properly
  2019-02-21 16:26 ` Peter Korsgaard
@ 2019-02-22 16:28   ` Andy Shevchenko
  2019-02-22 19:23     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2019-02-22 16:28 UTC (permalink / raw)
  To: buildroot

On Thu, Feb 21, 2019 at 05:26:15PM +0100, Peter Korsgaard wrote:
> >>>>> "Andy" == Andy Shevchenko <andriy.shevchenko@intel.com> writes:
> 
>  > Hello,
>  > Recently I had tried to boot 2019-02.rc1 on my Intel Edison board (after few
>  > iterations I confirm that the issue somewhere in Buildroot,
>  > since 2018.11.x works with the same configuration), but it went unsuccessfully.
> 
>  > It's a bit hard for me and time consuming to debug right now, though here are
>  > the symptoms. Since I have SSH and network enabled it looks like ssh-keygen
>  > goes to endless wait for entropy / random generator (?) and never becomes back
>  > that prevents to have a shell. Everything from kernel till daemons and modules
>  > works. (I have USB OTG enabled and I see dmesg when I switched USB roles).
>  > Is it known issue?
> 
> Not that I am aware of. Are you using the same kernel version as for
> 2018.11? The kernel recently(-ish) changed the way lack of entropy is
> handled, leading to hangs / very slow boot.

Yes, tested with the same kernel (it's external to BR, so, definitely it's the same).

-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] 2019.02-rc1 doesn't boot properly
  2019-02-22 16:28   ` Andy Shevchenko
@ 2019-02-22 19:23     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2019-02-22 19:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Andy" == Andy Shevchenko <andriy.shevchenko@intel.com> writes:

Hi,

 >> Not that I am aware of. Are you using the same kernel version as for
 >> 2018.11? The kernel recently(-ish) changed the way lack of entropy is
 >> handled, leading to hangs / very slow boot.

 > Yes, tested with the same kernel (it's external to BR, so, definitely it's the same).

Ok, can you strace ssh-keygen to see if it indeed is hanging in
getrandom()?

Dropbear btw only creates the host keys on demand, E.G. the first time
you try to ssh to the device, which may allow the device to collect more
entrophy.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-22 19:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-20 16:32 [Buildroot] 2019.02-rc1 doesn't boot properly Andy Shevchenko
2019-02-21 16:26 ` Peter Korsgaard
2019-02-22 16:28   ` Andy Shevchenko
2019-02-22 19:23     ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.