qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel panic - not syncing: Unable to initialise architected timer :


From: Mario Marietto
Subject: Re: Kernel panic - not syncing: Unable to initialise architected timer : unable to boot Android 14 with qemu-system-aarch64 on Ubuntu 24.04 X64 bit
Date: Wed, 11 Sep 2024 02:02:09 +0200

Hello to everyone.

I'm trying to run a headless android emulator on my Jetson Nano 4 GB with Ubuntu 22.04 installed + kernel 4.9  and kvm enabled. 
This is the tutorial that I'm following :

https://gist.github.com/atyachin/2f7c6054c4cd6945397165a23623987d

Well,I've followed all the instructions,but the android emulator doesn't work. It stays offline. I don't understand why.


aresuser@jetson:~$ /opt/android-sdk/emulator/emulator @MyAVD -no-window -no-audio -ports 5554,5555 -skip-adb-auth -no-boot-anim -show-kernel

INFO    | Storing crashdata in: /tmp/android-aresuser/emu-crash-34.2.8.db, detection is enabled for process: 47122
INFO    | Android emulator version 34.2.8.0 (build_id 11435509) (CL:N/A)
INFO    | Found systemPath /opt/android-sdk/system-images/android-34/google_apis/arm64-v8a/

ERROR: ld.so: object '/opt/android-sdk/emulator/lib64/libStubXlib.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

ERROR: ld.so: object '/opt/android-sdk/emulator/lib64/libStubXlib.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

INFO    | Storing crashdata in: /tmp/android-aresuser/emu-crash-34.2.8.db, detection is enabled for process: 47122
INFO    | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
INFO    | Increasing RAM size to 2048MB

WARNING | Failed to process .ini file /opt/android-sdk/avd/quickbootChoice.ini for reading.
library_mode swiftshader_indirect gpu mode swiftshader_indirect
Initializing hardware OpenGLES emulation supportandroid_startOpenglesRenderer: gpu infoI0911 00:55:19.053019   47122 HealthMonitor.cpp:279] HealthMonitor disabled.

I0911 00:55:19.115240   47122 FrameBuffer.cpp:506] Graphics Adapter Vendor Google (Google Inc.)
I0911 00:55:19.115308   47122 FrameBuffer.cpp:507] Graphics Adapter Android Emulator OpenGL ES Translator (Google SwiftShader)
I0911 00:55:19.115362   47122 FrameBuffer.cpp:508] Graphics API Version OpenGL ES 3.0 (OpenGL ES 3.0 SwiftShader 4.1.0.7)
I0911 00:55:19.115400   47122 FrameBuffer.cpp:509] Graphics API Extensions GL_OES_EGL_sync GL_OES_EGL_image 

GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_standard_derivatives GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888
I0911 00:55:19.115439   47122 FrameBuffer.cpp:510] Graphics Device Extensions N/A

OpenGL Vendor=[Google (Google Inc.)]OpenGL Renderer=[Android Emulator OpenGL ES Translator (Google SwiftShader)]OpenGL Version=[OpenGL ES 3.0 (OpenGL ES 3.0 SwiftShader 4.1.0.7)]INFO    | Sending adb public key [QAAAAO+utZ/xv67ueyyTAR1t8Dhz7lo8Jagj7K4khOIzav5L0I2p8abmJuu4Wu2nPcbxvgVsR5qRv3MkOF7nr462kVOLCM7Uf+aaAQVRfGymXKA+EXTqgnS3oTv3Gw5ogEmKI6IYxeY9M7UQSv/6Ifm1IHxepSWd5UUVeyBSIeDu6R33aQ26ck+Kq1TIsXiULuZjzhFBPEuLIIwzsiK9LTnn6LdeY2pjS9p/J22jNJRKZKfuVwc9GzLyTg8UD20nbLjZc2zeoc4+kLgYq/JMXgt/bV20kNlhDhidbjZzl7mCePENHKHZlOg65oCZTcQLXGcRITAndvlLylzQHdGCAw1Rp5UZ5dKXK33AEO8zIhHbd+M67OCFdlk7a9GfFCvsRmAc+CxaWyUwmFYVpDnq3GSXTzKoRkYQZX6g522aTMbqDx4RcyHqGG4dqJLv+dX787YiJF8RNcN/Cmvhbc/Kwl8La9sFD6/5ngZ69FHiYPx1gFFteNFPcVVLcrI7vZvdwu0Q0Uxn5uJeyiwQQnajnCouxeAPje+EQJLrct79mRsEBcrfD2tO9fLBBRKRVDaNk4pzJ4CNrShHzFIFRWzoFgP22yulXLbjYOJGgdcD68/kLseM8aKaE6EL59nB6DomPNFMRlgKca3AKojXK+cCqt9eZ8cjASiN/umegZiJeIKofffj6MRijQEAAQA= aresuser@unknown]

ERROR   | Unable to spawn process  due to:, No such file or directory
qemu-system-aarch64-headless: Unable to determine GIC version supported by host
WARNING | Unable to connect to packet streamer, no bluetooth emulation available


aresuser@jetson:~$ adb devices
List of devices attached
emulator-5554 offline


What could be the real problem in this setup ? thanks.

