Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] hang generating DSA keys
@ 2009-05-22 14:25 Chris Bare
  2009-05-24  7:21 ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Bare @ 2009-05-22 14:25 UTC (permalink / raw)
  To: buildroot

This is really odd. I'm using the same buildroot code as I have been for
weeks, but after flashing my latest code to my Atmel ngw100, it hang in the
first boot at this step:

Generating DSA Key...
THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!

Generating public/private dsa key pair.

I let it sit overnight and it never finished. I remember seeing some mention
of this being an entropy problem. I tried pinging the board, but that didn't
seem to help.

Any idea why this would suddenly start with the same basic setup that worked
before?
How do I get it to finish generating the key?
-- 
Chris Bare
chris at bareflix.com

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

* [Buildroot] hang generating DSA keys
  2009-05-22 14:25 Chris Bare
@ 2009-05-24  7:21 ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2009-05-24  7:21 UTC (permalink / raw)
  To: buildroot

>>>>> "Chris" == Chris Bare <chris@bareflix.com> writes:

 Chris> Generating DSA Key...
 Chris> THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!

 Chris> Generating public/private dsa key pair.

 Chris> I let it sit overnight and it never finished. I remember
 Chris> seeing some mention of this being an entropy problem. I tried
 Chris> pinging the board, but that didn't seem to help.

 Chris> Any idea why this would suddenly start with the same basic
 Chris> setup that worked before?  How do I get it to finish
 Chris> generating the key?

Sounds odd - Could you add strace and check what it's busy doing?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] hang generating DSA keys
@ 2009-05-24 18:22 Frank Hoeflich
  2009-05-24 19:03 ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Hoeflich @ 2009-05-24 18:22 UTC (permalink / raw)
  To: buildroot

The entropy mechanism depends on keyboard input - I'd expect it to be waiting for I/O.? If you type some characters it will use them to generate the keys and be on its way.

--Frank

 
        	>Sunday, May 24, 2009 12:21 AM
        	
            
            
            >From: "Peter Korsgaard" <jacmet@uclibc.org>
            
            	
            	
            	
        	
        	>To: "Chris Bare" <chris@bareflix.com>
        	
        	>Cc: buildroot at lists.busybox.net
                >>>>> "Chris" == Chris Bare <chris@bareflix.com> writes:
>
>Chris> Generating DSA Key...
>Chris> THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!
>
>Chris> Generating public/private dsa key pair.
>
>Chris> I let it sit overnight and it never finished. I remember
>Chris> seeing some mention of this being an entropy problem. I tried
>Chris> pinging the board, but that didn't seem to help.
>
>Chris> Any idea why this would suddenly start with the same basic
>Chris> setup that worked before?? How do I get it to finish
>Chris> generating the key?
>
>Sounds odd - Could you add strace and check what it's busy doing?
>
>-- 
>Bye, Peter Korsgaard



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090524/ebeab4d7/attachment.htm>

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

* [Buildroot] hang generating DSA keys
  2009-05-24 18:22 [Buildroot] hang generating DSA keys Frank Hoeflich
@ 2009-05-24 19:03 ` Peter Korsgaard
  2009-06-02 15:52   ` Chris Bare
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2009-05-24 19:03 UTC (permalink / raw)
  To: buildroot

>>>>> "Frank" == Frank Hoeflich <frankhoeflich@yahoo.com> writes:

 Frank> The entropy mechanism depends on keyboard input - I'd expect
 Frank> it to be waiting for I/O.  If you type some characters it will
 Frank> use them to generate the keys and be on its way.

Yes, if the programs are using /dev/random instead of /dev/urandom. Is
this openssh or dropbear? Dropbear uses /dev/urandom by default, but I
don't know what openssh does.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] hang generating DSA keys
  2009-05-24 19:03 ` Peter Korsgaard
@ 2009-06-02 15:52   ` Chris Bare
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Bare @ 2009-06-02 15:52 UTC (permalink / raw)
  To: buildroot

> >>>>> "Frank" == Frank Hoeflich <frankhoeflich@yahoo.com> writes:
> 
>  Frank> The entropy mechanism depends on keyboard input - I'd expect
>  Frank> it to be waiting for I/O.  If you type some characters it will
>  Frank> use them to generate the keys and be on its way.
> 
> Yes, if the programs are using /dev/random instead of /dev/urandom. Is
> this openssh or dropbear? Dropbear uses /dev/urandom by default, but I
> don't know what openssh does.

sorry for the delay in replying. This was openssh. I ended up disabling it for
now since I can do everything I need on the console.

-- 
Chris Bare
chris at bareflix.com

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

end of thread, other threads:[~2009-06-02 15:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-24 18:22 [Buildroot] hang generating DSA keys Frank Hoeflich
2009-05-24 19:03 ` Peter Korsgaard
2009-06-02 15:52   ` Chris Bare
  -- strict thread matches above, loose matches on Subject: below --
2009-05-22 14:25 Chris Bare
2009-05-24  7:21 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox