Displaying 20 results from an estimated 1000 matches similar to: "[PATCH supermin 0/5] Make supermin mini-initrd quieter and faster."
2016 May 16
3
[PATCH supermin] Add support for a DAX root filesystem.
DAX is explained in detail here:
https://lwn.net/Articles/610174/
This patch adds support to supermin for using a DAX root filesystem.
The corresponding libguestfs patches will be posted shortly once I've
tested them a bit more.
This requires qemu >= 2.6.
Unfortunately it's not really a win for a few reasons:
- Requires enabling ACPI, which slows everything down by hundreds of
2020 Apr 01
2
[PATCH] supermin: Fix IBM Virtual SCSI driver name
The driver was renamed from ibmvscsic to ibmvscsi on kernel 3.7.
See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9965c2f19be470c452357ae4f6304467cdeada55
The old name is kept so supermin works with recent kernels as well as kernel
version older than 3.7.
---
src/format_ext2_initrd.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/format_ext2_initrd.ml
2016 Mar 20
2
Re: [PATCH supermin 5/5] init: Drop SCSI modules.
On 03/17/2016 12:07, Richard W.M. Jones wrote:
> Also drop the sr_mod module used by the deprecated guestfs_add_cdrom
> interface.
> ---
> src/ext2_initrd.ml | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/src/ext2_initrd.ml b/src/ext2_initrd.ml
> index 730f806..5e841ea 100644
> --- a/src/ext2_initrd.ml
> +++ b/src/ext2_initrd.ml
> @@ -40,12 +40,7 @@
2016 Feb 17
8
[PATCH supermin 0/2] Allow an alternate libc to be used for init.
v1 -> v2:
- If we split out the init program into a separate init/ directory,
that makes it much easier to build against an alternate libc.
I tried to build against uClibc, but uClibc requires an entire build
chain, which looked like it was going to be a massive ballache.
Rich.
2016 Jul 22
3
[PATCH RFC supermin] ext2_initrd: error out if we can't add anything
From: Chen Hanxiao <chenhanxiao@gmail.com>
If we failed to add something to initrd, just error out.
Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
---
src/ext2_initrd.ml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/ext2_initrd.ml b/src/ext2_initrd.ml
index d4a4e2f..d9a3a99 100644
--- a/src/ext2_initrd.ml
+++ b/src/ext2_initrd.ml
@@ -151,8
2016 Mar 17
0
[PATCH supermin 5/5] init: Drop SCSI modules.
Also drop the sr_mod module used by the deprecated guestfs_add_cdrom
interface.
---
src/ext2_initrd.ml | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/ext2_initrd.ml b/src/ext2_initrd.ml
index 730f806..5e841ea 100644
--- a/src/ext2_initrd.ml
+++ b/src/ext2_initrd.ml
@@ -40,12 +40,7 @@ let kmods = [
"virtio*.ko*";
"libata*.ko*";
"piix*.ko*";
-
2016 Mar 21
1
Re: [PATCH supermin 0/5] Make supermin mini-initrd quieter and faster.
On Mon, Mar 21, 2016 at 07:02:32AM +0100, Kashyap Chamarthy wrote:
> On Thu, Mar 17, 2016 at 10:07:34AM +0000, Richard W.M. Jones wrote:
> > Various patches to make supermin quieter. By outputting fewer
> > messages on the fast path, we use the slow emulated UART less, and
> > this improves boot times.
> >
> > Also remove some kernel modules that we cannot or
2016 Feb 17
2
[PATCH supermin 0/2] Allow an alternate libc to be used for init.
Allow an alternate libc, such as dietlibc, to be used for the init
binary in the supermin appliance.
Rich.
2016 Dec 07
5
[PATCH 0/3] Miscellaneous improvements to supermin.
Document what each module does, using *.mli files.
Remove the --dtb option, it's obsolete.
Rename modules according to their purpose.
Rich.
2016 Feb 18
4
[PATCH 0/3] supermin: miscellaneous cleanups
Hi,
few cleanups in the supermin codebase; no actual functional change.
Thanks,
--
Pino Toscano (3):
ext2: simplify tracking of visited modules
utils: remove unused run_python function
Add and use an helper error function
src/build.ml | 20 +++++-----------
src/dpkg.ml | 4 +---
src/ext2_initrd.ml | 10 ++++----
src/kernel.ml | 27
2016 Mar 21
0
Re: [PATCH supermin 0/5] Make supermin mini-initrd quieter and faster.
On Thu, Mar 17, 2016 at 10:07:34AM +0000, Richard W.M. Jones wrote:
> Various patches to make supermin quieter. By outputting fewer
> messages on the fast path, we use the slow emulated UART less, and
> this improves boot times.
>
> Also remove some kernel modules that we cannot or should not be using,
> which also improves boot times.
Trying to apply this series on current
2016 Jul 21
2
How to debug supermin5 issue?
Hi, Rich:
I met a supermin issue on CentOS 7.1:
supermin: version: 5.1.10
supermin: rpm: detected RPM version 4.11
supermin: package handler: fedora/rpm
supermin: acquiring lock on /root/test/aaa/lock
supermin: build: /usr/lib64/guestfs/supermin.d
supermin: build: visiting /usr/lib64/guestfs/supermin.d/base.tar.gz type gzip base image (tar)
supermin: build: visiting
2016 Jun 14
1
[PATCH supermin] init: Delete initramfs files before chrooting into the appliance.
After supermin has finished running, the initramfs files sit around
occupying swappable memory but serving no further purpose.
This saves a little memory, at the cost of about 1ms of extra boot
time.
---
init/init.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 48 insertions(+), 2 deletions(-)
diff --git a/init/init.c b/init/init.c
index 733d66e..5ac53e9 100644
---
2020 Apr 01
0
Re: [PATCH] supermin: Fix IBM Virtual SCSI driver name
On Tue, Mar 31, 2020 at 11:11:44PM -0300, Gustavo Luiz Duarte wrote:
> The driver was renamed from ibmvscsic to ibmvscsi on kernel 3.7.
> See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9965c2f19be470c452357ae4f6304467cdeada55
>
> The old name is kept so supermin works with recent kernels as well as kernel
> version older than 3.7.
> ---
>
2016 Jul 21
3
Re: How to debug supermin5 issue?
At 2016-07-21 19:52:11, "Pino Toscano" <ptoscano@redhat.com> wrote:
>On Thursday, 21 July 2016 18:50:52 CEST Chen Hanxiao wrote:
>>
>> At 2016-07-21 18:43:04, "Richard W.M. Jones" <rjones@redhat.com> wrote:
>> >On Thu, Jul 21, 2016 at 06:36:20PM +0800, Chen Hanxiao wrote:
>> >> the virtio modules in kmods did existed in this
2015 Dec 02
4
[PATCH 0/3] supermin: add --include-packagelist
Hi,
to ease debugging issues with appliances (e.g. when used in libguestfs),
using --include-packagelist will add a file containing the list of all
the packages used.
Thanks,
Pino Toscano (3):
ext2: add ext2fs_chmod and ext2fs_chown
chroot: factor out file copy code
Add --include-packagelist
src/build.ml | 42 +++++++++++++++++++++++++------
src/chroot.ml | 29
2017 Apr 19
6
[PATCH supermin 0/3] Require root= parameter, refactor init.
Require the root= parameter is passed to specify which
root (apppliance) to mount. Libguestfs has done this since 2012.
The other two patches are small code refactorings in the init
program.
Rich.
2016 Mar 20
0
Re: [PATCH supermin 5/5] init: Drop SCSI modules.
On Sun, Mar 20, 2016 at 01:30:17PM +0200, Török Edwin wrote:
> On 03/17/2016 12:07, Richard W.M. Jones wrote:
> > Also drop the sr_mod module used by the deprecated guestfs_add_cdrom
> > interface.
> > ---
> > src/ext2_initrd.ml | 5 -----
> > 1 file changed, 5 deletions(-)
> >
> > diff --git a/src/ext2_initrd.ml b/src/ext2_initrd.ml
> > index
2016 Mar 18
1
[PATCH supermin] init: Add a blacklist of kmods that we want to exclude from the mini initrd.
We want to exclude virtio-gpu since it's irrelevant, large, and pulls
in other unwanted dependencies (modeswitching, drm). Add a second
list of kmods which is a blacklist, applied after the first.
This reduces the libguestfs initrd size from 39M down to 17M, with
concomitant small reductions in boot time.
---
src/ext2_initrd.ml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
2015 Jul 13
2
[PATCH 1/2] utils: import parse_size from libguestfs
---
src/utils.ml | 21 +++++++++++++++++++++
src/utils.mli | 3 +++
2 files changed, 24 insertions(+)
diff --git a/src/utils.ml b/src/utils.ml
index 3e81c21..7ae24bd 100644
--- a/src/utils.ml
+++ b/src/utils.ml
@@ -204,3 +204,24 @@ let compare_architecture a1 a2 =
exit 1
in
compare (index_of_architecture a1) (index_of_architecture a2)
+
+(* Parse a size field, eg. "10G".