Skip to contentSkip to conversation

2019.02-rc1 doesn't boot properly

Buildroot Andy Shevchenko 2 participants 4 messages Feb 20, 2019 – Feb 22, 2019

lore
Share & tools
lore
#0 lore raw

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?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#1 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Andy" == Andy Shevchenko <[email protected]> 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.

Quoted 6 lines

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.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 14 lines · Peter Korsgaard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Andy" == Andy Shevchenko <[email protected]> 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.

Quoted 6 lines

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?

Quoted 3 lines

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).

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Andy" == Andy Shevchenko <[email protected]> writes:

Hi,

Quoted 5 lines
Quoted 3 lines

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.

Signature · 1 line
Bye, Peter Korsgaard