Re: [uml-user] ssh can't obtain random bytes

2008-06-25 Thread Benedict Verheyen
Benedict Verheyen wrote: > Benedict Verheyen wrote: >> Jeff Dike wrote: >>> On Wed, Jun 18, 2008 at 09:51:38AM +0200, Laurent Wandrebeck wrote: Random patches are still in place. I'm wondering why this does not work... Jeff, any idea ? >>> Is it dumping messages about not being able to ge

Re: [uml-user] ssh can't obtain random bytes

2008-06-25 Thread Benedict Verheyen
Benedict Verheyen wrote: > Jeff Dike wrote: >> On Wed, Jun 18, 2008 at 09:51:38AM +0200, Laurent Wandrebeck wrote: >>> Random patches are still in place. I'm wondering why this does not work... >>> Jeff, any idea ? >> Is it dumping messages about not being able to get enough entropy? >> >> If you s

Re: [uml-user] ssh can't obtain random bytes

2008-06-20 Thread Benedict Verheyen
Jeff Dike wrote: > On Wed, Jun 18, 2008 at 09:51:38AM +0200, Laurent Wandrebeck wrote: >> Random patches are still in place. I'm wondering why this does not work... >> Jeff, any idea ? > > Is it dumping messages about not being able to get enough entropy? > > If you strace UML on the host, do you

Re: [uml-user] ssh can't obtain random bytes

2008-06-18 Thread Jeff Dike
On Wed, Jun 18, 2008 at 09:51:38AM +0200, Laurent Wandrebeck wrote: > Random patches are still in place. I'm wondering why this does not work... > Jeff, any idea ? Is it dumping messages about not being able to get enough entropy? If you strace UML on the host, do you see it trying to get entropy

Re: [uml-user] ssh can't obtain random bytes

2008-06-18 Thread Laurent Wandrebeck
2008/6/17 Laurent Wandrebeck <[EMAIL PROTECTED]>: >> >> However, i'm back to where i started as ssh isn't working, with or >> without the rngd tool. >> Hardware random option is set in the kernke: CONFIG_UML_RANDOM=y > H, will take a look tonight at what happened to random fixes by Jeff. > Rega

Re: [uml-user] ssh can't obtain random bytes

2008-06-17 Thread Laurent Wandrebeck
2008/6/17 Benedict Verheyen <[EMAIL PROTECTED]>: > Laurent Wandrebeck wrote: >> Ok, I checked git log, and a couple uml changes sneaked in after 2.6.26-rc6. >> Commits f1ef9167ca4494a8c6d71d0031c73e9c8841eadd and >> 14c8a77e1bbd693446dad297d2ae2dd22f187e4f. >> Either try >> http://kernel.org/pub/l

Re: [uml-user] ssh can't obtain random bytes

2008-06-17 Thread Benedict Verheyen
Laurent Wandrebeck wrote: > Ok, I checked git log, and a couple uml changes sneaked in after 2.6.26-rc6. > Commits f1ef9167ca4494a8c6d71d0031c73e9c8841eadd and > 14c8a77e1bbd693446dad297d2ae2dd22f187e4f. > Either try > http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.26-rc6-git3.bz2 > o

Re: [uml-user] ssh can't obtain random bytes

2008-06-16 Thread Laurent Wandrebeck
2008/6/16 Benedict Verheyen <[EMAIL PROTECTED]>: > > Laurent, > > i downloaded patch 2.6.26-rc6 and applied it to the patch baseline as > specified on the kernel site. This works but when i applied the skas 4 > patch, 2 hunks failed to apply: Ok, I checked git log, and a couple uml changes sneaked

Re: [uml-user] ssh can't obtain random bytes

2008-06-16 Thread Benedict Verheyen
Laurent Wandrebeck wrote: > 2008/6/16 Laurent Wandrebeck <[EMAIL PROTECTED]>: >> Hi Benedict, all, >> >> I've solved the problem, and rebased on a newer linus tree (a bit >> after rc6). git clone >> git://gitorious.org/low-unofficial-linux-uml-hacking-tree/mainline.git >> I've deleted the previous

Re: [uml-user] ssh can't obtain random bytes

2008-06-16 Thread Laurent Wandrebeck
2008/6/16 Laurent Wandrebeck <[EMAIL PROTECTED]>: > Hi Benedict, all, > > I've solved the problem, and rebased on a newer linus tree (a bit > after rc6). git clone > git://gitorious.org/low-unofficial-linux-uml-hacking-tree/mainline.git > I've deleted the previous repo which was becoming messy. Hop

Re: [uml-user] ssh can't obtain random bytes

2008-06-16 Thread Laurent Wandrebeck
Hi Benedict, all, I've solved the problem, and rebased on a newer linus tree (a bit after rc6). git clone git://gitorious.org/low-unofficial-linux-uml-hacking-tree/mainline.git I've deleted the previous repo which was becoming messy. Hope that one will last longer. Compile tested (on i386), and st

Re: [uml-user] ssh can't obtain random bytes

2008-06-13 Thread Laurent Wandrebeck
2008/6/12 Benedict Verheyen <[EMAIL PROTECTED]>: > Benedict Verheyen schreef: >> Laurent Wandrebeck wrote: >> >>> OK, silly me. I've (at last) finished to port the beast. >>> Compile tested on x86_64. >>> you can git clone >>> git://gitorious.org/my-unofficial-linux-uml-tree/mainline.git or git >>