On Thu, Aug 29, 2024 at 7:37 PM Mario Marietto <marietto2008@gmail.com> wrote:
Sorry,wrong log. This is the correct one :

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.307-01062-gef7460eabd6d (build-user@build-host) (Android (5900059 based on r365631c) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 207d7abc1a2abf3ef8d4301736d6a7ebc224a290) (based on LLVM 9.0.8svn)) #1 SMP PREEMPT Sat Feb 25 15:33:28 UTC 2023
[    0.000000] Boot CPU: AArch64 Processor [410fd083]
[    0.000000] random: crng init done
[    0.000000] Machine model: linux,dummy-virt
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 21 pages/cpu s48664 r8192 d29160 u86016
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] CPU features: enabling workaround for Spectre-BHB
[    0.000000] CPU features: enabling workaround for ARM erratum 1742098
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: console=ttyAMA0,38400 drm.debug=0x0 rootwait rootdelay=5 androidboot.hardware=ranchu androidboot.selinux=permissive security=selinux selinux=1 androidboot.qemu.hw.mainkeys=0 androidboot.lcd.density=160
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 2042152K/2097152K available (9532K kernel code, 1172K rwdata, 2888K rodata, 2752K init, 462K bss, 55000K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0x        (ptrval) - 0x        (ptrval)   (  9536 KB)
[    0.000000]     .rodata : 0x        (ptrval) - 0x        (ptrval)   (  2944 KB)
[    0.000000]       .init : 0x        (ptrval) - 0x        (ptrval)   (  2752 KB)
[    0.000000]       .data : 0x        (ptrval) - 0x        (ptrval)   (  1173 KB)
[    0.000000]        .bss : 0x        (ptrval) - 0x        (ptrval)   (   463 KB)
[    0.000000]     fixed   : 0xffffffbefe7f9000 - 0xffffffbefec00000   (  4124 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     memory  : 0xfffffff300000000 - 0xfffffff380000000   (  2048 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000] Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143]
[    0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
[    0.000135] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every 4398046511096ns
[    0.003746] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=625000)
[    0.003891] pid_max: default: 32768 minimum: 301
[    0.004745] Security Framework initialized
[    0.004879] SELinux:  Initializing.
[    0.005555] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.005615] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.044711] /cpus/cpu-map: empty cluster
[    0.088329] ASID allocator initialised with 32768 entries
[    0.108106] Hierarchical SRCU implementation.
[    0.129741] EFI services will not be available.
[    0.168823] smp: Bringing up secondary CPUs ...
[    0.250378] Detected PIPT I-cache on CPU1
[    0.251012] CPU1: Booted secondary processor [410fd083]
[    0.337280] Detected PIPT I-cache on CPU2
[    0.337790] CPU2: Booted secondary processor [410fd083]
[    0.418221] Detected PIPT I-cache on CPU3
[    0.418657] CPU3: Booted secondary processor [410fd083]
[    0.419081] smp: Brought up 1 node, 4 CPUs
[    0.419247] SMP: Total of 4 processors activated.
[    0.419397] CPU features: detected: 32-bit EL0 Support
[    0.592569] CPU: All CPU(s) started at EL1
[    0.593005] alternatives: patching kernel code
[    0.594986] CPU3: update max cpu_capacity 1024
[    0.598316] CPU2: update max cpu_capacity 1024
[    0.609270] Registered cp15_barrier emulation handler
[    0.609419] Registered setend emulation handler
[    0.610511] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.610616] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.614075] DMI not present or invalid.
[    0.616368] NET: Registered protocol family 16
[    0.619092] schedtune: configured to support 5 boost groups
[    0.623919] cpuidle: using governor menu
[    0.624476] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.626137] DMA: preallocated 256 KiB pool for atomic allocations
[    0.626176] Serial: AMBA PL011 UART driver
[    0.644862] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 39, base_baud = 0) is a PL011 rev1
[    0.666509] console [ttyAMA0] enabled
[    0.691715] SCSI subsystem initialized
[    0.692713] usbcore: registered new interface driver usbfs
[    0.693182] usbcore: registered new interface driver hub
[    0.693554] usbcore: registered new device driver usb
[    0.694963] dmi: Firmware registration failed.
[    0.696400] Advanced Linux Sound Architecture Driver Initialized.
[    0.707220] clocksource: Switched to clocksource arch_sys_counter
[    0.872882] VFS: Disk quotas dquot_6.6.0
[    0.873319] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.876377] NET: Registered protocol family 2
[    0.878054] IP idents hash table entries: 32768 (order: 6, 262144 bytes)
[    0.884532] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.885463] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.886329] TCP: Hash tables configured (established 16384 bind 16384)
[    0.887763] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.888231] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.889852] NET: Registered protocol family 1
[    0.897635] Trying to unpack rootfs image as initramfs...
[    0.933994] Freeing initrd memory: 772K
[    0.938607] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.941164] audit: initializing netlink subsys (disabled)
[    0.943121] audit: type=2000 audit(0.900:1): state=initialized audit_enabled=0 res=1
[    0.945621] workingset: timestamp_bits=45 max_order=19 bucket_order=0
[    0.962468] Registering sdcardfs 0.1
[    0.964477] fuse init (API version 7.26)
[    0.981407] cryptomgr_test (45) used greatest stack depth: 14608 bytes left
[    0.981784] cryptomgr_test (43) used greatest stack depth: 14376 bytes left
[    0.992619] cryptomgr_test (72) used greatest stack depth: 14208 bytes left
[    0.999991] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.000413] io scheduler noop registered
[    1.000644] io scheduler deadline registered
[    1.001189] io scheduler cfq registered (default)
[    1.001468] io scheduler mq-deadline registered
[    1.001687] io scheduler kyber registered
[    1.004643] OF: PCI: host bridge /pcie@10000000 ranges:
[    1.005265] OF: PCI:    IO 0x3eff0000..0x3effffff -> 0x00000000
[    1.005823] OF: PCI:   MEM 0x10000000..0x3efeffff -> 0x10000000
[    1.006094] OF: PCI:   MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    1.007472] pci-host-generic 4010000000.pcie: ECAM at [mem 0x4010000000-0x401fffffff] for [bus 00-ff]
[    1.008782] pci-host-generic 4010000000.pcie: PCI host bridge to bus 0000:00
[    1.009270] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.009578] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.009849] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff]
[    1.010135] pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff]
[    1.020066] pci 0000:00:01.0: BAR 6: assigned [mem 0x10000000-0x1003ffff pref]
[    1.020584] pci 0000:00:01.0: BAR 4: assigned [mem 0x8000000000-0x8000003fff 64bit pref]
[    1.021031] pci 0000:00:02.0: BAR 4: assigned [mem 0x8000004000-0x8000007fff 64bit pref]
[    1.021412] pci 0000:00:04.0: BAR 4: assigned [mem 0x8000008000-0x800000bfff 64bit pref]
[    1.021755] pci 0000:00:05.0: BAR 4: assigned [mem 0x800000c000-0x800000ffff 64bit pref]
[    1.022105] pci 0000:00:06.0: BAR 4: assigned [mem 0x8000010000-0x8000013fff 64bit pref]
[    1.022459] pci 0000:00:07.0: BAR 4: assigned [mem 0x8000014000-0x8000017fff 64bit pref]
[    1.022811] pci 0000:00:01.0: BAR 1: assigned [mem 0x10040000-0x10040fff]
[    1.023111] pci 0000:00:02.0: BAR 1: assigned [mem 0x10041000-0x10041fff]
[    1.023410] pci 0000:00:03.0: BAR 0: assigned [mem 0x10042000-0x10042fff]
[    1.023697] pci 0000:00:04.0: BAR 1: assigned [mem 0x10043000-0x10043fff]
[    1.023991] pci 0000:00:05.0: BAR 1: assigned [mem 0x10044000-0x10044fff]
[    1.024279] pci 0000:00:06.0: BAR 1: assigned [mem 0x10045000-0x10045fff]
[    1.024563] pci 0000:00:07.0: BAR 1: assigned [mem 0x10046000-0x10046fff]
[    1.024862] pci 0000:00:05.0: BAR 0: assigned [io  0x1000-0x107f]
[    1.025146] pci 0000:00:06.0: BAR 0: assigned [io  0x1080-0x10ff]
[    1.025412] pci 0000:00:07.0: BAR 0: assigned [io  0x1100-0x117f]
[    1.025672] pci 0000:00:01.0: BAR 0: assigned [io  0x1180-0x119f]
[    1.026778] pci 0000:00:03.0: enabling device (0000 -> 0002)
[    1.035324] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003)
[    1.038932] virtio-pci 0000:00:02.0: enabling device (0000 -> 0002)
[    1.041411] virtio-pci 0000:00:04.0: enabling device (0000 -> 0002)
[    1.042670] virtio-pci 0000:00:05.0: enabling device (0000 -> 0003)
[    1.044036] virtio-pci 0000:00:06.0: enabling device (0000 -> 0003)
[    1.045527] virtio-pci 0000:00:07.0: enabling device (0000 -> 0003)
[    1.054035] input: QEMU Virtio Tablet as /devices/platform/4010000000.pcie/pci0000:00/0000:00:04.0/virtio2/input/input0
[    1.055666] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.088902] [drm] pci: virtio-gpu-pci detected at 0000:00:02.0
[    1.090456] [drm] virgl 3d acceleration not supported by host
[    1.092348] [TTM] Zone  kernel: Available graphics memory: 1021462 kiB
[    1.092672] [TTM] Initializing pool allocator
[    1.092999] [TTM] Initializing DMA pool allocator
[    1.093811] [drm] number of scanouts: 1
[    1.093997] [drm] number of cap sets: 0
[    1.100424] [drm] Initialized virtio_gpu 0.0.1 0 for virtio1 on minor 0
[    1.101567] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.124253] brd: module loaded
[    1.157410] loop: module loaded
[    1.214670] zram: Added device: zram0
[    1.216871] tun: Universal TUN/TAP device driver, 1.6
[    1.222706] PPP generic driver version 2.4.2
[    1.223322] PPP BSD Compression module registered
[    1.223589] PPP Deflate Compression module registered
[    1.224021] PPP MPPE Compression module registered
[    1.224252] NET: Registered protocol family 24
[    1.224454] PPTP driver version 0.8.5
[    1.230474] usbcore: registered new interface driver r8152
[    1.230770] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.231101] ehci-pci: EHCI PCI platform driver
[    1.232664] ehci-pci 0000:00:03.0: EHCI Host Controller
[    1.233285] ehci-pci 0000:00:03.0: new USB bus registered, assigned bus number 1
[    1.235424] ehci-pci 0000:00:03.0: irq 42, io mem 0x10042000
[    1.257354] ehci-pci 0000:00:03.0: USB 2.0 started, EHCI 1.00
[    1.261035] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.261325] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.261617] usb usb1: Product: EHCI Host Controller
[    1.261832] usb usb1: Manufacturer: Linux 4.14.307-01062-gef7460eabd6d ehci_hcd
[    1.262195] usb usb1: SerialNumber: 0000:00:03.0
[    1.264660] hub 1-0:1.0: USB hub found
[    1.265267] hub 1-0:1.0: 6 ports detected
[    1.271533] usbcore: registered new interface driver xpad
[    1.271901] usbcore: registered new interface driver usb_acecad
[    1.272292] usbcore: registered new interface driver aiptek
[    1.272636] usbcore: registered new interface driver gtco
[    1.272987] usbcore: registered new interface driver hanwang
[    1.273337] usbcore: registered new interface driver kbtab
[    1.276347] rtc-pl031 9010000.pl031: rtc core: registered pl031 as rtc0
[    1.279096] IR NEC protocol handler initialized
[    1.279360] IR RC5(x/sz) protocol handler initialized
[    1.279634] IR RC6 protocol handler initialized
[    1.279866] IR JVC protocol handler initialized
[    1.280112] IR Sony protocol handler initialized
[    1.280360] IR SANYO protocol handler initialized
[    1.280607] IR Sharp protocol handler initialized
[    1.280853] IR MCE Keyboard/mouse protocol handler initialized
[    1.281142] IR XMP protocol handler initialized
[    1.284748] device-mapper: uevent: version 1.0.3
[    1.285937] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    1.287344] device-mapper: verity-avb: AVB error handler initialized with vbmeta device:
[    1.289248] hidraw: raw HID events driver (C) Jiri Kosina
[    1.296253] usbcore: registered new interface driver usbhid
[    1.304639] usbhid: USB HID core driver
[    1.306698] ashmem: initialized
[    1.309679] netem: version 1.3
[    1.309867] u32 classifier
[    1.310022]     Actions configured
[    1.310469] Netfilter messages via NETLINK v0.30.
[    1.311921] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    1.313931] ctnetlink v0.93: registering with nfnetlink.
[    1.317901] xt_time: kernel timezone is -0000
[    1.318406] gre: GRE over IPv4 demultiplexor driver
[    1.318683] IPv4 over IPsec tunneling driver
[    1.323124] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.328123] arp_tables: arp_tables: (C) 2002 David S. Miller
[    1.330157] Initializing XFRM netlink socket
[    1.330581] IPsec XFRM device driver
[    1.332313] NET: Registered protocol family 10
[    1.341047] Segment Routing with IPv6
[    1.342108] mip6: Mobile IPv6
[    1.342408] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.348077] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.351281] NET: Registered protocol family 17
[    1.351786] NET: Registered protocol family 15
[    1.352132] l2tp_core: L2TP core driver, V2.0
[    1.352428] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[    1.353358] NET: Registered protocol family 40
[    1.355417] registered taskstats version 1
[    1.360532] console [netcon0] enabled
[    1.360789] netconsole: network logging started
[    1.361793] rtc-pl031 9010000.pl031: setting system clock to 2024-08-29 17:33:14 UTC (1724952794)
[    1.367698] OF: Duplicate name in testcase-data, renamed to "duplicate-name#1"
[    1.373236] ### dt-test ### unittest internal error: unable to add testdata property /aliases/name
[    1.373307] ### dt-test ### start of unittest - you will see error messages
[    1.376076] OF: /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1
[    1.376645] OF: /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1
[    1.377350] OF: /testcase-data/phandle-tests/consumer-a: could not find phandle
[    1.377708] OF: /testcase-data/phandle-tests/consumer-a: could not find phandle
[    1.378132] OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property
[    1.378563] OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property
[    1.386115] ### dt-test ### end of unittest - 149 passed, 0 failed
[    1.387010] ALSA device list:
[    1.387348]   No soundcards found.
[    1.500536] Freeing unused kernel memory: 2752K
[    1.557703] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.761314] usb 1-1: New USB device found, idVendor=0627, idProduct=0001
[    1.761747] usb 1-1: New USB device strings: Mfr=1, Product=4, SerialNumber=11
[    1.762080] usb 1-1: Product: QEMU USB Keyboard
[    1.762326] usb 1-1: Manufacturer: QEMU
[    1.762522] usb 1-1: SerialNumber: 68284-0000:00:03.0-1
[    1.777697] input: QEMU QEMU USB Keyboard as /devices/platform/4010000000.pcie/pci0000:00/0000:00:03.0/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input1
[    1.851326] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v1.11 Keyboard [QEMU QEMU USB Keyboard] on usb-0000:00:03.0-1/input0
[    1.859468] init: init first stage started!
[    1.865869] init: [libfs_mgr]ReadFstabFromDt(): failed to read fstab from dt
[    1.875616] init: Using Android DT directory /proc/device-tree/firmware/android/
[    2.341194] init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/vda
[    2.342507] init: [libfs_mgr]Filesystem on /dev/block/vda was not cleanly shutdown; state flags: 0x1, incompat feature flags: 0x2c6
[    2.383242] init: [libfs_mgr]check_fs(): mount(/dev/block/vda,/system,ext4)=-1: No such file or directory
[    2.384489] init: [libfs_mgr]Not running /system/bin/e2fsck on /dev/block/vda (executable not in system image)
[    2.678895] EXT4-fs (vda): recovery complete
[    2.688280] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: barrier=1
[    2.689131] init: [libfs_mgr]__mount(source=/dev/block/vda,target=/system,type=ext4)=0: Success
[    2.694656] init: Switching root to '/system'
[    2.729676] init: Skip mounting partition: /product
[    2.770584] EXT4-fs (vdb): Ignoring removed nomblk_io_submit option
[    2.925167] EXT4-fs (vdb): recovery complete
[    2.936806] EXT4-fs (vdb): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit
[    3.062743] init (98) used greatest stack depth: 12776 bytes left
[    3.065700] e2fsck: executing /system/bin/e2fsck failed: No such file or directory
[    3.065700]
[    3.066345] e2fsck: e2fsck terminated by exit(255)
[    3.066345]
[    3.139392] EXT4-fs (vdb): mounted filesystem with ordered data mode. Opts: barrier=1
[    3.213494] init: 17 output lines suppressed due to ratelimiting
[    4.175637] init: Loading SELinux policy
[    4.427958] SELinux:  Permission nlmsg_readpriv in class netlink_route_socket not defined in policy.
[    4.428399] SELinux:  Permission nlmsg_getneigh in class netlink_route_socket not defined in policy.
[    4.429291] SELinux: the above unknown classes and permissions will be denied
[    4.429922] SELinux:  policy capability network_peer_controls=1
[    4.430187] SELinux:  policy capability open_perms=1
[    4.430412] SELinux:  policy capability extended_socket_class=1
[    4.430674] SELinux:  policy capability always_check_network=0
[    4.430928] SELinux:  policy capability cgroup_seclabel=0
[    4.431169] SELinux:  policy capability nnp_nosuid_transition=1
[    4.613844] audit: type=1403 audit(1724952797.740:2): policy loaded auid=4294967295 ses=4294967295
[    4.617274] selinux: SELinux: Loaded policy from /vendor/etc/selinux/precompiled_sepolicy
[    4.617274]
[    4.939967] selinux: SELinux: Loaded file_contexts
[    4.939967]
[    5.189222] init: init second stage started!
[    5.377980] init: Using Android DT directory /proc/device-tree/firmware/android/
[    5.412592] selinux: SELinux: Loaded file_contexts
[    5.412592]
[    5.413126] init: Running restorecon...
[    5.440689] audit: type=1400 audit(1724952798.570:3): avc:  denied  { relabelto } for  pid=1 comm="init" name="vdb" dev="tmpfs" ino=8197 scontext=u:r:init:s0 tcontext=u:object_r:cache_block_device:s0 tclass=blk_file permissive=1
[    5.563876] init: Overriding previous 'ro.' property 'ro.control_privapp_permissions':'disable' with new value 'enforce'
[    5.623834] init: Overriding previous 'ro.' property 'ro.apex.updatable':'true' with new value 'false'
[    5.625360] init: Overriding previous 'ro.' property 'ro.config.notification_sound':'OnTheHunt.ogg' with new value 'pixiedust.ogg'
[    5.626901] init: Couldn't load property file '/product_services/build.prop': open() failed: No such file or directory: No such file or directory
[    5.628045] init: Couldn't load property file '/factory/factory.prop': open() failed: No such file or directory: No such file or directory
[    5.638006] init: Setting product property ro.product.brand to 'Android' (from ro.product.odm.brand)
[    6.804870] ueventd: ueventd started!
[    6.836849] selinux: SELinux: Loaded file_contexts
[    6.836849]
[    6.839338] ueventd: Parsing file /ueventd.rc...
[    6.845287] ueventd: Parsing file /vendor/ueventd.rc...
[    6.846933] ueventd: /vendor/ueventd.rc: 5: Invalid section keyword found
[    6.848225] ueventd: Parsing file /odm/ueventd.rc...
[    6.848954] ueventd: Unable to read config file '/odm/ueventd.rc': open() failed: No such file or directory
[    6.849821] ueventd: Parsing file /ueventd.ranchu.rc...
[    6.850530] ueventd: Unable to read config file '/ueventd.ranchu.rc': open() failed: No such file or directory
[    6.866630] ueventd: Skip mounting partition: /product
[    6.943459] apexd: Bootstrap subcommand detected
[    7.032123] apexd: Scanning /system/apex for embedded keys
[    7.052307] apexd: Scanning /product/apex for embedded keys
[    7.055560] apexd: ... does not exist. Skipping
[    7.059054] apexd: Scanning /system/apex looking for APEX packages.
[    7.063704] apexd: Found /system/apex/com.android.conscrypt
[    7.068809] apexd: Skipped when bootstrapping
[    7.071814] apexd: Found /system/apex/com.android.apex.cts.shim.apex
[    7.081312] apexd: Skipping activation of non-flattened apex package /system/apex/com.android.apex.cts.shim.apex because device doesn't support it
[    7.084696] apexd: Found /system/apex/com.android.media.swcodec
[    7.168435] apexd: 11 output lines suppressed due to ratelimiting
[    7.169828] apexd (104) used greatest stack depth: 12520 bytes left
[    8.795019] Registered swp emulation handler
[    9.270824] EXT4-fs (vdc): Ignoring removed nomblk_io_submit option
[    9.637738] logd.auditd: start
[    9.638408] logd.klogd: 9601107024
[   10.410153] EXT4-fs (vdc): recovery complete
[   10.420371] EXT4-fs (vdc): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit
[   10.421877] init: [libfs_mgr]check_fs(): mount(/dev/block/vdc,/data,ext4)=0: Success
[   10.514650] init: [libfs_mgr]check_fs(): unmount(/data) succeeded
[   10.516351] init: [libfs_mgr]Running /system/bin/e2fsck on /dev/block/vdc
[   10.948158] e2fsck: e2fsck 1.44.4 (18-Aug-2018)
[   10.948158]
[   10.948815] e2fsck: Pass 1: Checking inodes, blocks, and sizes
[   10.948815]
[   10.949268] e2fsck: Pass 2: Checking directory structure
[   10.949268]
[   10.949724] e2fsck: Pass 3: Checking directory connectivity
[   10.949724]
[   10.950134] e2fsck: Pass 4: Checking reference counts
[   10.950134]
[   10.950531] e2fsck: Pass 5: Checking group summary information
[   10.950531]
[   10.950934] e2fsck:
[   10.950934]
[   10.951242] e2fsck: data: ***** FILE SYSTEM WAS MODIFIED *****
[   10.951242]
[   10.951671] e2fsck: data: 179/35200 files (1.1% non-contiguous), 7363/140800 blocks
[   10.951671]
[   10.991754] EXT4-fs (vdc): Ignoring removed nomblk_io_submit option
[   11.006577] EXT4-fs (vdc): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
[   11.008361] init: [libfs_mgr]__mount(source=/dev/block/vdc,target=/data,type=ext4)=0: Success
[   11.015387] init: Skip mounting partition: /product
[   11.015770] init: Skip mounting partition: /product_services
[   11.018843] init: Skip mounting partition: /product
[   11.019237] init: Skip mounting partition: /product_services
[   11.021403] init: Skip mounting partition: /product
[   11.021768] init: Skip mounting partition: /product_services
[   11.026887] init (117) used greatest stack depth: 12384 bytes left
[   12.763670] apexd: Marking APEXd as starting
[   12.770329] apexd: Scanning /system/apex for embedded keys
[   12.793021] apexd: Scanning /product/apex for embedded keys
[   12.794157] apexd: ... does not exist. Skipping
[   12.795039] apexd: Populating APEX database from mounts...
[   12.802222] apexd: Failed to walk /product/apex : Can't open /product/apex for reading : No such file or directory
[   12.808558] apexd: Found "/apex/com.android.runtime@1"
[   12.809851] apexd: Found "/apex/com.android.tzdata@299900000"
[   12.811039] apexd: 2 packages restored.
[   15.010643] logd.daemon: reinit
[   15.593983] init: Service 'update_verifier_nonencrypted' (pid 159) exited with status 0 waiting took 0.232000 seconds
[   15.598278] init: starting service 'netd'...
[   15.610841] init: starting service 'zygote'...
[   15.621090] init: Created socket '/dev/socket/dnsproxyd', mode 660, user 0, group 3003
[   15.628659] init: Created socket '/dev/socket/mdns', mode 660, user 0, group 1000
[   15.636974] init: Created socket '/dev/socket/fwmarkd', mode 660, user 0, group 3003
[   15.637773] init: starting service 'zygote_secondary'...
[   15.652629] init: Created socket '/dev/socket/zygote', mode 660, user 0, group 1000
[   15.656140] init: processing action (zygote-start) from (/vendor/etc/init/hw/init.ranchu.rc:24)
[   15.661127] init: Created socket '/dev/socket/usap_pool_primary', mode 660, user 0, group 1000
[   17.293188] healthd: No battery devices found
[   17.334446] healthd: battery none chg=
[   17.851101] healthd: No battery devices found
[   17.913140] android.hardware.health@2.0-impl: wakealarm_init: timerfd_create failed
[   17.916207] healthd: battery none chg=
[   18.887390] type=1400 audit(1724952812.000:4): avc: denied { dac_override } for comm="init.ranchu-cor" capability=1 scontext=u:r:goldfish_setup:s0 tcontext=u:r:goldfish_setup:s0 tclass=capability permissive=1
[   19.749638] init: property 'ro.kernel.qemu.dalvik.vm.heapsize' doesn't exist while expanding '${ro.kernel.qemu.dalvik.vm.heapsize}'
console:/ $ [   20.613295] init: starting service 'mediaextractor'...
[   20.665104] init: starting service 'mediametrics'...
[   20.735382] init: starting service 'netd'...
[   20.822195] init: Created socket '/dev/socket/dnsproxyd', mode 660, user 0, group 3003
[   20.828701] init: starting service 'statsd'...
[   20.880023] init: Created socket '/dev/socket/mdns', mode 660, user 0, group 1000
[   20.923085] init: starting service 'storaged'...
[   20.928772] init: Created socket '/dev/socket/fwmarkd', mode 660, user 0, group 3003
[   20.989462] init: Created socket '/dev/socket/statsdw', mode 222, user 1066, group 1066
[   21.006788] init: starting service 'vendor.media.omx'...
[   25.660310] init: Received control message 'start' for 'dhcpclient_def' from pid: 255 (setprop ctl.start dhcpclient_def)
[   25.665278] init: starting service 'dhcpclient_def'...
[   25.865551] type=1400 audit(1724952812.000:4): avc: denied { dac_override } for comm="init.ranchu-cor" capability=1 scontext=u:r:goldfish_setup:s0 tcontext=u:r:goldfish_setup:s0 tclass=capability permissive=1
[   25.866956] type=1400 audit(1724952818.970:5): avc: denied { write } for comm="zygote64" name="boot.art" dev="vda" ino=1736 scontext=u:r:zygote:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[   26.031117] init: Service 'bpfloader' (pid 219) exited with status 0
[   27.007631] init: Service 'ranchu-net' (pid 236) exited with status 0
[   27.088740] type=1400 audit(1724952818.970:5): avc: denied { write } for comm="zygote64" name="boot.art" dev="vda" ino=1736 scontext=u:r:zygote:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[   27.089936] type=1400 audit(1724952819.540:6): avc: denied { read } for comm="android.hardwar" name="u:object_r:default_prop:s0" dev="tmpfs" ino=8282 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[   27.094683] type=1400 audit(1724952819.540:6): avc: denied { read } for comm="android.hardwar" name="u:object_r:default_prop:s0" dev="tmpfs" ino=8282 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[   27.096941] type=1400 audit(1724952819.540:7): avc: denied { open } for comm="android.hardwar" path="/dev/__properties__/u:object_r:default_prop:s0" dev="tmpfs" ino=8282 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[   27.218972] type=1400 audit(1724952819.540:7): avc: denied { open } for comm="android.hardwar" path="/dev/__properties__/u:object_r:default_prop:s0" dev="tmpfs" ino=8282 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[   27.220846] type=1400 audit(1724952819.540:8): avc: denied { getattr } for comm="android.hardwar" path="/dev/__properties__/u:object_r:default_prop:s0" dev="tmpfs" ino=8282 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[   27.223206] type=1400 audit(1724952819.540:8): avc: denied { getattr } for comm="android.hardwar" path="/dev/__properties__/u:object_r:default_prop:s0" dev="tmpfs" ino=8282 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[   27.224864] type=1400 audit(1724952819.540:9): avc: denied { map } for comm="android.hardwar" path="/dev/__properties__/u:object_r:default_prop:s0" dev="tmpfs" ino=8282 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
[   33.906946] type=1400 audit(1724952823.200:18): avc: denied { read } for comm="drm-event-liste" path="socket:[12351]" dev="sockfs" ino=12351 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=netlink_kobject_uevent_socket permissive=1
[   33.909332] type=1400 audit(1724952827.030:19): avc: denied { open } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=8326 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[   33.913128] type=1400 audit(1724952827.030:19): avc: denied { open } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=8326 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[   33.915202] type=1400 audit(1724952827.030:20): avc: denied { getattr } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=8326 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[   33.918719] type=1400 audit(1724952827.030:20): avc: denied { getattr } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=8326 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[   33.920828] type=1400 audit(1724952827.030:21): avc: denied { map } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=8326 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[   33.942838] healthd: battery none chg=
[   34.215101] init: Untracked pid 312 exited with status 0
[   34.215958] init: Untracked pid 314 exited with status 0
[   34.226086] init: Service 'surfaceflinger' (pid 247) received signal 11
[   34.226665] init: Sending signal 9 to service 'surfaceflinger' (pid 247) process group...
[   34.229003] libprocessgroup: Successfully killed process cgroup uid 1000 pid 247 in 1ms
[   34.231108] init: Sending signal 9 to service 'zygote' (pid 217) process group...
[   34.264669] libprocessgroup: Successfully killed process cgroup uid 0 pid 217 in 32ms
[   34.268921] init: Service 'zygote' (pid 217) received signal 9
[   34.272987] init: Command 'write /sys/power/state on' action="" (<Service 'zygote' onrestart>:2) took 0ms and failed: Unable to write to file '/sys/power/state': Unable to write file contents: Invalid argument
[   34.274085] init: Sending signal 9 to service 'audioserver' (pid 244) process group...
[   34.366371] Binder:228_3 (228) used greatest stack depth: 11864 bytes left
[   39.870386] type=1400 audit(1724952829.710:22): avc: denied { write } for comm="zygote64" name="boot.art" dev="vda" ino=1736 scontext=u:r:zygote:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[   39.872496] type=1400 audit(1724952832.070:23): avc: denied { read } for comm="surfaceflinger" name="gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   39.901492] type=1400 audit(1724952832.070:23): avc: denied { read } for comm="surfaceflinger" name="gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   39.909625] type=1400 audit(1724952832.070:24): avc: denied { open } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   39.916889] type=1400 audit(1724952832.070:24): avc: denied { open } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   39.919944] type=1400 audit(1724952832.070:25): avc: denied { getattr } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   39.922104] type=1400 audit(1724952832.070:25): avc: denied { getattr } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   39.923813] type=1400 audit(1724952832.070:26): avc: denied { map } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   39.926292] type=1400 audit(1724952832.070:26): avc: denied { map } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   39.928031] type=1400 audit(1724952832.090:27): avc: denied { execute } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   42.033511] init: Untracked pid 373 exited with status 0
[   42.043577] init: Untracked pid 380 exited with status 0
[   42.047887] init: Service 'surfaceflinger' (pid 347) received signal 11
[   42.048596] init: Sending signal 9 to service 'surfaceflinger' (pid 347) process group...
[   42.050778] libprocessgroup: Successfully killed process cgroup uid 1000 pid 347 in 1ms
[   42.052907] init: Sending signal 9 to service 'zygote' (pid 341) process group...
[   42.103754] libprocessgroup: Successfully killed process cgroup uid 0 pid 341 in 50ms
[   42.106139] init: Command 'restart zygote' action="" (<Service 'surfaceflinger' onrestart>:1) took 53ms and succeeded
[   42.109283] init: Service 'zygote' (pid 341) received signal 9
[   42.112885] init: Command 'write /sys/power/state on' action="" (<Service 'zygote' onrestart>:2) took 0ms and failed: Unable to write to file '/sys/power/state': Unable to write file contents: Invalid argument
[   42.186040] Binder:346_3 (346) used greatest stack depth: 11680 bytes left
[   48.614421] type=1400 audit(1724952834.940:30): avc: denied { map } for comm="crash_dump64" path="/dev/__properties__/u:object_r:hwservicemanager_prop:s0" dev="tmpfs" ino=8326 scontext=u:r:crash_dump:s0 tcontext=u:object_r:hwservicemanager_prop:s0 tclass=file permissive=1
[   48.670637] type=1400 audit(1724952841.740:31): avc: denied { read } for comm="drm-event-liste" path="socket:[12351]" dev="sockfs" ino=12351 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=netlink_kobject_uevent_socket permissive=1
[   49.921398] init: Untracked pid 439 exited with status 0
[   49.922591] init: Service 'surfaceflinger' (pid 413) received signal 11
[   49.925104] init: Sending signal 9 to service 'surfaceflinger' (pid 413) process group...
[   49.930807] libprocessgroup: Successfully killed process cgroup uid 1000 pid 413 in 1ms
[   49.933367] init: Sending signal 9 to service 'zygote' (pid 407) process group...
[   49.999558] libprocessgroup: Successfully killed process cgroup uid 0 pid 407 in 65ms
[   50.001630] init: Command 'restart zygote' action="" (<Service 'surfaceflinger' onrestart>:1) took 68ms and succeeded
[   50.004515] init: Service 'zygote' (pid 407) received signal 9
[   50.011101] init: Command 'write /sys/power/state on' action="" (<Service 'zygote' onrestart>:2) took 1ms and failed: Unable to write to file '/sys/power/state': Unable to write file contents: Invalid argument
[   50.012991] init: Sending signal 9 to service 'audioserver' (pid 409) process group...
[   52.328441] type=1400 audit(1724952841.740:31): avc: denied { read } for comm="drm-event-liste" path="socket:[12351]" dev="sockfs" ino=12351 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:r:hal_graphics_composer_default:s0 tclass=netlink_kobject_uevent_socket permissive=1
[   52.331510] type=1400 audit(1724952845.450:32): avc: denied { write } for comm="zygote64" name="boot.art" dev="vda" ino=1736 scontext=u:r:zygote:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[   55.289102] type=1400 audit(1724952845.450:32): avc: denied { write } for comm="zygote64" name="boot.art" dev="vda" ino=1736 scontext=u:r:zygote:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
[   55.290634] type=1400 audit(1724952848.410:33): avc: denied { read } for comm="surfaceflinger" name="gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   55.296149] type=1400 audit(1724952848.410:33): avc: denied { read } for comm="surfaceflinger" name="gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   55.651599] type=1400 audit(1724952848.410:34): avc: denied { open } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   55.654127] type=1400 audit(1724952848.410:34): avc: denied { open } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   55.655923] type=1400 audit(1724952848.410:35): avc: denied { getattr } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   55.850146] type=1400 audit(1724952848.410:35): avc: denied { getattr } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   55.852035] type=1400 audit(1724952848.410:36): avc: denied { map } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   55.854406] type=1400 audit(1724952848.410:36): avc: denied { map } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   55.856028] type=1400 audit(1724952848.410:37): avc: denied { execute } for comm="surfaceflinger" path="/vendor/lib64/dri/gallium_dri.so" dev="vdb" ino=406 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
[   57.993531] init: Untracked pid 518 exited with status 0
[   58.004003] init: Untracked pid 521 exited with status 0
[   58.021238] init: Service 'surfaceflinger' (pid 476) received signal 11
[   58.021956] init: Sending signal 9 to service 'surfaceflinger' (pid 476) process group...
[   58.024249] libprocessgroup: Successfully killed process cgroup uid 1000 pid 476 in 0ms
[   58.041097] init: Sending signal 9 to service 'zygote' (pid 470) process group...
[   58.094888] libprocessgroup: Successfully killed process cgroup uid 0 pid 470 in 52ms
[   58.097964] init: Command 'restart zygote' action="" (<Service 'surfaceflinger' onrestart>:1) took 55ms and succeeded
[   58.100600] init: Service 'zygote' (pid 470) received signal 9
[   58.104625] init: Command 'write /sys/power/state on' action="" (<Service 'zygote' onrestart>:2) took 0ms and failed: Unable to write to file '/sys/power/state': Unable to write file contents: Invalid argument

