|
From: | DEGRAIX Maxime |
Subject: | [Qemu-discuss] Cannot boot with the "enable-kvm" option, on OMAP5432-uevm board |
Date: | Mon, 1 Jun 2015 16:13:35 +0200 |
Hello, My command to launch Qemu:
-kernel zImage \ -append "console=ttyAMA0 earlyprintk=serial root=/dev/mmcblk0 rw rootfstype=ext4" \ -serial stdio -dtb vexpress-v2p-ca15-tc1.dtb \ -drive if=sd,cache=writeback,file=rootfs_guest_omap.img,format=raw (It works without the –enable-kvm option, but I want it to be virtualized) My boot logs : --------------------------- Warning: Number of hotpluggable cpus requested (2) exceeds the recommended cpus supported by KVM (1) Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Linux version 4.0.0 (address@hidden) (gcc version 4.9.3 20141031 (prerelease) (Linaro GCC 2014.11) ) #20 SMP Fri May 29 12:42:32 UTC 2015 [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] Machine model: V2P-CA15 [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] Forcing write-allocate cache policy for SMP [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] PERCPU: Embedded 10 pages/cpu @e3354000 s11776 r8192 d20992 u40960 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 406400 [ 0.000000] Kernel command line: console=ttyAMA0 earlyprintk=serial root=/dev/mmcblk0 rw rootfstype=ext4 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Memory: 1616636K/1638400K available (5129K kernel code, 173K rwdata, 1432K rodata, 268K init, 173K bss, 21764K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe4800000 - 0xff000000 ( 424 MB) [ 0.000000] lowmem : 0x80000000 - 0xe4000000 (1600 MB) [ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB) [ 0.000000] modules : 0x7f000000 - 0x7fe00000 ( 14 MB) [ 0.000000] .text : 0x80008000 - 0x80670894 (6563 kB) [ 0.000000] .init : 0x80671000 - 0x806b4000 ( 268 kB) [ 0.000000] .data : 0x806b4000 - 0x806df500 ( 174 kB) [ 0.000000] .bss : 0x806df500 - 0x8070a9ac ( 174 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] L2C: failed to init: -19 [ 0.000000] Architected cp15 timer(s) running at 6.14MHz (virt). [ 0.000006] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 2796202663936ns [ 0.017208] Switching to timer-based delay loop, resolution 162ns [ 0.031044] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns [ 0.048556] Console: colour dummy device 80x30 [ 0.059528] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.28 BogoMIPS (lpj=61440) [ 0.081643] pid_max: default: 32768 minimum: 301 [ 0.091639] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.106705] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.122569] CPU: Testing write buffer coherency: ok [ 0.135601] /cpus/address@hidden missing clock-frequency property [ 0.147750] /cpus/address@hidden missing clock-frequency property [ 0.159353] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.171767] Setting up static identity map for 0x804e5138 - 0x804e5190 [ 0.211109] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.211444] Brought up 2 CPUs [ 0.234908] SMP: Total of 2 processors activated (24.57 BogoMIPS). [ 0.247770] CPU: All CPU(s) started in SVC mode. [ 0.286713] devtmpfs: initialized [ 0.306634] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.345263] NET: Registered protocol family 16 [ 0.364706] DMA: preallocated 256 KiB pool for atomic coherent allocations --------------------------- The boot stops there, nothing else happen. If I remove the “-smp 2” option to get ride of warnings the boot stops at this step : [ 0.171767] Setting up static identity map for 0x804e5138 - 0x804e5190 I tried to make several modifications to my kernel, in vain. Do you know if something is missing in my command line or if a specific configuration may be missing ? |
[Prev in Thread] | Current Thread | [Next in Thread] |