Re: [uml-user] ssh can't obtain random bytes

2008-06-11 Thread Benedict Verheyen
Benedict Verheyen schreef: > Laurent Wandrebeck wrote: > >> OK, silly me. I've (at last) finished to port the beast. >> Compile tested on x86_64. >> you can git clone >> git://gitorious.org/my-unofficial-linux-uml-tree/mainline.git or git >> clone http://git.gitorious.org/my-unofficial-linux-uml-t

Re: [uml-user] ssh can't obtain random bytes

2008-06-09 Thread Benedict Verheyen
Laurent Wandrebeck wrote: > OK, silly me. I've (at last) finished to port the beast. > Compile tested on x86_64. > you can git clone > git://gitorious.org/my-unofficial-linux-uml-tree/mainline.git or git > clone http://git.gitorious.org/my-unofficial-linux-uml-tree/mainline.git > Laurent. Hi, i

Re: [uml-user] ssh can't obtain random bytes

2008-06-09 Thread Laurent Wandrebeck
2008/6/8 Laurent Wandrebeck <[EMAIL PROTECTED]>: > 2008/6/8 Laurent Wandrebeck <[EMAIL PROTECTED]>: >> 2008/6/8 Laurent Wandrebeck <[EMAIL PROTECTED]>: >>> 2008/6/8 Laurent Wandrebeck <[EMAIL PROTECTED]>: 2008/6/8 Benedict Verheyen <[EMAIL PROTECTED]>: > Benedict Verheyen schreef: >> >

Re: [uml-user] ssh can't obtain random bytes

2008-06-08 Thread Laurent Wandrebeck
2008/6/8 Laurent Wandrebeck <[EMAIL PROTECTED]>: > 2008/6/8 Laurent Wandrebeck <[EMAIL PROTECTED]>: >> 2008/6/8 Laurent Wandrebeck <[EMAIL PROTECTED]>: >>> 2008/6/8 Benedict Verheyen <[EMAIL PROTECTED]>: Benedict Verheyen schreef: > > Jeff, > > i googled for this patch and saw

Re: [uml-user] ssh can't obtain random bytes

2008-06-08 Thread Laurent Wandrebeck
2008/6/8 Laurent Wandrebeck <[EMAIL PROTECTED]>: > 2008/6/8 Laurent Wandrebeck <[EMAIL PROTECTED]>: >> 2008/6/8 Benedict Verheyen <[EMAIL PROTECTED]>: >>> Benedict Verheyen schreef: Jeff, i googled for this patch and saw that it was commited in 2.6.26.rc2. Does that mean th

Re: [uml-user] ssh can't obtain random bytes

2008-06-08 Thread Laurent Wandrebeck
2008/6/8 Laurent Wandrebeck <[EMAIL PROTECTED]>: > 2008/6/8 Benedict Verheyen <[EMAIL PROTECTED]>: >> Benedict Verheyen schreef: >>> >>> Jeff, >>> >>> i googled for this patch and saw that it was commited in 2.6.26.rc2. >>> Does that mean that i need to compile a new 2.6.26.rc2 kernel or a new >>>

Re: [uml-user] ssh can't obtain random bytes

2008-06-08 Thread Laurent Wandrebeck
2008/6/8 Benedict Verheyen <[EMAIL PROTECTED]>: > Benedict Verheyen schreef: >> >> Jeff, >> >> i googled for this patch and saw that it was commited in 2.6.26.rc2. >> Does that mean that i need to compile a new 2.6.26.rc2 kernel or a new >> 2.6.26.rc2 guest kernel or both ? >> >> Also, when i have

Re: [uml-user] ssh can't obtain random bytes

2008-06-07 Thread Benedict Verheyen
Benedict Verheyen schreef: > > Jeff, > > i googled for this patch and saw that it was commited in 2.6.26.rc2. > Does that mean that i need to compile a new 2.6.26.rc2 kernel or a new > 2.6.26.rc2 guest kernel or both ? > > Also, when i have compiled a new kernel, do i still need to install > r

Re: [uml-user] ssh can't obtain random bytes

2008-06-05 Thread Jeff Dike
On Thu, Jun 05, 2008 at 06:08:20PM +0200, Benedict Verheyen wrote: > I found an option "Hardware random number generator" in the UML config > that sets CONFIG_UML_RANDOM. > Together with rng-tools and a daemon program rngd, it allows injection > of the hosts entropy into the guests /dev/random. >

Re: [uml-user] ssh can't obtain random bytes

2008-06-05 Thread Benedict Verheyen
I found an option "Hardware random number generator" in the UML config that sets CONFIG_UML_RANDOM. Together with rng-tools and a daemon program rngd, it allows injection of the hosts entropy into the guests /dev/random. Maybe this will solve the problem, i'll try it out. Regards, Benedict -

Re: [uml-user] ssh can't obtain random bytes

2008-06-05 Thread Benedict Verheyen
Cameron Kerr wrote: > If you use -d, chances are it probably doesn't work correctly either, > but by then its already put itself into the background and so you see > it return. > > What does it '/usr/sbin/sshd' pause on when you run it inside strace? > I'm thinking it may be that its pausing

Re: [uml-user] ssh can't obtain random bytes

2008-06-04 Thread Cameron Kerr
If you use -d, chances are it probably doesn't work correctly either, but by then its already put itself into the background and so you see it return. What does it '/usr/sbin/sshd' pause on when you run it inside strace? I'm thinking it may be that its pausing because the system has run out