From: Marius Bakke <mbakke@fastmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>, guix-devel <guix-devel@gnu.org>
Subject: Re: Planning for the next release
Date: Sat, 20 May 2017 21:40:55 +0200 [thread overview]
Message-ID: <87vaov5naw.fsf@fastmail.com> (raw)
In-Reply-To: <87shjz5zmg.fsf@gnu.org>
[-- Attachment #1.1: Type: text/plain, Size: 5999 bytes --]
Ludovic Courtès <ludo@gnu.org> writes:
> Hi again!
>
> I build the installation image with from commit
> 96afb480f8165a315a69b1dd3a031e053044d3b2:
>
> ./pre-inst-env guix system disk-image --image-size=1.2G gnu/system/install.scm -K
>
> and then ran QEMU on that image:
>
> qemu-system-x86_64 -enable-kvm -serial stdio \
> -net nic,model=virtio -net user /tmp/t.qcow
>
> but that failed with:
>
> --8<---------------cut here---------------start------------->8---
> [ 0.664746] RAMDISK: Couldn't find valid RAM disk image starting at 0.
> [ 0.665664] List of all partitions:
> [ 0.666117] 0100 65536 ram0
> [ 0.666118] (driver?)
> [ 0.666865] 0101 65536 ram1
> [ 0.666865] (driver?)
> [ 0.667602] 0102 65536 ram2
> [ 0.667602] (driver?)
> [ 0.668354] 0103 65536 ram3
> [ 0.668355] (driver?)
> [ 0.669062] 0104 65536 ram4
> [ 0.669063] (driver?)
> [ 0.669931] 0105 65536 ram5
> [ 0.669932] (driver?)
> [ 0.670675] 0106 65536 ram6
> [ 0.670675] (driver?)
> [ 0.671383] 0107 65536 ram7
> [ 0.671384] (driver?)
> [ 0.673712] 0108 65536 ram8
> [ 0.673716] (driver?)
> [ 0.675340] 0109 65536 ram9
> [ 0.675341] (driver?)
> [ 0.676810] 010a 65536 ram10
> [ 0.676812] (driver?)
> [ 0.677862] 010b 65536 ram11
> [ 0.677863] (driver?)
> [ 0.678739] 010c 65536 ram12
> [ 0.678740] (driver?)
> [ 0.679441] 010d 65536 ram13
> [ 0.679441] (driver?)
> [ 0.680144] 010e 65536 ram14
> [ 0.680145] (driver?)
> [ 0.680902] 010f 65536 ram15
> [ 0.680903] (driver?)
> [ 0.681675] 0800 1258291 sda
> [ 0.681676] driver: sd
> [ 0.682435] 0801 1207091 sda1 897ff0a1-01
> [ 0.682436]
> [ 0.683158] 0802 40960 sda2 897ff0a1-02
> [ 0.683159]
> [ 0.683872] 0b00 1048575 sr0
> [ 0.683873] driver: sr
> [ 0.684558] No filesystem could mount root, tried:
> [ 0.684559] ext3
> [ 0.685052] ext2
> [ 0.685253] ext4
> [ 0.685449] vfat
> [ 0.685645]
> [ 0.686013] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
> [ 0.686831] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-gnu #1
> [ 0.687689] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.10.2-0-g5f4c7b1-prebuilt.qemu-project.org 04/01/2014
> [ 0.690057] Call Trace:
> [ 0.690475] dump_stack+0x63/0x90
> [ 0.690970] panic+0xe4/0x22d
> [ 0.691426] mount_block_root+0x27c/0x2bf
> [ 0.692042] mount_root+0x65/0x68
> [ 0.692424] prepare_namespace+0x16a/0x1a2
> [ 0.692872] kernel_init_freeable+0x1f3/0x21c
> [ 0.693348] ? rest_init+0x80/0x80
> [ 0.693720] kernel_init+0xe/0x100
> [ 0.694069] ret_from_fork+0x2c/0x40
> [ 0.694548] Kernel Offset: 0x2f000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
> [ 0.695494] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
> --8<---------------cut here---------------end--------------->8---
It looks like the initrd is becoming obese. Adding "-m 168M" makes it
boot (qemu defaults to 128MiB). Not sure what to do about it.
> Likewise, “make check-system TESTS=basic” fails like this:
>
> --8<---------------cut here---------------start------------->8---
> environment variable `PATH' set to `/gnu/store/445x4k15v3mlym7n0i1irqyiih0hxr1f-qemu-minimal-2.9.0/bin:/gnu/store/ddpg6rlr5f3xv8fjh8812ll9g584x51z-parted-3.2/sbin:/gnu/store/bdzxdpdw25k8v6lz54clz42bilx47srj-grub-2.02/bin:/gnu/store/bdzxdpdw25k8v6lz54clz42bilx47srj-grub-2.02/sbin:/gnu/store/jh49klm0gkns071jsa8f9jr7g3cdlfwz-e2fsprogs-1.43.4/bin:/gnu/store/jh49klm0gkns071jsa8f9jr7g3cdlfwz-e2fsprogs-1.43.4/sbin:/gnu/store/82kq5zzq9d7rsq0d9rjppp3528p4cg72-dosfstools-4.1/sbin:/gnu/store/z763jk8lkragpz2qr2wbrz946lgalx2h-sed-4.4/bin:/gnu/store/87sj03j9kwzhl9zr76gs2i8ill86ki95-grep-3.0/bin:/gnu/store/6908gy3pws0ccys49ni98idwnicchlr2-coreutils-8.26/bin:/gnu/store/gdgrzf1y15scqwk1yzm51dc40g29vad9-findutils-4.6.0/bin:/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/bin'
> creating partition table with 2 partitions...
> parted: invalid option -- '1'
> parted: invalid option -- '9'
> parted: invalid option -- '9'
> parted: invalid option -- '2'
> parted: invalid option -- '2'
> parted: invalid option -- '9'
> parted: invalid option -- '4'
> parted: invalid option -- '4'
> parted: invalid option -- 'B'
> parted: invalid option -- '1'
> parted: invalid option -- '9'
> parted: invalid option -- '9'
> parted: invalid option -- '2'
> parted: invalid option -- '2'
> parted: invalid option -- '4'
> parted: invalid option -- '3'
> parted: invalid option -- '2'
> parted: invalid option -- 'B'
> Usage: parted [-hlmsv] [-a<align>] [DEVICE [COMMAND [PARAMETERS]]...]
> ERROR: In procedure scm-error:
> ERROR: failed to create partition table
>
> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
> [ 1.032767] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
> --8<---------------cut here---------------end--------------->8---
OMG. I've ran the other system tests, but somehow missed "basic". Oops!
Anyway, the problem is that the parted script gets a negative size for
TESTS=basic:
creating partition table with 2 partitions...
DEBUG: (mkpart primary ext2 1048576B -19922944B set 1 boot on mkpart primary ext2 -19922432B 22020608B set 2 esp on)
The attached commit fixes it; although there are other default sizes in
(gnu system vm) that may need adjustment after
ecf5d5376979fadd971559367bf553df89fcc62b.
Currently running *all* system tests, but it's going to take a while!
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-vm-Increase-default-disk-sizes-to-account-for-ESP-pa.patch --]
[-- Type: text/x-patch, Size: 1260 bytes --]
From 4b012ae4a9be9b6fe566dc003197c740e5e35a86 Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@fastmail.com>
Date: Sat, 20 May 2017 21:28:20 +0200
Subject: [PATCH] vm: Increase default disk sizes to account for ESP partition.
Fixes a test regression introduced by ecf5d5376979fadd971559367bf553df89fcc62b.
* gnu/system/vm.scm (system-qemu-image/shared-store-script): 30MiB -> 70MiB.
---
gnu/system/vm.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index d282ba557..ad5e6b75b 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -499,7 +499,7 @@ with '-virtfs' options for the host file systems listed in SHARED-FS."
(mappings '())
full-boot?
(disk-image-size
- (* (if full-boot? 500 30)
+ (* (if full-boot? 500 70)
(expt 2 20))))
"Return a derivation that builds a script to run a virtual machine image of
OS that shares its store with the host.
--
2.13.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2017-05-20 19:41 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 12:37 Planning for the next release Ludovic Courtès
2017-03-31 13:57 ` ng0
2017-03-31 16:25 ` Ludovic Courtès
2017-03-31 16:33 ` ng0
2017-03-31 23:07 ` Leo Famulari
2017-04-01 7:24 ` ng0
2017-04-04 10:39 ` Ricardo Wurmus
2017-05-20 8:40 ` Ludovic Courtès
2017-05-20 10:51 ` Ricardo Wurmus
2017-05-20 12:15 ` Ludovic Courtès
2017-05-20 21:45 ` Ricardo Wurmus
2017-05-20 22:29 ` Ludovic Courtès
2017-05-20 15:14 ` Ludovic Courtès
2017-05-20 19:40 ` Marius Bakke [this message]
2017-05-20 21:40 ` Marius Bakke
2017-05-20 22:32 ` Ludovic Courtès
2017-05-20 23:18 ` Ludovic Courtès
2017-05-20 21:42 ` Ricardo Wurmus
2017-04-02 22:13 ` Marius Bakke
2017-04-03 8:23 ` Ludovic Courtès
2017-04-17 20:41 ` UEFI support in boot image Marius Bakke
2017-04-19 20:26 ` Ludovic Courtès
2017-04-19 21:43 ` Marius Bakke
2017-05-05 20:54 ` Ludovic Courtès
2017-05-06 14:49 ` Marius Bakke
2017-05-07 14:42 ` Marius Bakke
2017-04-03 0:28 ` Planning for the next release Leo Famulari
2017-04-03 8:26 ` Ludovic Courtès
2017-04-03 17:52 ` Leo Famulari
2017-04-04 11:56 ` Ludovic Courtès
2017-04-21 22:27 ` Ludovic Courtès
2017-04-21 22:33 ` Leo Famulari
2017-04-27 12:40 ` Ricardo Wurmus
2017-05-11 9:00 ` Ludovic Courtès
2017-05-12 5:45 ` Ricardo Wurmus
2017-05-12 12:13 ` Hartmut Goebel
2017-05-12 15:25 ` Ludovic Courtès
2017-05-12 18:50 ` Ricardo Wurmus
[not found] ` <CAFtzXzMOGmQ6PKxarkmAKENR0EkWsfVoN7qdUjsnvZ6fgrAdTA@mail.gmail.com>
[not found] ` <CAFtzXzO7+7nO0XF0xDWktoApobNwVyHSg_1q6Z2hmeLc6czf4w@mail.gmail.com>
[not found] ` <CAFtzXzMBqiHBhusVx651nm1xH+XvacLKeuDDZ-iaMzx7FawyhA@mail.gmail.com>
2017-05-12 18:18 ` Fwd: " Manolis Ragkousis
2017-05-13 7:06 ` Ricardo Wurmus
2017-05-12 18:04 ` Leo Famulari
2017-05-12 21:04 ` ng0
2017-05-13 13:59 ` Ludovic Courtès
2017-05-13 14:20 ` Vincent Legoll
2017-05-14 19:14 ` Leo Famulari
2017-05-14 20:19 ` Leo Famulari
2017-05-15 1:52 ` Leo Famulari
2017-05-15 12:44 ` Ludovic Courtès
2017-05-16 14:41 ` sirgazil
2017-05-16 18:17 ` Leo Famulari
2017-05-16 18:19 ` Leo Famulari
2017-05-17 0:51 ` sirgazil
2017-05-17 3:02 ` Leo Famulari
2017-05-17 8:29 ` Ludovic Courtès
2017-05-16 17:12 ` Alex Kost
2017-05-16 23:03 ` Leo Famulari
2017-05-17 12:38 ` Ludovic Courtès
2017-05-17 18:20 ` Leo Famulari
2017-05-22 11:49 ` Building the web site Ludovic Courtès
2017-05-21 13:04 ` Planning for the next release Ricardo Wurmus
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vaov5naw.fsf@fastmail.com \
--to=mbakke@fastmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.