On Thu, Aug 29, 2024 at 6:32 PM Mario Marietto <marietto2008@gmail.com> wrote:
I don't understand what's the reason why it boots indefinitely :

qemu-system-aarch64 \
        -smp 4 \
        -m 2048 \
        -cpu cortex-a72 \
        -M virt \
        -device virtio-gpu-pci,xres=1024,yres=768 \
        -display sdl,gl=on \
        -device usb-ehci \
        -device usb-kbd \
        -device virtio-tablet-pci \
        -usb \
        -serial stdio \
        -kernel /mnt/zroot2/zroot2/OS/Android/antmicro/img/Image \
        -initrd /mnt/zroot2/zroot2/OS/Android/antmicro/img/ramdisk.img \
        -drive index=0,if=none,id=system,file=/mnt/zroot2/zroot2/OS/Android/antmicro/img/system-rw.img \
        -device virtio-blk-pci,drive=system \
        -drive index=1,if=none,id=vendor,file=/mnt/zroot2/zroot2/OS/Android/antmicro/img/vendor-rw.img \
        -device virtio-blk-pci,drive=vendor \
        -drive index=2,if=none,id=userdata,file=/mnt/zroot2/zroot2/OS/Android/antmicro/img/userdata.img \
        -device virtio-blk-pci,drive=userdata \
        -append "console=ttyAMA0,38400 drm.debug=0x0 rootwait rootdelay=5 androidboot.hardware=ranchu androidboot.selinux=permissive security=selinux selinux=1 androidboot.qemu.hw.mainkeys=0 androidboot.lcd.density=160"

