bug#31268: 'guix system vm-image' hangs

2018-05-23 Thread Ludovic Courtès
Bah, it turns out virtio-rng was simply not enabled, so commit d282388789a21ae031035e9fd8e94a72463d0c96 fixes that. Done! Ludo'.

bug#31268: 'guix system vm-image' hangs

2018-05-23 Thread Ludovic Courtès
Hi Mark, Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> I was looking at the wrong code: we’re using libuuid from util-linux, >> which in turn uses getrandom(2). Since it doesn’t pass the >> GRND_NONBLOCK flag, it ends up blocking forever because too little >> entropy is a

bug#31268: 'guix system vm-image' hangs

2018-05-22 Thread Mark H Weaver
Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: > I was looking at the wrong code: we’re using libuuid from util-linux, > which in turn uses getrandom(2). Since it doesn’t pass the > GRND_NONBLOCK flag, it ends up blocking forever because too little > entropy is available in the VM. > > The f

bug#31268: 'guix system vm-image' hangs

2018-05-22 Thread Efraim Flashner
On Tue, May 22, 2018 at 06:23:35PM +0200, Ludovic Courtès wrote: > Hello! > > (+Cc: Leo for randomness input.) > > Another approach I looked at was to seed the VM’s PRNG from /dev/hwrng, > which I thought was connected to the host via ‘virtio-rng-pci’, but I > get ENODEV while trying to read f

bug#31268: 'guix system vm-image' hangs

2018-05-22 Thread Ludovic Courtès
Hello! (+Cc: Leo for randomness input.) l...@gnu.org (Ludovic Courtès) skribis: > Clément Lassieur skribis: > >> Mark H Weaver writes: > > [...] > >>> I suggest doing a git bisect on the 4.16.y branch of the linux-stable >>> git repository, between the 4.16.3 and 4.16.4 tags. >> >> I did it, h

bug#31268: 'guix system vm-image' hangs

2018-05-18 Thread Ludovic Courtès
Clément Lassieur skribis: > Ludovic Courtès writes: > >> Hi! >> >> Clément Lassieur skribis: >> >>> Mark H Weaver writes: >> >> [...] >> I suggest doing a git bisect on the 4.16.y branch of the linux-stable git repository, between the 4.16.3 and 4.16.4 tags. >>> >>> I did it, here is

bug#31268: 'guix system vm-image' hangs

2018-05-18 Thread Clément Lassieur
Ludovic Courtès writes: > Hi! > > Clément Lassieur skribis: > >> Mark H Weaver writes: > > [...] > >>> I suggest doing a git bisect on the 4.16.y branch of the linux-stable >>> git repository, between the 4.16.3 and 4.16.4 tags. >> >> I did it, here is the result: > > Impressive, thanks a lot!

bug#31268: 'guix system vm-image' hangs

2018-05-18 Thread Ludovic Courtès
Hi! Clément Lassieur skribis: > Mark H Weaver writes: [...] >> I suggest doing a git bisect on the 4.16.y branch of the linux-stable >> git repository, between the 4.16.3 and 4.16.4 tags. > > I did it, here is the result: Impressive, thanks a lot! Did you have a script to do that or somethi

bug#31268: 'guix system vm-image' hangs

2018-05-18 Thread Clément Lassieur
Hi, Mark H Weaver writes: > l...@gnu.org (Ludovic Courtès) writes: > >> Mark H Weaver skribis: >> >>> FYI, I just pushed commit 8c21c64e59d3f4d223d8aeef91f06fdde7de1ab7 which >>> updates linux-libre to 4.16.6. Would you like to see if the problem >>> still persists? >> >> It does. > > I sugges

bug#31268: 'guix system vm-image' hangs

2018-04-30 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver skribis: > >> FYI, I just pushed commit 8c21c64e59d3f4d223d8aeef91f06fdde7de1ab7 which >> updates linux-libre to 4.16.6. Would you like to see if the problem >> still persists? > > It does. I suggest doing a git bisect on the 4.16.y branch

bug#31268: 'guix system vm-image' hangs

2018-04-30 Thread Ludovic Courtès
Hello Mark, Mark H Weaver skribis: > FYI, I just pushed commit 8c21c64e59d3f4d223d8aeef91f06fdde7de1ab7 which > updates linux-libre to 4.16.6. Would you like to see if the problem > still persists? It does. I instrumented the code to see what happens. Opening /dev/vda works fine, invoking “p

bug#31268: 'guix system vm-image' hangs

2018-04-30 Thread Mark H Weaver
George myglc2 Clemmer writes: > On 04/26/2018 at 03:37 Eric Bavier writes: > >> Hi George, >> >> I've seen the same lately with 'guix system vm': >> >> On Wed, 25 Apr 2018 21:39:30 -0400 >> George myglc2 Clemmer wrote: >> >>> 'guix system vm-image' hangs on guix (GNU Guix) 0.14.0.4439-eb88e buil

bug#31268: 'guix system vm-image' hangs

2018-04-26 Thread Ludovic Courtès
Hello, George myglc2 Clemmer skribis: > Thank you Eric! Actually I meant to send it to bug-guix@gnu.org > before. Here is something that fails here. > > guix system vm-image --image-size=10G sysi19.scm As of 37b9be5878d1694967a41d313de97f7a957df120 I see that ‘guix system vm’ or “make check-sys

bug#31268: 'guix system vm-image' hangs

2018-04-25 Thread George myglc2 Clemmer
On 04/26/2018 at 03:37 Eric Bavier writes: > Hi George, > > I've seen the same lately with 'guix system vm': > > On Wed, 25 Apr 2018 21:39:30 -0400 > George myglc2 Clemmer wrote: > >> 'guix system vm-image' hangs on guix (GNU Guix) 0.14.0.4439-eb88e built >> from source today. Please see log exce