[libnbd PATCH] docs: Mention CVE-2023-5871
by Eric Blake
Point to the list archives for more details about the recent fix in
commit 177308adb1. The issue is deemed low risk, but every security
bug should be mentioned.
Signed-off-by: Eric Blake <eblake(a)redhat.com>
---
The URL may change as a result of getting the list migration stable
(doing another re-import to get more than 2 years of list history may
impact things); I'm also trying to figure out if mailman3/hyperkitty
has a way to get a shorter permalink URL under 80 columns that will
point to a given message. So for now, I'll hold off on pushing this
patch until we know we are ready for it.
---
docs/libnbd-security.pod | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/docs/libnbd-security.pod b/docs/libnbd-security.pod
index 216efa43..6bbd6bd8 100644
--- a/docs/libnbd-security.pod
+++ b/docs/libnbd-security.pod
@@ -45,6 +45,12 @@ negative size result from nbd_get_size(3)
See the full announcement here:
L<https://listman.redhat.com/archives/libguestfs/2023-September/032711.html>
+=head2 CVE-2023-5871
+assertion failure for 64-bit flags passed to nbd_block_status(3)
+
+See the full announcement here:
+L<https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/t...>
+
=head1 SEE ALSO
L<libnbd(3)>.
--
2.41.0
12 months
Re: [Libguestfs] libguestfs failure "mkdir: command not found ..."
by Richard W.M. Jones
On Mon, Oct 23, 2023 at 03:53:37PM +0000, Maximilian Kirschner wrote:
> Is it possible that this error occcurs because my root partition is encryped
> with LUKS. If the virtual file system tries to mount the /root of my host
> system, this will not work.
> Is this the case? Does libguestfs mount the /root of the host system?
> And if so, do you know a workaround for systems with encrypted disks?
It's not to do with LUKS. Just about everyone uses LUKS and
libguestfs works fine. It's a bug in the Ubuntu package, try:
>
> I'm afraid looks like however libguestfs was built, it is
> severly broken. You might want to file an Ubuntu bug if it's
> the official package, or else try rebuilding the dpkg from
> source and see if that works.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
12 months
[COMMON PATCH v2] mldrivers: look for bootloader config in /boot/grub/grub.cfg in case of UEFI
by Andrey Drobyshev
On some older Debian-based distros (in particular, this is true for
Debian 8) GRUB config file doesn't reside on EFI partition, but rather
at /boot/grub/grub.cfg even if UEFI firmware is being used. As a
result, in the UEFI case we get "error: no bootloader detected". Let's
just append this path to the end of the corresponding list as a workaround
when dealing with UEFI guests.
Signed-off-by: Andrey Drobyshev <andrey.drobyshev(a)virtuozzo.com>
---
mldrivers/linux_bootloaders.ml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/mldrivers/linux_bootloaders.ml b/mldrivers/linux_bootloaders.ml
index 6f8857e..91c5ab9 100644
--- a/mldrivers/linux_bootloaders.ml
+++ b/mldrivers/linux_bootloaders.ml
@@ -375,6 +375,18 @@ let detect_bootloader (g : G.guestfs) root i_firmware =
with G.Error msg ->
error (f_"could not find bootloader mount point (%s): %s") mp msg in
+ (*
+ * Workaround for older UEFI-based Debian which may not have
+ * /boot/efi/EFI/debian/grub.cfg.
+ *)
+ let paths =
+ if g#exists "/boot/grub/grub.cfg" then
+ match i_firmware with
+ | Firmware.I_BIOS -> paths
+ | I_UEFI _ -> paths @ ["/boot/grub/grub.cfg"]
+ else paths
+ in
+
(* We can determine if the bootloader config file is grub 1 or
* grub 2 just by looking at the filename.
*)
--
2.39.3
1 year
LIBNBD SECURITY: Assertion failure in nbd_block_status()
by Eric Blake
We have discovered a security flaw with potential minor impact in
libnbd.
Lifecycle
---------
Reported: 2023-10-29 Fixed: 2023-10-31 Published: 2023-10-31
CVE-2023-5871 has been assigned due to a potential for a Denial of
Service attack by a malicious server against certain versions of
libnbd during nbd_block_status(3); it is considered a low severity
flaw.
Credit
------
Reported by Rich Jones (rjones(a)redhat.com) during fuzz tests, patched
by Eric Blake <eblake(a)redhat.com>
Description
-----------
libnbd is a Network Block Device (NBD) client library. The NBD
protocol states that a client can negotiate with a server to enable
64-bit extended headers; when this negotiation is done, a server's
reply to NBD_CMD_BLOCK_STATUS can include a flag field that does not
fit in 32 bits. We recently added the nbd_block_status_64(3) API to
libnbd to handle such server replies gracefully (exposing the full
64-bit reply to the application); but if an application still uses the
older 32-bit nbd_block_status() API when the server sends a large flag
value, a flaw in libnbd meant that the library could die with an
assertion failure triggered by the server, rather than raising an
EOVERFLOW error to indicate that the server's reply could not fit in
the space provided by the application's choice of API.
Test if libnbd is vulnerable
----------------------------
At this time, there are no known NBD servers that provide
meta-contexts with 64-bit flags (most servers lack support for
extended headers altogether; and all meta-contexts supported by the
upcoming qemu 8.2 release are limited to 32-bit flag values), so it is
unlikely to hit the issue in production when talking to a known
server. However, the patch applied to libnbd for this issue includes
instructions for applying a one-byte patch to convert qemu into a
malicious server, to demonstrate that it is easy for an attacker to
generate a malicious server attempting to exploit the Denial of
Service vulnerability. Refer to the libnbd patch if you need
instructions for producing a one-off qemu server that can be used for
probing if libnbd is vulnerable; otherwise, it is recommended that you
upgrade to the latest libnbd if you need the functionality provided by
extended headers.
Libnbd 1.16.x and earlier are not impacted (those versions gracefully
reject an extended response from a malicious server as unknown, since
they lack extended headers support).
Workarounds
-----------
As a mitigating factor, an application can be written to use only
nbd_block_status_64() to ensure the assertion failure in
nbd_block_status() cannot be reached. Compiling libnbd with
assertions disabled will also eliminate the bug, although most distros
follow our recommendation of leaving assertions enabled. Furthermore,
no known production servers (such as nbd-server, qemu-nbd, nbdkit)
support a meta-context that would include a 64-bit status flag. An
application that insists on using TLS to connect only to a known-good
server will never encounter a block status response that would trigger
the assertion failure.
Fixes
-----
The assertion failure was introduced in libnbd v1.17.4 (commit
20dadb0e10). As of this email, all affected branches have been
patched:
* development branch (1.19)
https://gitlab.com/nbdkit/libnbd/-/commit/177308adb17e81fce7c0f2b2fcf655c...
or use libnbd >= 1.19.2 from
http://download.libguestfs.org/libnbd/1.19-development/
* stable branch 1.18
https://gitlab.com/nbdkit/libnbd/-/commit/4451e5b61ca07771ceef3e012223779...
or use libnbd >= 1.18.2 from
http://download.libguestfs.org/libnbd/1.18-stable/
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
1 year
[libnbd PATCH] generator: Fix assertion in ext-mode BLOCK_STATUS, CVE-2023-5871
by Eric Blake
Another round of fuzz testing revealed that when a server negotiates
extended headers and replies with a 64-bit flag value where the client
used the 32-bit API command, we were correctly flagging the server's
response as being an EOVERFLOW condition, but then immediately failing
in an assertion failure instead of reporting it to the application.
The following one-byte change to qemu.git at commit fd9a38fd43 allows
the creation of an intentionally malicious server:
| diff --git i/nbd/server.c w/nbd/server.c
| index 859c163d19f..32e1e771a95 100644
| --- i/nbd/server.c
| +++ w/nbd/server.c
| @@ -2178,7 +2178,7 @@ static void nbd_extent_array_convert_to_be(NBDExtentArray *ea)
|
| for (i = 0; i < ea->count; i++) {
| ea->extents[i].length = cpu_to_be64(ea->extents[i].length);
| - ea->extents[i].flags = cpu_to_be64(ea->extents[i].flags);
| + ea->extents[i].flags = ~cpu_to_be64(ea->extents[i].flags);
| }
| }
and can then be detected with the following command line:
$ nbdsh -c - <<\EOF
> def f(a,b,c,d):
> pass
>
> h.connect_systemd_socket_activation(["/path/to/bad/qemu-nbd",
> "-r", "-f", "raw", "TODO"])
> h.block_staus(h.get_size(), 0, f)
> EOF
nbdsh: generator/states-reply-chunk.c:626: enter_STATE_REPLY_CHUNK_REPLY_RECV_BS_ENTRIES: Assertion `(len | flags) <= UINT32_MAX' failed.
Aborted (core dumped)
whereas a fixed libnbd will give:
nbdsh: command line script failed: nbd_block_status: block-status: command failed: Value too large for defined data type
We can either relax the assertion (by changing to 'assert ((len |
flags) <= UINT32_MAX || cmd->error)'), or intentionally truncate flags
to make the existing assertion reliable. This patch goes with the
latter approach.
Sadly, this crash is possible in all existing 1.18.x stable releases,
if they were built with assertions enabled (most distros do this by
default), meaning a malicious server has an easy way to cause a Denial
of Service attack by triggering the assertion failure in vulnerable
clients, so we have assigned this CVE-2023-5871. Mitigating factors:
the crash only happens for a server that sends a 64-bit status block
reply (no known production servers do so; qemu 8.2 will be the first
known server to support extended headers, but it is not yet released);
and as usual, a client can use TLS to guarantee it is connecting only
to a known-safe server. If libnbd is compiled without assertions,
there is no crash or other mistaken behavior; and when assertions are
enabled, the attacker cannot accomplish anything more than a denial of
service.
Reported-by: Richard W.M. Jones <rjones(a)redhat.com>
Fixes: 20dadb0e10 ("generator: Prepare for extent64 callback", v1.17.4)
Signed-off-by: Eric Blake <eblake(a)redhat.com>
---
I'll send a followup mail patching docs/libnbd-security.pod once we
have a stable archive link (my understanding is that we will not have
stable hyperkitty URLs until all messages have been migrated from
libguestfs(a)redhat.com to guestfs(a)lists.libguestfs.org).
generator/states-reply-chunk.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/generator/states-reply-chunk.c b/generator/states-reply-chunk.c
index 5a31c192..8ab7e8ba 100644
--- a/generator/states-reply-chunk.c
+++ b/generator/states-reply-chunk.c
@@ -600,6 +600,7 @@ REPLY.CHUNK_REPLY.RECV_BS_ENTRIES:
break; /* Skip this and later extents; we already made progress */
/* Expose this extent as an error; we made no progress */
cmd->error = cmd->error ? : EOVERFLOW;
+ flags = (uint32_t)flags;
}
}
--
2.41.0
1 year
Testing 1 2 3 [#3]
by Richard W.M. Jones
Is this thing on ..?
There's a new list address, archive site etc. We're importing
everything at the moment, and I'll post an announcement when the new
list is up.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
1 year
libguestfs failure "mkdir: command not found ..."
by Maximilian Kirschner
Hello,
I'm trying to run virt-make-fs, which fails.
I have installed libguestfs-tools via apt on a Ubuntu 22.04 system.
When I run libguestfs-test-tool I get the output attached at the end of the mail. Can you please help me with this?
Kind regards
Maximilian Kirschner
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
LIBGUESTFS_TRACE=1
LIBGUESTFS_DEBUG=1
LIBVIRT_DEFAULT_URI=qemu:///system
PATH=/home/kirschner/.modular/pkg/packages.modular.com_mojo/bin:/home/k
irschner/.local/bin:/home/kirschner/.modular/pkg/packages.modular.com_m
ojo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/u
sr/games:/usr/local/games:/snap/bin:/home/kirschner/.local/share/coursi
er/bin
XDG_RUNTIME_DIR=/run/user/1000
SELinux: sh: 1: getenforce: not found
libguestfs: trace: add_drive_scratch 104857600
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: disk_create "/tmp/libguestfsX16XPh/scratch1.img"
"raw" 104857600
libguestfs: trace: disk_create = 0
libguestfs: trace: add_drive "/tmp/libguestfsX16XPh/scratch1.img"
"format:raw" "cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
guestfs_get_backend: direct
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
guestfs_get_cachedir: /var/tmp
libguestfs: trace: get_hv
libguestfs: trace: get_hv = "/usr/bin/qemu-system-x86_64"
guestfs_get_hv: /usr/bin/qemu-system-x86_64
libguestfs: trace: get_memsize
libguestfs: trace: get_memsize = 1280
guestfs_get_memsize: 1280
libguestfs: trace: get_network
libguestfs: trace: get_network = 0
guestfs_get_network: 0
libguestfs: trace: get_path
libguestfs: trace: get_path = "/usr/lib/x86_64-linux-gnu/guestfs"
guestfs_get_path: /usr/lib/x86_64-linux-gnu/guestfs
libguestfs: trace: get_pgroup
libguestfs: trace: get_pgroup = 0
guestfs_get_pgroup: 0
libguestfs: trace: get_program
libguestfs: trace: get_program = "libguestfs-test-tool"
guestfs_get_program: libguestfs-test-tool
libguestfs: trace: get_recovery_proc
libguestfs: trace: get_recovery_proc = 1
guestfs_get_recovery_proc: 1
libguestfs: trace: get_smp
libguestfs: trace: get_smp = 1
guestfs_get_smp: 1
libguestfs: trace: get_sockdir
libguestfs: trace: get_sockdir = "/run/user/1000"
guestfs_get_sockdir: /run/user/1000
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
guestfs_get_tmpdir: /tmp
libguestfs: trace: get_trace
libguestfs: trace: get_trace = 1
guestfs_get_trace: 1
libguestfs: trace: get_verbose
libguestfs: trace: get_verbose = 1
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: trace: launch
libguestfs: trace: max_disks
libguestfs: trace: max_disks = 255
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version = major: 1, minor:
46, release: 2, extra: , >
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: program=libguestfs-test-tool
libguestfs: launch: version=1.46.2
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfsX16XPh
libguestfs: launch: umask=0002
libguestfs: launch: euid=1000
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: begin building supermin appliance
libguestfs: run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-1000/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib/x86_64-linux-
gnu/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-1000/appliance.d
supermin: version: 5.2.1
supermin: package handler: debian/dpkg
supermin: acquiring lock on /var/tmp/.guestfs-1000/lock
supermin: if-newer: output does not need rebuilding
libguestfs: finished building supermin appliance
libguestfs: begin testing qemu features
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: checking for previously cached test results of
/usr/bin/qemu-system-x86_64, in /var/tmp/.guestfs-1000
libguestfs: loading previously cached test results
libguestfs: qemu version: 6.2
libguestfs: qemu mandatory locking: yes
libguestfs: qemu KVM: enabled
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_backend_setting "force_kvm"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_sockdir
libguestfs: trace: get_sockdir = "/run/user/1000"
libguestfs: finished testing qemu features
libguestfs: trace: get_backend_setting "gdb"
libguestfs: trace: get_backend_setting = NULL (error)
/usr/bin/qemu-system-x86_64 \
-global virtio-blk-pci.scsi=off \
-no-user-config \
-nodefaults \
-display none \
-machine accel=kvm:tcg,graphics=off \
-cpu max \
-m 1280 \
-no-reboot \
-rtc driftfix=slew \
-no-hpet \
-global kvm-pit.lost_tick_policy=discard \
-kernel /var/tmp/.guestfs-1000/appliance.d/kernel \
-initrd /var/tmp/.guestfs-1000/appliance.d/initrd \
-object rng-random,filename=/dev/urandom,id=rng0 \
-device virtio-rng-pci,rng=rng0 \
-device virtio-scsi-pci,id=scsi \
-drive
file=/tmp/libguestfsX16XPh/scratch1.img,cache=unsafe,format=raw,id=hd0,
if=none \
-device scsi-hd,drive=hd0 \
-drive file=/var/tmp/.guestfs-
1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,for
mat=raw \
-device scsi-hd,drive=appliance \
-device virtio-serial-pci \
-serial stdio \
-chardev
socket,path=/run/user/1000/libguestfsXhhiff/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-
timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory
usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1
root=UUID=919a7a90-2f2f-4970-840e-ca17a3bf44b0 selinux=0
guestfs_verbose=1 TERM=xterm-256color"
\x1bc\x1b[?7l\x1b[2J\x1b[0mSeaBIOS (version 1.15.0-1)
Booting from ROM..\x1bc\x1b[?7l\x1b[2J[ 0.000000] Linux version 5.15.0-
87-generic (buildd@lcy02-amd64-011) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04)
11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #97-Ubuntu SMP Mon Oct 2
21:09:21 UTC 2023 (Ubuntu 5.15.0-87.97-generic 5.15.122)
[ 0.000000] Command line: panic=1 console=ttyS0 edd=off
udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1
cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable
8250.nr_uarts=1 root=UUID=919a7a90-2f2f-4970-840e-ca17a3bf44b0
selinux=0 guestfs_verbose=1 TERM=xterm-256color
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff]
usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000004ffdcfff]
usable
[ 0.000000] BIOS-e820: [mem 0x000000004ffdd000-0x000000004fffffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff]
reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff]
reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] SMBIOS 2.8 present.
[ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1
04/01/2014
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: cpu 0, msr 18c01001, primary cpu clock
[ 0.000001] kvm-clock: using sched offset of 138231991 cycles
[ 0.000002] clocksource: kvm-clock: mask: 0xffffffffffffffff
max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000005] tsc: Detected 1896.437 MHz processor
[ 0.000260] last_pfn = 0x4ffdd max_arch_pfn = 0x400000000
[ 0.000293] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.002027] found SMP MP-table at [mem 0x000f5b90-0x000f5b9f]
[ 0.002043] Using GB pages for direct mapping
[ 0.002160] RAMDISK: [mem 0x4fcb2000-0x4ffcffff]
[ 0.002180] ACPI: Early table checksum verification disabled
[ 0.002184] ACPI: RSDP 0x00000000000F59D0 000014 (v00 BOCHS )
[ 0.002187] ACPI: RSDT 0x000000004FFE17EB 000030 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.002191] ACPI: FACP 0x000000004FFE16D7 000074 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.002195] ACPI: DSDT 0x000000004FFE0040 001697 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.002197] ACPI: FACS 0x000000004FFE0000 000040
[ 0.002199] ACPI: APIC 0x000000004FFE174B 000078 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.002201] ACPI: WAET 0x000000004FFE17C3 000028 (v01 BOCHS BXPC
00000001 BXPC 00000001)
[ 0.002203] ACPI: Reserving FACP table memory at [mem 0x4ffe16d7-
0x4ffe174a]
[ 0.002204] ACPI: Reserving DSDT table memory at [mem 0x4ffe0040-
0x4ffe16d6]
[ 0.002205] ACPI: Reserving FACS table memory at [mem 0x4ffe0000-
0x4ffe003f]
[ 0.002205] ACPI: Reserving APIC table memory at [mem 0x4ffe174b-
0x4ffe17c2]
[ 0.002206] ACPI: Reserving WAET table memory at [mem 0x4ffe17c3-
0x4ffe17ea]
[ 0.002425] No NUMA configuration found
[ 0.002426] Faking a node at [mem 0x0000000000000000-
0x000000004ffdcfff]
[ 0.002433] NODE_DATA(0) allocated [mem 0x4fc88000-0x4fcb1fff]
[ 0.002682] Zone ranges:
[ 0.002683] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.002684] DMA32 [mem 0x0000000001000000-0x000000004ffdcfff]
[ 0.002686] Normal empty
[ 0.002687] Device empty
[ 0.002687] Movable zone start for each node
[ 0.002689] Early memory node ranges
[ 0.002690] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.002691] node 0: [mem 0x0000000000100000-0x000000004ffdcfff]
[ 0.002692] Initmem setup node 0 [mem 0x0000000000001000-
0x000000004ffdcfff]
[ 0.002926] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.002947] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.006524] On node 0, zone DMA32: 35 pages in unavailable ranges
[ 0.006718] ACPI: PM-Timer IO Port: 0x608
[ 0.006729] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.006752] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI
0-23
[ 0.006755] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.006757] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.006758] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.006759] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high
level)
[ 0.006760] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high
level)
[ 0.006762] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.006764] TSC deadline timer available
[ 0.006766] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.006793] PM: hibernation: Registered nosave memory: [mem 0x00000000-
0x00000fff]
[ 0.006795] PM: hibernation: Registered nosave memory: [mem 0x0009f000-
0x0009ffff]
[ 0.006796] PM: hibernation: Registered nosave memory: [mem 0x000a0000-
0x000effff]
[ 0.006796] PM: hibernation: Registered nosave memory: [mem 0x000f0000-
0x000fffff]
[ 0.006798] [mem 0x50000000-0xfeffbfff] available for PCI devices
[ 0.006799] Booting paravirtualized kernel on KVM
[ 0.006801] clocksource: refined-jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.006808] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1
nr_node_ids:1
[ 0.007162] percpu: Embedded 61 pages/cpu s212992 r8192 d28672 u2097152
[ 0.007202] kvm-guest: setup async PF for cpu 0
[ 0.007205] kvm-guest: stealtime: cpu 0, msr 4e633080
[ 0.007208] kvm-guest: PV spinlocks disabled, single CPU
[ 0.007212] Built 1 zonelists, mobility grouping on. Total pages:
322269
[ 0.007213] Policy zone: DMA32
[ 0.007214] Kernel command line: panic=1 console=ttyS0 edd=off
udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1
cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable
8250.nr_uarts=1 root=UUID=919a7a90-2f2f-4970-840e-ca17a3bf44b0
selinux=0 guestfs_verbose=1 TERM=xterm-256color
[ 0.007321] cgroup: Disabling memory control group subsystem
[ 0.007360] Unknown kernel command line parameters "edd=off
udevtimeout=6000 guestfs_verbose=1", will be passed to user space.
[ 0.007592] Dentry cache hash table entries: 262144 (order: 9, 2097152
bytes, linear)
[ 0.007620] Inode-cache hash table entries: 131072 (order: 8, 1048576
bytes, linear)
[ 0.007638] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.009949] Memory: 1224676K/1310188K available (16393K kernel code,
4393K rwdata, 10872K rodata, 3356K init, 18716K bss, 85252K reserved,
0K cma-reserved)
[ 0.010568] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.010630] ftrace: allocating 50662 entries in 198 pages
[ 0.030569] ftrace: allocated 198 pages with 4 groups
[ 0.030923] rcu: Hierarchical RCU implementation.
[ 0.030924] rcu: \tRCU restricting CPUs from NR_CPUS=8192 to
nr_cpu_ids=1.
[ 0.030926] \tRude variant of Tasks RCU enabled.
[ 0.030927] \tTracing variant of Tasks RCU enabled.
[ 0.030928] rcu: RCU calculated value of scheduler-enlistment delay is
25 jiffies.
[ 0.030929] rcu: Adjusting geometry for rcu_fanout_leaf=16,
nr_cpu_ids=1
[ 0.034104] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16
[ 0.034227] random: crng init done
[ 0.034296] Console: colour *CGA 80x25
[ 0.074152] printk: console [ttyS0] enabled
[ 0.074405] ACPI: Core revision 20210730
[ 0.074692] APIC: Switch to symmetric I/O mode setup
[ 0.075094] x2apic enabled
[ 0.075380] Switched APIC routing to physical x2apic.
[ 0.076177] clocksource: tsc-early: mask: 0xffffffffffffffff
max_cycles: 0x36ac0c539a6, max_idle_ns: 881590694765 ns
[ 0.076814] Calibrating delay loop (skipped) preset value.. 3792.87
BogoMIPS (lpj=7585748)
[ 0.077360] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[ 0.077798] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127
[ 0.078137] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0
[ 0.078551] Spectre V1 : Mitigation: usercopy/swapgs barriers and
__user pointer sanitization
[ 0.079036] Spectre V2 : Mitigation: Retpolines
[ 0.079290] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling
RSB on context switch
[ 0.079754] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on
VMEXIT
[ 0.080132] Spectre V2 : Enabling Restricted Speculation for firmware
calls
[ 0.080520] Spectre V2 : mitigation: Enabling conditional Indirect
Branch Prediction Barrier
[ 0.080806] Speculative Store Bypass: Mitigation: Speculative Store
Bypass disabled via prctl and seccomp
[ 0.080806] Speculative Return Stack Overflow: IBPB-extending microcode
not applied!
[ 0.080806] Speculative Return Stack Overflow: WARNING: See
https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for
mitigation options.
[ 0.080806] Speculative Return Stack Overflow: Mitigation: safe RET, no
microcode
[ 0.080806] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating
point registers'
[ 0.080806] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.080806] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.080806] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys
User registers'
[ 0.080806] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.080806] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8
[ 0.080806] x86/fpu: Enabled xstate features 0x207, context size is 840
bytes, using 'compacted' format.
[ 0.080806] Freeing SMP alternatives memory: 44K
[ 0.080806] pid_max: default: 32768 minimum: 301
[ 0.080806] LSM: Security Framework initializing
[ 0.080806] landlock: Up and running.
[ 0.080806] Yama: becoming mindful.
[ 0.080806] AppArmor: AppArmor initialized
[ 0.080806] Mount-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[ 0.080806] Mountpoint-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[ 0.080806] smpboot: CPU0: AMD Ryzen 7 PRO 5850U with Radeon Graphics
(family: 0x19, model: 0x50, stepping: 0x0)
[ 0.080806] Performance Events: Fam17h+ core perfctr, AMD PMU driver.
[ 0.080806] ... version: 0
[ 0.080806] ... bit width: 48
[ 0.080806] ... generic registers: 6
[ 0.080806] ... value mask: 0000ffffffffffff
[ 0.080806] ... max period: 00007fffffffffff
[ 0.080806] ... fixed-purpose events: 0
[ 0.080806] ... event mask: 000000000000003f
[ 0.080806] signal: max sigframe size: 3376
[ 0.080806] rcu: Hierarchical SRCU implementation.
[ 0.080895] smp: Bringing up secondary CPUs ...
[ 0.081160] smp: Brought up 1 node, 1 CPU
[ 0.081406] smpboot: Max logical packages: 1
[ 0.081671] smpboot: Total of 1 processors activated (3792.87 BogoMIPS)
[ 0.082149] devtmpfs: initialized
[ 0.082407] x86/mm: Memory block size: 128MB
[ 0.082931] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.083511] futex hash table entries: 256 (order: 2, 16384 bytes,
linear)
[ 0.083964] pinctrl core: initialized pinctrl subsystem
[ 0.084353] PM: RTC time: 07:23:27, date: 2023-10-23
[ 0.084724] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.084904] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic
allocations
[ 0.085434] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for
atomic allocations
[ 0.086170] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for
atomic allocations
[ 0.086616] audit: initializing netlink subsys (disabled)
[ 0.087021] thermal_sys: Registered thermal governor 'fair_share'
[ 0.087022] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.087373] thermal_sys: Registered thermal governor 'step_wise'
[ 0.087714] thermal_sys: Registered thermal governor 'user_space'
[ 0.088096] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.088445] EISA bus registered
[ 0.088830] audit: type=2000 audit(1698045808.186:1): state=initialized
audit_enabled=0 res=1
[ 0.089339] cpuidle: using governor ladder
[ 0.089564] cpuidle: using governor menu
[ 0.090100] ACPI: bus type PCI registered
[ 0.090338] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.090758] PCI: Using configuration type 1 for base access
[ 0.091074] PCI: Using configuration type 1 for extended access
[ 0.092152] kprobes: kprobe jump-optimization is enabled. All kprobes
are optimized if possible.
[ 0.092730] HugeTLB registered 1.00 GiB page size, pre-allocated 0
pages
[ 0.092812] HugeTLB registered 2.00 MiB page size, pre-allocated 0
pages
[ 0.093693] ACPI: Added _OSI(Module Device)
[ 0.093941] ACPI: Added _OSI(Processor Device)
[ 0.094188] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.094467] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.094788] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.095037] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.095329] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 0.096195] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 0.096906] ACPI: Interpreter enabled
[ 0.097126] ACPI: PM: (supports S0 S3 S4 S5)
[ 0.097383] ACPI: Using IOAPIC for interrupt routing
[ 0.097666] PCI: Using host bridge windows from ACPI; if necessary, use
"pci=nocrs" and report a bug
[ 0.098179] PCI: Using E820 reservations for host bridge windows
[ 0.098585] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 0.100117] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.100508] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM
ClockPM Segments MSI EDR HPX-Type3]
[ 0.100977] acpiphp: Slot [2] registered
[ 0.101231] acpiphp: Slot [3] registered
[ 0.101459] acpiphp: Slot [4] registered
[ 0.101692] acpiphp: Slot [5] registered
[ 0.101919] acpiphp: Slot [6] registered
[ 0.102151] acpiphp: Slot [7] registered
[ 0.102399] acpiphp: Slot [8] registered
[ 0.102654] acpiphp: Slot [9] registered
[ 0.102884] acpiphp: Slot [10] registered
[ 0.103121] acpiphp: Slot [11] registered
[ 0.103373] acpiphp: Slot [12] registered
[ 0.103610] acpiphp: Slot [13] registered
[ 0.103842] acpiphp: Slot [14] registered
[ 0.104072] acpiphp: Slot [15] registered
[ 0.104318] acpiphp: Slot [16] registered
[ 0.104576] acpiphp: Slot [17] registered
[ 0.104819] acpiphp: Slot [18] registered
[ 0.105058] acpiphp: Slot [19] registered
[ 0.105298] acpiphp: Slot [20] registered
[ 0.105561] acpiphp: Slot [21] registered
[ 0.105794] acpiphp: Slot [22] registered
[ 0.106025] acpiphp: Slot [23] registered
[ 0.106281] acpiphp: Slot [24] registered
[ 0.106517] acpiphp: Slot [25] registered
[ 0.106774] acpiphp: Slot [26] registered
[ 0.107010] acpiphp: Slot [27] registered
[ 0.107248] acpiphp: Slot [28] registered
[ 0.107486] acpiphp: Slot [29] registered
[ 0.107735] acpiphp: Slot [30] registered
[ 0.107970] acpiphp: Slot [31] registered
[ 0.108223] PCI host bridge to bus 0000:00
[ 0.108455] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.108768] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7
window]
[ 0.108819] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff
window]
[ 0.109202] pci_bus 0000:00: root bus resource [mem 0x000a0000-
0x000bffff window]
[ 0.109634] pci_bus 0000:00: root bus resource [mem 0x50000000-
0xfebfffff window]
[ 0.110055] pci_bus 0000:00: root bus resource [mem 0x100000000-
0x17fffffff window]
[ 0.110606] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[ 0.111648] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[ 0.112309] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[ 0.113771] pci 0000:00:01.1: reg 0x20: [io 0xc0a0-0xc0af]
[ 0.114686] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-
0x01f7]
[ 0.115101] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.115568] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-
0x0177]
[ 0.116007] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.116753] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[ 0.117002] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by
PIIX4 ACPI
[ 0.117431] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by
PIIX4 SMB
[ 0.118180] pci 0000:00:02.0: [1af4:1005] type 00 class 0x00ff00
[ 0.118957] pci 0000:00:02.0: reg 0x10: [io 0xc080-0xc09f]
[ 0.120810] pci 0000:00:02.0: reg 0x20: [mem 0xfebf0000-0xfebf3fff
64bit pref]
[ 0.122453] pci 0000:00:03.0: [1af4:1004] type 00 class 0x010000
[ 0.123611] pci 0000:00:03.0: reg 0x10: [io 0xc000-0xc03f]
[ 0.124660] pci 0000:00:03.0: reg 0x14: [mem 0xfebfe000-0xfebfefff]
[ 0.127128] pci 0000:00:03.0: reg 0x20: [mem 0xfebf4000-0xfebf7fff
64bit pref]
[ 0.128825] pci 0000:00:04.0: [1af4:1003] type 00 class 0x078000
[ 0.129750] pci 0000:00:04.0: reg 0x10: [io 0xc040-0xc07f]
[ 0.130570] pci 0000:00:04.0: reg 0x14: [mem 0xfebff000-0xfebfffff]
[ 0.132181] pci 0000:00:04.0: reg 0x20: [mem 0xfebf8000-0xfebfbfff
64bit pref]
[ 0.137461] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[ 0.137874] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[ 0.138277] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[ 0.138711] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[ 0.139092] ACPI: PCI: Interrupt link LNKS configured for IRQ 9
[ 0.139576] iommu: Default domain type: Translated
[ 0.139889] iommu: DMA domain TLB invalidation policy: lazy mode
[ 0.140361] SCSI subsystem initialized
[ 0.140634] vgaarb: loaded
[ 0.140828] usbcore: USB support disabled
[ 0.141086] pps_core: LinuxPPS API ver. 1 registered
[ 0.141363] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
Giometti <giometti(a)linux.it>
[ 0.141869] PTP clock support registered
[ 0.142134] EDAC MC: Ver: 3.0.0
[ 0.142511] NetLabel: Initializing
[ 0.142710] NetLabel: domain hash size = 128
[ 0.142965] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.143303] NetLabel: unlabeled traffic allowed by default
[ 0.143632] PCI: Using ACPI for IRQ routing
[ 0.144020] clocksource: Switched to clocksource kvm-clock
[ 0.148559] VFS: Disk quotas dquot_6.6.0
[ 0.148825] VFS: Dquot-cache hash table entries: 512 (order 0, 4096
bytes)
[ 0.149306] AppArmor: AppArmor Filesystem Enabled
[ 0.149613] pnp: PnP ACPI init
[ 0.150016] pnp: PnP ACPI: found 5 devices
[ 0.158591] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff,
max_idle_ns: 2085701024 ns
[ 0.159172] NET: Registered PF_INET protocol family
[ 0.159494] IP idents hash table entries: 32768 (order: 6, 262144
bytes, linear)
[ 0.161224] tcp_listen_portaddr_hash hash table entries: 1024 (order:
2, 16384 bytes, linear)
[ 0.161755] Table-perturb hash table entries: 65536 (order: 6, 262144
bytes, linear)
[ 0.162242] TCP established hash table entries: 16384 (order: 5, 131072
bytes, linear)
[ 0.162747] TCP bind hash table entries: 16384 (order: 6, 262144 bytes,
linear)
[ 0.163196] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.163625] MPTCP token hash table entries: 2048 (order: 3, 49152
bytes, linear)
[ 0.164081] UDP hash table entries: 1024 (order: 3, 32768 bytes,
linear)
[ 0.164492] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes,
linear)
[ 0.164941] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.165258] NET: Registered PF_XDP protocol family
[ 0.165558] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 0.165941] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 0.166284] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff
window]
[ 0.166687] pci_bus 0000:00: resource 7 [mem 0x50000000-0xfebfffff
window]
[ 0.167091] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff
window]
[ 0.167561] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.167904] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.168260] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.168636] PCI: CLS 0 bytes, default 64
[ 0.168906] Trying to unpack rootfs image as initramfs...
[ 0.170959] Freeing initrd memory: 3192K
[ 0.171271] clocksource: tsc: mask: 0xffffffffffffffff max_cycles:
0x36ac0c539a6, max_idle_ns: 881590694765 ns
[ 0.172098] Initialise system trusted keyrings
[ 0.172372] Key type blacklist registered
[ 0.172633] workingset: timestamp_bits=36 max_order=19 bucket_order=0
[ 0.173573] zbud: loaded
[ 0.173857] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.174242] fuse: init (API version 7.34)
[ 0.174566] integrity: Platform Keyring initialized
[ 0.177412] Key type asymmetric registered
[ 0.177653] Asymmetric key parser 'x509' registered
[ 0.177939] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 243)
[ 0.178367] io scheduler mq-deadline registered
[ 0.178727] shpchp: Standard Hot Plug PCI Controller Driver version:
0.4
[ 0.179184] input: Power Button as
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 0.179665] ACPI: button: Power Button [PWRF]
[ 0.193944] ACPI: \_SB_.LNKB: Enabled at IRQ 10
[ 0.208744] ACPI: \_SB_.LNKC: Enabled at IRQ 11
[ 0.223456] ACPI: \_SB_.LNKD: Enabled at IRQ 11
[ 0.224287] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 0.246416] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is
a 16550A
[ 0.272985] Linux agpgart interface v0.103
[ 0.274403] loop: module loaded
[ 0.275075] scsi host0: ata_piix
[ 0.275367] scsi host1: ata_piix
[ 0.275593] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq
14
[ 0.275979] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq
15
[ 0.276427] tun: Universal TUN/TAP device driver, 1.6
[ 0.276895] PPP generic driver version 2.4.2
[ 0.277182] VFIO - User Level meta-driver version: 0.3
[ 0.277538] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at
0x60,0x64 irq 1,12
[ 0.278366] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.278668] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.279005] mousedev: PS/2 mouse device common for all mice
[ 0.279441] input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input1
[ 0.280056] rtc_cmos 00:04: RTC can wake from S4
[ 0.280499] rtc_cmos 00:04: registered as rtc0
[ 0.280775] rtc_cmos 00:04: setting system clock to 2023-10-23T07:23:27
UTC (1698045807)
[ 0.281262] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram
[ 0.281652] i2c_dev: i2c /dev entries driver
[ 0.281906] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled.
Duplicate IMA measurements will not be recorded in the IMA log.
[ 0.282731] device-mapper: uevent: version 1.0.3
[ 0.283030] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22)
initialised: dm-devel(a)redhat.com
[ 0.283509] platform eisa.0: Probing EISA bus 0
[ 0.283767] platform eisa.0: EISA: Cannot allocate resource for
mainboard
[ 0.284145] platform eisa.0: Cannot allocate resource for EISA slot 1
[ 0.284503] platform eisa.0: Cannot allocate resource for EISA slot 2
[ 0.284863] platform eisa.0: Cannot allocate resource for EISA slot 3
[ 0.285218] platform eisa.0: Cannot allocate resource for EISA slot 4
[ 0.285581] platform eisa.0: Cannot allocate resource for EISA slot 5
[ 0.285940] platform eisa.0: Cannot allocate resource for EISA slot 6
[ 0.286303] platform eisa.0: Cannot allocate resource for EISA slot 7
[ 0.286677] platform eisa.0: Cannot allocate resource for EISA slot 8
[ 0.287035] platform eisa.0: EISA: Detected 0 cards
[ 0.287312] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.287697] drop_monitor: Initializing network drop monitor service
[ 0.288139] NET: Registered PF_INET6 protocol family
[ 0.288711] Segment Routing with IPv6
[ 0.288937] In-situ OAM (IOAM) with IPv6
[ 0.289170] NET: Registered PF_PACKET protocol family
[ 0.289480] Key type dns_resolver registered
[ 0.289818] IPI shorthand broadcast: enabled
[ 0.290079] sched_clock: Marking stable (244073245, 42596430)-
>(319796242, -33126567)
[ 0.290562] registered taskstats version 1
[ 0.290832] Loading compiled-in X.509 certificates
[ 0.291429] Loaded X.509 cert 'Build time autogenerated kernel key:
decaf24c8c259bd8f39bc63620fc0f3290cbff94'
[ 0.292274] Loaded X.509 cert 'Canonical Ltd. Live Patch Signing:
14df34d1a87cf37625abec039ef2bf521249b969'
[ 0.293091] Loaded X.509 cert 'Canonical Ltd. Kernel Module Signing:
88f752e560a1e0737e31163a466ad7b70a850c19'
[ 0.293648] blacklist: Loading compiled-in revocation X.509
certificates
[ 0.294043] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing:
61482aa2830d0ab2ad5af10b7250da9033ddcef0'
[ 0.294592] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing
(2017): 242ade75ac4a15e50d50c84b0d45ff3eae707a03'
[ 0.295194] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (ESM
2018): 365188c1d374d6b07c3c8f240f8ef722433d6a8b'
[ 0.295805] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing
(2019): c0746fd6c5da3ae827864651ad66ae47fe24b3e8'
[ 0.296395] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021
v1): a8d54bbb3825cfb94fa13c9f8a594a195c107b8d'
[ 0.297001] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021
v2): 4cf046892d6fd3c9a5b03f98d845f90851dc6a8c'
[ 0.297603] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing (2021
v3): 100437bb6de6e469b581e61cd66bce3ef4ed53af'
[ 0.298202] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing
(Ubuntu Core 2019): c1d57b8f6b743f23ee41f4f7ee292f06eecadfb9'
[ 0.298919] zswap: loaded using pool lzo/zbud
[ 0.299232] Key type .fscrypt registered
[ 0.299457] Key type fscrypt-provisioning registered
[ 0.299911] Key type encrypted registered
[ 0.300154] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.300466] ima: No TPM chip found, activating TPM-bypass!
[ 0.300775] Loading compiled-in module X.509 certificates
[ 0.301366] Loaded X.509 cert 'Build time autogenerated kernel key:
decaf24c8c259bd8f39bc63620fc0f3290cbff94'
[ 0.301925] ima: Allocated hash algorithm: sha1
[ 0.302186] ima: No architecture policies found
[ 0.302452] evm: Initialising EVM extended attributes:
[ 0.302753] evm: security.selinux
[ 0.302943] evm: security.SMACK64
[ 0.303130] evm: security.SMACK64EXEC
[ 0.303334] evm: security.SMACK64TRANSMUTE
[ 0.303573] evm: security.SMACK64MMAP
[ 0.303779] evm: security.apparmor
[ 0.303973] evm: security.ima
[ 0.304140] evm: security.capability
[ 0.304339] evm: HMAC attrs: 0x1
[ 0.304751] PM: Magic number: 11:317:370
[ 0.305088] RAS: Correctable Errors collector initialized.
[ 0.443647] Freeing unused decrypted memory: 2036K
[ 0.444357] Freeing unused kernel image (initmem) memory: 3356K
[ 0.444701] Write protecting the kernel read-only data: 30720k
[ 0.445307] Freeing unused kernel image (text/rodata gap) memory: 2036K
[ 0.445870] Freeing unused kernel image (rodata/data gap) memory: 1416K
[ 0.469663] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 0.470047] Run /init as init process
supermin: mounting /proc
supermin: ext2 mini initrd starting up: 5.2.1
supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000
udev.event-timeout=6000 no_timer_check printk.time=1
cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable
8250.nr_uarts=1 root=UUID=919a7a90-2f2f-4970-840e-ca17a3bf44b0
selinux=0 guestfs_verbose=1 TERM=xterm-256color
supermin: uptime: 0.42 0.13
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
supermin: internal insmod crct10dif-pclmul.ko
supermin: internal insmod crc32_generic.ko
supermin: internal insmod nfit.ko
supermin: internal insmod virtio_blk.ko
supermin: internal insmod ecc.ko
supermin: internal insmod ecdh_generic.ko
supermin: internal insmod bluetooth.ko
[ 0.491805] Bluetooth: Core ver 2.22
[ 0.492046] NET: Registered PF_BLUETOOTH protocol family
[ 0.492349] Bluetooth: HCI device and connection manager initialized
[ 0.492714] Bluetooth: HCI socket layer initialized
[ 0.493010] Bluetooth: L2CAP socket layer initialized
[ 0.493451] Bluetooth: SCO socket layer initialized
supermin: internal insmod virtio_bt.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod crypto_engine.ko
supermin: internal insmod virtio_crypto.ko
supermin: internal insmod failover.ko
supermin: internal insmod net_failover.ko
supermin: internal insmod virtio_net.ko
supermin: internal insmod nd_btt.ko
supermin: internal insmod nd_pmem.ko
supermin: internal insmod nd_virtio.ko
supermin: internal insmod virtio_pmem.ko
supermin: internal insmod rpmsg_core.ko
supermin: internal insmod rpmsg_ns.ko
supermin: internal insmod virtio_rpmsg_bus.ko
supermin: internal insmod virtio_scsi.ko
[ 0.504842] scsi host2: Virtio SCSI HBA
[ 0.505508] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0
ANSI: 5
[ 0.506174] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0
ANSI: 5
[ 0.512959] sd 2:0:0:0: Power-on or device reset occurred
[ 0.513349] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 0.513805] sd 2:0:0:0: [sda] 204800 512-byte logical blocks: (105
MB/100 MiB)
[ 0.514230] sd 2:0:1:0: Power-on or device reset occurred
[ 0.514560] sd 2:0:0:0: [sda] Write Protect is off
[ 0.514907] sd 2:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 0.515439] sd 2:0:1:0: Attached scsi generic sg1 type 0
[ 0.515849] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29
GB/4.00 GiB)
[ 0.516405] sd 2:0:1:0: [sdb] Write Protect is off
[ 0.516897] sd 2:0:1:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 0.518485] sd 2:0:0:0: [sda] Attached SCSI disk
[ 0.519135] sd 2:0:1:0: [sdb] Attached SCSI disk
supermin: internal insmod virtio_dma_buf.ko
supermin: internal insmod virtio_input.ko
supermin: internal insmod virtio_mem.ko
supermin: internal insmod vdpa.ko
supermin: internal insmod virtio_vdpa.ko
supermin: internal insmod virtiofs.ko
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc4.ko
supermin: internal insmod crc64.ko
supermin: internal insmod crc7.ko
supermin: internal insmod crc8.ko
supermin: internal insmod libcrc32c.ko
supermin: internal insmod soundcore.ko
supermin: internal insmod snd.ko
supermin: internal insmod snd-timer.ko
supermin: internal insmod snd-pcm.ko
supermin: internal insmod virtio_snd.ko
supermin: picked 8:16 as root device
supermin: creating /dev/root as block special 8:16
supermin: mounting new root on /root
[ 0.534413] EXT4-fs (sdb): mounting ext2 file system using the ext4
subsystem
[ 0.536062] EXT4-fs (sdb): mounted filesystem without journal. Opts: .
Quota mode: none.
supermin: deleting initramfs files
supermin: chroot
Starting /init script ...
/init: line 30: mkdir: command not found
/init: line 31: mount: command not found
/init: line 32: mount: command not found
/init: line 34: mount: command not found
/init: line 35: ln: command not found
/init: line 38: /proc/cmdline: No such file or directory
/init: line 57: mkdir: command not found
/init: line 58: mount: command not found
/init: line 59: mount: command not found
/init: line 61: mkdir: command not found
/init: line 64: mkdir: command not found
/init: line 65: mount: command not found
/init: line 66: mkdir: command not found
/init: line 67: ln: command not found
/init: line 76: ln: command not found
/init: line 82: mkdir: command not found
/init: line 83: kmod: command not found
/init: line 86: od: command not found
/init: line 86: dd: command not found
systemd-tmpfiles: error while loading shared libraries: libacl.so.1:
cannot open shared object file: No such file or directory
/lib/systemd/systemd-udevd: error while loading shared libraries:
libkmod.so.2: cannot open shared object file: No such file or directory
udevadm: error while loading shared libraries: libkmod.so.2: cannot
open shared object file: No such file or directory
udevadm: error while loading shared libraries: libkmod.so.2: cannot
open shared object file: No such file or directory
ip: error while loading shared libraries: libbpf.so.0: cannot open
shared object file: No such file or directory
ip: error while loading shared libraries: libbpf.so.0: cannot open
shared object file: No such file or directory
mdadm: cannot open /proc/partitions
mdadm: No devices listed in conf file were found.
/init: line 135: mkdir: command not found
/init: line 136: touch: command not found
/init: line 139: lvmetad: command not found
/init: line 142: modprobe: command not found
lvm: error while loading shared libraries: libedit.so.2: cannot open
shared object file: No such file or directory
mdadm: cannot open /proc/partitions
mdadm: No devices listed in conf file were found.
ldmtool: error while loading shared libraries: libjson-glib-1.0.so.0:
cannot open shared object file: No such file or directory
/init: line 153: uname: command not found
/init: line 154: ls: command not found
/init: line 155: cat: command not found
/init: line 156: cat: command not found
lvm: error while loading shared libraries: libedit.so.2: cannot open
shared object file: No such file or directory
lvm: error while loading shared libraries: libedit.so.2: cannot open
shared object file: No such file or directory
lvm: error while loading shared libraries: libedit.so.2: cannot open
shared object file: No such file or directory
lvm: error while loading shared libraries: libedit.so.2: cannot open
shared object file: No such file or directory
ip: error while loading shared libraries: libbpf.so.0: cannot open
shared object file: No such file or directory
ip: error while loading shared libraries: libbpf.so.0: cannot open
shared object file: No such file or directory
/init: line 163: cat: command not found
/init: line 164: lsmod: command not found
/init: line 166: date: command not found
clocksource: /init: line 168: cat: command not found
uptime: /init: line 171: cat: command not found
grep: error while loading shared libraries: libpcre.so.3: cannot open
shared object file: No such file or directory
guestfsd --verbose
guestfsd: error while loading shared libraries: libacl.so.1: cannot
open shared object file: No such file or directory
/init: line 254: sync: command not found
reboot: error while loading shared libraries: libselinux.so.1: cannot
open shared object file: No such file or directory
[ 0.572544] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00007f00
[ 0.572985] CPU: 0 PID: 1 Comm: init Not tainted 5.15.0-87-generic #97-
Ubuntu
[ 0.573397] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.15.0-1 04/01/2014
[ 0.573881] Call Trace:
[ 0.574023] <TASK>
[ 0.574147] show_stack+0x52/0x5c
[ 0.574359] dump_stack_lvl+0x4a/0x63
[ 0.574576] dump_stack+0x10/0x16
[ 0.574770] panic+0x15c/0x334
[ 0.574952] do_exit.cold+0x15/0xa0
[ 0.575152] do_group_exit+0x3b/0xb0
[ 0.575359] __x64_sys_exit_group+0x18/0x20
[ 0.575631] do_syscall_64+0x5c/0xc0
[ 0.575843] ? irqentry_exit+0x1d/0x30
[ 0.576056] ? exc_page_fault+0x89/0x170
[ 0.576276] entry_SYSCALL_64_after_hwframe+0x62/0xcc
[ 0.576595] RIP: 0033:0x7f3387ddac31
[ 0.576798] Code: 05 e2 12 00 be e7 00 00 00 ba 3c 00 00 00 eb 16 66 0f
1f 84 00 00 00 00 00 89 d0 0f 05 48 3d 00 f0 ff ff 77 1c f4 89 f0 0f 05
<48> 3d 00 f0 ff ff 76 e7 f7 d8 64 41 89 00 eb df 0f 1f 80 00 00 00
[ 0.577878] RSP: 002b:00007fff16f3d4b8 EFLAGS: 00000246 ORIG_RAX:
00000000000000e7
[ 0.578306] RAX: ffffffffffffffda RBX: 00007f3387f05a00 RCX:
00007f3387ddac31
[ 0.578717] RDX: 000000000000003c RSI: 00000000000000e7 RDI:
000000000000007f
[ 0.579141] RBP: 000000000000007f R08: ffffffffffffff80 R09:
0000000000000028
[ 0.579561] R10: 0000000000000000 R11: 0000000000000246 R12:
00007f3387f05a00
[ 0.580021] R13: 0000000000000000 R14: 00007f3387f0aee8 R15:
00007f3387f0af00
[ 0.580418] </TASK>
[ 0.580571] Kernel Offset: 0x18e00000 from 0xffffffff81000000
(relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 0.581204] Rebooting in 1 seconds..
libguestfs: error: appliance closed the connection unexpectedly, see
earlier error messages
libguestfs: child_cleanup: 0x560195015210: child process died
libguestfs: sending SIGTERM to process 16352
libguestfs: qemu maxrss 218368K
libguestfs: error: guestfs_launch failed, see earlier error messages
libguestfs: trace: launch = -1 (error)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x560195015210 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsX16XPh
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /run/user/1000/libguestfsXhhiff
1 year, 1 month
[PATCH libnbd 0/4] Miscellaneous Rust cleanups
by Richard W.M. Jones
Add an overview libnbd-rust(3) man page pointing to the real
documentation. This is like OCaml & Golang.
When reviewing the real rustdocs I noticed they basically converted
the man pages into plain text, resulting in lots of problems such as
internal links not working, no `code` annotations, etc. So I wrote a
simple POD to rustdoc translator. It is by no means perfect, but it
fixes many of the issues.
Also build the examples, to make sure we don't get any regressions.
Rich.
1 year, 1 month