LOG :

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.307-01062-gef7460eabd6d (build-user@build-host) (Android (5900059 based on r365631c) clang version 9.
0.8 (https://android.googlesource.com/toolchain/llvm-project 207d7abc1a2abf3ef8d4301736d6a7ebc224a290) (based on LLVM 9.0.8svn)) #1 SMP
PREEMPT Sat Feb 25 15:33:28 UTC 2023
[    0.000000] Boot CPU: AArch64 Processor [410fd083]
[    0.000000] random: crng init done
[    0.000000] Machine model: linux,dummy-virt
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 21 pages/cpu s48664 r8192 d29160 u86016
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] CPU features: enabling workaround for Spectre-BHB
[    0.000000] CPU features: enabling workaround for ARM erratum 1742098
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: console=ttyAMA0,38400 drm.debug=0x0 rootwait rootdelay=5 androidboot.hardware=ranchu androidboot.se
linux=permissive security=selinux selinux=1 androidboot.qemu.hw.mainkeys=0 androidboot.lcd.density=160
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 2042152K/2097152K available (9532K kernel code, 1172K rwdata, 2888K rodata, 2752K init, 462K bss, 55000K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0x        (ptrval) - 0x        (ptrval)   (  9536 KB)
[    0.000000]     .rodata : 0x        (ptrval) - 0x        (ptrval)   (  2944 KB)
[    0.000000]       .init : 0x        (ptrval) - 0x        (ptrval)   (  2752 KB)
[    0.000000]       .data : 0x        (ptrval) - 0x        (ptrval)   (  1173 KB)
[    0.000000]        .bss : 0x        (ptrval) - 0x        (ptrval)   (   463 KB)
[    0.000000]     fixed   : 0xffffffbefe7f9000 - 0xffffffbefec00000   (  4124 KB)
[    0.000000]     PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffeb40000000 - 0xffffffebc0000000   (  2048 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143]
[    0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
[    0.000127] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every 4398046511096ns
[    0.003660] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=625000)
[    0.003790] pid_max: default: 32768 minimum: 301
[    0.004630] Security Framework initialized
[    0.004762] SELinux:  Initializing.
[    0.005446] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.005495] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.030966] /cpus/cpu-map: empty cluster
[    0.073499] ASID allocator initialised with 32768 entries
[    0.101242] Hierarchical SRCU implementation.
[    0.125115] EFI services will not be available.
[    0.178497] smp: Bringing up secondary CPUs ...
[    0.245215] Detected PIPT I-cache on CPU1
[    0.248497] CPU1: Booted secondary processor [410fd083]
[    0.333392] Detected PIPT I-cache on CPU2
[    0.334213] CPU2: Booted secondary processor [410fd083]
[    0.427085] Detected PIPT I-cache on CPU3
[    0.427978] CPU3: Booted secondary processor [410fd083]
[    0.430197] smp: Brought up 1 node, 4 CPUs
[    0.430599] SMP: Total of 4 processors activated.
[    0.431315] CPU features: detected: 32-bit EL0 Support
[    0.608649] CPU: All CPU(s) started at EL1
[    0.609043] alternatives: patching kernel code
[    0.611038] CPU3: update max cpu_capacity 1024
[    0.621760] CPU3: update max cpu_capacity 1024
[    0.635915] Registered cp15_barrier emulation handler
[    0.636078] Registered setend emulation handler
[    0.637130] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.637235] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.640203] DMI not present or invalid.
[    0.642376] NET: Registered protocol family 16
[    0.644952] schedtune: configured to support 5 boost groups
[    0.649619] cpuidle: using governor menu
[    0.650232] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.651821] DMA: preallocated 256 KiB pool for atomic allocations
[    0.651864] Serial: AMBA PL011 UART driver
[    0.670674] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 39, base_baud = 0) is a PL011 rev1
[    0.681834] console [ttyAMA0] enabled
[    0.707955] SCSI subsystem initialized
[    0.708859] usbcore: registered new interface driver usbfs
[    0.709195] usbcore: registered new interface driver hub
[    0.709442] usbcore: registered new device driver usb
[    0.710559] dmi: Firmware registration failed.
[    0.711835] Advanced Linux Sound Architecture Driver Initialized.
[    0.721653] clocksource: Switched to clocksource arch_sys_counter
[    0.897715] VFS: Disk quotas dquot_6.6.0
[    0.898127] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.901164] NET: Registered protocol family 2
[    0.902709] IP idents hash table entries: 32768 (order: 6, 262144 bytes)
[    0.907955] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.908458] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.908976] TCP: Hash tables configured (established 16384 bind 16384)
[    0.910135] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.910515] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.912044] NET: Registered protocol family 1
[    0.919449] Trying to unpack rootfs image as initramfs...
[    0.997353] Freeing initrd memory: 772K
[    1.001719] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    1.004308] audit: initializing netlink subsys (disabled)
[    1.006144] audit: type=2000 audit(0.950:1): state=initialized audit_enabled=0 res=1
[    1.008629] workingset: timestamp_bits=45 max_order=19 bucket_order=0
[    1.026025] Registering sdcardfs 0.1
[    1.028002] fuse init (API version 7.26)
[    1.042357] cryptomgr_test (44) used greatest stack depth: 14608 bytes left
[    1.042770] cryptomgr_test (43) used greatest stack depth: 14376 bytes left
[    1.062335] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.062609] io scheduler noop registered
[    1.062750] io scheduler deadline registered
[    1.063215] io scheduler cfq registered (default)
[    1.063333] io scheduler mq-deadline registered
[    1.063453] io scheduler kyber registered
[    1.066175] OF: PCI: host bridge /pcie@10000000 ranges:
[    1.066655] OF: PCI:    IO 0x3eff0000..0x3effffff -> 0x00000000
[    1.067088] OF: PCI:   MEM 0x10000000..0x3efeffff -> 0x10000000
[    1.067228] OF: PCI:   MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    1.068255] pci-host-generic 4010000000.pcie: ECAM at [mem 0x4010000000-0x401fffffff] for [bus 00-ff]
[    1.069325] pci-host-generic 4010000000.pcie: PCI host bridge to bus 0000:00
[    1.069606] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.069780] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.069921] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff]
[    1.070053] pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff]
[    1.079427] pci 0000:00:01.0: BAR 6: assigned [mem 0x10000000-0x1003ffff pref]
[    1.079784] pci 0000:00:01.0: BAR 4: assigned [mem 0x8000000000-0x8000003fff 64bit pref]
[    1.080080] pci 0000:00:02.0: BAR 4: assigned [mem 0x8000004000-0x8000007fff 64bit pref]
[    1.080298] pci 0000:00:04.0: BAR 4: assigned [mem 0x8000008000-0x800000bfff 64bit pref]
[    1.080469] pci 0000:00:05.0: BAR 4: assigned [mem 0x800000c000-0x800000ffff 64bit pref]
[    1.080638] pci 0000:00:06.0: BAR 4: assigned [mem 0x8000010000-0x8000013fff 64bit pref]
[    1.080823] pci 0000:00:07.0: BAR 4: assigned [mem 0x8000014000-0x8000017fff 64bit pref]
[    1.081013] pci 0000:00:01.0: BAR 1: assigned [mem 0x10040000-0x10040fff]
[    1.081156] pci 0000:00:02.0: BAR 1: assigned [mem 0x10041000-0x10041fff]
[    1.081292] pci 0000:00:03.0: BAR 0: assigned [mem 0x10042000-0x10042fff]
[    1.081439] pci 0000:00:04.0: BAR 1: assigned [mem 0x10043000-0x10043fff]
[    1.081846] pci 0000:00:05.0: BAR 1: assigned [mem 0x10044000-0x10044fff]
[    1.082004] pci 0000:00:06.0: BAR 1: assigned [mem 0x10045000-0x10045fff]
[    1.082156] pci 0000:00:07.0: BAR 1: assigned [mem 0x10046000-0x10046fff]
[    1.082367] pci 0000:00:05.0: BAR 0: assigned [io  0x1000-0x107f]
[    1.082564] pci 0000:00:06.0: BAR 0: assigned [io  0x1080-0x10ff]
[    1.083362] pci 0000:00:07.0: BAR 0: assigned [io  0x1100-0x117f]
[    1.083504] pci 0000:00:01.0: BAR 0: assigned [io  0x1180-0x119f]
[    1.084473] pci 0000:00:03.0: enabling device (0000 -> 0002)
[    1.090474] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003)
[    1.093129] virtio-pci 0000:00:02.0: enabling device (0000 -> 0002)
[    1.095580] virtio-pci 0000:00:04.0: enabling device (0000 -> 0002)
[    1.096833] virtio-pci 0000:00:05.0: enabling device (0000 -> 0003)
[    1.098208] virtio-pci 0000:00:06.0: enabling device (0000 -> 0003)
[    1.099601] virtio-pci 0000:00:07.0: enabling device (0000 -> 0003)
[    1.112180] input: QEMU Virtio Tablet as /devices/platform/4010000000.pcie/pci0000:00/0000:00:04.0/virtio2/input/input0
[    1.113631] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.118036] [drm] pci: virtio-gpu-pci detected at 0000:00:02.0
[    1.119474] [drm] virgl 3d acceleration not supported by host
[    1.121314] [TTM] Zone  kernel: Available graphics memory: 1021462 kiB
[    1.121663] [TTM] Initializing pool allocator
[    1.121949] [TTM] Initializing DMA pool allocator
[    1.122603] [drm] number of scanouts: 1
[    1.122701] [drm] number of cap sets: 0
[    1.138511] [drm] Initialized virtio_gpu 0.0.1 0 for virtio1 on minor 0
[    1.139496] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.162999] brd: module loaded
[    1.197188] loop: module loaded
[    1.245828] zram: Added device: zram0
[    1.247768] tun: Universal TUN/TAP device driver, 1.6
[    1.252484] PPP generic driver version 2.4.2
[    1.252976] PPP BSD Compression module registered
[    1.253135] PPP Deflate Compression module registered
[    1.253443] PPP MPPE Compression module registered
[    1.253575] NET: Registered protocol family 24
[    1.253689] PPTP driver version 0.8.5
[    1.258151] usbcore: registered new interface driver r8152
[    1.258339] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.258560] ehci-pci: EHCI PCI platform driver
[    1.260252] ehci-pci 0000:00:03.0: EHCI Host Controller
[    1.260786] ehci-pci 0000:00:03.0: new USB bus registered, assigned bus number 1
[    1.262867] ehci-pci 0000:00:03.0: irq 42, io mem 0x10042000
[    1.291890] ehci-pci 0000:00:03.0: USB 2.0 started, EHCI 1.00
[    1.295507] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.295687] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.295900] usb usb1: Product: EHCI Host Controller
[    1.296024] usb usb1: Manufacturer: Linux 4.14.307-01062-gef7460eabd6d ehci_hcd
[    1.296297] usb usb1: SerialNumber: 0000:00:03.0
[    1.298761] hub 1-0:1.0: USB hub found
[    1.299299] hub 1-0:1.0: 6 ports detected
[    1.304251] usbcore: registered new interface driver xpad
[    1.304500] usbcore: registered new interface driver usb_acecad
[    1.304722] usbcore: registered new interface driver aiptek
[    1.304946] usbcore: registered new interface driver gtco
[    1.305158] usbcore: registered new interface driver hanwang
[    1.305404] usbcore: registered new interface driver kbtab
[    1.307914] rtc-pl031 9010000.pl031: rtc core: registered pl031 as rtc0
[    1.310027] IR NEC protocol handler initialized
[    1.310171] IR RC5(x/sz) protocol handler initialized
[    1.310338] IR RC6 protocol handler initialized
[    1.310499] IR JVC protocol handler initialized
[    1.310615] IR Sony protocol handler initialized
[    1.310758] IR SANYO protocol handler initialized
[    1.310878] IR Sharp protocol handler initialized
[    1.311008] IR MCE Keyboard/mouse protocol handler initialized
[    1.311161] IR XMP protocol handler initialized
[    1.312106] device-mapper: uevent: version 1.0.3
[    1.313070] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    1.313986] device-mapper: verity-avb: AVB error handler initialized with vbmeta device:  
[    1.315424] hidraw: raw HID events driver (C) Jiri Kosina
[    1.321014] usbcore: registered new interface driver usbhid
[    1.321237] usbhid: USB HID core driver
[    1.323009] ashmem: initialized
[    1.325296] netem: version 1.3
[    1.325418] u32 classifier
[    1.325495]     Actions configured
[    1.325793] Netfilter messages via NETLINK v0.30.
[    1.326931] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    1.328555] ctnetlink v0.93: registering with nfnetlink.
[    1.332683] xt_time: kernel timezone is -0000
[    1.333056] gre: GRE over IPv4 demultiplexor driver
[    1.333203] IPv4 over IPsec tunneling driver
[    1.336862] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.341048] arp_tables: arp_tables: (C) 2002 David S. Miller
[    1.343068] Initializing XFRM netlink socket
[    1.343384] IPsec XFRM device driver
[    1.345168] NET: Registered protocol family 10
[    1.352648] Segment Routing with IPv6
[    1.353576] mip6: Mobile IPv6
[    1.353771] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.361034] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.364274] NET: Registered protocol family 17
[    1.364605] NET: Registered protocol family 15
[    1.364837] l2tp_core: L2TP core driver, V2.0
[    1.365000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[    1.365527] NET: Registered protocol family 40
[    1.367119] registered taskstats version 1
[    1.371926] console [netcon0] enabled
[    1.372070] netconsole: network logging started
[    1.372854] rtc-pl031 9010000.pl031: setting system clock to 2024-08-29 16:17:32 UTC (1724948252)
[    1.387989] OF: Duplicate name in testcase-data, renamed to "duplicate-name#1"
[    1.392856] ### dt-test ### unittest internal error: unable to add testdata property /aliases/name
[    1.392930] ### dt-test ### start of unittest - you will see error messages
[    1.395161] OF: /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1
[    1.395443] OF: /testcase-data/phandle-tests/consumer-a: could not get #phandle-cells-missing for /testcase-data/phandle-tests/provider1
[    1.395692] OF: /testcase-data/phandle-tests/consumer-a: could not find phandle
[    1.395876] OF: /testcase-data/phandle-tests/consumer-a: could not find phandle
[    1.396066] OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property
[    1.396251] OF: /testcase-data/phandle-tests/consumer-a: arguments longer than property
[    1.403169] ### dt-test ### end of unittest - 149 passed, 0 failed
[    1.403669] ALSA device list:
[    1.403777]   No soundcards found.
[    1.501102] Freeing unused kernel memory: 2752K
[    1.591837] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.795716] usb 1-1: New USB device found, idVendor=0627, idProduct=0001
[    1.796018] usb 1-1: New USB device strings: Mfr=1, Product=4, SerialNumber=11
[    1.796170] usb 1-1: Product: QEMU USB Keyboard
[    1.796269] usb 1-1: Manufacturer: QEMU
[    1.796350] usb 1-1: SerialNumber: 68284-0000:00:03.0-1
[    1.812011] input: QEMU QEMU USB Keyboard as /devices/platform/4010000000.pcie/pci0000:00/0000:00:03.0/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input1
[    1.851611] init: init first stage started!
[    1.857863] init: [libfs_mgr]ReadFstabFromDt(): failed to read fstab from dt
[    1.868774] init: Using Android DT directory /proc/device-tree/firmware/android/
[    1.889495] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v1.11 Keyboard [QEMU QEMU USB Keyboard] on usb-0000:00:03.0-1/input0
[    2.322202] init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/vda
[    2.323319] init: [libfs_mgr]Filesystem on /dev/block/vda was not cleanly shutdown; state flags: 0x1, incompat feature flags: 0x2c6
[    2.364522] init: [libfs_mgr]check_fs(): mount(/dev/block/vda,/system,ext4)=-1: No such file or directory
[    2.367800] init: [libfs_mgr]Not running /system/bin/e2fsck on /dev/block/vda (executable not in system image)
[    2.472699] EXT4-fs (vda): recovery complete
[    2.473539] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: barrier=1
[    2.474298] init: [libfs_mgr]__mount(source=/dev/block/vda,target=/system,type=ext4)=0: Success
[    2.480449] init: Switching root to '/system'
[    2.502059] init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/vdb
[    2.613275] EXT4-fs (vdb): recovery complete
[    2.613448] EXT4-fs (vdb): mounted filesystem with ordered data mode. Opts: barrier=1
[    2.720161] reboot: Restarting system with command 'bootloader'

On Wed, Aug 28, 2024 at 2:10 PM Mario Marietto <marietto2008@gmail.com> wrote:
Hello.

maybe I did some progress using these parameters :

root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/OS/Android# nano start-virt6

qemu-system-aarch64 \
    -smp 4 \
    -m 2048 \
    -cpu cortex-a72 \
    -M virt \
    -kernel /mnt/zroot2/zroot2/OS/Android/KostaKang/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/boot/Image \
    -initrd /mnt/zroot2/zroot2/OS/Android/KostaKang/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/boot/ramdisk-recovery.img \
    -append "console=ttyAMA1,384000 androidboot.hardware=rpi4 no_console_suspend root=/dev/mmcblk1p2 rootwait androidboot.selinux=permissive loglevel=8" \
    -no-reboot \
    -serial tcp::5555,server,nowait,nodelay \
    -display sdl \
    -serial mon:stdio \


