-
Install QEMU On Windows
- https://community.chocolatey.org/packages/Qemu
- You can Do this anyware Linux Or Mac. Because QEMU Support Crossplatform :)
-
ubuntu-20.04.4-preinstalled-server-riscv64+unleashed.img
-
fw_jump.elf
- https://github.com/riscv-software-src/opensbi
- http://archive.ubuntu.com/ubuntu/pool/universe/o/opensbi/
- opensbi_...~ubuntu..._all.deb
- usr\lib\riscv64-linux-gnu\opensbi\generic\fw_jump.elf
-
uboot.elf
- http://archive.ubuntu.com/ubuntu/pool/main/u/u-boot/
- u-boot-qemu_...-2ubuntu2_all.deb
- usr\lib\u-boot\qemu-riscv64_smode\uboot.elf
- http://archive.ubuntu.com/ubuntu/pool/main/u/u-boot/
-
user-data.img
Check CPU List
> qemu-system-riscv64 -cpu help
any
rv64
shakti-c
sifive-e51
sifive-u54
x-rv128
Run Virtualized RISC-V 64 QEMU Machine
> qemu-system-riscv64 -M virt -smp 8 -m 8192 -nographic
-bios fw_jump.elf -kernel uboot.elf
-drive if=none,file=ubuntu-20.04.4-preinstalled-server-riscv64+unleashed.img,format=raw,id=hd0
-device virtio-blk-device,drive=hd0
-drive file=user-data.img,format=raw
-device virtio-net-device,netdev=net0 -netdev user,hostfwd=tcp:127.0.0.1:2222-:22,id=net0
SSH Login
> ssh -p 2222 ubuntu@127.0.0.1
user-data.img
keep ID:PW ubuntu:asdfqwer
If you do not working login password, then do ubuntu:ubuntu
Into your working directory...
- Download
user-data.zip
from below zip raw file on this Gist. then, extract to user-data.img.
#cloud-config
password: asdfqwer
chpasswd: { expire: False }
ssh_pwauth: True
Login first password will be asdfqwer
The Ubuntu server images require configuration data be provided as an image, such as setting auth credentials.
We need input password below example <WE_HAVE_PASSWORD_MUST_BE_CREDENTIAL>
.
sudo apt -y install cloud-image-utils
cat >user-data <<EOF
#cloud-config
password: <WE_HAVE_PASSWORD_MUST_BE_CREDENTIAL>
chpasswd: { expire: False }
ssh_pwauth: True
EOF
cloud-localds user-data.img user-data
The tool used to convert the config text file into an image file only runs on Linux, so I've attached a user-data.img
file (and the text file used to create it) in a zip file to this Gist.
Extract the user-data.img
file to the working directory.
In user-data text file contents.
#cloud-config
password: asdfqwer
chpasswd: { expire: False }
ssh_pwauth: True
The user-data.img
file was created for password authentication as outlined in https://stackoverflow.com/a/53373376
If booting is confirmed, we will power off for a while and change the storage capacity.
Resize your image in the host what you want. :)
qemu-img resize ubuntu-20.04.4-preinstalled-server-riscv64+unleashed.img +32G
Start the vm, ssh into it and enter the following command
sudo growpart /dev/vda 1
riscv64-qemu>qemu-system-riscv64 -M virt -smp 8 -m 8192 -nographic -bios fw_jump.elf -kernel uboot.elf -drive if=none,file=ubuntu-20.04.4-preinstalled-server-riscv64+unleashed.img,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -drive file=user-data.img,format=raw -device virtio-net-device,netdev=net0 -netdev user,hostfwd=tcp:127.0.0.1:2222-:22,id=net0
OpenSBI v0.9
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : riscv-virtio,qemu
Platform Features : timer,mfdeleg
Platform HART Count : 8
Firmware Base : 0x80000000
Firmware Size : 156 KB
Runtime SBI Version : 0.2
Domain0 Name : root
Domain0 Boot HART : 4
Domain0 HARTs : 0*,1*,2*,3*,4*,5*,6*,7*
Domain0 Region00 : 0x0000000080000000-0x000000008003ffff ()
Domain0 Region01 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000080200000
Domain0 Next Arg1 : 0x0000000082200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Boot HART ID : 4
Boot HART Domain : root
Boot HART ISA : rv64imafdcsuh
Boot HART Features : scounteren,mcounteren,time
Boot HART PMP Count : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count : 0
Boot HART MHPM Count : 0
Boot HART MIDELEG : 0x0000000000001666
Boot HART MEDELEG : 0x0000000000f0b509
U-Boot 2022.01+dfsg-2ubuntu2 (Mar 25 2022 - 10:15:18 +0000)
CPU: rv64imafdch_zicsr_zifencei_zihintpause_zba_zbb_zbc_zbs_sstc
Model: riscv-virtio,qemu
DRAM: 8 GiB
Flash: 32 MiB
Loading Environment from nowhere... OK
In: serial@10000000
Out: serial@10000000
Err: serial@10000000
Net: eth0: virtio-net#1
Hit any key to stop autoboot: 0
Device 0: QEMU VirtIO Block Device
Type: Hard Disk
Capacity: 36352.0 MB = 35.5 GB (74448896 x 512)
... is now current device
Scanning virtio 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
U-Boot menu
1: Ubuntu 20.04.4 LTS 5.11.0-1031-generic
2: Ubuntu 20.04.4 LTS 5.11.0-1031-generic (rescue target)
3: Ubuntu 20.04.4 LTS 5.11.0-1029-generic
4: Ubuntu 20.04.4 LTS 5.11.0-1029-generic (rescue target)
Enter choice: 1
1: Ubuntu 20.04.4 LTS 5.11.0-1031-generic
Retrieving file: /boot/initrd.img-5.11.0-1031-generic
Retrieving file: /boot/vmlinuz-5.11.0-1031-generic
append: root=LABEL=cloudimg-rootfs ro earlycon
Retrieving file: /lib/firmware/5.11.0-1031-generic/device-tree/qemu-riscv.dtb
** File not found /lib/firmware/5.11.0-1031-generic/device-tree/qemu-riscv.dtb **
Moving Image from 0x84000000 to 0x80200000, end=81f0f000
## Flattened Device Tree blob at ff737f60
Booting using the fdt blob at 0xff737f60
Using Device Tree in place at 00000000ff737f60, end 00000000ff73ce0d
Starting kernel ...
[ 0.000000] Linux version 5.11.0-1031-generic (buildd@riscv64-qemu-lcy01-076) (gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #35-Ubuntu SMP Mon Mar 7 17:31:55 UTC 2022 (Ubuntu 5.11.0-1031.35-generic 5.11.22)
[ 0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[ 0.000000] earlycon: ns16550a0 at MMIO 0x0000000010000000 (options '')
[ 0.000000] printk: bootconsole [ns16550a0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] Initial ramdisk at: 0x(____ptrval____) (182755328 bytes)
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fd400000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000027fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080200000-0x000000027fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000027fffffff]
[ 0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges
[ 0.000000] SBI specification v0.2 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x9
[ 0.000000] SBI v0.2 TIME extension detected
[ 0.000000] SBI v0.2 IPI extension detected
[ 0.000000] SBI v0.2 RFENCE extension detected
[ 0.000000] software IO TLB: mapped [mem 0x00000000f9400000-0x00000000fd400000] (64MB)
[ 0.000000] SBI v0.2 HSM extension detected
[ 0.000000] riscv: ISA extensions abcdefhimnprstu
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 26 pages/cpu s69464 r8192 d28840 u106496
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2063880
[ 0.000000] Kernel command line: root=LABEL=cloudimg-rootfs ro earlycon
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Memory: 7918708K/8386560K available (9875K kernel code, 5764K rwdata, 10240K rodata, 2519K init, 991K bss, 435084K reserved, 32768K cma-reserved)
[ 0.000000] random: get_random_u64 called from kmem_cache_open+0x36/0x344 with crng_init=0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 0.000000] ftrace: allocating 38913 entries in 153 pages
[ 0.000000] ftrace: allocated 153 pages with 4 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: plic@c000000: mapped 96 interrupts with 8 handlers for 16 contexts.
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [4]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[ 0.000189] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[ 0.017779] Console: colour dummy device 80x25
[ 0.020880] printk: console [tty0] enabled
[ 0.023848] printk: bootconsole [ns16550a0] disabled
[ 0.000000] Linux version 5.11.0-1031-generic (buildd@riscv64-qemu-lcy01-076) (gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #35-Ubuntu SMP Mon Mar 7 17:31:55 UTC 2022 (Ubuntu 5.11.0-1031.35-generic 5.11.22)
[ 0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[ 0.000000] earlycon: ns16550a0 at MMIO 0x0000000010000000 (options '')
[ 0.000000] printk: bootconsole [ns16550a0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] Initial ramdisk at: 0x(____ptrval____) (182755328 bytes)
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fd400000
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000027fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080200000-0x000000027fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x000000027fffffff]
[ 0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges
[ 0.000000] SBI specification v0.2 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x9
[ 0.000000] SBI v0.2 TIME extension detected
[ 0.000000] SBI v0.2 IPI extension detected
[ 0.000000] SBI v0.2 RFENCE extension detected
[ 0.000000] software IO TLB: mapped [mem 0x00000000f9400000-0x00000000fd400000] (64MB)
[ 0.000000] SBI v0.2 HSM extension detected
[ 0.000000] riscv: ISA extensions abcdefhimnprstu
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 26 pages/cpu s69464 r8192 d28840 u106496
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2063880
[ 0.000000] Kernel command line: root=LABEL=cloudimg-rootfs ro earlycon
[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] Memory: 7918708K/8386560K available (9875K kernel code, 5764K rwdata, 10240K rodata, 2519K init, 991K bss, 435084K reserved, 32768K cma-reserved)
[ 0.000000] random: get_random_u64 called from kmem_cache_open+0x36/0x344 with crng_init=0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 0.000000] ftrace: allocating 38913 entries in 153 pages
[ 0.000000] ftrace: allocated 153 pages with 4 groups
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: plic@c000000: mapped 96 interrupts with 8 handlers for 16 contexts.
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [4]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[ 0.000189] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[ 0.017779] Console: colour dummy device 80x25
[ 0.020880] printk: console [tty0] enabled
[ 0.023848] printk: bootconsole [ns16550a0] disabled
[ 0.028956] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
[ 0.029624] pid_max: default: 32768 minimum: 301
[ 0.031930] LSM: Security Framework initializing
[ 0.033637] Yama: becoming mindful.
[ 0.038551] AppArmor: AppArmor initialized
[ 0.042457] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.042622] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.108617] rcu: Hierarchical SRCU implementation.
[ 0.115737] EFI services will not be available.
[ 0.123010] smp: Bringing up secondary CPUs ...
[ 0.156246] smp: Brought up 1 node, 8 CPUs
[ 0.189504] devtmpfs: initialized
[ 0.205954] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.206398] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 0.213573] pinctrl core: initialized pinctrl subsystem
[ 0.243705] NET: Registered protocol family 16
[ 0.249615] audit: initializing netlink subsys (disabled)
[ 0.253698] audit: type=2000 audit(0.180:1): state=initialized audit_enabled=0 res=1
[ 0.262760] thermal_sys: Registered thermal governor 'fair_share'
[ 0.262916] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.263001] thermal_sys: Registered thermal governor 'step_wise'
[ 0.263039] thermal_sys: Registered thermal governor 'user_space'
[ 0.327914] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.328084] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.379484] fbcon: Taking over console
[ 0.381786] iommu: Default domain type: Translated
[ 0.392296] SCSI subsystem initialized
[ 0.401569] vgaarb: loaded
[ 0.403946] usbcore: registered new interface driver usbfs
[ 0.404965] usbcore: registered new interface driver hub
[ 0.406032] usbcore: registered new device driver usb
[ 0.407324] pps_core: LinuxPPS API ver. 1 registered
[ 0.407393] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.407577] PTP clock support registered
[ 0.409438] EDAC MC: Ver: 3.0.0
[ 0.430382] NetLabel: Initializing
[ 0.430499] NetLabel: domain hash size = 128
[ 0.430549] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.433088] NetLabel: unlabeled traffic allowed by default
[ 0.439830] clocksource: Switched to clocksource riscv_clocksource
[ 0.641919] VFS: Disk quotas dquot_6.6.0
[ 0.642399] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.650933] AppArmor: AppArmor Filesystem Enabled
[ 0.696560] NET: Registered protocol family 2
[ 0.699382] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.714377] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[ 0.715473] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.716874] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[ 0.717934] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.721826] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear)
[ 0.722603] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.723228] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.731622] NET: Registered protocol family 1
[ 0.732695] NET: Registered protocol family 44
[ 0.733170] PCI: CLS 0 bytes, default 64
[ 0.741134] Trying to unpack rootfs image as initramfs...
[ 13.523368] Freeing initrd memory: 178468K
[ 13.530111] Initialise system trusted keyrings
[ 13.533560] Key type blacklist registered
[ 13.535353] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[ 13.552507] zbud: loaded
[ 13.560969] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 13.565749] fuse: init (API version 7.33)
[ 13.573787] integrity: Platform Keyring initialized
[ 13.602715] Key type asymmetric registered
[ 13.602939] Asymmetric key parser 'x509' registered
[ 13.603387] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[ 13.605203] io scheduler mq-deadline registered
[ 13.615152] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 13.621358] pci-host-generic 30000000.pci: host bridge /soc/pci@30000000 ranges:
[ 13.622878] pci-host-generic 30000000.pci: IO 0x0003000000..0x000300ffff -> 0x0000000000
[ 13.623714] pci-host-generic 30000000.pci: MEM 0x0040000000..0x007fffffff -> 0x0040000000
[ 13.623849] pci-host-generic 30000000.pci: MEM 0x0400000000..0x07ffffffff -> 0x0400000000
[ 13.624785] pci-host-generic 30000000.pci: Memory resource size exceeds max for 32 bits
[ 13.626327] pci-host-generic 30000000.pci: ECAM at [mem 0x30000000-0x3fffffff] for [bus 00-ff]
[ 13.628898] pci-host-generic 30000000.pci: PCI host bridge to bus 0000:00
[ 13.629641] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 13.629821] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff]
[ 13.629872] pci_bus 0000:00: root bus resource [mem 0x400000000-0x7ffffffff]
[ 13.630098] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 13.633792] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
[ 13.652734] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 13.691498] 10000000.serial: ttyS0 at MMIO 0x10000000 (irq = 2, base_baud = 230400) is a 16550A
[ 13.828916] hrtimer: interrupt took 18424500 ns
[ 13.830665] printk: console [ttyS0] enabled
[ 14.169127] loop: module loaded
[ 14.182083] libphy: Fixed MDIO Bus: probed
[ 14.183815] tun: Universal TUN/TAP device driver, 1.6
[ 14.186754] PPP generic driver version 2.4.2
[ 14.190369] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 14.192840] ehci-pci: EHCI PCI platform driver
[ 14.194818] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 14.197355] ohci-pci: OHCI PCI platform driver
[ 14.199551] uhci_hcd: USB Universal Host Controller Interface driver
[ 14.205105] mousedev: PS/2 mouse device common for all mice
[ 14.214090] goldfish_rtc 101000.rtc: registered as rtc0
[ 14.218245] goldfish_rtc 101000.rtc: setting system clock to 2023-04-23T12:28:06 UTC (1682252886)
[ 14.222826] i2c /dev entries driver
[ 14.232025] syscon-poweroff poweroff: pm_power_off already claimed for default_power_off
[ 14.234918] syscon-poweroff: probe of poweroff failed with error -16
[ 14.238245] device-mapper: uevent: version 1.0.3
[ 14.241867] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[ 14.247541] EDAC DEVICE0: Giving out device to module Sifive ECC Manager controller sifive_edac.0: DEV sifive_edac.0 (INTERRUPT)
[ 14.255587] ledtrig-cpu: registered to indicate activity on CPUs
[ 14.259474] drop_monitor: Initializing network drop monitor service
[ 14.265350] NET: Registered protocol family 10
[ 14.852203] Segment Routing with IPv6
[ 14.854599] NET: Registered protocol family 17
[ 14.858245] Key type dns_resolver registered
[ 14.860816] registered taskstats version 1
[ 14.863335] Loading compiled-in X.509 certificates
[ 14.887780] Loaded X.509 cert 'Build time autogenerated kernel key: 544ecc29834a605eb050d439c833e33571e490a1'
[ 14.895875] Loaded X.509 cert 'Canonical Ltd. Live Patch Signing: 14df34d1a87cf37625abec039ef2bf521249b969'
[ 14.902507] Loaded X.509 cert 'Canonical Ltd. Kernel Module Signing: 88f752e560a1e0737e31163a466ad7b70a850c19'
[ 14.906153] blacklist: Loading compiled-in revocation X.509 certificates
[ 14.911087] Loaded X.509 cert 'Canonical Ltd. Secure Boot Signing: 61482aa2830d0ab2ad5af10b7250da9033ddcef0'
[ 14.920497] zswap: loaded using pool lzo/zbud
[ 14.926951] Key type ._fscrypt registered
[ 14.928741] Key type .fscrypt registered
[ 14.929918] Key type fscrypt-provisioning registered
[ 15.139818] Key type encrypted registered
[ 15.141832] AppArmor: AppArmor sha1 policy hashing enabled
[ 15.144738] ima: No TPM chip found, activating TPM-bypass!
[ 15.146571] ima: Allocated hash algorithm: sha1
[ 15.151638] ima: No architecture policies found
[ 15.154499] evm: Initialising EVM extended attributes:
[ 15.156053] evm: security.selinux
[ 15.158079] evm: security.SMACK64
[ 15.159575] evm: security.SMACK64EXEC
[ 15.161354] evm: security.SMACK64TRANSMUTE
[ 15.162862] evm: security.SMACK64MMAP
[ 15.164044] evm: security.apparmor
[ 15.165257] evm: security.ima
[ 15.166235] evm: security.capability
[ 15.168033] evm: HMAC attrs: 0x1
[ 15.259438] Freeing unused kernel memory: 2516K
[ 15.295436] ------------[ cut here ]------------
[ 15.297401] riscv/mm: Found insecure W+X mapping at address (____ptrval____)/0xffffffdff8000000
[ 15.301985] WARNING: CPU: 2 PID: 1 at arch/riscv/mm/ptdump.c:231 note_page+0x254/0x25a
[ 15.304973] Modules linked in:
[ 15.306544] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.11.0-1031-generic #35-Ubuntu
[ 15.309917] epc: ffffffe00000b356 ra : ffffffe00000b356 sp : ffffffe07fff7b20
[ 15.312725] gp : ffffffe001c14630 tp : ffffffe080004500 t0 : ffffffe07ff08000
[ 15.314845] t1 : ffffffe07ff080a0 t2 : 0000000000000000 s0 : ffffffe07fff7b70
[ 15.317165] s1 : ffffffe07fff7de8 a0 : 0000000000000053 a1 : ffffffe001b05ae0
[ 15.319799] a2 : 0000000000000010 a3 : 0000000000000000 a4 : cc4b1e90215de100
[ 15.322150] a5 : cc4b1e90215de100 a6 : 0000000000000012 a7 : ffffffe00055b8b0
[ 15.324518] s2 : ffffffdff8001000 s3 : 0000000000000000 s4 : 0000000000000004
[ 15.326543] s5 : 0000000000000000 s6 : 0000000000000000 s7 : ffffffe07fff7d18
[ 15.329765] s8 : ffffffdff8001000 s9 : ffffffe001c17148 s10: ffffffdff8002000
[ 15.332536] s11: ffffffe000e18a80 t3 : 0000000007200720 t4 : 0000000000000001
[ 15.334995] t5 : 0293687091b35632 t6 : ffffffe07fff7838
[ 15.337441] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[ 15.339741] ---[ end trace f7ed341ed0fdb44c ]---
[ 15.342441] Checked W+X mappings: failed, 1 W+X pages found
[ 15.345453] Run /init as init process
Loading, please wait...
Starting version 245.4-4ubuntu3.15
[ 19.603865] virtio_blk virtio0: [vda] 74448896 512-byte logical blocks (38.1 GB/35.5 GiB)
[ 19.687982] vda: vda1 vda12 vda13 vda14 vda15
[ 20.181902] random: fast init done
Begin: Loading essential drivers ... [ 24.893315] raid6: int64x8 gen() 361 MB/s
[ 24.960352] raid6: int64x8 xor() 444 MB/s
[ 25.028218] raid6: int64x4 gen() 1340 MB/s
[ 25.097281] raid6: int64x4 xor() 832 MB/s
[ 25.164274] raid6: int64x2 gen() 1528 MB/s
[ 25.233416] raid6: int64x2 xor() 904 MB/s
[ 25.301285] raid6: int64x1 gen() 1158 MB/s
[ 25.369292] raid6: int64x1 xor() 725 MB/s
[ 25.370848] raid6: using algorithm int64x2 gen() 1528 MB/s
[ 25.372623] raid6: .... xor() 904 MB/s, rmw enabled
[ 25.374227] raid6: using intx1 recovery algorithm
[ 25.393749] xor: measuring software checksum speed
[ 25.400742] 8regs : 2272 MB/sec
[ 25.407170] 8regs_prefetch : 2235 MB/sec
[ 25.415157] 32regs : 1820 MB/sec
[ 25.422000] 32regs_prefetch : 2158 MB/sec
[ 25.424040] xor: using function: 8regs (2272 MB/sec)
[ 25.437866] async_tx: api initialized (async)
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... [ 30.463241] Btrfs loaded, crc32c=crc32c-generic, zoned=yes
Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.34
[/usr/sbin/fsck.ext4 (1) -- /dev/vda1] fsck.ext4 -a -C0 /dev/vda1
cloudimg-rootfs: clean, 234257/4507648 files, 5043257/9276663 blocks
done.
[ 32.158944] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[ 39.518915] systemd[1]: Inserted module 'autofs4'
[ 39.827383] systemd[1]: systemd 245.4-4ubuntu3.15 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[ 39.839082] systemd[1]: Detected architecture riscv64.
Welcome to Ubuntu 20.04.4 LTS!
[ 39.947617] systemd[1]: Set hostname to <ubuntu>.
[ 42.307073] random: lvmconfig: uninitialized urandom read (4 bytes read)
[ 46.863998] systemd[1]: Created slice system-modprobe.slice.
[ OK ] Created slice system-modprobe.slice.
[ 46.886177] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 46.904207] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ 46.922610] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 46.934393] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password R?쫢ests to Wall Directory Watch.
[ 46.979345] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ OK ] Set up automount Arbitrary?쫟 File System Automount Point.
[ 46.990355] systemd[1]: Reached target User and Group Name Lookups.
[ OK ] Reached target User and Group Name Lookups.
[ 46.997582] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 47.003386] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 47.014024] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ OK ] Listening on Device-mapper event daemon FIFOs.
[ 47.027374] systemd[1]: Listening on LVM2 poll daemon socket.
[ OK ] Listening on LVM2 poll daemon socket.
[ 47.037620] systemd[1]: Listening on multipathd control socket.
[ OK ] Listening on multipathd control socket.
[ 47.049095] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 47.059577] systemd[1]: Listening on fsck to fsckd communication Socket.
[ OK ] Listening on fsck to fsckd communication Socket.
[ 47.069401] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 47.090081] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 47.102462] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 47.115573] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 47.126776] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 47.139537] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 47.150158] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 47.201206] systemd[1]: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 47.248558] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 47.301170] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 47.355698] systemd[1]: Mounting Kernel Trace File System...
Mounting Kernel Trace File System...
[ 47.459860] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 47.515697] systemd[1]: Starting Set the console keyboard layout...
Starting Set the console keyboard layout...
[ 47.564940] systemd[1]: Starting Create list of static device nodes for the current kernel...
Starting Create list of st?쫛des for the current kernel...
[ 47.612972] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
Starting Monitoring of LVM?쫗eventd or progress polling...
[ 47.666993] systemd[1]: Starting Load Kernel Module drm...
Starting Load Kernel Module drm...
[ 47.677472] systemd[1]: Condition check resulted in OpenVSwitch configuration for cleanup being skipped.
[ 47.693088] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 47.698949] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[ 47.761358] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 47.849962] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 47.913012] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
[ 47.950923] random: lvm: uninitialized urandom read (4 bytes read)
[ 47.983121] systemd[1]: Starting Uncomplicated firewall...
Starting Uncomplicated firewall...
[ 48.128035] systemd[1]: Mounted Huge Pages File System.
[ OK ] Mounted Huge Pages File System.
[ 48.146591] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 48.161666] systemd[1]: Mounted Kernel Debug File System.
[ OK ] Mounted Kernel Debug File System.
[ 48.174849] systemd[1]: Mounted Kernel Trace File System.
[ OK ] Mounted Kernel Trace File System.
[ 48.249955] systemd[1]: Finished Create list of static device nodes for the current kernel.
[ OK ] Finished Create list of st?? nodes for the current kernel.
[ 48.375759] EXT4-fs (vda1): re-mounted. Opts: (null). Quota mode: none.
[ 48.421151] systemd[1]: Finished Uncomplicated firewall.
[ OK ] Finished Uncomplicated firewall.
[ 48.509007] systemd[1]: Finished Remount Root and Kernel File Systems.
[ OK ] Finished Remount Root and Kernel File Systems.
[ 48.535554] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[ 48.543230] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[ 48.591763] systemd[1]: Starting Load/Save Random Seed...
Starting Load/Save Random Seed...
[ 48.662647] systemd[1]: Starting Create System Users...
Starting Create System Users...
[ 48.877437] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ OK ] Finished Load/Save Random Seed.
[ 49.945652] systemd-journald[377]: Received client request to flush runtime journal.
[ OK ] Finished Set the console keyboard layout.
[ OK ] Finished Flush Journal to Persistent Storage.
[ 51.730380] IPMI message handler: version 39.2
[ 51.759005] ipmi device interface
[ OK ] Finished Create System Users.
[ OK ] Finished Load Kernel Modules.
Mounting FUSE Control File System...
Mounting Kernel Configuration File System...
Starting Apply Kernel Variables...
Starting Create Static Device Nodes in /dev...
[ OK ] Finished Monitoring of LVM?? dmeventd or progress polling.
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Finished udev Coldplug all Devices.
Starting udev Wait for Complete Device Initialization...
Starting udev Kernel Device Manager...
[ OK ] Finished Load Kernel Module drm.
[ OK ] Finished Apply Kernel Variables.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Dispatch Password ?쫡s to Console Directory Watch.
[ OK ] Reached target Local Encrypted Volumes.
[ OK ] Found device /dev/ttyS0.
[ OK ] Listening on Load/Save RF ?쫒tch Status /dev/rfkill Watch.
[ OK ] Found device /dev/disk/by-label/UEFI.
[ OK ] Finished udev Wait for Complete Device Initialization.
Starting Device-Mapper Multipath Device Controller...
[ OK ] Started Device-Mapper Multipath Device Controller.
[ OK ] Reached target Local File Systems (Pre).
Starting File System Check on /dev/disk/by-label/UEFI...
[ OK ] Started File System Check Daemon to report status.
[ OK ] Finished File System Check on /dev/disk/by-label/UEFI.
Mounting /boot/efi...
[ OK ] Mounted /boot/efi.
[ OK ] Reached target Local File Systems.
Starting Load AppArmor profiles...
Starting Set console font and keymap...
Starting Create final runt?쫉ir for shutdown pivot root...
Starting Initial cloud-init job (pre-networking)...
Starting Tell Plymouth To Write Out Runtime Data...
Starting Create Volatile Files and Directories...
[ OK ] Finished Create final runt?쫊 dir for shutdown pivot root.
[ OK ] Finished Set console font and keymap.
[ OK ] Finished Tell Plymouth To Write Out Runtime Data.
[ OK ] Finished Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Finished Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Set.
[ OK ] Reached target System Time Synchronized.
[ OK ] Finished Load AppArmor profiles.
[ 84.006113] cloud-init[526]: Cloud-init v. 22.1-14-g2e17a0d6-0ubuntu1~20.04.3 running 'init-local' at Sun, 23 Apr 2023 12:29:13 +0000. Up 81.09 seconds.
[ OK ] Finished Initial cloud-init job (pre-networking).
[ OK ] Reached target Network (Pre).
Starting Network Service...
[ OK ] Started Network Service.
Starting Wait for Network to be Configured...
Starting Network Name Resolution...
[ OK ] Finished Wait for Network to be Configured.
Starting Initial cloud-ini?? (metadata service crawler)...
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Network.
[ OK ] Reached target Host and Network Name Lookups.
[ 104.525912] cloud-init[536]: Cloud-init v. 22.1-14-g2e17a0d6-0ubuntu1~20.04.3 running 'init' at Sun, 23 Apr 2023 12:29:30 +0000. Up 98.03 seconds.
[ 104.534768] cloud-init[536]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++
[ 104.542470] cloud-init[536]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
[ 104.550639] cloud-init[536]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 104.557666] cloud-init[536]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
[ 104.565196] cloud-init[536]: ci-info: | eth0 | True | 10.0.2.15 | 255.255.255.0 | global | 52:54:00:12:34:56 |
[ 104.572179] cloud-init[536]: ci-info: | eth0 | True | fec0::5054:ff:fe12:3456/64 | . | site | 52:54:00:12:34:56 |
[ 104.580909] cloud-init[536]: ci-info: | eth0 | True | fe80::5054:ff:fe12:3456/64 | . | link | 52:54:00:12:34:56 |
[ 104.588559] cloud-init[536]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 104.596831] cloud-init[536]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 104.605467] cloud-init[536]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
[ 104.612972] cloud-init[536]: ci-info: ++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++
[ 104.620434] cloud-init[536]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+
[ 104.628367] cloud-init[536]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
[ 104.634900] cloud-init[536]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+
[ 104.641856] cloud-init[536]: ci-info: | 0 | 0.0.0.0 | 10.0.2.2 | 0.0.0.0 | eth0 | UG |
[ 104.649346] cloud-init[536]: ci-info: | 1 | 10.0.2.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |
[ 104.656560] cloud-init[536]: ci-info: | 2 | 10.0.2.2 | 0.0.0.0 | 255.255.255.255 | eth0 | UH |
[ 104.664531] cloud-init[536]: ci-info: +-------+-------------+----------+-----------------+-----------+-------+
[ 104.671343] cloud-init[536]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
[ 104.678712] cloud-init[536]: ci-info: +-------+-------------+---------+-----------+-------+
[ 104.685819] cloud-init[536]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[ 104.692135] cloud-init[536]: ci-info: +-------+-------------+---------+-----------+-------+
[ 104.698360] cloud-init[536]: ci-info: | 1 | fe80::/64 | :: | eth0 | U |
[ 104.706028] cloud-init[536]: ci-info: | 2 | fec0::/64 | :: | eth0 | Ue |
[ 104.712821] cloud-init[536]: ci-info: | 3 | ::/0 | fe80::2 | eth0 | UGe |
[ 104.720564] cloud-init[536]: ci-info: | 5 | local | :: | eth0 | U |
[ 104.726883] cloud-init[536]: ci-info: | 6 | local | :: | eth0 | U |
[ 104.733018] cloud-init[536]: ci-info: | 7 | multicast | :: | eth0 | U |
[ 104.739831] cloud-init[536]: ci-info: +-------+-------------+---------+-----------+-------+
[ OK ] Finished Initial cloud-ini?쫛b (metadata service crawler).
[ OK ] Reached target Cloud-config availability.
[ OK ] Reached target Network is Online.
[ OK ] Reached target System Initialization.
[ OK ] Started Trigger to poll fo?쫦 enabled on GCP LTS non-pro).
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started Periodic ext4 Onli?쫆ta Check for All Filesystems.
[ OK ] Started Discard unused blocks once a week.
[ OK ] Started Refresh fwupd metadata regularly.
[ OK ] Started Daily rotation of log files.
[ OK ] Started Daily man-db regeneration.
[ OK ] Started Message of the Day.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Started Ubuntu Advantage Timer for running repeated jobs.
[ OK ] Reached target Paths.
[ OK ] Reached target Timers.
[ OK ] Listening on cloud-init hotplug hook socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on Open-iSCSI iscsid Socket.
[ OK ] Listening on UUID daemon activation socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Accounts Service...
Starting Apply the settings specified in cloud-config...
[ OK ] Started D-Bus System Message Bus.
[ OK ] Started Save initial kernel messages after boot.
Starting Remove Stale Onli?쫡4 Metadata Check Snapshots...
[ OK ] Started irqbalance daemon.
Starting Dispatcher daemon for systemd-networkd...
[ OK ] Started Set the CPU Frequency Scaling governor.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
Starting LSB: automatic crash report generation...
Starting Deferred execution scheduler...
Starting Availability of block devices...
[ OK ] Started Regular background program processing daemon.
Starting Authorization Manager...
Starting System Logging Service...
Starting OpenBSD Secure Shell server...
Starting Login Service...
Starting Permit User Sessions...
Starting Disk Manager...
[ OK ] Finished Remove Stale Onli?쫊xt4 Metadata Check Snapshots.
[ OK ] Started Deferred execution scheduler.
[ OK ] Finished Availability of block devices.
[ OK ] Finished Permit User Sessions.
[ OK ] Started System Logging Service.
Starting Online ext4 Metad?쫆 Check for All Filesystems...
Starting Discard unused bl?쫋ilesystems from /etc/fstab...
Starting Hold until boot process finishes up...
Starting Terminate Plymouth Boot Screen...
Starting Rotate log files...
Starting Daily man-db regeneration...
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Finished Online ext4 Metadata Check for All Filesystems.
[ OK ] Started LSB: automatic crash report generation.
[ OK ] Finished Hold until boot process finishes up.
[ OK ] Finished Terminate Plymouth Boot Screen.
[ OK ] Started Serial Getty on ttyS0.
Starting Set console scheme...
[ OK ] Finished Set console scheme.
[ OK ] Started Login Service.
[ OK ] Created slice system-getty.slice.
[ OK ] Started Getty on tty1.
[ OK ] Reached target Login Prompts.
[ OK ] Started Unattended Upgrades Shutdown.
[ OK ] Started Authorization Manager.
Starting Modem Manager...
[ OK ] Started Dispatcher daemon for systemd-networkd.
[ OK ] Finished Rotate log files.
Ubuntu 20.04.4 LTS ubuntu ttyS0
ubuntu login: [ 127.250944] cloud-init[687]: Cloud-init v. 22.1-14-g2e17a0d6-0ubuntu1~20.04.3 running 'modules:config' at Sun, 23 Apr 2023 12:29:56 +0000. Up 123.51 seconds.
[ 143.323378] cloud-init[692]: Cloud-init v. 22.1-14-g2e17a0d6-0ubuntu1~20.04.3 running 'modules:final' at Sun, 23 Apr 2023 12:30:12 +0000. Up 139.35 seconds.
[ 143.335063] cloud-init[692]: Cloud-init v. 22.1-14-g2e17a0d6-0ubuntu1~20.04.3 finished at Sun, 23 Apr 2023 12:30:15 +0000. Datasource DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 143.15 seconds
ubuntu
Password:
Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.11.0-1031-generic riscv64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Sun Apr 23 12:31:06 UTC 2023
System load: 1.15
Usage of /: 52.9% of 34.25GB
Memory usage: 2%
Swap usage: 0%
Processes: 135
Users logged in: 0
IPv4 address for eth0: 10.0.2.15
IPv6 address for eth0: fec0::5054:ff:fe12:3456
* Super-optimized for small spaces - read how we shrank the memory
footprint of MicroK8s to make it the smallest full K8s around.
https://ubuntu.com/blog/microk8s-memory-optimisation
0 updates can be applied immediately.
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Last login: Sun Apr 3 16:42:29 UTC 2022 on ttyS0
ubuntu@ubuntu:~$ ls
2022-04-03-dmesg.txt
crash_vm_linux_dbgsym_dump.sh
dbgsym-rhel8.sh
dbgsym-ubuntu2004.sh
debhelper
ftrace_before_vmcore.sh
get_ftrace_log.sh
gettext
is_kdump_ok.sh
linux-hwe-5.15-cloud-tools-common_5.15.0-23.23~20.04.1_all.deb
linux-hwe-5.15-headers-5.15.0-23_5.15.0-23.23~20.04.1_all.deb
linux-hwe-5.15-source-5.15.0_5.15.0-23.23~20.04.1_all.deb
linux-hwe-5.15-tools-common_5.15.0-23.23~20.04.1_all.deb
linux-hwe-5.15-tools-host_5.15.0-23.23~20.04.1_all.deb
m4
mainline
make-ubuntu-kernel-dbgsym.sh
make-ubuntu-kernel-generic.sh
make-ubuntu-kernel-release.sh
panic.sh
ubuntu-focal
ubuntu@ubuntu:~$ poweroff
Failed to set wall message, ignoring: Interactive authentication required.
Failed to power off system via logind: Interactive authentication required.
Failed to open initctl fifo: Permission denied
Failed to talk to init daemon.
ubuntu@ubuntu:~$ sudo poweroff
Stopping Session 1 of user ubuntu.
[ OK ] Removed slice system-modprobe.slice.
[ OK ] Stopped target Cloud-init target.
[ OK ] Stopped target Graphical Interface.
[ OK ] Stopped target Host and Network Name Lookups.
[ OK ] Stopped target Timers.
[ OK ] Stopped Daily apt upgrade and clean activities.
[ OK ] Stopped Daily apt download activities.
[ OK ] Stopped Periodic ext4 Onli?쫆ta Check for All Filesystems.
[ OK ] Stopped Discard unused blocks once a week.
[ OK ] Stopped Refresh fwupd metadata regularly.
[ OK ] Stopped Daily rotation of log files.
[ OK ] Stopped Daily man-db regeneration.
[ OK ] Stopped Message of the Day.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Stopped Ubuntu Advantage Timer for running repeated jobs.
[ OK ] Stopped target System Time Synchronized.
[ OK ] Stopped target System Time Set.
[ OK ] Closed LVM2 poll daemon socket.
[ OK ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Stopping Accounts Service...
Stopping Availability of block devices...
[ OK ] Stopped Execute cloud user/final scripts.
[ OK ] Stopped target Multi-User System.
[ OK ] Stopped target Login Prompts.
Stopping Modem Manager...
Stopping LSB: automatic crash report generation...
Stopping Deferred execution scheduler...
[ OK ] Stopped Apply the settings specified in cloud-config.
[ OK ] Stopped target Cloud-config availability.
[ OK ] Stopped target Network is Online.
Stopping Regular background program processing daemon...
Stopping Create final runt?쫉ir for shutdown pivot root...
Stopping Getty on tty1...
Stopping irqbalance daemon...
Stopping Dispatcher daemon for systemd-networkd...
Stopping System Logging Service...
Stopping Serial Getty on ttyS0...
Stopping OpenBSD Secure Shell server...
Stopping Load/Save Random Seed...
Stopping Disk Manager...
Stopping Unattended Upgrades Shutdown...
[ OK ] Stopped Accounts Service.
[ OK ] Stopped irqbalance daemon.
[ OK ] Stopped Dispatcher daemon for systemd-networkd.
[ OK ] Stopped Regular background program processing daemon.
[ OK ] Stopped System Logging Service.
[ OK ] Stopped Disk Manager.
[ OK ] Stopped Deferred execution scheduler.
[ OK ] Stopped OpenBSD Secure Shell server.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Unattended Upgrades Shutdown.
[ OK ] Stopped Modem Manager.
[ OK ] Stopped Load/Save Random Seed.
[ OK ] Stopped Session 1 of user ubuntu.
[ OK ] Removed slice system-getty.slice.
[ OK ] Removed slice system-serial\x2dgetty.slice.
Stopping Authorization Manager...
Stopping Login Service...
Stopping User Manager for UID 1000...
[ OK ] Stopped Authorization Manager.
[ OK ] Stopped Availability of block devices.
[ OK ] Stopped Login Service.
[ OK ] Stopped User Manager for UID 1000.
Stopping User Runtime Directory /run/user/1000...
[ OK ] Stopped LSB: automatic crash report generation.
[ OK ] Unmounted /run/user/1000.
[ OK ] Stopped User Runtime Directory /run/user/1000.
[ OK ] Removed slice User Slice of UID 1000.
Stopping D-Bus System Message Bus...
Stopping Permit User Sessions...
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Network.
[ OK ] Stopped target User and Group Name Lookups.
[ OK ] Stopped target Paths.
[ OK ] Stopped Trigger to poll fo?쫦 enabled on GCP LTS non-pro).
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped target Remote File Systems (Pre).
[ OK ] Stopped target Slices.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Sockets.
[ OK ] Closed cloud-init hotplug hook socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed Open-iSCSI iscsid Socket.
[ OK ] Closed Syslog Socket.
[ OK ] Closed UUID daemon activation socket.
[ OK ] Stopped target System Initialization.
[ OK ] Stopped target Local Encrypted Volumes.
[ OK ] Stopped Dispatch Password ?쫡s to Console Directory Watch.
[ OK ] Stopped Forward Password R?쫢ests to Wall Directory Watch.
[ OK ] Stopped target Swap.
[ OK ] Stopped Initial cloud-init?쫛b (metadata service crawler).
[ OK ] Stopped Wait for Network to be Configured.
Stopping Network Name Resolution...
Stopping Network Time Synchronization...
Stopping Update UTMP about System Boot/Shutdown...
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Network Name Resolution.
Stopping Network Service...
[ OK ] Stopped Network Service.
[ OK ] Stopped Update UTMP about System Boot/Shutdown.
[ OK ] Stopped target Network (Pre).
[ OK ] Stopped Initial cloud-init job (pre-networking).
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped Load Kernel Modules.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped Create final runtime dir for shutdown pivot root.
[ OK ] Stopped target Local File Systems.
Unmounting /boot/efi...
[ OK ] Unmounted /boot/efi.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped File System Check on /dev/disk/by-label/UEFI.
[ OK ] Removed slice system-systemd\x2dfsck.slice.
[ OK ] Stopped target Local File Systems (Pre).
Stopping Monitoring of LVM?쫗eventd or progress polling...
Stopping Device-Mapper Multipath Device Controller...
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped Create System Users.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Stopped Device-Mapper Multipath Device Controller.
[ OK ] Stopped Monitoring of LVM2?? dmeventd or progress polling.
[ OK ] Reached target Shutdown.
[ OK ] Reached target Final Step.
[ OK ] Finished Power-Off.
[ OK ] Reached target Power-Off.
[ 289.508917] reboot: Power down
[ 316.193302] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [shutdown:1]
[ 316.195632] Modules linked in: nls_iso8859_1 dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua ofpart redboot cmdlinepart cfi_cmdset_0001 cfi_probe cfi_util gen_probe physmap map_funcs chipreg mtd uio_pdrv_genirq uio sch_fq_codel drm ipmi_devintf ipmi_msghandler backlight ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear virtio_net net_failover virtio_blk failover
[ 316.213126] CPU: 0 PID: 1 Comm: shutdown Tainted: G W 5.11.0-1031-generic #35-Ubuntu
[ 316.216558] epc: ffffffe000004cba ra : ffffffe000004d22 sp : ffffffe07fff7d30
[ 316.218892] gp : ffffffe001c14630 tp : ffffffe080004500 t0 : ffffffe001c26157
[ 316.221358] t1 : ffffffe001c26148 t2 : 0000000000000000 s0 : ffffffe07fff7d40
[ 316.223631] s1 : 000000004321fedc a0 : ffffffe000004d22 a1 : ffffffe001b05ae0
[ 316.226393] a2 : 0000000000000010 a3 : 0000000000000000 a4 : cc4b1e90215de100
[ 316.229546] a5 : ffffffe000004ca4 a6 : 0000000000000021 a7 : ffffffe00055b8b0
[ 316.231724] s2 : 0000000028121969 s3 : ffffffe001a1f100 s4 : fffffffffee1dead
[ 316.234659] s5 : ffffffe001c170c0 s6 : 5302444c45256d00 s7 : 0000003fffb22cd8
[ 316.238334] s8 : 0000000000000fff s9 : fffffffffffff000 s10: 0000000000000000
[ 316.240711] s11: 0000000000000000 t3 : 0000000000000072 t4 : ffffffffffffffff
[ 316.244563] t5 : 0000000000000002 t6 : ffffffe07fff7a88
[ 316.246977] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[ 344.191308] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [shutdown:1]
[ 344.193862] Modules linked in: nls_iso8859_1 dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua ofpart redboot cmdlinepart cfi_cmdset_0001 cfi_probe cfi_util gen_probe physmap map_funcs chipreg mtd uio_pdrv_genirq uio sch_fq_codel drm ipmi_devintf ipmi_msghandler backlight ip_tables x_tables autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear virtio_net net_failover virtio_blk failover
[ 344.210836] CPU: 0 PID: 1 Comm: shutdown Tainted: G W L 5.11.0-1031-generic #35-Ubuntu
[ 344.215405] epc: ffffffe000004cbe ra : ffffffe000004d22 sp : ffffffe07fff7d30
[ 344.219373] gp : ffffffe001c14630 tp : ffffffe080004500 t0 : ffffffe001c26157
[ 344.223013] t1 : ffffffe001c26148 t2 : 0000000000000000 s0 : ffffffe07fff7d40
[ 344.225824] s1 : 000000004321fedc a0 : ffffffe000004d22 a1 : ffffffe001b05ae0
[ 344.229392] a2 : 0000000000000010 a3 : 0000000000000000 a4 : cc4b1e90215de100
[ 344.232988] a5 : ffffffe000004ca4 a6 : 0000000000000021 a7 : ffffffe00055b8b0
[ 344.236088] s2 : 0000000028121969 s3 : ffffffe001a1f100 s4 : fffffffffee1dead
[ 344.239017] s5 : ffffffe001c170c0 s6 : 5302444c45256d00 s7 : 0000003fffb22cd8
[ 344.242880] s8 : 0000000000000fff s9 : fffffffffffff000 s10: 0000000000000000
[ 344.246426] s11: 0000000000000000 t3 : 0000000000000072 t4 : ffffffffffffffff
[ 344.249965] t5 : 0000000000000002 t6 : ffffffe07fff7a88
[ 344.252061] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[ 349.510633] rcu: INFO: rcu_sched self-detected stall on CPU
[ 349.512728] rcu: 0-....: (14969 ticks this GP) idle=16a/1/0x4000000000000002 softirq=9002/9002 fqs=6190
[ 349.516492] (t=15000 jiffies g=38377 q=17)
[ 349.518801] Call Trace:
Check also latest Ubuntu New Version :)
Ubuntu 22.10 ( Linux kernel v5.19.x)
Ubuntu 23.04 ( Linux kernel v6.2.x)
-cpu sifive-u54
Parameter, Success!-cpu sifive-u54
will Fail.Ubuntu 24.10 (Linux kernel v6.11.x)
fw_jump.elf
usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.elf
uboot.elf
usr/lib/u-boot/qemu-riscv64_smode/uboot.elf
user-data.img
ubuntu-23.04-preinstalled-server-riscv64+unmatched.img
23.04 need
-cpu sifive-u54
Paramter.Because
Oops - illegal instruction
occuredTimer interrupt in S-mode is available via sstc extension
atriscv_clock_next_event+0x1a/0x40
.ubuntu-22.10-preinstalled-server-riscv64+unmatched.img