sudo qemu-system-aarch64 -enable-kvm -m 2048 -cpu host -smp 1 -M virt,gic_version=host -nographic -pflash flash0.img -pflash flash1.img -drive if=none,file=xenial-server-cloudimg-arm64-uefi1.img,id=hd0 -device virtio-blk-device,drive=hd0 -drive if=none,file=my-seed.img,id=hd1 -device virtio-blk-device,drive=hd1 -netdev type=tap,id=net0 -device virtio-net-device,netdev=net0,mac=ac:67:de:d2:4b:06 sudo: unable to resolve host d05-1 WARNING: Image format was not specified for 'flash0.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. WARNING: Image format was not specified for 'flash1.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. WARNING: Image format was not specified for 'my-seed.img' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. [=3h [=3h [=3h [=3h [=3h [=3h error: no suitable video mode found. GNU GRUB version 2.02~beta2-36ubuntu3.17 /----------------------------------------------------------------------------\ |*Ubuntu | | Advanced options for Ubuntu | | System setup | | | | | | | | | | | | | | | | | | | | | \----------------------------------------------------------------------------/ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, `e' to edit the commands before booting or `c' for a command-line. EFI stub: Booting Linux Kernel... EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied EFI stub: Using DTB from configuration table EFI stub: Exiting boot services and installing virtual address map... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd082] [ 0.000000] Linux version 4.16.0-rc3+ (ubuntu@d05-1) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #2 SMP Tue Feb 27 04:27:17 UTC 2018 [ 0.000000] Machine model: linux,dummy-virt [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: EFI v2.60 by EDK II [ 0.000000] efi: SMBIOS 3.0=0xbbdb0000 ACPI 2.0=0xb86d0000 MEMATTR=0xbaf02898 [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000bfffffff] [ 0.000000] NUMA: NODE_DATA [mem 0xbffe4800-0xbffe797f] [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000bfffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000b85ebfff] [ 0.000000] node 0: [mem 0x00000000b85ec000-0x00000000b86bffff] [ 0.000000] node 0: [mem 0x00000000b86c0000-0x00000000b86dffff] [ 0.000000] node 0: [mem 0x00000000b86e0000-0x00000000b874ffff] [ 0.000000] node 0: [mem 0x00000000b8750000-0x00000000bbc1ffff] [ 0.000000] node 0: [mem 0x00000000bbc20000-0x00000000bbffffff] [ 0.000000] node 0: [mem 0x00000000bc000000-0x00000000bfffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 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.1 [ 0.000000] random: fast init done [ 0.000000] percpu: Embedded 26 pages/cpu @ (ptrval) s66968 r8192 d31336 u106496 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Policy zone: DMA32 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-dannf root=UUID=5343a695-e6a1-4733-890f-1ca95e9afa7d ro [ 0.000000] Memory: 1985868K/2097152K available (10876K kernel code, 1662K rwdata, 4380K rodata, 5632K init, 950K bss, 111284K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] ftrace: allocating 39019 entries in 153 pages [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=1. [ 0.000000] Tasks RCU enabled. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: no VLPI support, no direct LPI support [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000080a0000 [ 0.000000] GIC: PPI11 is secure or misconfigured [ 0.000000] arch_timer: WARNING: Invalid trigger for IRQ3, assuming level low [ 0.000000] arch_timer: WARNING: Please fix your firmware [ 0.000000] arch_timer: cp15 timer(s) running at 50.00MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns [ 0.000002] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns [ 0.000667] Console: colour dummy device 80x25 [ 0.000850] console [tty0] enabled [ 0.001065] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000) [ 0.001073] pid_max: default: 32768 minimum: 301 [ 0.001312] Security Framework initialized [ 0.001355] Yama: becoming mindful. [ 0.001824] AppArmor: AppArmor initialized [ 0.002529] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.002790] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.002812] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.002824] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes) [ 0.008158] ASID allocator initialised with 32768 entries [ 0.008194] Hierarchical SRCU implementation. [ 0.009401] Remapping and enabling EFI services. [ 0.009503] EFI remap 0x0000000004000000 => (ptrval) [ 0.009514] EFI remap 0x0000000009010000 => (ptrval) [ 0.009527] EFI remap 0x00000000b85f0000 => (ptrval) [ 0.009597] EFI remap 0x00000000b8600000 => (ptrval) [ 0.009641] EFI remap 0x00000000b86e0000 => (ptrval) [ 0.009782] EFI remap 0x00000000bbc20000 => (ptrval) [ 0.009997] EFI remap 0x00000000bbdb0000 => (ptrval) [ 0.010472] smp: Bringing up secondary CPUs ... [ 0.010477] smp: Brought up 1 node, 1 CPU [ 0.010481] SMP: Total of 1 processors activated. [ 0.010489] CPU features: detected feature: GIC system register CPU interface [ 0.010493] CPU features: detected feature: 32-bit EL0 Support [ 0.010496] CPU features: detected feature: Kernel page table isolation (KPTI) [ 0.028745] CPU: All CPU(s) started at EL1 [ 0.028797] alternatives: patching kernel code [ 0.030671] devtmpfs: initialized [ 0.031589] evm: security.selinux [ 0.031594] evm: security.SMACK64 [ 0.031597] evm: security.SMACK64EXEC [ 0.031599] evm: security.SMACK64TRANSMUTE [ 0.031602] evm: security.SMACK64MMAP [ 0.031604] evm: security.apparmor [ 0.031607] evm: security.ima [ 0.031610] evm: security.capability [ 0.032087] Registered cp15_barrier emulation handler [ 0.032096] Registered setend emulation handler [ 0.032180] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.032192] futex hash table entries: 256 (order: 3, 32768 bytes) [ 0.032803] pinctrl core: initialized pinctrl subsystem [ 0.034425] SMBIOS 3.0.0 present. [ 0.034432] DMI: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015 [ 0.035313] NET: Registered protocol family 16 [ 0.035764] audit: initializing netlink subsys (disabled) [ 0.036467] cpuidle: using governor ladder [ 0.036472] cpuidle: using governor menu [ 0.036522] vdso: 2 pages (1 code @ 00000000fd9dbec4, 1 data @ 00000000afbf4d26) [ 0.036562] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.036868] DMA: preallocated 256 KiB pool for atomic allocations [ 0.037129] Serial: AMBA PL011 UART driver [ 0.039718] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 37, base_baud = 0) is a PL011 rev1 [ 0.040850] audit: type=2000 audit(0.028:1): state=initialized audit_enabled=0 res=1 [ 0.130780] console [ttyAMA0] enabled [ 0.132013] irq: type mismatch, failed to map hwirq-27 for intc! [ 0.135023] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.136891] ACPI: Interpreter disabled. [ 0.137847] vgaarb: loaded [ 0.138952] SCSI subsystem initialized [ 0.139951] usbcore: registered new interface driver usbfs [ 0.140873] usbcore: registered new interface driver hub [ 0.141701] usbcore: registered new device driver usb [ 0.142563] pps_core: LinuxPPS API ver. 1 registered [ 0.143448] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.144843] PTP clock support registered [ 0.145574] EDAC MC: Ver: 3.0.0 [ 0.146469] Registered efivars operations [ 0.149150] NetLabel: Initializing [ 0.149686] NetLabel: domain hash size = 128 [ 0.150363] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.151355] NetLabel: unlabeled traffic allowed by default [ 0.152648] clocksource: Switched to clocksource arch_sys_counter [ 0.170827] VFS: Disk quotas dquot_6.6.0 [ 0.171477] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.173017] AppArmor: AppArmor Filesystem Enabled [ 0.173888] pnp: PnP ACPI: disabled [ 0.176677] NET: Registered protocol family 2 [ 0.178881] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes) [ 0.180104] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.181446] TCP bind hash table entries: 16384 (order: 6, 262144 bytes) [ 0.182515] TCP: Hash tables configured (established 16384 bind 16384) [ 0.183780] UDP hash table entries: 1024 (order: 3, 32768 bytes) [ 0.184741] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes) [ 0.186136] NET: Registered protocol family 1 [ 0.187311] Unpacking initramfs... [ 1.130912] Freeing initrd memory: 46868K [ 1.175037] kvm [1]: HYP mode not available [ 1.176155] Initialise system trusted keyrings [ 1.177068] Key type blacklist registered [ 1.177775] workingset: timestamp_bits=40 max_order=19 bucket_order=0 [ 1.180495] zbud: loaded [ 1.181826] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.183050] fuse init (API version 7.26) [ 1.186254] Key type asymmetric registered [ 1.186938] Asymmetric key parser 'x509' registered [ 1.187738] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 1.189048] io scheduler noop registered [ 1.189655] io scheduler deadline registered [ 1.190508] io scheduler cfq registered (default) [ 1.192335] PCI: OF: PROBE_ONLY enabled [ 1.193059] PCI: OF: host bridge /pcie@10000000 ranges: [ 1.193906] PCI: OF: IO 0x3eff0000..0x3effffff -> 0x00000000 [ 1.194900] PCI: OF: MEM 0x10000000..0x3efeffff -> 0x10000000 [ 1.195803] PCI: OF: MEM 0x8000000000..0xffffffffff -> 0x8000000000 [ 1.197009] pci-host-generic 3f000000.pcie: ECAM at [mem 0x3f000000-0x3fffffff] for [bus 00-0f] [ 1.198501] pci-host-generic 3f000000.pcie: PCI host bridge to bus 0000:00 [ 1.199550] pci_bus 0000:00: root bus resource [bus 00-0f] [ 1.200388] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 1.201497] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff] [ 1.202557] pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff] [ 1.212472] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 1.216277] msm_serial: driver initialized [ 1.217471] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 1.221665] loop: module loaded [ 1.222946] libphy: Fixed MDIO Bus: probed [ 1.223591] tun: Universal TUN/TAP device driver, 1.6 [ 1.224626] PPP generic driver version 2.4.2 [ 1.225601] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.226624] ehci-pci: EHCI PCI platform driver [ 1.227358] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.228304] ohci-pci: OHCI PCI platform driver [ 1.229142] uhci_hcd: USB Universal Host Controller Interface driver [ 1.230342] mousedev: PS/2 mouse device common for all mice [ 1.231692] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0 [ 1.232730] i2c /dev entries driver [ 1.233630] device-mapper: uevent: version 1.0.3 [ 1.234492] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com [ 1.235914] ledtrig-cpu: registered to indicate activity on CPUs [ 1.236954] EFI Variables Facility v0.08 2004-May-17 [ 1.238891] NET: Registered protocol family 10 [ 1.262794] Segment Routing with IPv6 [ 1.263452] NET: Registered protocol family 17 [ 1.264271] Key type dns_resolver registered [ 1.265300] registered taskstats version 1 [ 1.265955] Loading compiled-in X.509 certificates [ 1.270701] Loaded X.509 cert 'Build time autogenerated kernel key: d6dafd8b727419edff6df4bb3550e8aaaea57a9e' [ 1.272333] zswap: loaded using pool lzo/zbud [ 1.281536] cryptd: max_cpu_qlen set to 1000 [ 1.293775] Key type big_key registered [ 1.294409] Key type trusted registered [ 1.307514] Key type encrypted registered [ 1.308158] AppArmor: AppArmor sha1 policy hashing enabled [ 1.309220] ima: No TPM chip found, activating TPM-bypass! (rc=-19) [ 1.310345] evm: HMAC attrs: 0x1 [ 1.311079] rtc-efi rtc-efi: setting system clock to 2018-02-27 04:52:59 UTC (1519707179) [ 1.314556] uart-pl011 9000000.pl011: no DMA platform data [ 1.318660] Freeing unused kernel memory: 5632K [ 1.319427] ------------[ cut here ]------------ [ 1.320138] kernel BUG at arch/arm64/mm/mmu.c:144! [ 1.320926] Internal error: Oops - BUG: 0 [#1] SMP [ 1.321858] Modules linked in: aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 [ 1.323306] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.16.0-rc3+ #2 [ 1.324484] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015 [ 1.325754] pstate: 40400005 (nZcv daif +PAN -UAO) [ 1.326658] pc : __create_pgd_mapping+0x488/0x700 [ 1.327536] lr : __create_pgd_mapping+0x480/0x700 [ 1.328411] sp : ffff000008033d00 [ 1.329035] x29: ffff000008033d00 x28: 0000000040b60000 [ 1.330031] x27: 0000000040b60000 x26: ffff7dfffe638228 [ 1.331021] x25: ffff000008b60000 x24: fffeffffc8000000 [ 1.332009] x23: 0040000000000041 x22: 0040000000000001 [ 1.332997] x21: 00e0000000000f93 x20: ffff7dfffe639b00 [ 1.333990] x19: ffff000008b70000 x18: ffff0000094f8c08 [ 1.334978] x17: 0000000000000000 x16: 0000000000000000 [ 1.335965] x15: ffff0000896b387f x14: 0720072007200720 [ 1.336954] x13: 0720072007200720 x12: 0720072007200720 [ 1.337941] x11: 0720072007200720 x10: 0720072007200720 [ 1.338934] x9 : 0720072007200720 x8 : 0720072007200720 [ 1.339920] x7 : 07200720074b0732 x6 : 0000000000000002 [ 1.340908] x5 : 0000000000000000 x4 : 00e0000000000f93 [ 1.341895] x3 : ffff000009692000 x2 : 0000000000000039 [ 1.342882] x1 : 00e8000040b60f93 x0 : 0000000000000000 [ 1.343866] Process swapper/0 (pid: 1, stack limit = 0x00000000d8dae0c4) [ 1.345098] Call trace: [ 1.345563] __create_pgd_mapping+0x488/0x700 [ 1.346383] update_mapping_prot+0x58/0xe8 [ 1.347150] mark_rodata_ro+0x94/0xa0 [ 1.347839] kernel_init+0x38/0x110 [ 1.348497] ret_from_fork+0x10/0x18 [ 1.349169] Code: f9400281 97fffdc9 72001c1f 54fffde1 (d4210000) [ 1.350345] ---[ end trace d902f6698987a85b ]--- [ 1.351253] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.351253] [ 1.352641] Kernel Offset: disabled [ 1.353299] CPU features: 0x1802008 [ 1.353955] Memory Limit: none [ 1.354541] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 1.354541]