The LOG messages seem to be more interesting than before :


root@Z390-AORUS-PRO-DEST:/mnt/zroot2/zroot2/OS/Android# ./start-virt6

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 6.6.36-g01aac93821d2-v8 (kleaf@build-host) (Android (11368308, +pgo, +bolt, +lto, +mlgo, based on r510928) clang version 18.0.0 (https://android.googlesource.com/toolchain/llvm-project 477610d4d0d988e69dbc3fae4fe86bff3f07f2b5), LLD 18.0.0) #1 SMP PREEMPT Tue Jul  2 09:02:32 UTC 2024
[    0.000000] KASLR enabled
[    0.000000] random: crng init done
[    0.000000] Machine model: linux,dummy-virt
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] NoSplit zone start for each node
[    0.000000] NoMerge zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] cma: Reserved 8 MiB at 0x00000000bd000000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 31 pages/cpu s87016 r8192 d31768 u126976
[    0.000000] pcpu-alloc: s87016 r8192 d31768 u126976 alloc=31*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v3a
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 1742098
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyAMA1,384000 androidboot.hardware=rpi4 no_console_suspend root=/dev/mmcblk1p2 rootwait androidboot.selinux=permissive loglevel=8 androidboot.serialno=10000000abcd1234 androidboot.btmacaddr=11:22:33:44:55:66
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 1998052K/2097152K available (19328K kernel code, 2374K rwdata, 7612K rodata, 1792K init, 1192K bss, 90908K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 56269 entries in 220 pages
[    0.000000] ftrace: allocated 220 pages with 5 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    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] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143]
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0x1ffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
[    0.000072] sched_clock: 57 bits at 63MHz, resolution 16ns, wraps every 4398046511096ns
[    0.003415] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
[    0.010294] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=250000)
[    0.010468] pid_max: default: 32768 minimum: 301
[    0.012316] LSM: initializing lsm=capability,selinux,integrity
[    0.012725] SELinux:  Initializing.
[    0.016078] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.016140] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.030412] cgroup: Disabling memory control group subsystem
[    0.048581] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.058399] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.058995] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.059241] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.060770] rcu: Hierarchical SRCU implementation.
[    0.060806] rcu:     Max phase no-delay instances is 1000.
[    0.067966] EFI services will not be available.
[    0.069136] smp: Bringing up secondary CPUs ...
[    0.073070] Detected PIPT I-cache on CPU1
[    0.074107] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.079461] Detected PIPT I-cache on CPU2
[    0.079980] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.081795] Detected PIPT I-cache on CPU3
[    0.082259] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.082755] smp: Brought up 1 node, 4 CPUs
[    0.082785] SMP: Total of 4 processors activated.
[    0.082872] CPU features: detected: 32-bit EL0 Support
[    0.082893] CPU features: detected: 32-bit EL1 Support
[    0.082947] CPU features: detected: CRC32 instructions
[    0.086896] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.087196] CPU: All CPU(s) started at EL1
[    0.087478] alternatives: applying system-wide alternatives
[    0.111400] devtmpfs: initialized
[    0.122787] Enabled cp15_barrier support
[    0.123005] Enabled setend support
[    0.124388] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.124510] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.127804] pinctrl core: initialized pinctrl subsystem
[    0.133859] DMI not present or invalid.
[    0.143968] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.155874] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.156459] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.156805] audit: initializing netlink subsys (disabled)
[    0.159085] audit: type=2000 audit(0.148:1): state=initialized audit_enabled=0 res=1
[    0.162594] thermal_sys: Registered thermal governor 'step_wise'
[    0.162937] cpuidle: using governor menu
[    0.164031] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.164971] ASID allocator initialised with 32768 entries
[    0.166421] Serial: AMBA PL011 UART driver
[    0.195802] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 13, base_baud = 0) is a PL011 rev1
[    0.207191] 9040000.pl011: ttyAMA1 at MMIO 0x9040000 (irq = 14, base_baud = 0) is a PL011 rev1
[    0.208270] printk: console [ttyAMA1] enabled
[    0.227211] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[    0.227414] Modules: 0 pages in range for non-PLT usage
[    0.227439] Modules: 516176 pages in range for PLT usage
[    0.252423] iommu: Default domain type: Translated
[    0.252692] iommu: DMA domain TLB invalidation policy: strict mode
[    0.255246] SCSI subsystem initialized
[    0.256728] usbcore: registered new interface driver usbfs
[    0.257155] usbcore: registered new interface driver hub
[    0.257501] usbcore: registered new device driver usb
[    0.258703] mc: Linux media interface: v0.10
[    0.259091] videodev: Linux video capture interface: v2.00
[    0.260033] pps_core: LinuxPPS API ver. 1 registered
[    0.260306] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.260646] PTP clock support registered
[    0.263957] Advanced Linux Sound Architecture Driver Initialized.
[    0.275807] Bluetooth: Core ver 2.22
[    0.276194] NET: Registered PF_BLUETOOTH protocol family
[    0.276328] Bluetooth: HCI device and connection manager initialized
[    0.276761] Bluetooth: HCI socket layer initialized
[    0.276945] Bluetooth: L2CAP socket layer initialized
[    0.277292] Bluetooth: SCO socket layer initialized
[    0.279818] vgaarb: loaded
[    0.283189] clocksource: Switched to clocksource arch_sys_counter
[    0.289133] VFS: Disk quotas dquot_6.6.0
[    0.289446] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.290358] FS-Cache: Loaded
[    0.291617] CacheFiles: Loaded
[    0.298740] NET: Registered PF_INET protocol family
[    0.300444] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.316440] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.316948] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.317307] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.318245] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.319865] TCP: Hash tables configured (established 16384 bind 16384)
[    0.323421] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[    0.323880] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.324323] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.326061] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.328752] PCI: CLS 0 bytes, default 64
[    0.334033] Trying to unpack rootfs image as initramfs...
[    0.336332] kvm [1]: HYP mode not available
[    0.343844] Initialise system trusted keyrings
[    0.346555] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.347547] zbud: loaded
[    0.357060] Key type cifs.idmap registered
[    0.358007] fuse: init (API version 7.39)
[    0.401184] Key type asymmetric registered
[    0.401438] Asymmetric key parser 'x509' registered
[    0.401856] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.403283] io scheduler mq-deadline registered
[    0.403590] io scheduler kyber registered
[    0.404135] io scheduler bfq registered
[    0.419403] vc-mem: phys_addr:0x00000000 mem_base=0x00000000 mem_size:0x00000000(0 MiB)
[    0.474856] brd: module loaded
[    0.505166] loop: module loaded
[    0.508386] Loading iSCSI transport class v2.0-870.
[    0.518541] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    0.518727] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    0.530178] tun: Universal TUN/TAP device driver, 1.6
[    0.533835] usbcore: registered new interface driver brcmfmac
[    0.534107] usbcore: registered new device driver r8152-cfgselector
[    0.534455] usbcore: registered new interface driver r8152
[    0.534682] usbcore: registered new interface driver lan78xx
[    0.534915] usbcore: registered new interface driver asix
[    0.535376] usbcore: registered new interface driver ax88179_178a
[    0.535608] usbcore: registered new interface driver cdc_ether
[    0.535863] usbcore: registered new interface driver smsc95xx
[    0.536193] usbcore: registered new interface driver net1080
[    0.536532] usbcore: registered new interface driver cdc_subset
[    0.536771] usbcore: registered new interface driver zaurus
[    0.537039] usbcore: registered new interface driver cdc_ncm
[    0.537301] usbcore: registered new interface driver r8153_ecm
[    0.538269] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.538549] dwc_otg: FIQ enabled
[    0.538629] dwc_otg: NAK holdoff enabled
[    0.538725] dwc_otg: FIQ split-transaction FSM enabled
[    0.538906] Module dwc_common_port init
[    0.541229] usbcore: registered new interface driver cdc_acm
[    0.541356] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.542269] usbcore: registered new interface driver uas
[    0.542583] usbcore: registered new interface driver usb-storage
[    0.543322] usbcore: registered new interface driver cp210x
[    0.543681] usbserial: USB Serial support registered for cp210x
[    0.543973] usbcore: registered new interface driver pl2303
[    0.544176] usbserial: USB Serial support registered for pl2303
[    0.547458] mousedev: PS/2 mouse device common for all mice
[    0.547725] usbcore: registered new interface driver xpad
[    0.547949] usbcore: registered new interface driver usb_acecad
[    0.548186] usbcore: registered new interface driver aiptek
[    0.548462] usbcore: registered new interface driver hanwang
[    0.548692] usbcore: registered new interface driver kbtab
[    0.549180] usbcore: registered new interface driver usbtouchscreen
[    0.550460] i2c_dev: i2c /dev entries driver
[    0.553959] ir_imon_decoder: IR iMON protocol handler initialized
[    0.554110] IR JVC protocol handler initialized
[    0.554225] IR MCE Keyboard/mouse protocol handler initialized
[    0.554357] IR NEC protocol handler initialized
[    0.554476] IR RC5(x/sz) protocol handler initialized
[    0.554593] IR RC6 protocol handler initialized
[    0.554711] IR RCMM protocol handler initialized
[    0.554829] IR SANYO protocol handler initialized
[    0.555046] IR Sharp protocol handler initialized
[    0.555351] IR Sony protocol handler initialized
[    0.555469] IR XMP protocol handler initialized
[    0.556083] usbcore: registered new interface driver uvcvideo
[    0.557793] device-mapper: uevent: version 1.0.3
[    0.558904] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    0.560836] Bluetooth: HCI UART driver ver 2.3
[    0.561007] Bluetooth: HCI UART protocol H4 registered
[    0.561440] Bluetooth: HCI UART protocol Broadcom registered
[    0.563240] sdhci: Secure Digital Host Controller Interface driver
[    0.563373] sdhci: Copyright(c) Pierre Ossman
[    0.563861] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.565404] ledtrig-cpu: registered to indicate activity on CPUs
[    0.567595] hid: raw HID events driver (C) Jiri Kosina
[    0.578778] usbcore: registered new interface driver usbhid
[    0.579196] usbhid: USB HID core driver
[    0.582877] ashmem: initialized
[    0.584380] SPI driver st-accel-spi has no spi_device_id for st,lis302dl-spi
[    0.584551] SPI driver st-accel-spi has no spi_device_id for st,lis3lv02dl-accel
[    0.584745] SPI driver st-accel-spi has no spi_device_id for st,lis3dh-accel
[    0.584935] SPI driver st-accel-spi has no spi_device_id for st,lsm330d-accel
[    0.585076] SPI driver st-accel-spi has no spi_device_id for st,lsm330dl-accel
[    0.585242] SPI driver st-accel-spi has no spi_device_id for st,lsm330dlc-accel
[    0.585385] SPI driver st-accel-spi has no spi_device_id for st,lis331dlh-accel
[    0.585526] SPI driver st-accel-spi has no spi_device_id for st,lsm330-accel
[    0.585663] SPI driver st-accel-spi has no spi_device_id for st,lsm303agr-accel
[    0.585803] SPI driver st-accel-spi has no spi_device_id for st,lis2dh12-accel
[    0.585944] SPI driver st-accel-spi has no spi_device_id for st,lng2dm-accel
[    0.586094] SPI driver st-accel-spi has no spi_device_id for st,h3lis331dl-accel
[    0.586280] SPI driver st-accel-spi has no spi_device_id for st,lis331dl-accel
[    0.586460] SPI driver st-accel-spi has no spi_device_id for st,lsm303c-accel
[    0.587705] SPI driver st-magn-spi has no spi_device_id for st,lis3mdl-magn
[    0.587923] SPI driver st-magn-spi has no spi_device_id for st,lsm303agr-magn
[    0.588163] SPI driver st-magn-spi has no spi_device_id for st,lsm9ds1-magn
[    0.588410] SPI driver st-magn-spi has no spi_device_id for st,lsm303c-magn
[    0.596185] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.600270] usbcore: registered new interface driver snd-usb-audio
[    0.607077] Mirror/redirect action on
[    0.607525] netem: version 1.3
[    0.607614] u32 classifier
[    0.607673]     input device check on
[    0.607755]     Actions configured
[    0.615221] xt_time: kernel timezone is -0000
[    0.615693] gre: GRE over IPv4 demultiplexor driver
[    0.615911] IPv4 over IPsec tunneling driver
[    0.621107] Initializing XFRM netlink socket
[    0.621440] IPsec XFRM device driver
[    0.622363] NET: Registered PF_INET6 protocol family
[    0.635597] Segment Routing with IPv6
[    0.635871] In-situ OAM (IOAM) with IPv6
[    0.636820] mip6: Mobile IPv6
[    0.641935] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.646292] NET: Registered PF_PACKET protocol family
[    0.646553] NET: Registered PF_KEY protocol family
[    0.646756] Key type dns_resolver registered
[    0.779288] registered taskstats version 1
[    0.781971] Loading compiled-in X.509 certificates
[    0.852683] Key type .fscrypt registered
[    0.852897] Key type fscrypt-provisioning registered
[    0.864447] of_cfs_init
[    0.865145] of_cfs_init: OK
[    0.870305] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.478027] Freeing initrd memory: 14612K
[    1.503691] Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    1.504674] Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    1.505470] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.506197] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    1.512240] clk: Disabling unused clocks
[    1.512725] ALSA device list:
[    1.512871]   No soundcards found.
[    1.517373] uart-pl011 9040000.pl011: no DMA platform data
[    1.607308] Freeing unused kernel memory: 1792K
[    1.610100] Run /init as init process
[    1.610246]   with arguments:
[    1.610366]     /init
[    1.610472]   with environment:
[    1.610544]     HOME=/
[    1.610615]     TERM=linux
linker: Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
WARNING: linker: Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
[    1.971090] init: init first stage started!
[    1.974290] init: ForceNormalBoot::twrp_fastboot: 1
[    1.974628] init: ForceNormalBoot::normal_boot: 0
[    1.976478] init: Unable to open /lib/modules, skipping module loading.
[    1.977251] init: ForceNormalBoot::twrp_fastboot: 1
[    1.977534] init: ForceNormalBoot::normal_boot: 0
[    1.978174] init: First stage mount skipped (recovery mode)
[    1.982840] init: [libfs_mgr]ReadFstabFromDt(): failed to read fstab from dt
[    1.987898] init: [libfs_mgr]Warning: unknown flag: backup=1
[    1.988241] init: [libfs_mgr]Warning: unknown flag: wipeingui
[    2.002691] printk: init: 6 output lines suppressed due to ratelimiting
[    2.016195] linker: Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
[    2.016510] WARNING: linker:
[    2.016604] Warning: "
[    2.016752] [vdso]
[    2.016889] " unused DT entry:
[    2.017021] unknown processor-specific
[    2.017168]  (type
[    2.017381] 0x70000001
[    2.017512]  arg
[    2.017647] 0x0
[    2.202622] printk: init: 2 output lines suppressed due to ratelimiting
[    2.208265] init: [libfs_mgr]Warning: unknown flag: backup=1
[    2.208576] init: [libfs_mgr]Warning: unknown flag: wipeingui
[    2.208914] init: [libfs_mgr]Warning: unknown flag: backup=1
[    2.209219] init: [libfs_mgr]Warning: unknown flag: wipeingui
[    2.209836] init: [libfs_mgr]Warning: unknown flag: backup=1
[    2.210125] init: [libfs_mgr]Warning: unknown flag: wipeingui
[    2.215144] init: Skipping mount of system_ext, system is not dynamic.
[    2.215880] init: Loading SELinux policy
[    2.266430] SELinux:  Permission nlmsg_getneigh in class netlink_route_socket not defined in policy.
[    2.266759] SELinux:  Permission perfmon in class capability2 not defined in policy.
[    2.266903] SELinux:  Permission bpf in class capability2 not defined in policy.
[    2.267119] SELinux:  Permission checkpoint_restore in class capability2 not defined in policy.
[    2.267369] SELinux:  Permission perfmon in class cap2_userns not defined in policy.
[    2.267524] SELinux:  Permission bpf in class cap2_userns not defined in policy.
[    2.267653] SELinux:  Permission checkpoint_restore in class cap2_userns not defined in policy.
[    2.267956] SELinux:  Class mctp_socket not defined in policy.
[    2.268106] SELinux:  Class anon_inode not defined in policy.
[    2.268256] SELinux:  Class io_uring not defined in policy.
[    2.268386] SELinux:  Class user_namespace not defined in policy.
[    2.268521] SELinux: the above unknown classes and permissions will be denied
[    2.288331] SELinux:  policy capability network_peer_controls=1
[    2.288500] SELinux:  policy capability open_perms=1
[    2.288618] SELinux:  policy capability extended_socket_class=1
[    2.288751] SELinux:  policy capability always_check_network=0
[    2.288881] SELinux:  policy capability cgroup_seclabel=0
[    2.289005] SELinux:  policy capability nnp_nosuid_transition=1
[    2.289137] SELinux:  policy capability genfs_seclabel_symlinks=0
[    2.289319] SELinux:  policy capability ioctl_skip_cloexec=0
[    2.307140] audit: type=1403 audit(2.288:2): auid=4294967295 ses=4294967295 lsm=selinux res=1
[    2.308695] selinux: SELinux: Loaded policy from /sepolicy
[    2.308967] selinux:
[    2.359528] printk: init: 2 output lines suppressed due to ratelimiting
[    2.556011] init: init second stage started!
[    2.776035] init: Using Android DT directory /proc/device-tree/firmware/android/
[    2.797264] init: Couldn't load property file '/system/etc/prop.default': open() failed: No such file or directory: No such file or directory
[    2.846779] init: Couldn't load property file '/system/build.prop': open() failed: No such file or directory: No such file or directory
[    2.847869] init: Couldn't load property file '/system_ext/build.prop': open() failed: No such file or directory: No such file or directory
[    2.848540] init: Couldn't load property file '/vendor/default.prop': open() failed: No such file or directory: No such file or directory
[    2.849165] init: Couldn't load property file '/vendor/build.prop': open() failed: No such file or directory: No such file or directory
[    2.849830] init: Couldn't load property file '/odm/etc/build.prop': open() failed: No such file or directory: No such file or directory
[    2.850546] init: Couldn't load property file '/product/build.prop': open() failed: No such file or directory: No such file or directory
[    2.851394] init: Couldn't load property file '/factory/factory.prop': open() failed: No such file or directory: No such file or directory
[    3.089359] cgroup: Disabled controller 'memory'
[    3.092460] cgroup: Unknown subsys name 'schedtune'
[    3.120187] audit: type=1400 audit(3.100:3): avc:  denied  { perfmon } for  pid=1 comm="init" capability=38  scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability2 permissive=1
[    3.426415] ueventd: ueventd started!
[    3.448141] selinux: SELinux: Loaded file_contexts
[    3.448414] selinux:
[    3.450283] ueventd: Parsing file /system/etc/ueventd.rc...
[    3.455379] ueventd: Parsing file /vendor/ueventd.rc...
[    3.455868] ueventd: Unable to read config file '/vendor/ueventd.rc': open() failed: No such file or directory
[    3.456438] ueventd: Parsing file /odm/ueventd.rc...
[    3.456890] ueventd: Unable to read config file '/odm/ueventd.rc': open() failed: No such file or directory
[    3.457440] ueventd: Parsing file /ueventd.rpi4.rc...
[    3.457909] ueventd: Unable to read config file '/ueventd.rpi4.rc': open() failed: No such file or directory
[    4.699678] audit: type=1400 audit(4.684:4): avc:  denied  { entrypoint } for  pid=96 comm="init" path="/system/bin/logd" dev="rootfs" ino=271 scontext=u:r:logd:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
[    4.706631] audit: type=1400 audit(4.688:5): avc:  denied  { map } for  pid=96 comm="logd" path="/system/bin/logd" dev="rootfs" ino=271 scontext=u:r:logd:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
[    4.707481] audit: type=1400 audit(4.688:6): avc:  denied  { read } for  pid=96 comm="logd" path="/system/bin/logd" dev="rootfs" ino=271 scontext=u:r:logd:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
[    4.708316] audit: type=1400 audit(4.688:7): avc:  denied  { execute } for  pid=96 comm="logd" path="/system/bin/logd" dev="rootfs" ino=271 scontext=u:r:logd:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
[    4.729108] audit: type=1400 audit(4.712:8): avc:  denied  { getattr } for  pid=96 comm="logd" path="/system/bin/logd" dev="rootfs" ino=271 scontext=u:r:logd:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
[    4.743227] audit: type=1400 audit(4.724:9): avc:  denied  { read } for  pid=96 comm="logd" name="bin" dev="rootfs" ino=167 scontext=u:r:logd:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=1
[    4.755432] audit: type=1400 audit(4.736:10): avc:  denied  { open } for  pid=96 comm="logd" path="/system/lib64/libsysutils.so" dev="rootfs" ino=6255 scontext=u:r:logd:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
[    4.937922] logd: Cannot read /system/etc/event-log-tags
[    4.964388] file system registered
[    4.969588] logd.auditd: start
[    4.970233] logd.klogd: 4955041232
[    5.132743] type=1400 audit(5.108:14): avc: denied { create } for comm="hwservicemanage" scontext=u:r:recovery:s0 tcontext=u:r:recovery:s0 tclass=netlink_selinux_socket permissive=1
[    5.136378] type=1400 audit(5.112:15): avc: denied { bind } for comm="hwservicemanage" scontext=u:r:recovery:s0 tcontext=u:r:recovery:s0 tclass=netlink_selinux_socket permissive=1
[    5.143332] type=1400 audit(5.112:16): avc: denied { read } for comm="hwservicemanage" name="perms" dev="selinuxfs" ino=67112391 scontext=u:r:recovery:s0 tcontext=u:object_r:selinuxfs:s0 tclass=dir permissive=1
[    5.146297] type=1400 audit(5.112:17): avc: denied { open } for comm="hwservicemanage" path="/sys/fs/selinux/class/hwservice_manager/perms" dev="selinuxfs" ino=67112391 scontext=u:r:recovery:s0 tcontext=u:object_r:selinuxfs:s0 tclass=dir permissive=1
[    5.174030] type=1400 audit(5.124:18): avc: denied { write } for comm="hwservicemanage" name="access" dev="selinuxfs" ino=6 scontext=u:r:recovery:s0 tcontext=u:object_r:selinuxfs:s0 tclass=file permissive=1
[    5.177477] type=1400 audit(5.124:19): avc: denied { compute_av } for comm="hwservicemanage" scontext=u:r:recovery:s0 tcontext=u:object_r:kernel:s0 tclass=security permissive=1
[    5.181388] type=1400 audit(5.152:20): avc: denied { set_context_mgr } for comm="hwservicemanage" scontext=u:r:recovery:s0 tcontext=u:r:recovery:s0 tclass=binder permissive=1
WARNING: linker: Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)

