From: ludo@gnu.org (Ludovic Courtès)
To: George myglc2 Clemmer <myglc2@gmail.com>
Cc: Eric Bavier <ericbavier@centurylink.net>, 31268@debbugs.gnu.org
Subject: bug#31268: 'guix system vm-image' hangs
Date: Thu, 26 Apr 2018 16:09:52 +0200 [thread overview]
Message-ID: <87zi1q12kv.fsf@gnu.org> (raw)
In-Reply-To: <877eoua9v1.fsf@gmail.com> (George myglc's message of "Thu, 26 Apr 2018 00:07:46 -0400")
Hello,
George myglc2 Clemmer <myglc2@gmail.com> 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-system TESTS=basic” hang. Specifically, the VM that
creates the image hangs like this:
--8<---------------cut here---------------start------------->8---
Welcome, this is GNU's early boot Guile.
Use '--repl' for an initrd REPL.
loading kernel modules...
[ 0.618457] usbcore: registered new interface driver usb-storage
[ 0.620812] usbcore: registered new interface driver uas
[ 0.626976] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.628093] usbcore: registered new interface driver usbhid
[ 0.628804] usbhid: USB HID core driver
[ 0.635125] isci: Intel(R) C600 SAS Controller Driver - version 1.2.0
[ 0.654740] PCI Interrupt Link [LNKC] enabled at IRQ 11
[ 0.673721] PCI Interrupt Link [LNKD] enabled at IRQ 10
[ 0.693204] PCI Interrupt Link [LNKA] enabled at IRQ 10
[ 0.714857] PCI Interrupt Link [LNKB] enabled at IRQ 11
[ 0.759651] virtio_blk virtio5: [vda] 143360 512-byte logical blocks (73.4 MB/70.0 MiB)
[ 0.765620] FS-Cache: Loaded
[ 0.767868] 9pnet: Installing 9P2000 support
[ 0.768899] 9p: Installing v9fs 9p2000 file system support
[ 0.769556] FS-Cache: Netfs '9p' registered for caching
configuring QEMU networking...
[ 0.780494] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
loading '/gnu/store/d116816xkzfaa7y1d2srvbxy5ip5cm12-linux-vm-loader'...
[ 0.802603] random: fast init done
environment variable `PATH' set to `/gnu/store/1n3cvnxrz1m6jqc09d9m1grbfbs91kmv-qemu-minimal-2.12.0/bin:/gnu/store/h8670f6j1rawhhaz8wvdy5gv79lny0am-parted-3.2/sbin:/gnu/store/nm305rpb2mvridkyj4l3636nc9ql4lf9-e2fsprogs-1.43.6/bin:/gnu/store/nm305rpb2mvridkyj4l3636nc9ql4lf9-e2fsprogs-1.43.6/sbin:/gnu/store/0sq2nflm42x0znkv44add0gk82khkcb6-dosfstools-4.1/sbin:/gnu/store/0hl513mnpkhszm2hjai2w9cxmpxs0vgq-sed-4.4/bin:/gnu/store/1h44pkgdd7n6s3i2vjh54awsvfmc219j-grep-3.1/bin:/gnu/store/kgzvfby2ggi1xawsh5vjh4s93qk2dp9k-coreutils-8.28/bin:/gnu/store/k7r2m2wgj8x8jjhccwjsiimp0dlzxb7i-findutils-4.6.0/bin:/gnu/store/ahxc89r6npzf2bbl8yg5vdjicskzzjf3-gawk-4.1.4/bin'
creating partition table with 2 partitions (20.0 MiB, 40.0 MiB)...
[ 1.344130] tsc: Refined TSC clocksource calibration: 2808.014 MHz
[ 1.345186] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2879d389cc4, max_idle_ns: 440795324601 ns
[ 1.792320] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
--8<---------------cut here---------------end--------------->8---
Reverting ba39d3280759fb20a4ff0092a5afac721a5fa769 (“gnu: linux-libre:
Update to 4.16.4.”) solves the problem for me.
Normally what we see is something like this:
--8<---------------cut here---------------start------------->8---
loading '/gnu/store/4i02v1lvw9nwzcfs5l1il9grhkw17iqm-linux-vm-loader'...
environment variable `PATH' set to `/gnu/store/1n3cvnxrz1m6jqc09d9m1grbfbs91kmv-qemu-minimal-2.12.0/bin:/gnu/store/h8670f6j1rawhhaz8wvdy5gv79lny0am-parted-3.2/sbin:/gnu/store/nm305rpb2mvridkyj4l3636nc9ql4lf9-e2fsprogs-1.43.6/bin:/gnu/store/nm305rpb2mvridkyj4l3636nc9ql4lf9-e2fsprogs-1.43.6/sbin:/gnu/store/0sq2nflm42x0znkv44add0gk82khkcb6-dosfstools-4.1/sbin:/gnu/store/0hl513mnpkhszm2hjai2w9cxmpxs0vgq-sed-4.4/bin:/gnu/store/1h44pkgdd7n6s3i2vjh54awsvfmc219j-grep-3.1/bin:/gnu/store/kgzvfby2ggi1xawsh5vjh4s93qk2dp9k-coreutils-8.28/bin:/gnu/store/k7r2m2wgj8x8jjhccwjsiimp0dlzxb7i-findutils-4.6.0/bin:/gnu/store/ahxc89r6npzf2bbl8yg5vdjicskzzjf3-gawk-4.1.4/bin'
creating partition table with 2 partitions (20.0 MiB, 40.0 MiB)...
Warning: The resulting partition is not properly aligned for best performance.
creating ext4 partition...
mke2fs 1.43.6 (29-Aug-2017)
ext2fs_check_if_mount: Can't check if filesystem is mounted due to missing mtab file while determining whether /dev/vda1 is mounted.
Creating filesystem with 20480 1k blocks and 5136 inodes
Filesystem UUID: bb8da7fb-04b2-437e-887a-f468da978a40
Superblock backups stored on blocks:
8193
Allocating group tables: done
Writing inode tables: done
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: done
[ 0.979292] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
…
--8<---------------cut here---------------end--------------->8---
So it seems that the VM image hangs when trying to run Parted.
Mark, are you aware of anything particular that could explain this?
Perhaps a regression/incompatible change in 9P or virtio?
Ludo’.
next prev parent reply other threads:[~2018-04-26 14:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87604en3u5.fsf@gmail.com>
[not found] ` <20180425223706.22d91e40@centurylink.net>
2018-04-26 4:07 ` 'guix system vm-image' hangs George myglc2 Clemmer
2018-04-26 14:09 ` Ludovic Courtès [this message]
2018-04-30 8:23 ` bug#31268: " Mark H Weaver
[not found] ` <87r2mxw1ax.fsf@netris.org>
2018-04-30 14:18 ` Ludovic Courtès
2018-04-30 16:36 ` Mark H Weaver
2018-05-18 14:22 ` Clément Lassieur
2018-05-18 16:39 ` Ludovic Courtès
2018-05-18 22:03 ` Clément Lassieur
2018-05-18 22:13 ` Ludovic Courtès
2018-05-22 16:23 ` Ludovic Courtès
2018-05-22 18:45 ` Efraim Flashner
2018-05-22 22:55 ` Mark H Weaver
2018-05-23 7:27 ` Ludovic Courtès
2018-05-23 8:23 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zi1q12kv.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=31268@debbugs.gnu.org \
--cc=ericbavier@centurylink.net \
--cc=myglc2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).