Closed zpzigi754 closed 1 year ago
The below is another log with the latest commit (9d63ba71a1554529515d3bd011ae62532520cb70).
(the same with the above until the `Unpacking initramfs` is reached)
...
[ 0.706113] Initialise system trusted keyrings
[ 0.713935] Unpacking initramfs...
[ 24.504593] Freeing initrd memory: 21360K
[ 24.505640] workingset: timestamp_bits=42 max_order=16 bucket_order=0
[ 24.512055] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 24.520195] NFS: Registering the id_resolver key type
[ 24.520308] Key type id_resolver registered
[ 24.520373] Key type id_legacy registered
[ 24.520507] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 24.520588] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 24.522683] 9p: Installing v9fs 9p2000 file system support
[ 24.881148] Key type asymmetric registered
[ 24.881214] Asymmetric key parser 'x509' registered
[ 24.887639] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 24.887723] io scheduler mq-deadline registered
[ 24.887807] io scheduler kyber registered
[ 24.948791] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 24.962175] printk: console [ttyS0] disabled
[ 24.962522] 1000000.U6_16550A: ttyS0 at MMIO 0x1000000 (irq = 13, base_baud = 115200) is a 16550A
[ 24.974085] printk: console [ttyS0] enabled
[ 86.458388] 1001000.U6_16550A: ttyS1 at MMIO 0x1001000 (irq = 14, base_baud = 115200) is a 16550A
[ 88.668515] 1002000.U6_16550A: ttyS2 at MMIO 0x1002000 (irq = 15, base_baud = 115200) is a 16550A
[ 90.879431] 1003000.U6_16550A: ttyS3 at MMIO 0x1003000 (irq = 16, base_baud = 115200) is a 16550A
[ 91.265150] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 91.694343] loop: module loaded
[ 91.828884] tun: Universal TUN/TAP device driver, 1.6
[ 92.000766] virtio_net virtio0: virtio: device refuses features: 0
[ 92.195492] i2c_dev: i2c /dev entries driver
[ 92.329975] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 92.533323] NET: Registered PF_PACKET protocol family
[ 92.688551] 9pnet: Installing 9P2000 support
[ 92.819701] Key type dns_resolver registered
[ 93.024913] registered taskstats version 1
[ 93.154813] Loading compiled-in X.509 certificates
[ 93.511721] Freeing unused kernel memory: 1600K
[ cause of the error ] nw log
[ 4617.768991] [vcpu 0] Unhandled exit reason from realm (ESR: 0x7e00000)
KVM_RUN failed: No such device or address
islet log
[DEBUG]armv9a::exception::trap -- Synchronous: Other
[DEBUG]armv9a::exception::trap -- [ESR_EL2=7E00000 ELR_EL2=FFFF80000892AF28 // added by me
[TRACE]armv9a::smc -- cmd[C40001CF], args[0], ret[C4000151:GRANULE_DELEGATE, 88089B000, FFFFFF8000000000, FFFFFF887F809180, 0, 900000, 88089B, 0]
corresponding realm linux address
ffff80000892af20 <cpu_do_idle>:
ffff80000892af20: d503233f paciasp
ffff80000892af24: d5033f9f dsb sy
ffff80000892af28: d503207f wfi // here
ffff80000892af2c: d50323bf autiasp
ffff80000892af30: d65f03c0 ret
TODO: handle wfi.
Status after applying https://github.com/Samsung/islet/pull/116:
...............[ Omitting the kernel startup log messages : same as above].......................
[ 0.290784] RPC: Registered tcp transport module.
[ 0.290809] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.293311] kvm [1]: HYP mode not available
[ 0.297543] Unpacking initramfs...
[ 0.305502] Initialise system trusted keyrings
[ 0.309053] workingset: timestamp_bits=42 max_order=16 bucket_order=0
[ 0.316387] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.322950] NFS: Registering the id_resolver key type
[ 0.323017] Key type id_resolver registered
[ 0.323046] Key type id_legacy registered
[ 0.323231] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.323263] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.329398] 9p: Installing v9fs 9p2000 file system support
[ 1.106433] Key type asymmetric registered
[ 1.106462] Asymmetric key parser 'x509' registered
[ 1.108511] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.108545] io scheduler mq-deadline registered
[ 1.108573] io scheduler kyber registered
[ 1.163762] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.179666] printk: console [ttyS0] disabled
[ 1.179941] 1000000.U6_16550A: ttyS0 at MMIO 0x1000000 (irq = 13, base_baud = 115200) is a 16550A
[ 1.180929] printk: console [ttyS0] enabled
[ 5.436760] 1001000.U6_16550A: ttyS1 at MMIO 0x1001000 (irq = 14, base_baud = 115200) is a 16550A
[ 5.480759] 1002000.U6_16550A: ttyS2 at MMIO 0x1002000 (irq = 15, base_baud = 115200) is a 16550A
[ 5.527892] 1003000.U6_16550A: ttyS3 at MMIO 0x1003000 (irq = 16, base_baud = 115200) is a 16550A
[ 5.570894] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 5.750572] loop: module loaded
[ 5.806686] tun: Universal TUN/TAP device driver, 1.6
Bus error
The log from the realm kernel on the reference rmm project is different from the previsou log on ISLET that Changho left.
ISLET:
[ 91.828884] tun: Universal TUN/TAP device driver, 1.6
[ 92.000766] virtio_net virtio0: virtio: device refuses features: 0
[ 92.195492] i2c_dev: i2c /dev entries driver
on the reference rmm:
[ 10.637184] tun: Universal TUN/TAP device driver, 1.6
[ 10.799974] software IO TLB: Memory encryption is active and system is using DMA bounce buffers
[ 10.879901] net eth0: Fail to set guest offload.
[ 10.918833] virtio_net virtio1 eth0: set_features() failed (-22); wanted 0x0000000000134829, left 0x0080000000134829
[ 11.028899] i2c_dev: i2c /dev entries driver
The below would be the log after applying https://github.com/Samsung/islet/pull/156.
...
[ 31.686181] tun: Universal TUN/TAP device driver, 1.6
[ 32.031429] software IO TLB: Memory encryption is active and system is using DMA bounce buffers
[ 32.298157] net eth0: Fail to set guest offload.
[ 32.445749] virtio_net virtio1 eth0: set_features() failed (-22); wanted 0x0000000000134829, left 0x0080000000134829
[ 32.794106] i2c_dev: i2c /dev entries driver
[ 32.935215] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 33.144430] NET: Registered PF_PACKET protocol family
[ 33.302692] 9pnet: Installing 9P2000 support
[ 33.506784] Key type dns_resolver registered
[ 33.803595] registered taskstats version 1
[ 33.945874] Loading compiled-in X.509 certificates
[ 46.611991] Freeing initrd memory: 21360K
[ 46.704189] Freeing unused kernel memory: 1600K
[ 46.741478] Run /init as init process
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Saving 256 bits of creditable seed for next boot
Starting network: OK
Starting dhcpcd...
no such user dhcpcd
dhcpcd-9.4.1 starting
no interfaces have a carrier
forked to background, child pid 81
Welcome to Buildroot
buildroot login:
This is the latest log about the stuck point. I leave it for the reference.