console:/ #

[    7.812969] init: Service 'recovery' (pid 106) received signal 11
[    7.813381] init: Sending signal 9 to service 'recovery' (pid 106) process group...
[    7.814694] libprocessgroup: Successfully killed process cgroup uid 0 pid 106 in 0ms
[    7.820960] init: Untracked pid 110 exited with status 1
[   10.206834] init: starting service 'recovery'...
[   10.211672] init: Created socket '/dev/socket/recovery', mode 422, user 1000, group 1000
[   10.313714] init: starting service 'adbd'...
[   10.319354] init: Created socket '/dev/socket/adbd', mode 660, user 1000, group 1000
[   10.597898] read descriptors
[   10.598630] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   10.599621] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   10.600467] read strings
[   10.613340] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   10.632907] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 1ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   11.678635] read descriptors
[   11.678883] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   11.679695] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   11.680663] read strings
[   11.760913] platform gpio-keys: deferred probe pending
[   12.761137] read descriptors
[   12.761449] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   12.761972] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   12.762607] read strings
[   13.826065] read descriptors
[   13.826428] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   13.827903] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   13.829154] read strings
[   13.833730] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   13.839092] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   13.840732] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   14.889512] read descriptors
[   14.889701] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   14.890177] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   14.890767] read strings
[   14.895430] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   14.900587] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   14.902076] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   15.224749] init: starting service 'recovery'...
[   15.228494] init: Created socket '/dev/socket/recovery', mode 422, user 1000, group 1000
[   15.681727] init: Unable to set property 'ro.twrp.boot' from uid:0 gid:0 pid:124: Read-only property was already set
[   15.686406] init: Unable to set property 'ro.twrp.version' from uid:0 gid:0 pid:124: Read-only property was already set
[   15.949039] read descriptors
[   15.949240] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   15.949733] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   15.950378] read strings
[   17.016978] read descriptors
[   17.017147] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   17.017426] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   17.017781] read strings
[   18.132636] read descriptors
[   18.133219] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   18.134486] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   18.137501] read strings
[   19.197574] read descriptors
[   19.197760] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   19.198136] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   19.198665] read strings
[   19.208502] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   19.214749] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   19.216726] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   20.237060] init: starting service 'recovery'...
[   20.240672] init: Created socket '/dev/socket/recovery', mode 422, user 1000, group 1000
[   20.282811] read descriptors
[   20.283381] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   20.283889] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   20.284536] read strings
[   20.292396] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   20.300513] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   20.302642] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   20.754865] init: Unable to set property 'ro.twrp.boot' from uid:0 gid:0 pid:131: Read-only property was already set
[   20.759553] init: Unable to set property 'ro.twrp.version' from uid:0 gid:0 pid:131: Read-only property was already set
[   21.349790] read descriptors
[   21.350005] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   21.350465] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   21.352780] read strings
[   22.423098] read descriptors
[   22.423361] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   22.423651] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   22.424144] read strings
[   23.481363] read descriptors
[   23.481606] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   23.482130] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   23.482813] read strings
[   24.553075] read descriptors
[   24.553241] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   24.553597] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   24.553975] read strings
[   24.558331] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   24.563898] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   24.565567] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   25.248962] init: starting service 'recovery'...
[   25.253276] init: Created socket '/dev/socket/recovery', mode 422, user 1000, group 1000
[   25.641207] read descriptors
[   25.641328] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   25.641616] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   25.642040] read strings
[   25.648473] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   25.669450] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 1ms and failed: symlink() failed: File exists
[   25.672542] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   25.706240] init: Unable to set property 'ro.twrp.boot' from uid:0 gid:0 pid:139: Read-only property was already set
[   25.710372] init: Unable to set property 'ro.twrp.version' from uid:0 gid:0 pid:139: Read-only property was already set
[   26.709759] read descriptors
[   26.710096] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   26.710921] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   26.712463] read strings
[   27.782228] read descriptors
[   27.782350] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   27.782569] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   27.782877] read strings
[   28.849863] read descriptors
[   28.850115] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   28.850775] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   28.852359] read strings
[   29.942409] read descriptors
[   29.942646] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   29.943232] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   29.943746] read strings
[   29.949390] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   29.955577] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   29.957043] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   30.268078] init: starting service 'recovery'...
[   30.286298] init: Created socket '/dev/socket/recovery', mode 422, user 1000, group 1000
[   30.726944] init: Unable to set property 'ro.twrp.boot' from uid:0 gid:0 pid:147: Read-only property was already set
[   30.731529] init: Unable to set property 'ro.twrp.version' from uid:0 gid:0 pid:147: Read-only property was already set
[   31.017959] read descriptors
[   31.018182] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   31.018669] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   31.019885] read strings
[   31.028871] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   31.037564] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   31.039173] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   32.092703] read descriptors
[   32.093392] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   32.093996] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   32.095530] read strings
[   33.149642] read descriptors
[   33.149854] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   33.150334] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   33.150887] read strings
[   34.230547] read descriptors
[   34.230852] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   34.233227] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   34.234420] read strings
[   35.301592] init: starting service 'recovery'...
[   35.319970] init: Created socket '/dev/socket/recovery', mode 422, user 1000, group 1000
[   35.320441] read descriptors
[   35.320589] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   35.321087] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   35.322062] read strings
[   35.382841] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   35.391787] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   35.393645] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   35.785517] init: Unable to set property 'ro.twrp.boot' from uid:0 gid:0 pid:156: Read-only property was already set
[   35.789909] init: Unable to set property 'ro.twrp.version' from uid:0 gid:0 pid:156: Read-only property was already set
[   36.421841] read descriptors
[   36.422877] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   36.426638] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   36.427376] read strings
[   36.432055] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   36.438294] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   36.440095] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   37.502771] read descriptors
[   37.502908] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   37.503568] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   37.504160] read strings
[   38.575803] read descriptors
[   38.576299] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   38.577608] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   38.578173] read strings

|console:/ #

[   39.633521] read descriptors
[   39.633726] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   39.634107] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   39.634647] read strings
[   40.334108] init: starting service 'recovery'...
[   40.338087] init: Created socket '/dev/socket/recovery', mode 422, user 1000, group 1000
[   40.721751] read descriptors
[   40.721951] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   40.722415] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   40.723179] read strings
[   40.729072] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   40.742406] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   40.745270] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   40.789765] init: Unable to set property 'ro.twrp.boot' from uid:0 gid:0 pid:164: Read-only property was already set
[   40.793898] init: Unable to set property 'ro.twrp.version' from uid:0 gid:0 pid:164: Read-only property was already set
[   41.794291] read descriptors
[   41.794526] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   41.795504] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   41.796355] read strings
[   41.802136] init: processing action (sys.usb.config=adb && sys.usb.configfs=1 && sys.usb.ffs.ready=1) from (/system/etc/init/hw/init.rc:208)
[   41.807484] init: Command 'symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:211) took 0ms and failed: symlink() failed: File exists
[   41.809032] init: Command 'write /config/usb_gadget/g1/UDC ${sys.usb.controller}' action="" && sys.usb.configfs=1 && sys.usb.ffs.ready=1 (/system/etc/init/hw/init.rc:212) took 0ms and failed: property 'sys.usb.controller' doesn't exist while expanding '${sys.usb.controller}'
[   42.865948] read descriptors
[   42.866163] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   42.866523] bcdVersion must be 0x0100, stored in Little Endian order. Userspace driver should be fixed, accepting 0x0001 for compatibility.
[   42.866910] read strings

