Hi Saras,

This is the methodology we used for most gem5-resources disk images
regarding automating the login process right after booting Ubuntu.

We have a systemd service file that will log you in as a root user.
https://github.com/gem5/gem5-resources/blob/stable/src/arm-ubuntu/disk-image/shared/serial-getty%40.service

You'll need to copy this file to `/lib/systemd/system/` folder. After that,
you can run the gem5 simulation again. The expectation is that the guest
system will automatically login as a root user after booting.

More details on generating arm disk images can be found here,
https://github.com/gem5/gem5-resources/tree/stable/src/arm-ubuntu.

Regards,
Hoa Nguyen

On Sat, Dec 23, 2023, 17:55 saras nanda via gem5-users <gem5-users@gem5.org>
wrote:

> i am doing a full system simulation for arm arch , Fs.py and I am unable
> to login once the system boots ,I don't know what Is the problem .
>
> These are the steps I followed while creating the image on qemu
>
> Install the dependecies
>
> sudo apt install qemu-system-arm qemu-system-mips qemu-efi-aarch64
> qemu-kvm qemu-efi cloud-image-utils
>
>
> Prepare the EFI partition
>
> dd if=/dev/zero of=flash0.img bs=1M count=64
>
> dd if=/usr/share/qemu-efi/QEMU_EFI.fd of=flash0.img conv=notrunc
>
> dd if=/dev/zero of=flash1.img bs=1M count=64
>
> credentials for the user
>
> cat >user-data <<EOF
>
> #cloud-config
>
> password: thepassword
>
> chpasswd: { expire: False }
>
> ssh_pwauth: True
>
> EOF
>
> cloud-localds user-data.img user-data
>
> then i booted this image on gem5
> the below is the log from m5 terminal
> please let me know if i can rectify this login methodology  so that i can
> check point the system
> ==== m5 terminal: Terminal 0 ====
> [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd070]
> [    0.000000] Linux version 4.18.0+ (arm-employee@arm-computer) (gcc
> version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #1 SMP PREEMPT Wed
> Nov 6 14:10:00 GMT 2019
> [    0.000000] Machine model: V2P-CA15
> [    0.000000] Memory limited to 512MB
> [    0.000000] cma: Reserved 16 MiB at 0x000000009f000000
> [    0.000000] On node 0 totalpages: 131072
> [    0.000000]   DMA32 zone: 2048 pages used for memmap
> [    0.000000]   DMA32 zone: 0 pages reserved
> [    0.000000]   DMA32 zone: 131072 pages, LIFO batch:31
> [    0.000000] random: get_random_bytes called from
> start_kernel+0xa8/0x3e8 with crng_init=0
> [    0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s53976
> r8192 d32040 u94208
> [    0.000000] pcpu-alloc: s53976 r8192 d32040 u94208 alloc=23*4096
> [    0.000000] pcpu-alloc: [0] 0
> [    0.000000] Detected PIPT I-cache on CPU0
> [    0.000000] CPU features: enabling workaround for ARM erratum 832075
> [    0.000000] CPU features: enabling workaround for ARM erratum 834220
> [    0.000000] CPU features: enabling workaround for EL2 vector hardening
> [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
> [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages:
> 129024
> [    0.000000] Kernel command line: earlyprintk=pl011,0x1c090000
> console=ttyAMA0 lpj=19988480 norandmaps rw loglevel=8 mem=512MB
> root=/dev/sda1
> [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288
> bytes)
> [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144
> bytes)
> [    0.000000] Memory: 480148K/524288K available (6910K kernel code, 452K
> rwdata, 2312K rodata, 448K init, 217K bss, 27756K reserved, 16384K
> cma-reserved)
> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> [    0.000000] Preemptible hierarchical RCU implementation.
> [    0.000000] RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1.
> [    0.000000] Tasks RCU enabled.
> [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
> [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
> [    0.000000] GIC: GICv2 detected, but range too small and
> irqchip.gicv2_force_probe not set
> [    0.000000] clk_gem5_energy_ctrl: No cpu-map in DT! Falling back to old
> detection method!
> [    0.000000] clk_gem5_energy_ctrl: No clusters in DT! Falling back to
> using CPU topology!
> [    0.000001] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every
> 89478484971ns
> [    0.000082] arch_timer: Unable to find a suitable frame in timer @
> 0x000000002a810000
> [    0.000085] Failed to initialize '/timer@2a810000': -22
> [    0.000136] Console: colour dummy device 80x25
> [    0.000140] Calibrating delay loop (skipped) preset value.. 9994.24
> BogoMIPS (lpj=19988480)
> [    0.000145] pid_max: default: 32768 minimum: 301
> [    0.000179] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
> [    0.000183] Mountpoint-cache hash table entries: 1024 (order: 1, 8192
> bytes)
> [    0.024069] ASID allocator initialised with 128 entries
> [    0.032070] Hierarchical SRCU implementation.
> [    0.048080] smp: Bringing up secondary CPUs ...
> [    0.048084] smp: Brought up 1 node, 1 CPU
> [    0.048087] SMP: Total of 1 processors activated.
> [    0.048090] CPU features: detected: Privileged Access Never
> [    0.048093] CPU features: detected: User Access Override
> [    0.048096] CPU features: detected: 32-bit EL0 Support
> [    0.048099] CPU features: detected: Scalable Vector Extension
> [    0.048428] SVE: maximum available vector length 16 bytes per vector
> [    0.048431] SVE: default vector length 16 bytes per vector
> [    0.048434] CPU: All CPU(s) started at EL2
> [    0.048438] alternatives: patching kernel code
> [    0.049061] devtmpfs: initialized
> [    0.049818] clocksource: jiffies: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 7645041785100000 ns
> [    0.049822] futex hash table entries: 256 (order: 2, 16384 bytes)
> [    0.050507] NET: Registered protocol family 16
> [    0.132158] cpuidle: using governor menu
> [    0.132243] vdso: 2 pages (1 code @ (____ptrval____), 1 data @
> (____ptrval____))
> [    0.132247] hw-breakpoint: found 16 breakpoint and 16 watchpoint
> registers.
> [    0.132617] DMA: preallocated 256 KiB pool for atomic allocations
> [    0.132620] Serial: AMBA PL011 UART driver
> [    0.132761] OF: amba_device_add() failed (-2) for /watchdog@2a490000
> [    0.132939] OF: amba_device_add() failed (-2) for /watchdog@2b060000
> [    0.133031] 1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 13,
> base_baud = 0) is a PL011 rev3
> [    0.133287] console [ttyAMA0] enabled
> [    0.133535] 1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 14,
> base_baud = 0) is a PL011 rev3
> [    0.133721] 1c0b0000.uart: ttyAMA2 at MMIO 0x1c0b0000 (irq = 15,
> base_baud = 0) is a PL011 rev3
> [    0.133912] 1c0c0000.uart: ttyAMA3 at MMIO 0x1c0c0000 (irq = 16,
> base_baud = 0) is a PL011 rev3
> [    0.134050] OF: amba_device_add() failed (-2) for /kmi@1c060000
> [    0.134102] OF: amba_device_add() failed (-2) for /kmi@1c070000
> [    0.134154] OF: /watchdog@1c0f0000: could not find phandle
> [    0.134159] ERROR: could not get clock /watchdog@1c0f0000:apb_pclk(1)
> [    0.134165] OF: amba_device_add() failed (-2) for /watchdog@1c0f0000
> [    0.134217] OF: /rtc@1c170000: could not find phandle
> [    0.134222] ERROR: could not get clock /rtc@1c170000:apb_pclk(0)
> [    0.134228] OF: amba_device_add() failed (-2) for /rtc@1c170000
> [    0.143873] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
> [    0.144306] vgaarb: loaded
> [    0.144388] SCSI subsystem initialized
> [    0.148152] libata version 3.00 loaded.
> [    0.148216] usbcore: registered new interface driver usbfs
> [    0.148235] usbcore: registered new interface driver hub
> [    0.148250] usbcore: registered new device driver usb
> [    0.148276] pps_core: LinuxPPS API ver. 1 registered
> [    0.148280] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
> Giometti <giome...@linux.it>
> [    0.148290] PTP clock support registered
> [    0.152247] NET: Registered protocol family 2
> [    0.152403] tcp_listen_portaddr_hash hash table entries: 256 (order: 0,
> 4096 bytes)
> [    0.152412] TCP established hash table entries: 4096 (order: 3, 32768
> bytes)
> [    0.152439] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
> [    0.152467] TCP: Hash tables configured (established 4096 bind 4096)
> [    0.152484] UDP hash table entries: 256 (order: 1, 8192 bytes)
> [    0.152493] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
> [    0.152529] NET: Registered protocol family 1
> [    0.164309] RPC: Registered named UNIX socket transport module.
> [    0.164313] RPC: Registered udp transport module.
> [    0.164318] RPC: Registered tcp transport module.
> [    0.164322] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [    0.164328] PCI: CLS 0 bytes, default 64
> [    0.164507] kvm [1]: SVE system without VHE unsupported.  Broken cpu?
> [    0.164866] workingset: timestamp_bits=62 max_order=17 bucket_order=0
> [    0.167257] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [    0.169692] fuse init (API version 7.27)
> [    0.170180] io scheduler noop registered
> [    0.170253] io scheduler cfq registered (default)
> [    0.170258] io scheduler mq-deadline registered
> [    0.170263] io scheduler kyber registered
> [    0.170292] atomic64_test: passed
> [    0.170659] pci-host-generic 30000000.pci: host bridge /pci ranges:
> [    0.170666] pci-host-generic 30000000.pci:   No bus range found for
> /pci, using [bus 00-ff]
> [    0.170673] pci-host-generic 30000000.pci: Parsing ranges property...
> [    0.170682] pci-host-generic 30000000.pci:    IO 0x2f000000..0x2f00ffff
> -> 0x00000000
> [    0.170692] pci-host-generic 30000000.pci:   MEM 0x40000000..0x7fffffff
> -> 0x00000000
> [    0.170711] pci-host-generic 30000000.pci: ECAM at [mem
> 0x30000000-0x3fffffff] for [bus 00-ff]
> [    0.170771] pci-host-generic 30000000.pci: PCI host bridge to bus
> 0000:00
> [    0.170778] pci_bus 0000:00: root bus resource [bus 00-ff]
> [    0.170785] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
> [    0.170792] pci_bus 0000:00: root bus resource [mem
> 0x40000000-0x7fffffff] (bus address [0x00000000-0x3fffffff])
> [    0.170799] pci_bus 0000:00: scanning bus
> [    0.170816] pci 0000:00:01.0: [8086:7111] type 00 class 0x010185
> [    0.170825] pci 0000:00:01.0: reg 0x10: [io  0x0000-0x0007]
> [    0.170833] pci 0000:00:01.0: reg 0x14: [io  0x0000-0x0003]
> [    0.170840] pci 0000:00:01.0: reg 0x18: [io  0x0000-0x0007]
> [    0.170847] pci 0000:00:01.0: reg 0x1c: [io  0x0000-0x0003]
> [    0.170855] pci 0000:00:01.0: reg 0x20: [io  0x0000-0x000f]
> [    0.170863] pci 0000:00:01.0: reg 0x30: [mem 0x40000000-0x400007ff pref]
> [    0.171146] pci_bus 0000:00: fixups for bus
> [    0.171151] pci_bus 0000:00: bus scan returning with max=00
> [    0.171159] pci 0000:00:01.0: BAR 6: assigned [mem
> 0x40000000-0x400007ff pref]
> [    0.171166] pci 0000:00:01.0: BAR 4: assigned [io  0x1000-0x100f]
> [    0.171174] pci 0000:00:01.0: BAR 0: assigned [io  0x1010-0x1017]
> [    0.171181] pci 0000:00:01.0: BAR 2: assigned [io  0x1018-0x101f]
> [    0.171188] pci 0000:00:01.0: BAR 1: assigned [io  0x1020-0x1023]
> [    0.171196] pci 0000:00:01.0: BAR 3: assigned [io  0x1024-0x1027]
> [    0.172806] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [    0.180408] ata_piix 0000:00:01.0: assign IRQ: got 23
> [    0.180414] ata_piix 0000:00:01.0: version 2.13
> [    0.180421] ata_piix 0000:00:01.0: enabling device (0000 -> 0001)
> [    0.180442] ata_piix 0000:00:01.0: enabling bus mastering
> [    0.184163] scsi host0: ata_piix
> [    0.188164] scsi host1: ata_piix
> [    0.188219] ata1: PATA max UDMA/33 cmd 0x1010 ctl 0x1020 bmdma 0x1000
> irq 23
> [    0.188225] ata2: PATA max UDMA/33 cmd 0x1018 ctl 0x1024 bmdma 0x1008
> irq 23
> [    0.188409] libphy: Fixed MDIO Bus: probed
> [    0.188425] e1000: Intel(R) PRO/1000 Network Driver - version
> 7.3.21-k8-NAPI
> [    0.188430] e1000: Copyright (c) 1999-2006 Intel Corporation.
> [    0.188450] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
> [    0.188455] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
> [    0.188475] igb: Intel(R) Gigabit Ethernet Network Driver - version
> 5.4.0-k
> [    0.188480] igb: Copyright (c) 2007-2014 Intel Corporation.
> [    0.188500] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver -
> version 5.1.0-k
> [    0.188505] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
> [    0.192184] ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function
> Network Driver - version 4.1.0-k
> [    0.192190] ixgbevf: Copyright (c) 2009 - 2015 Intel Corporation.
> [    0.196185] i40e: Intel(R) Ethernet Connection XL710 Network Driver -
> version 2.3.2-k
> [    0.196191] i40e: Copyright (c) 2013 - 2014 Intel Corporation.
> [    0.200191] ixgb: Intel(R) PRO/10GbE Network Driver - version
> 1.0.135-k2-NAPI
> [    0.200196] ixgb: Copyright (c) 1999-2008 Intel Corporation.
> [    0.200216] i40evf: Intel(R) 40-10 Gigabit Virtual Function Network
> Driver - version 3.2.2-k
> [    0.200221] Copyright (c) 2013 - 2015 Intel Corporation.
> [    0.204313] usbcore: registered new interface driver usb-storage
> [    0.204491] mousedev: PS/2 mouse device common for all mice
> [    0.204568] gem5 DVFS handler is disabled
> [    0.204572] gem5-energy-ctrl loaded at (____ptrval____)
> [    0.204577] gem5_energy_ctrl_mc: gem5_mc_init: DVFS handler in energy
> controller is disabled,                         ARM gem5 multi-cluster
> cpufreq driver                         will not be registered
> [    0.204854] usbcore: registered new interface driver usbhid
> [    0.204858] usbhid: USB HID core driver
> [    0.204903] NET: Registered protocol family 17
> [    0.348257] ata1.00: ATA-7: M5 IDE Disk, , max UDMA/66
> [    0.348263] ata1.00: 20971520 sectors, multi 0: LBA
> [    0.348344] scsi 0:0:0:0: Direct-Access     ATA      M5 IDE Disk
>  n/a  PQ: 0 ANSI: 5
> [    0.348531] sd 0:0:0:0: Attached scsi generic sg0 type 0
> [    0.348624] sd 0:0:0:0: [sda] 20971520 512-byte logical blocks: (10.7
> GB/10.0 GiB)
> [    0.348640] sd 0:0:0:0: [sda] Write Protect is off
> [    0.348646] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> [    0.348670] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
> enabled, doesn't support DPO or FUA
> [    0.349147]  sda: sda1 sda15
> [    0.349430] sd 0:0:0:0: [sda] Attached SCSI disk
> [    0.356102] random: fast init done
> [    0.408747] EXT4-fs (sda1): recovery complete
> [    0.408780] EXT4-fs (sda1): mounted filesystem with ordered data mode.
> Opts: (null)
> [    0.408790] VFS: Mounted root (ext4 filesystem) on device 8:1.
> [    0.408816] devtmpfs: mounted
> [    0.408890] Freeing unused kernel memory: 448K
> [    0.426365] systemd[1]: System time before build time, advancing clock.
> [    0.428946] systemd[1]: Failed to look up module alias 'autofs4':
> Function not implemented
> [    0.431404] systemd[1]: systemd 245.4-4ubuntu3.22 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)
> [    0.431523] systemd[1]: Detected architecture arm64.
>
> Welcome to Ubuntu 20.04.6 LTS!
>
> [    0.432500] systemd[1]: Set hostname to <ubuntu>.
> [    0.535670] random: lvmconfig: uninitialized urandom read (4 bytes read)
> [    0.752617] random: systemd: uninitialized urandom read (16 bytes read)
> [    0.752679] systemd[1]: system-modprobe.slice: unit configures an IP
> firewall, but the local system does not support BPF/cgroup firewalling.
> [    0.752689] systemd[1]: (This warning is only shown for the first unit
> using IP firewalling.)
> [    0.753020] systemd[1]: Created slice system-modprobe.slice.
> [  OK  ] Created slice system-modprobe.slice.
> [    0.753123] random: systemd: uninitialized urandom read (16 bytes read)
> [    0.753310] systemd[1]: Created slice system-serial\x2dgetty.slice.
> [  OK  ] Created slice system-serial\x2dgetty.slice.
> [    0.753542] systemd[1]: Created slice system-systemd\x2dfsck.slice.
> [  OK  ] Created slice system-systemd\x2dfsck.slice.
> [    0.753748] systemd[1]: Created slice User and Session Slice.
> [  OK  ] Created slice User and Session Slice.
> [    0.753868] systemd[1]: Started Forward Password Requests to Wall
> Directory Watch.
> [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
> [    0.753980] systemd[1]: Condition check resulted in Arbitrary
> Executable File Formats File System Automount Point being skipped.
> [    0.754091] systemd[1]: Reached target User and Group Name Lookups.
> [  OK  ] Reached target User and Group Name Lookups.
> [    0.754168] systemd[1]: Reached target Slices.
> [  OK  ] Reached target Slices.
> [    0.754232] systemd[1]: Reached target Mounting snaps.
> [  OK  ] Reached target Mounting snaps.
> [    0.754304] systemd[1]: Reached target Swap.
> [  OK  ] Reached target Swap.
> [    0.754445] systemd[1]: Listening on Device-mapper event daemon FIFOs.
> [  OK  ] Listening on Device-mapper event daemon FIFOs.
> [    0.754595] systemd[1]: Listening on LVM2 poll daemon socket.
> [  OK  ] Listening on LVM2 poll daemon socket.
> [    0.754710] systemd[1]: Listening on multipathd control socket.
> [  OK  ] Listening on multipathd control socket.
> [    0.754873] systemd[1]: Listening on Syslog Socket.
> [  OK  ] Listening on Syslog Socket.
> [    0.755016] systemd[1]: Listening on fsck to fsckd communication Socket.
> [  OK  ] Listening on fsck to fsckd communication Socket.
> [    0.755116] systemd[1]: Listening on initctl Compatibility Named Pipe.
> [  OK  ] Listening on initctl Compatibility Named Pipe.
> [    0.758054] systemd[1]: Condition check resulted in Journal Audit
> Socket being skipped.
> [    0.758182] systemd[1]: Listening on Journal Socket (/dev/log).
> [  OK  ] Listening on Journal Socket (/dev/log).
> [    0.758351] systemd[1]: Listening on Journal Socket.
> [  OK  ] Listening on Journal Socket.
> [    0.758585] systemd[1]: Listening on Network Service Netlink Socket.
> [  OK  ] Listening on Network Service Netlink Socket.
> [    0.758728] systemd[1]: Listening on udev Control Socket.
> [  OK  ] Listening on udev Control Socket.
> [    0.758847] systemd[1]: Listening on udev Kernel Socket.
> [  OK  ] Listening on udev Kernel Socket.
> [    0.759582] systemd[1]: Mounting Huge Pages File System...
>          Mounting Huge Pages File System...
> [    0.760360] systemd[1]: Mounting POSIX Message Queue File System...
>          Mounting POSIX Message Queue File System...
> [    0.763589] systemd[1]: Mounting Kernel Debug File System...
>          Mounting Kernel Debug File System...
> [    0.765530] systemd[1]: Condition check resulted in Kernel Trace File
> System being skipped.
> [    0.766546] systemd[1]: Starting Journal Service...
>          Starting Journal Service...
> [    0.769092] systemd[1]: Starting Set the console keyboard layout...
>          Starting Set the console keyboard layout...
> [    0.769160] systemd[1]: Condition check resulted in Create list of
> static device nodes for the current kernel being skipped.
> [    0.769820] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots
> etc. using dmeventd or progress polling...
>          Starting Monitoring of LVM…meventd or progress polling...
> [    0.771201] systemd[1]: Starting Load Kernel Module chromeos_pstore...
>          Starting Load Kernel Module chromeos_pstore...
> [    0.771279] systemd[1]: Condition check resulted in Load Kernel Module
> drm being skipped.
> [    0.780655] systemd[1]: Starting Load Kernel Module efi_pstore...
>          Starting Load Kernel Module efi_pstore...
> [    0.783380] systemd[1]: Starting Load Kernel Module pstore_blk...
>          Starting Load Kernel Module pstore_blk...
> [    0.787434] systemd[1]: Starting Load Kernel Module pstore_zone...
>          Starting Load Kernel Module pstore_zone...
> [    0.788660] systemd[1]: Starting Load Kernel Module ramoops...
>          Starting Load Kernel Module ramoops...
> [    0.788747] systemd[1]: Condition check resulted in OpenVSwitch
> configuration for cleanup being skipped.
> [    0.789115] systemd[1]: Condition check resulted in Set Up Additional
> Binary Formats being skipped.
> [    0.789171] systemd[1]: Condition check resulted in File System Check
> on Root Device being skipped.
> [    0.792273] systemd[1]: Starting Load Kernel Modules...
>          Starting Load Kernel Modules...
> [    0.793528] systemd[1]: Starting Remount Root and Kernel File Systems...
>          Starting Remount Root and Kernel File Systems...
> [    0.794270] systemd[1]: Starting udev Coldplug all Devices...
>          Starting udev Coldplug all Devices...
> [    0.794998] systemd[1]: Starting Uncomplicated firewall...
>          Starting Uncomplicated firewall...
> [    0.798743] systemd[1]: Mounted Huge Pages File System.
> [  OK  ] Mounted Huge Pages File System.
> [    0.802465] systemd[1]: Mounted POSIX Message Queue File System.
> [  OK  ] Mounted POSIX Message Queue File System.
> [    0.802671] systemd[1]: Mounted Kernel Debug File System.
> [  OK  ] Mounted Kernel Debug File System.
> [    0.803021] systemd[1]: modprobe@chromeos_pstore.service: Succeeded.
> [    0.803220] systemd[1]: Finished Load Kernel Module chromeos_pstore.
> [  OK  ] Finished Load Kernel Module chromeos_pstore.
> [    0.808252] systemd[1]: modprobe@pstore_blk.service: Succeeded.
> [    0.808441] systemd[1]: Finished Load Kernel Module pstore_blk.
> [  OK  ] Finished Load Kernel Module pstore_blk.
> [    0.812863] systemd[1]: modprobe@ramoops.service: Succeeded.
> [    0.813052] systemd[1]: Finished Load Kernel Module ramoops.
> [  OK  ] Finished Load Kernel Module ramoops.
> [    0.834556] systemd[1]: Finished Uncomplicated firewall.
> [  OK  ] Finished Uncomplicated firewall.
> [    0.835143] systemd[1]: Finished Load Kernel Modules.
> [  OK  ] Finished Load Kernel Modules.
> [    0.836004] systemd[1]: Mounting FUSE Control File System...
>          Mounting FUSE Control File System...
> [    0.836175] systemd[1]: Condition check resulted in Kernel
> Configuration File System being skipped.
> [    0.837160] systemd[1]: Starting Apply Kernel Variables...
>          Starting Apply Kernel Variables...
> [    0.841187] systemd[1]: Mounted FUSE Control File System.
> [  OK  ] Mounted FUSE Control File System.
> [    0.864806] systemd[1]: modprobe@efi_pstore.service: Succeeded.
> [    0.864992] systemd[1]: Finished Load Kernel Module efi_pstore.
> [  OK  ] Finished Load Kernel Module efi_pstore.
> [    0.865387] systemd[1]: modprobe@pstore_zone.service: Succeeded.
> [    0.865574] systemd[1]: Finished Load Kernel Module pstore_zone.
> [  OK  ] Finished Load Kernel Module pstore_zone.
> [  OK  ] Finished Apply Kernel Variables.
> [  OK  ] Finished Remount Root and Kernel File Systems.
>          Starting Load/Save Random Seed...
>          Starting Create System Users...
> [  OK  ] Started Journal Service.
>          Starting Flush Journal to Persistent Storage...
> [  OK  ] Finished Create System Users.
>          Starting Create Static Device Nodes in /dev...
> [  OK  ] Finished Create Static Device Nodes in /dev.
>          Starting udev Kernel Device Manager...
> [  OK  ] Finished Flush Journal to Persistent Storage.
> [  OK  ] Finished udev Coldplug all Devices.
>          Starting udev Wait for Complete Device Initialization...
> [  OK  ] Started udev Kernel Device Manager.
> [  OK  ] Finished Set the console keyboard layout.
> [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
> [  OK  ] Reached target Local Encrypted Volumes.
> [  OK  ] Found device /dev/ttyAMA0.
> [  OK  ] Found device M5_IDE_Disk UEFI.
> [  OK  ] Finished Monitoring of LVM… dmeventd or progress polling.
> [  OK  ] Finished udev Wait for Complete Device Initialization.
>          Starting Device-Mapper Multipath Device Controller...
> [FAILED] Failed to start Device-Map…r Multipath Device Controller.
> See 'systemctl status multipathd.service' for details.
>          Starting Device-Mapper Multipath Device Controller...
> [FAILED] Failed to start Device-Map…r Multipath Device Controller.
> See 'systemctl status multipathd.service' for details.
>          Starting Device-Mapper Multipath Device Controller...
> [FAILED] Failed to start Device-Map…r Multipath Device Controller.
> See 'systemctl status multipathd.service' for details.
>          Starting Device-Mapper Multipath Device Controller...
> [FAILED] Failed to start Device-Map…r Multipath Device Controller.
> See 'systemctl status multipathd.service' for details.
>          Starting Device-Mapper Multipath Device Controller...
> [FAILED] Failed to start Device-Map…r Multipath Device Controller.
> See 'systemctl status multipathd.service' for details.
> [FAILED] Failed to start Device-Map…r Multipath Device Controller.
> See 'systemctl status multipathd.service' for details.
> [  OK  ] Reached target Local File Systems (Pre).
>          Mounting Mount unit for core20, revision 2019...
>          Mounting Mount unit for lxd, revision 24065...
>          Mounting Mount unit for snapd, revision 20298...
>          Starting File System Check on /dev/disk/by-label/UEFI...
> [FAILED] Failed to mount Mount unit for core20, revision 2019.
> See 'systemctl status snap-core20-2019.mount' for details.
> [FAILED] Failed to mount Mount unit for snapd, revision 20298.
> See 'systemctl status snap-snapd-20298.mount' for details.
> [FAILED] Failed to mount Mount unit for lxd, revision 24065.
> See 'systemctl status snap-lxd-24065.mount' for details.
> [DEPEND] Dependency failed for Serv…snap application lxd.activate.
> [DEPEND] Dependency failed for Sock…r snap application lxd.daemon.
> [  OK  ] Reached target Mounted snaps.
> [  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 Set console font and keymap...
>          Starting Create final runt…dir 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 Set console font and keymap.
> [  OK  ] Finished Create final runt…e dir for shutdown pivot root.
> [  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/Save Random Seed.
> [    8.380000] cloud-init[1275]: Cloud-init v. 23.3.3-0ubuntu0~20.04.1
> running 'init-local' at Fri, 22 Dec 2023 04:46:05 +0000. Up 8.27 seconds.
> [    8.380000] cloud-init[1275]: 2023-12-22 04:46:05,218 -
> __init__.py[WARNING]: Did not find a fallback interface on openstack.
> [  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.
> [    9.624000] cloud-init[1284]: Cloud-init v. 23.3.3-0ubuntu0~20.04.1
> running 'init' at Fri, 22 Dec 2023 04:46:06 +0000. Up 9.35 seconds.
> [    9.624000] cloud-init[1284]: ci-info: +++++++++++++++++++++++Net
> device info++++++++++++++++++++++++
> [    9.624000] cloud-init[1284]: ci-info:
> +--------+------+-----------+-----------+-------+------------+
> [    9.624000] cloud-init[1284]: ci-info: | Device |  Up  |  Address  |
>  Mask   | Scope | Hw-Address |
> [    9.624000] cloud-init[1284]: ci-info:
> +--------+------+-----------+-----------+-------+------------+
> [    9.624000] cloud-init[1284]: ci-info: |   lo   | True | 127.0.0.1 |
> 255.0.0.0 |  host |     .      |
> [    9.624000] cloud-init[1284]: ci-info:
> +--------+------+-----------+-----------+-------+------------+
> [    9.624000] cloud-init[1284]: ci-info:
> [    9.624000] cloud-init[1284]: 2023-12-22 04:46:06,458 -
> url_helper.py[WARNING]: Exception(s)
> [UrlError("HTTPConnectionPool(host='fe80::a9fe:a9fe', port=80): Max retries
> exceeded with url: /openstack (Caused by
> NewConnectionError('<urllib3.connection.HTTPConnection object at
> 0x7fbd42ba60>: Failed to establish a new connection: [Errno -9] Address
> family for hostname not supported'))"),
> UrlError("HTTPConnectionPool(host='169.254.169.254', port=80): Max retries
> exceeded with url: /openstack (Caused by
> NewConnectionError('<urllib3.connection.HTTPConnection object at
> 0x7fbd3f43d0>: Failed to establish a new connection: [Errno 101] Network is
> unreachable'))")] during request to http://169.254.169.254/openstack,
> raising last exception
> [    9.624000] cloud-init[1284]: 2023-12-22 04:46:06,458 -
> url_helper.py[ERROR]: Timed out, no response from urls: 
> ['http://[fe80::a9fe:a9fe]/openstack',
> 'http://169.254.169.254/openstack']
> [    9.624000] cloud-init[1284]: 2023-12-22 04:46:06,458 -
> util.py[WARNING]: No active metadata service found
> [    9.976000] cloud-init[1284]: 2023-12-22 04:46:06,814 -
> util.py[WARNING]: Failed growpart --dry-run for (/dev/sda, 1)
> [   11.696000] cloud-init[1284]: Generating public/private rsa key pair.
> [   11.696000] cloud-init[1284]: Your identification has been saved in
> /etc/ssh/ssh_host_rsa_key
> [   11.696000] cloud-init[1284]: Your public key has been saved in
> /etc/ssh/ssh_host_rsa_key.pub
> [   11.696000] cloud-init[1284]: The key fingerprint is:
> [   11.696000] cloud-init[1284]:
> SHA256:bZN2k5EYxjCAfED10rWBDTlppDPVhca8Vy936If9hzk root@ubuntu
> [   11.696000] cloud-init[1284]: The key's randomart image is:
> [   11.696000] cloud-init[1284]: +---[RSA 3072]----+
> [   11.696000] cloud-init[1284]: |   oo+oo*%=o.    |
> [   11.696000] cloud-init[1284]: |    o .=*+O= ..  |
> [   11.696000] cloud-init[1284]: |     .=.ooo.o. o |
> [   11.696000] cloud-init[1284]: |       + ....oo +|
> [   11.696000] cloud-init[1284]: |        S *.+. =.|
> [   11.696000] cloud-init[1284]: |         o o .o o|
> [   11.696000] cloud-init[1284]: |               +.|
> [   11.696000] cloud-init[1284]: |              E o|
> [   11.696000] cloud-init[1284]: |               ..|
> [   11.696000] cloud-init[1284]: +----[SHA256]-----+
> [   11.696000] cloud-init[1284]: Generating public/private dsa key pair.
> [   11.696000] cloud-init[1284]: Your identification has been saved in
> /etc/ssh/ssh_host_dsa_key
> [   11.696000] cloud-init[1284]: Your public key has been saved in
> /etc/ssh/ssh_host_dsa_key.pub
> [   11.696000] cloud-init[1284]: The key fingerprint is:
> [   11.696000] cloud-init[1284]:
> SHA256:0x6ut/UjYY0rM04SL9GP0+/torEQ9nIhXKtxOFdtUXU root@ubuntu
> [   11.696000] cloud-init[1284]: The key's randomart image is:
> [   11.696000] cloud-init[1284]: +---[DSA 1024]----+
> [   11.696000] cloud-init[1284]: |               .E|
> [   11.696000] cloud-init[1284]: |               .o|
> [   11.696000] cloud-init[1284]: |            . . o|
> [   11.696000] cloud-init[1284]: |         + o o . |
> [   11.696000] cloud-init[1284]: |        S % =o   |
> [   11.696000] cloud-init[1284]: |         O #+..  |
> [   11.696000] cloud-init[1284]: |        o @.Bo   |
> [   11.696000] cloud-init[1284]: |         ==*o=o. |
> [   11.696000] cloud-init[1284]: |        .oo=o+++o|
> [   11.696000] cloud-init[1284]: +----[SHA256]-----+
> [   11.696000] cloud-init[1284]: Generating public/private ecdsa key pair.
> [   11.696000] cloud-init[1284]: Your identification has been saved in
> /etc/ssh/ssh_host_ecdsa_key
> [   11.700000] cloud-init[1284]: Your public key has been saved in
> /etc/ssh/ssh_host_ecdsa_key.pub
> [   11.700000] cloud-init[1284]: The key fingerprint is:
> [   11.704000] cloud-init[1284]:
> SHA256:jRuJK1jsIBiXMcAM7XIVwsuhCue5jZSYVpFhmIm0Vww root@ubuntu
> [   11.704000] cloud-init[1284]: The key's randomart image is:
> [   11.704000] cloud-init[1284]: +---[ECDSA 256]---+
> [   11.704000] cloud-init[1284]: |O=BE*o           |
> [   11.704000] cloud-init[1284]: |.**Bo.           |
> [   11.704000] cloud-init[1284]: |.=o=.            |
> [   11.704000] cloud-init[1284]: |=oBo   . +       |
> [   11.704000] cloud-init[1284]: |=Booo . S .      |
> [   11.704000] cloud-init[1284]: |+o==   . o       |
> [   11.704000] cloud-init[1284]: |...+o . .        |
> [   11.704000] cloud-init[1284]: |  o ..           |
> [   11.704000] cloud-init[1284]: |                 |
> [   11.704000] cloud-init[1284]: +----[SHA256]-----+
> [   11.704000] cloud-init[1284]: Generating public/private ed25519 key
> pair.
> [   11.704000] cloud-init[1284]: Your identification has been saved in
> /etc/ssh/ssh_host_ed25519_key
> [   11.704000] cloud-init[1284]: Your public key has been saved in
> /etc/ssh/ssh_host_ed25519_key.pub
> [   11.704000] cloud-init[1284]: The key fingerprint is:
> [   11.704000] cloud-init[1284]:
> SHA256:IhP8bJMuRcln1tXoh14HrQD9WHvCUgSDYahAvOygj4U root@ubuntu
> [   11.704000] cloud-init[1284]: The key's randomart image is:
> [   11.704000] cloud-init[1284]: +--[ED25519 256]--+
> [   11.704000] cloud-init[1284]: |   o.    .+=+=.. |
> [   11.704000] cloud-init[1284]: |   .o. ..o..+.= .|
> [   11.704000] cloud-init[1284]: |   .oo+.+ .. O + |
> [   11.704000] cloud-init[1284]: |  . o=.=    = O o|
> [   11.704000] cloud-init[1284]: | o oo O S  . + + |
> [   11.704000] cloud-init[1284]: |E . .* o    .    |
> [   11.704000] cloud-init[1284]: | +  . .          |
> [   11.704000] cloud-init[1284]: |. .  .           |
> [   11.704000] cloud-init[1284]: |                 |
> [   11.704000] cloud-init[1284]: +----[SHA256]-----+
> [  OK  ] Finished Initial cloud-ini…ob (metadata service crawler).
> [  OK  ] Reached target Cloud-config availability.
> [  OK  ] Reached target Network is Online.
> [  OK  ] Reached target System Initialization.
> [  OK  ] Started Daily apt download activities.
> [  OK  ] Started Daily apt upgrade and clean activities.
> [  OK  ] Started Periodic ext4 Onli…ata 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  ] 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.
>          Starting Socket activation for snappy daemon.
> [  OK  ] Listening on UUID daemon activation socket.
> [  OK  ] Reached target Remote File Systems (Pre).
> [  OK  ] Reached target Remote File Systems.
>          Starting Availability of block devices...
> [  OK  ] Listening on Socket activation for snappy daemon.
> [  OK  ] Reached target Sockets.
> [  OK  ] Reached target Basic System.
>          Starting Accounts Service...
>          Starting LSB: automatic crash report generation...
>          Starting Deferred execution scheduler...
> [  OK  ] Started Regular background program processing daemon.
> [  OK  ] Started D-Bus System Message Bus.
> [  OK  ] Started Save initial kernel messages after boot.
>          Starting Remove Stale Onli…t4 Metadata Check Snapshots...
>          Starting Record successful boot for GRUB...
> [  OK  ] Started irqbalance daemon.
>          Starting Message of the Day...
>          Starting Dispatcher daemon for systemd-networkd...
> [  OK  ] Started Set the CPU Frequency Scaling governor.
>          Starting Authorization Manager...
>          Starting System Logging Service...
> [  OK  ] Reached target Login Prompts (Pre).
>          Starting Snap Daemon...
>          Starting OpenBSD Secure Shell server...
>          Starting Login Service...
>          Starting Permit User Sessions...
>          Starting Disk Manager...
> [  OK  ] Finished Availability of block devices.
> [  OK  ] Started Deferred execution scheduler.
> [  OK  ] Finished Permit User Sessions.
>          Starting Hold until boot process finishes up...
>          Starting Terminate Plymouth Boot Screen...
> [  OK  ] Finished Hold until boot process finishes up.
> [  OK  ] Started Serial Getty on ttyAMA0.
>          Starting Set console scheme...
> [  OK  ] Finished Set console scheme.
> [  OK  ] Created slice system-getty.slice.
> [  OK  ] Started Getty on tty1.
> [  OK  ] Reached target Login Prompts.
> [  OK  ] Finished Terminate Plymouth Boot Screen.
> [  OK  ] Started System Logging Service.
> [  OK  ] Finished Record successful boot for GRUB.
>          Starting GRUB failed boot detection...
> [  OK  ] Finished GRUB failed boot detection.
> [  OK  ] Started LSB: automatic crash report generation.
> [  OK  ] Started Login Service.
> [  OK  ] Started Unattended Upgrades Shutdown.
> [  OK  ] Started OpenBSD Secure Shell server.
> [  OK  ] Started Authorization Manager.
>          Starting Modem Manager...
> [  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
> [  OK  ] Started Accounts Service.
> [  OK  ] Started Modem Manager.
> [  OK  ] Started Disk Manager.
> [  OK  ] Started Dispatcher daemon for systemd-networkd.
> [  OK  ] Started Snap Daemon.
>          Starting Wait until snapd is fully seeded...
>          Starting Time & Date Service...
> [  OK  ] Started Time & Date Service.
> [  OK  ] Finished Wait until snapd is fully seeded.
>          Starting Apply the settings specified in cloud-config...
> [  OK  ] Finished Message of the Day.
> [   16.124000] cloud-init[1814]: Cloud-init v. 23.3.3-0ubuntu0~20.04.1
> running 'modules:config' at Fri, 22 Dec 2023 04:46:12 +0000. Up 15.53
> seconds.
> [  OK  ] Finished Apply the settings specified in cloud-config.
> [  OK  ] Reached target Multi-User System.
> [  OK  ] Reached target Graphical Interface.
>          Starting Execute cloud user/final scripts...
>          Starting Update UTMP about System Runlevel Changes...
> [  OK  ] Finished Update UTMP about System Runlevel Changes.
> ci-info: no authorized SSH keys fingerprints found for user ubuntu.
> <14>Dec 22 04:46:14 cloud-init:
> #############################################################
> <14>Dec 22 04:46:14 cloud-init: -----BEGIN SSH HOST KEY FINGERPRINTS-----
> <14>Dec 22 04:46:14 cloud-init: 1024
> SHA256:0x6ut/UjYY0rM04SL9GP0+/torEQ9nIhXKtxOFdtUXU root@ubuntu (DSA)
> <14>Dec 22 04:46:14 cloud-init: 256
> SHA256:jRuJK1jsIBiXMcAM7XIVwsuhCue5jZSYVpFhmIm0Vww root@ubuntu (ECDSA)
> <14>Dec 22 04:46:14 cloud-init: 256
> SHA256:IhP8bJMuRcln1tXoh14HrQD9WHvCUgSDYahAvOygj4U root@ubuntu (ED25519)
> <14>Dec 22 04:46:14 cloud-init: 3072
> SHA256:bZN2k5EYxjCAfED10rWBDTlppDPVhca8Vy936If9hzk root@ubuntu (RSA)
> <14>Dec 22 04:46:14 cloud-init: -----END SSH HOST KEY FINGERPRINTS-----
> <14>Dec 22 04:46:14 cloud-init:
> #############################################################
> -----BEGIN SSH HOST KEY KEYS-----
> ecdsa-sha2-nistp256
> AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMuIQo52hX4hqHFAXY9Ai2t+x3m7A9JNTX+HzBIoGQfM9KL/F/NTgzhwSXWu1wXdI5HvyEmhBi7OEiAzEt6h8ss=
> root@ubuntu
> ssh-ed25519
> AAAAC3NzaC1lZDI1NTE5AAAAIBHI/7FjbnNgDT23jepUArnCeB1TWWHIKK78jNAcCwuq
> root@ubuntu
> ssh-rsa
> AAAAB3NzaC1yc2EAAAADAQABAAABgQCtqXcZe7IwNE/nx9YnfS8lcLy5POCCmxd98rByJErTAsFWMFxjR3DTfpGglF8LJHAxoDzBt4HdgI5tED7D7osNw18bzUMbVkgLN85JwYYz3VDsQsj6RSt1Yn/atfyD9lJRc77yRpws9mwc0wr29Fv+8S3h/YJQR0h1lJ1bYJd1R4DK6N/QD7HWAuqZCqfrV6heqCLqdrpSa3u9DDyDk1x3MHLlPKL4r9tcp+gmWPkhbFyuaDjeSA+YDbk2jHvleJKD4WNTeeaJkaS2nIs3O5EA6vdleff0r8RTKvFkH6aTQDVUO6x6QMDGrWP1n28EPVEyO0WM2oDxlN36abPJEJ7der8c/rS4yFNRy8Yn4zQo4su0nC1IVujU2fvlGuWysQxzt9Ap+Z8FvgsyZGFD1nH7vrTQC4OK9xl2MrKzoEjfvmcF4toM4co7dtMTXf4alzw2nElxo+99bTkY19o8Qq3LF9ZjtdR7mcFt6JfOOGfvAqVN79sBSyGGYfEpKRwALuM=
> root@ubuntu
> -----END SSH HOST KEY KEYS-----
> [   17.384000] cloud-init[1849]: Cloud-init v. 23.3.3-0ubuntu0~20.04.1
> running 'modules:final' at Fri, 22 Dec 2023 04:46:13 +0000. Up 17.05
> seconds.
> [   17.384000] cloud-init[1849]: Cloud-init v. 23.3.3-0ubuntu0~20.04.1
> finished at Fri, 22 Dec 2023 04:46:14 +0000. Datasource DataSourceNone.  Up
> 17.37 seconds
> [   17.384000] cloud-init[1849]: 2023-12-22 04:46:14,222 -
> cc_final_message.py[WARNING]: Used fallback datasource
>
> Ubuntu 20.04.6 LTS ubuntu ttyAMA0
>
> ubuntu login: ubuntu
> Password:
>
> Login incorrect
> ubuntu login: ubuntu
> Password:
>
> Login incorrect
> ubuntu login:
>
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to