On Tue, Aug 27, 2024 at 3:04 PM Mario Marietto <marietto2008@gmail.com> wrote:
Hello to everyone.

As I said before,some years ago I was able to emulate Android on my Jetson Nano. It was a special version of Android,prepared by antmicro and the github is located here :


I would like to compile it again and try to emulate it on my Jetson Nano again and on my Intel PC + Ubuntu 24.04 x64 bit.
I followed the tutorial again and I've been able to create the Android img files below without problems :

out/target/product/generic_arm64/vendor.img out/target/product/generic_arm64/system.img out/target/product/generic_arm64/userdata.img out/target/product/generic_arm64/ramdisk.img

Now I need the kernel,so I tried to fetch the kernel sources to compile it. Unfortunately the github is old and some links are broken.
I want to ask your help to fix the broken link as better as possible :

root@Z390-AORUS-PRO-DEST:/mnt/sdl1/aosp_kernel# repo init -u https://android.googlesource.com/kernel/manifest -b q-common-android-4.14
Downloading Repo source from https://gerrit.googlesource.com/git-repo

Your identity is: ziomario <marietto2008@gmail.com>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /mnt/sdl1/aosp_kernel

root@Z390-AORUS-PRO-DEST:/mnt/sdl1/aosp_kernel# repo sync

Fetching:  0% (0/8) 0:07 | 2 jobs | 0:05 kernel/build @ buildRicezione degli oggetti:  84% (14706/17
Fetching:  0% (0/8) 0:07 | 2 jobs | 0:06 kernel/build @ buildRicezione degli oggetti:  85% (14881/17
Ricezione degli oggetti: 100% (17506/17506), 12.23 MiB | 46.57 MiB/s, fatto.
Risoluzione dei delta: 100% (8869/8869), fatto.
Fetching: 50% (4/8) 9:11 | 1 job | 9:01 kernel/common @ commonRicezione degli oggetti:   0% (1/12468
Fetching: 50% (4/8) 9:12 | 1 job | 9:02 kernel/common @ commonRicezione degli oggetti:   0% (80382/1
Fetching: 50% (4/8) 9:12 | 1 job | 9:03 kernel/common @ commonRicezione degli oggetti:   1% (124682/
Fetching: 50% (4/8) 9:13 | 1 job | 9:03 kernel/common @ commonRicezione degli oggetti:   1% (163592/
Fetching: 50% (4/8) 9:14 | 1 job | 9:04 kernel/common @ commonRicezione degli oggetti:   1% (245123/
Fetching: 50% (4/8) 9:15 | 1 job | 9:05 kernel/common @ commonRicezione degli oggetti:   2% (333147/
Fetching: 50% (4/8) 9:15 | 1 job | 9:06 kernel/common @ commonRicezione degli oggetti:   3% (374044/
.....
Fetching: 50% (4/8) 12:06 | 1 job | 11:57 kernel/common @ commonRisoluzione dei delta:  98% (1023355
Fetching: 50% (4/8) 12:07 | 1 job | 11:58 kernel/common @ commonRisoluzione dei delta:  99% (1028207
Fetching: 50% (4/8) 12:08 | 1 job | 11:59 kernel/common @ commonRisoluzione dei delta: 100% (1034277
Risoluzione dei delta: 100% (10342775/10342775), fatto.
Fetching: 50% (4/8) 13:44 | 1 job | 13:34 kernel/common @ common

fatal: can't find remote refs/heads/android-4.14-q

kernel/common:

kernel/common: sleeping 4.0 seconds before retrying

error: Cannot fetch kernel/common from https://android.googlesource.com/kernel/common

Fetching: 50% (4/8) 13:45 | 1 job | 0:01 kernel/tests @ kernel/tests
Ricezione degli oggetti:   

Ricezione degli oggetti: 100% (11797/11797), 4.91 MiB | 48.34 MiB/s, fatto.
Risoluzione dei delta: 100% (2123/2123), fatto.
Fetching: 100% (8/8), done in 18m26.961s
Fetching:  0% (0/1) 0:04 | 1 job | 0:04 kernel/common @ common
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q

kernel/common:
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
kernel/common: sleeping 4.0 seconds before retrying
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
error: Cannot fetch kernel/common from https://android.googlesource.com/kernel/common
Fetching: 100% (1/1), done in 5.046s
error: Cannot checkout kernel/common: ManifestInvalidRevisionError: revision android-4.14-q in kernel/common not found
error: in `sync`: revision android-4.14-q in kernel/common not found
root@Z390-AORUS-PRO-DEST:/mnt/sdl1/aosp_kernel# repo sync
Fetching:  0% (0/8) 0:09 | 2 jobs | 0:07 kernel/common @ common
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q

kernel/common:
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
kernel/common: sleeping 4.0 seconds before retrying
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
error: Cannot fetch kernel/common from https://android.googlesource.com/kernel/common
Fetching: 100% (8/8), done in 12.927s
Fetching:  0% (0/1) 0:04 | 1 job | 0:04 kernel/common @ common
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q

kernel/common:
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
kernel/common: sleeping 4.0 seconds before retrying
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
error: Cannot fetch kernel/common from https://android.googlesource.com/kernel/common
Fetching: 100% (1/1), done in 5.008s
error: Cannot checkout kernel/common: ManifestInvalidRevisionError: revision android-4.14-q in kernel/common not found
error: in `sync`: revision android-4.14-q in kernel/common not found
root@Z390-AORUS-PRO-DEST:/mnt/sdl1/aosp_kernel# repo sync
Fetching: 50% (4/8) 0:04 | 1 job | 0:03 kernel/common @ common
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q

kernel/common:
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
kernel/common: sleeping 4.0 seconds before retrying
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
error: Cannot fetch kernel/common from https://android.googlesource.com/kernel/common
Fetching: 100% (8/8), done in 5.696s
Fetching:  0% (0/1) 0:04 | 1 job | 0:04 kernel/common @ common
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
kernel/common:
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
kernel/common: sleeping 4.0 seconds before retrying
fatal: impossibile trovare il riferimento remoto refs/heads/android-4.14-q
error: Cannot fetch kernel/common from https://android.googlesource.com/kernel/common
Fetching: 100% (1/1), done in 4.930s
error: Cannot checkout kernel/common: ManifestInvalidRevisionError: revision android-4.14-q in kernel/common not found
error: in `sync`: revision android-4.14-q in kernel/common not found
thanks.

On Sun, Aug 25, 2024 at 5:58 PM Mario Marietto <marietto2008@gmail.com> wrote:
ok,I've understood that initrd is ramdisk.img,so :

qemu-system-aarch64 \
        -smp 4 \
        -m 2048 \
        -cpu cortex-a72 \
        -machine virt \
        -initrd /mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/boot/ramdisk.img \
        -kernel /mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/boot/Image \
        -device virtio-gpu-pci,xres=1024,yres=768 \
        -display sdl,gl=on \
        -device usb-ehci \
        -device usb-kbd \
        -device virtio-tablet-pci \
        -usb \
        -serial stdio \
        -drive index=0,if=none,id=system,file=/mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv.img,format=raw,index=0,media=disk \
        -append "console=ttyAMA0,38400 drm.debug=0x0 rootwait rootdelay=5 root=/dev/vdd1 rw"

======>

[    2.862352] Run /init as init process
[    3.119264] magiskinit: open /proc/bootconfig failed with 2: No such file or directory
[    4.741230] init: init first stage started!
[    4.754789] init: Unable to open /lib/modules, skipping module loading.
[    4.788159] init: Copied ramdisk prop to /second_stage_resources/system/etc/ramdisk/build.prop
[    4.804110] init: [libfstab] Using Android DT directory /proc/device-tree/firmware/android/
[    4.811371] init: [libfstab] ReadFstabFromDt(): failed to read fstab from dt
[    4.825409] init: [libfstab] ReadDefaultFstab(): failed to find device default fstab
[    4.828176] init: Failed to create FirstStageMount : failed to read default fstab for first stage mount
[    4.831564] init: FirstStageMount not available
[    4.890952] init: InitFatalReboot: signal 6
[    5.063207] init:   #00 pc 00000000003b7764  /init (unwindstack::AndroidLocalUnwinder::InternalUnwind(std::__1::optional<int>, unwin
dstack::AndroidUnwinderData&)+96) (BuildId: 48bce72d2f0c6e6c34530a67b6b7b3be)
[    5.064741] init:   #01 pc 00000000003ab4b8  /init (android::init::InitFatalReboot(int)+204) (BuildId: 48bce72d2f0c6e6c34530a67b6b7b
3be)
[    5.066931] init:   #02 pc 00000000003abb48  /init (android::init::InstallRebootSignalHandlers()::$_0::__invoke(int)+32) (BuildId: 4
8bce72d2f0c6e6c34530a67b6b7b3be)
[    5.068545] init:   #03 pc 0000000000000854  [vdso]
[    5.069555] init:   #04 pc 000000000035285c  /init (abort+164) (BuildId: 48bce72d2f0c6e6c34530a67b6b7b3be)
[    5.072153] init:   #05 pc 00000000003b029c  /init (android::init::InitAborter(char const*)+44) (BuildId: 48bce72d2f0c6e6c34530a67b6
b7b3be)
[    5.075216] init:   #06 pc 00000000003131d0  /init (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_0::__invo
ke(char const*)+80) (BuildId: 48bce72d2f0c6e6c34530a67b6b7b3be)
[    5.077609] init:   #07 pc 00000000003128f4  /init (android::base::LogMessage::~LogMessage()+356) (BuildId: 48bce72d2f0c6e6c34530a67
b6b7b3be)
[    5.079506] init:   #08 pc 00000000003a1ec0  /init (android::init::FirstStageMain(int, char**)+13140) (BuildId: 48bce72d2f0c6e6c3453
0a67b6b7b3be)
[    5.081404] init:   #09 pc 0000000000350e9c  /init (__real_libc_init(void*, void (*)(), int (*)(int, char**, char**), structors_arra
y_t const*, bionic_tcb*)+688) (BuildId: 48bce72d2f0c6e6c34530a67b6b7b3be)
[    5.083648] init: Reboot ending, jumping to kernel
[    5.091556] reboot: Restarting system with command 'bootloader'



On Sun, Aug 25, 2024 at 3:31 PM Mario Marietto <marietto2008@gmail.com> wrote:
The file below is called config.txt and it's available only if Android is installed physically. I don't see it when I unpack the main img file. Probably it is embedded inside the file 0.fat,or 1.img,who knows. Anyway,Is useful to understand what's the name of the initrd file. Actually I tried to use 0.fat,but I think it's wrong. Can you give a look at the file below and tell me if it could be "ramdisk.img" ?

# Kernel
arm_64bit=1
kernel=Image

# Ramdisk
gpio=21=ip,pu
[gpio21=1]
initramfs ramdisk.img followkernel
[gpio21=0]
initramfs ramdisk-recovery.img followkernel
[all]

# Audio
dtparam=audio=on

# Audio DAC
#dtoverlay=allo-boss-dac-pcm512x-audio
#dtoverlay=allo-piano-dac-pcm512x-audio
#dtoverlay=allo-piano-dac-plus-pcm512x-audio
#dtoverlay=hifiberry-dacplus
#dtoverlay=i-sabre-q2m
#dtoverlay=iqaudio-dac
#dtoverlay=justboom-dac

# Boot device
dtoverlay=android-sdcard
#dtoverlay=android-usb
#dtoverlay=android-nvme

# Camera
camera_auto_detect=1
start_x=1

# CPU
arm_boost=1
#arm_freq=1500

# Display
disable_overscan=1

# Display panel
[gpio21=1]
#dtoverlay=cutiepi-panel
#dtoverlay=vc4-kms-dsi-7inch
#dtoverlay=vc4-kms-dsi-lt070me05000
#dtoverlay=vc4-kms-dsi-lt070me05000-v2
[all]
#dtoverlay=rpi-backlight

# Fan
#dtoverlay=gpio-fan
#dtoverlay=i2c-fan
#dtoverlay=rpi-poe
#dtoverlay=rpi-poe-plus

# Graphics acceleration
disable_fw_kms_setup=1
[gpio21=1]
dtoverlay=vc4-kms-v3d
[all]

# I2C
dtparam=i2c_arm=on

# I2S
#dtparam=i2s=on

# IR
#dtoverlay=gpio-ir,gpio_pin=18

# Keys
#dtoverlay=gpio-key,gpio=21,keycode=116,label="POWER"
#dtoverlay=gpio-key,gpio=26,keycode=115,label="VOLUME_UP"
#dtoverlay=gpio-key,gpio=20,keycode=114,label="VOLUME_DOWN"

# RTC
dtoverlay=i2c-rtc,ds3231

# Sensors
#dtoverlay=android-i2c-sensor,mpu6050

# Serial console
#enable_uart=1

# SPI
dtparam=spi=on

# Touchscreen
#dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
#dtoverlay=edt-ft5406
#dtoverlay=goodix
#dtoverlay=rpi-ft5406

# USB
dtoverlay=dwc2,dr_mode=peripheral
[cm4]
dtoverlay=dwc2,dr_mode=otg
[all]

include config_user.txt

On Sun, Aug 25, 2024 at 2:44 PM Mario Marietto <marietto2008@gmail.com> wrote:
Appending the root device does not change the scenario :

qemu-system-aarch64 \
        -smp 4 \
        -m 2048 \
        -cpu cortex-a72 \
        -machine virt \
        -serial stdio \
        -initrd /mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/0.fat \
        -kernel /mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/boot/Image \
        -append "console=ttyAMA0,38400 drm.debug=0x0 rootwait rootdelay=5 root=/dev/vdd1 rw"


[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 6.6.36-g01aac93821d2-v8 (kleaf@build-host) (Android (11368308, +pgo, +bolt, +lto, +mlgo, based on r510928)
clang version 18.0.0 (https://android.googlesource.com/toolchain/llvm-project 477610d4d0d988e69dbc3fae4fe86bff3f07f2b5), LLD 18.0.0) #
1 SMP PREEMPT Tue Jul  2 09:02:32 UTC 2024
[    0.000000] KASLR enabled
[    0.000000] random: crng init done
[    0.000000] Machine model: linux,dummy-virt
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] NoSplit zone start for each node
[    0.000000] NoMerge zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] cma: Reserved 8 MiB at 0x00000000bd000000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 31 pages/cpu s87016 r8192 d31768 u126976
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v3a
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 1742098
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyAMA0,38400 drm.debug=0x0 rootwait rootdelay=5 root=/dev/vdd1 rw androidboot.serialno=100
00000abcd1234 androidboot.btmacaddr=11:22:33:44:55:66
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 1881596K/2097152K available (19328K kernel code, 2374K rwdata, 7612K rodata, 1792K init, 1192K bss, 207364K rese
rved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 56269 entries in 220 pages
[    0.000000] ftrace: allocated 220 pages with 5 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    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] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143]
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0x1ffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns: 881590405314 ns
[    0.000069] sched_clock: 57 bits at 63MHz, resolution 16ns, wraps every 4398046511096ns
[    0.003628] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
[    0.010906] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=250000)
[    0.011082] pid_max: default: 32768 minimum: 301
[    0.013020] LSM: initializing lsm=capability,selinux,integrity
[    0.013436] SELinux:  Initializing.
[    0.016921] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.016984] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.031469] cgroup: Disabling memory control group subsystem
[    0.050059] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.059978] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.060584] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.060822] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.062427] rcu: Hierarchical SRCU implementation.
[    0.062463] rcu:     Max phase no-delay instances is 1000.
[    0.068568] EFI services will not be available.
[    0.071086] smp: Bringing up secondary CPUs ...
[    0.074801] Detected PIPT I-cache on CPU1
[    0.075909] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.081065] Detected PIPT I-cache on CPU2
[    0.081470] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[    0.083873] Detected PIPT I-cache on CPU3
[    0.084168] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[    0.084681] smp: Brought up 1 node, 4 CPUs
[    0.084715] SMP: Total of 4 processors activated.
[    0.084800] CPU features: detected: 32-bit EL0 Support
[    0.084824] CPU features: detected: 32-bit EL1 Support
[    0.084885] CPU features: detected: CRC32 instructions
[    0.088191] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.088512] CPU: All CPU(s) started at EL1
[    0.088714] alternatives: applying system-wide alternatives
[    0.113756] devtmpfs: initialized
[    0.126262] Enabled cp15_barrier support
[    0.126449] Enabled setend support
[    0.127708] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.127840] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.131302] pinctrl core: initialized pinctrl subsystem
[    0.138216] DMI not present or invalid.
[    0.147664] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.158502] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.158987] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.159303] audit: initializing netlink subsys (disabled)
[    0.161302] audit: type=2000 audit(0.148:1): state=initialized audit_enabled=0 res=1
[    0.164412] thermal_sys: Registered thermal governor 'step_wise'
[    0.164806] cpuidle: using governor menu
[    0.165816] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.166975] ASID allocator initialised with 32768 entries
[    0.168385] Serial: AMBA PL011 UART driver
[    0.196712] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 13, base_baud = 0) is a PL011 rev1
[    0.198278] printk: console [ttyAMA0] enabled
[    0.224278] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL
[    0.224486] Modules: 0 pages in range for non-PLT usage
[    0.224510] Modules: 516176 pages in range for PLT usage
[    0.241442] iommu: Default domain type: Translated
[    0.241679] iommu: DMA domain TLB invalidation policy: strict mode
[    0.244200] SCSI subsystem initialized
[    0.245459] usbcore: registered new interface driver usbfs
[    0.245841] usbcore: registered new interface driver hub
[    0.246154] usbcore: registered new device driver usb
[    0.247257] mc: Linux media interface: v0.10
[    0.247617] videodev: Linux video capture interface: v2.00
[    0.248602] pps_core: LinuxPPS API ver. 1 registered
[    0.248700] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.248967] PTP clock support registered
[    0.251884] Advanced Linux Sound Architecture Driver Initialized.
[    0.262663] Bluetooth: Core ver 2.22
[    0.262960] NET: Registered PF_BLUETOOTH protocol family
[    0.263069] Bluetooth: HCI device and connection manager initialized
[    0.263344] Bluetooth: HCI socket layer initialized
[    0.263516] Bluetooth: L2CAP socket layer initialized
[    0.263840] Bluetooth: SCO socket layer initialized
[    0.266790] vgaarb: loaded
[    0.268841] clocksource: Switched to clocksource arch_sys_counter
[    0.272056] VFS: Disk quotas dquot_6.6.0
[    0.272284] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.273060] FS-Cache: Loaded
[    0.278526] CacheFiles: Loaded
[    0.287007] NET: Registered PF_INET protocol family
[    0.288390] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.297021] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.297273] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.297485] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.298036] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.298873] TCP: Hash tables configured (established 16384 bind 16384)
[    0.301283] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[    0.301759] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.302186] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.304009] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.306868] PCI: CLS 0 bytes, default 64
[    0.312145] Trying to unpack rootfs image as initramfs...
[    0.312808] kvm [1]: HYP mode not available
[    0.318856] rootfs image is not initramfs (invalid magic at start of compressed archive); looks like an initrd
[    0.335544] Initialise system trusted keyrings
[    0.338430] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.339134] zbud: loaded
[    0.347742] Key type cifs.idmap registered
[    0.348673] fuse: init (API version 7.39)
[    0.386722] Key type asymmetric registered
[    0.386992] Asymmetric key parser 'x509' registered
[    0.387460] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.388796] io scheduler mq-deadline registered
[    0.388954] io scheduler kyber registered
[    0.389319] io scheduler bfq registered
[    0.406358] vc-mem: phys_addr:0x00000000 mem_base=0x00000000 mem_size:0x00000000(0 MiB)
[    0.476330] brd: module loaded
[    0.508286] loop: module loaded
[    0.512092] Loading iSCSI transport class v2.0-870.
[    0.522449] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    0.522729] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    0.538429] tun: Universal TUN/TAP device driver, 1.6
[    0.541953] usbcore: registered new interface driver brcmfmac
[    0.542290] usbcore: registered new device driver r8152-cfgselector
[    0.542675] usbcore: registered new interface driver r8152
[    0.542971] usbcore: registered new interface driver lan78xx
[    0.543488] usbcore: registered new interface driver asix
[    0.543810] usbcore: registered new interface driver ax88179_178a
[    0.544134] usbcore: registered new interface driver cdc_ether
[    0.544609] usbcore: registered new interface driver smsc95xx
[    0.544909] usbcore: registered new interface driver net1080
[    0.545240] usbcore: registered new interface driver cdc_subset
[    0.545596] usbcore: registered new interface driver zaurus
[    0.545896] usbcore: registered new interface driver cdc_ncm
[    0.546192] usbcore: registered new interface driver r8153_ecm
[    0.547442] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.550591] usbcore: registered new interface driver cdc_acm
[    0.550756] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.551948] usbcore: registered new interface driver uas
[    0.552352] usbcore: registered new interface driver usb-storage
[    0.566050] usbcore: registered new interface driver cp210x
[    0.566791] usbserial: USB Serial support registered for cp210x
[    0.567318] usbcore: registered new interface driver pl2303
[    0.567653] usbserial: USB Serial support registered for pl2303
[    0.573531] mousedev: PS/2 mouse device common for all mice
[    0.573930] usbcore: registered new interface driver xpad
[    0.574228] usbcore: registered new interface driver usb_acecad
[    0.574588] usbcore: registered new interface driver aiptek
[    0.574937] usbcore: registered new interface driver hanwang
[    0.575292] usbcore: registered new interface driver kbtab
[    0.577388] usbcore: registered new interface driver usbtouchscreen
[    0.580179] i2c_dev: i2c /dev entries driver
[    0.584010] ir_imon_decoder: IR iMON protocol handler initialized
[    0.584179] IR JVC protocol handler initialized
[    0.584296] IR MCE Keyboard/mouse protocol handler initialized
[    0.584435] IR NEC protocol handler initialized
[    0.584734] IR RC5(x/sz) protocol handler initialized
[    0.584863] IR RC6 protocol handler initialized
[    0.584991] IR RCMM protocol handler initialized
[    0.585111] IR SANYO protocol handler initialized
[    0.585226] IR Sharp protocol handler initialized
[    0.585358] IR Sony protocol handler initialized
[    0.585477] IR XMP protocol handler initialized
[    0.586421] usbcore: registered new interface driver uvcvideo
[    0.589015] device-mapper: uevent: version 1.0.3
[    0.590448] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    0.591924] Bluetooth: HCI UART driver ver 2.3
[    0.592106] Bluetooth: HCI UART protocol H4 registered
[    0.592885] Bluetooth: HCI UART protocol Broadcom registered
[    0.594293] sdhci: Secure Digital Host Controller Interface driver
[    0.594442] sdhci: Copyright(c) Pierre Ossman
[    0.594948] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.596987] ledtrig-cpu: registered to indicate activity on CPUs
[    0.599350] hid: raw HID events driver (C) Jiri Kosina
[    0.612270] usbcore: registered new interface driver usbhid
[    0.612441] usbhid: USB HID core driver
[    0.615743] ashmem: initialized
[    0.617297] SPI driver st-accel-spi has no spi_device_id for st,lis302dl-spi
[    0.617473] SPI driver st-accel-spi has no spi_device_id for st,lis3lv02dl-accel
[    0.617626] SPI driver st-accel-spi has no spi_device_id for st,lis3dh-accel
[    0.617769] SPI driver st-accel-spi has no spi_device_id for st,lsm330d-accel
[    0.617919] SPI driver st-accel-spi has no spi_device_id for st,lsm330dl-accel
[    0.618062] SPI driver st-accel-spi has no spi_device_id for st,lsm330dlc-accel
[    0.618206] SPI driver st-accel-spi has no spi_device_id for st,lis331dlh-accel
[    0.618357] SPI driver st-accel-spi has no spi_device_id for st,lsm330-accel
[    0.618493] SPI driver st-accel-spi has no spi_device_id for st,lsm303agr-accel
[    0.618638] SPI driver st-accel-spi has no spi_device_id for st,lis2dh12-accel
[    0.618775] SPI driver st-accel-spi has no spi_device_id for st,lng2dm-accel
[    0.618911] SPI driver st-accel-spi has no spi_device_id for st,h3lis331dl-accel
[    0.619056] SPI driver st-accel-spi has no spi_device_id for st,lis331dl-accel
[    0.619209] SPI driver st-accel-spi has no spi_device_id for st,lsm303c-accel
[    0.620207] SPI driver st-magn-spi has no spi_device_id for st,lis3mdl-magn
[    0.620355] SPI driver st-magn-spi has no spi_device_id for st,lsm303agr-magn
[    0.620510] SPI driver st-magn-spi has no spi_device_id for st,lsm9ds1-magn
[    0.620768] SPI driver st-magn-spi has no spi_device_id for st,lsm303c-magn
[    0.626130] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.630320] usbcore: registered new interface driver snd-usb-audio
[    0.638439] Mirror/redirect action on
[    0.639343] netem: version 1.3
[    0.639435] u32 classifier
[    0.639508]     input device check on
[    0.639602]     Actions configured
[    0.648469] xt_time: kernel timezone is -0000
[    0.649096] gre: GRE over IPv4 demultiplexor driver
[    0.649255] IPv4 over IPsec tunneling driver
[    0.654843] Initializing XFRM netlink socket
[    0.655213] IPsec XFRM device driver
[    0.676037] NET: Registered PF_INET6 protocol family
[    0.687646] Segment Routing with IPv6
[    0.687964] In-situ OAM (IOAM) with IPv6
[    0.689074] mip6: Mobile IPv6
[    0.693823] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.699298] NET: Registered PF_PACKET protocol family
[    0.699567] NET: Registered PF_KEY protocol family
[    0.699819] Key type dns_resolver registered
[    0.798005] Freeing initrd memory: 131072K
[    0.806166] registered taskstats version 1
[    0.807819] Loading compiled-in X.509 certificates
[    0.834497] Key type .fscrypt registered
[    0.834641] Key type fscrypt-provisioning registered
[    0.841634] of_cfs_init
[    0.842079] of_cfs_init: OK
[    0.845830] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    0.876283] Loaded X.509 cert 'benh@debian.org: 577e021cb980e0e820821ba7b54b4961b8b4fadf'
[    0.877632] Loaded X.509 cert 'romain.perier@gmail.com: 3abbc6ec146e09d1b6016ab9d6cf71dd233f0328'
[    0.878441] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    0.879187] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    0.885017] clk: Disabling unused clocks
[    0.885499] ALSA device list:
[    0.885646]   No soundcards found.
[    0.894059] uart-pl011 9000000.pl011: no DMA platform data
[    0.895672] Waiting 5 sec before mounting root device...
[    6.132758] RAMDISK: Couldn't find valid RAM disk image starting at 0.
[    6.133865] Waiting for root device /dev/vdd1...
[   10.994096] platform gpio-keys: deferred probe pending



On Sun, Aug 25, 2024 at 2:30 PM Mario Marietto <marietto2008@gmail.com> wrote:
When I unpack this file :

lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv.img

I get these files :

0.fat
1.img
2.img
3.img

So,I assume that :

0.fat is : initrd
1.img is : system-rw.img
2.img is   :  vendor-rw.img
3.img is   :  userdata.img

If I use 0.fat as initrd,like this :

-initrd /mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/0.fat

I get this message :

rootfs image is not initramfs (invalid magic at start of compressed archive); looks like an initrd

it looks like an initrd : right,it's true : it is initrd. (for this reason I've assumed that 0.fat is initrd...


On Sun, Aug 25, 2024 at 1:26 PM Peter Maydell <peter.maydell@linaro.org> wrote:
On Sun, 25 Aug 2024 at 11:45, Mario Marietto <marietto2008@gmail.com> wrote:
>
> Please look at this example :
>
> qemu-system-aarch64 \
> -smp 4 \
> -m 2048 \
> -cpu cortex-a72 \
> -machine virt \
> -serial stdio \
> -kernel /mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/boot/Image \

This (assuming it's the complete command line your script is
running) doesn't pass any arguments telling QEMU to provide a
root disk, and it doesn't pass any arguments to the kernel
telling it what root disk to use...

> [    0.000000] Kernel command line: console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait androidboot.serialno=10000000abcd1234 androidboot.btmacaddr=11:22:33:44:55:66

...so the kernel defaults to "/dev/mmcblk0p2" as its root disk because
it's using the command line argument that was compiled into it...

> [    0.658240] Waiting for root device /dev/mmcblk0p2...

...and then it's hanging around forever waiting for that.

You need to:
 (1) pass QEMU arguments telling it to provide a root fs
 (2) pass the kernel arguments telling it to look for the
     root fs in the place where QEMU is providing it

Your other command line looks more on the right lines:

        -kernel
/mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/boot/Image
\
        -initrd
/mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/0.fat
\
        -drive index=0,if=none,id=system,file=/mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/1.img
\
        -device virtio-blk-pci,drive=system \
        -drive index=1,if=none,id=vendor,file=/mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/2.img
\
        -device virtio-blk-pci,drive=vendor \
        -drive index=2,if=none,id=userdata,file=/mnt/zroot2/zroot2/OS/Linux/lineage-21.0-20240618-UNOFFICIAL-KonstaKANG-rpi4-atv/3.img
\
        -device virtio-blk-pci,drive=userdata \

though I wonder if the kernel really expects a
FAT file for the initrd, given it complains:

[    0.344033] Trying to unpack rootfs image as initramfs...
[    0.344947] rootfs image is not initramfs (invalid magic at start
of compressed archive); looks like an initrd

and then later

[    5.905329] RAMDISK: Couldn't find valid RAM disk image starting at 0.

I think if I were you I'd start by figuring out what's going on
with the initrd.

thanks
-- PMM


--
Mario.


--
Mario.


--
Mario.


--
Mario.


--
Mario.


--
Mario.


--
Mario.


--
Mario.


--
Mario.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]