Currently using qemu-linaro and Christoffers v3.10-arndale branch kernel on arndale, kvm will not boot the guest kernel: qemu-system-arm -smp 2 -m 1024 -cpu cortex-a15 -M vexpress-a15 -kernel ./zImage -dtb ./vexpress-v2p-ca15-tc1.dtb -append 'root=/dev/mmcblk0p2 rw rootwait mem=1024M console=ttyAMA0,38400n8' -drive if=sd,cache=writeback,file=kvm.qcow2 -redir tcp:5022::22 -nographic -enable-kvm [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.11.0-rc3-linaro-vexpress (ubuntu@ip-10-78-189-138) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 SMP Wed Aug 7 00:28:12 UTC 2013 [ 0.000000] Kernel was built at commit id '931c65c' [ 0.000000] CPU: ARMv7 Processor [410fc0f4] revision 4 (ARMv7), cr=30c7387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: ARM-Versatile Express, model: V2P-CA15 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] PERCPU: Embedded 9 pages/cpu @c1145000 s14336 r8192 d14336 u36864 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624 [ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rw rootwait mem=1024M console=ttyAMA0,38400n8 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 1013596K/1048576K available (6586K kernel code, 281K rwdata, 1676K rodata, 418K init, 442K bss, 34980K reserved, 253952K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0819dd4 (8264 kB) [ 0.000000] .init : 0xc081a000 - 0xc0882800 ( 418 kB) [ 0.000000] .data : 0xc0884000 - 0xc08ca700 ( 282 kB) [ 0.000000] .bss : 0xc08ca700 - 0xc0939264 ( 443 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] Architected local timer running at 24.00MHz (virt). [ 0.000000] Switching to timer-based delay loop [ 0.000000] sched_clock: ARM arch timer >56 bits at 24000kHz, resolution 41ns [ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] Console: colour dummy device 80x30 [ 0.654806] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.654813] pid_max: default: 32768 minimum: 301 [ 0.654990] Security Framework initialized [ 0.655007] AppArmor: AppArmor initialized [ 0.655073] Mount-cache hash table entries: 512 [ 0.656994] CPU: Testing write buffer coherency: ok [ 0.657028] ftrace: allocating 22021 entries in 65 pages [ 0.677109] /cpus/cpu@0 missing clock-frequency property [ 0.677118] /cpus/cpu@1 missing clock-frequency property [ 0.677133] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.677198] Setting up static identity map for 0xc05f6958 - 0xc05f69b0 [ 0.683021] CPU1: Booted secondary processor [ 0.683111] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.683251] Brought up 2 CPUs [ 0.683262] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.683265] CPU: All CPU(s) started in SVC mode. [ 0.684010] devtmpfs: initialized [ 0.686720] xor: measuring software checksum speed [ 0.785280] arm4regs : 3010.400 MB/sec [ 0.883858] 8regs : 3096.400 MB/sec [ 0.982444] 32regs : 2100.400 MB/sec [ 0.982450] xor: using function: 8regs (3096.400 MB/sec) [ 0.983388] regulator-dummy: no parameters [ 0.984008] NET: Registered protocol family 16 [ 0.984896] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.998953] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.998960] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.998968] Serial: AMBA PL011 UART driver [ 0.999049] 1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 37) is a PL011 rev1 [ 1.082321] console [ttyAMA0] enabled [ 1.083538] 1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 38) is a PL011 rev1 [ 1.085561] 1c0b0000.uart: ttyAMA2 at MMIO 0x1c0b0000 (irq = 39) is a PL011 rev1 [ 1.087610] 1c0c0000.uart: ttyAMA3 at MMIO 0x1c0c0000 (irq = 40) is a PL011 rev1 [ 1.112715] bio: create slab <bio-0> at 0 [ 1.275716] raid6: int32x1 320 MB/s [ 1.443356] raid6: int32x2 502 MB/s [ 1.610914] raid6: int32x4 485 MB/s [ 1.778559] raid6: int32x8 430 MB/s [ 1.779465] raid6: using algorithm int32x2 (502 MB/s) [ 1.780632] raid6: using intx1 recovery algorithm [ 1.782171] 3V3: 3300 mV [ 1.783932] SCSI subsystem initialized [ 1.785521] usbcore: registered new interface driver usbfs [ 1.786943] usbcore: registered new interface driver hub [ 1.788665] usbcore: registered new device driver usb [ 1.791244] Advanced Linux Sound Architecture Driver Initialized. [ 1.793571] NetLabel: Initializing [ 1.794365] NetLabel: domain hash size = 128 [ 1.795369] NetLabel: protocols = UNLABELED CIPSOv4 [ 1.796607] NetLabel: unlabeled traffic allowed by default [ 1.798079] Switched to clocksource arch_sys_counter [ 1.812393] AppArmor: AppArmor Filesystem Enabled [ 1.830335] NET: Registered protocol family 2 [ 1.831811] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 1.833680] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 1.835441] TCP: Hash tables configured (established 8192 bind 8192) [ 1.837197] TCP: reno registered [ 1.837962] UDP ha[ 1840.592471] kvm [2745]: load/store instruction decoding not implemented sh table entries: 512 (order: 2, 16384 bytes) [ 1.839377] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 1.841033] NET: Registered protocol family 1 [ 1.842402] RPC: Registered named UNIX socket transport module. [ 1.843776] RPC: Registered udp transport module. [ 1.844845] RPC: Registered tcp transport module. [ 1.845994] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.847715] kvm [1]: HYP mode not available [ 1.848812] hw perfevents: enabled with ARMv7_Cortex_A15 PMU driver, 1 counters available [ 1.852118] audit: initializing netlink socket (disabled) [ 1.853414] type=2000 audit(1.180:1): initialized [ 1.855612] bounce pool size: 64 pages [ 1.856846] VFS: Disk quotas dquot_6.5.2 [ 1.857791] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.860558] NFS: Registering the id_resolver key type [ 1.861759] Key type id_resolver registered [ 1.862711] Key type id_legacy registered [ 1.863651] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.866046] bio: create slab <bio-1> at 1 [ 1.867573] Btrfs loaded [ 1.868201] msgmni has been set to 1483 [ 1.870297] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 1.872387] io scheduler noop registered [ 1.873490] io scheduler deadline registered [ 1.874837] io scheduler cfq registered (default) error: kvm run failed Function not implemented Aborted Note there is also a "kvm [2745]: load/store instruction decoding not implemented" error message. Removing the hdlcd definition from the dts and recompiling the dtb blod, kvm boots the image fine: --- vexpress-v2p-ca15-tc1.dts 1970-01-01 00:36:20.999007037 +0000 +++ vexpress-v2p-ca15-tc1.dts.old 1970-01-01 00:37:00.014007056 +0000 @@ -47,6 +47,15 @@ device_type = "memory"; reg = <0x00000000 0x80000000 0x00000000 0x40000000>; }; + hdlcd@2b000000 { + compatible = "arm,hdlcd"; + reg = <0x00000000 0x2b000000 0x00000000 0x00001000>; + interrupts = <0x00000000 0x00000055 0x00000004>; + clocks = <0x00000002>; + clock-names = "pxlclk"; + mode = "1024x768-16@60"; + framebuffer = <0x00000000 0xff000000 0x00000000 0x01000000>; + }; memory-controller@2b0a0000 { compatible = <0x61726d2c 0x706c3334 0x31006172 0x6d2c7072 0x696d6563 0x656c6c00>; [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.11.0-rc3-linaro-vexpress (ubuntu@ip-10-78-189-138) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 SMP Wed Aug 7 00:28:12 UTC 2013 [ 0.000000] Kernel was built at commit id '931c65c' [ 0.000000] CPU: ARMv7 Processor [410fc0f4] revision 4 (ARMv7), cr=30c7387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: ARM-Versatile Express, model: V2P-CA15 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] PERCPU: Embedded 9 pages/cpu @c1145000 s14336 r8192 d14336 u36864 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624 [ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rw rootwait mem=1024M console=ttyAMA0,38400n8 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 1013596K/1048576K available (6586K kernel code, 281K rwdata, 1676K rodata, 418K init, 442K bss, 34980K reserved, 253952K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0819dd4 (8264 kB) [ 0.000000] .init : 0xc081a000 - 0xc0882800 ( 418 kB) [ 0.000000] .data : 0xc0884000 - 0xc08ca700 ( 282 kB) [ 0.000000] .bss : 0xc08ca700 - 0xc0939264 ( 443 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] Architected local timer running at 24.00MHz (virt). [ 0.000000] Switching to timer-based delay loop [ 0.000000] sched_clock: ARM arch timer >56 bits at 24000kHz, resolution 41ns [ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] Console: colour dummy device 80x30 [ 0.680029] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.680037] pid_max: default: 32768 minimum: 301 [ 0.680198] Security Framework initialized [ 0.680214] AppArmor: AppArmor initialized [ 0.680273] Mount-cache hash table entries: 512 [ 0.682103] CPU: Testing write buffer coherency: ok [ 0.682137] ftrace: allocating 22021 entries in 65 pages [ 0.702132] /cpus/cpu@0 missing clock-frequency property [ 0.702141] /cpus/cpu@1 missing clock-frequency property [ 0.702156] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.702215] Setting up static identity map for 0xc05f6958 - 0xc05f69b0 [ 0.707878] CPU1: Booted secondary processor [ 0.707975] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.708121] Brought up 2 CPUs [ 0.708131] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.708134] CPU: All CPU(s) started in SVC mode. [ 0.708863] devtmpfs: initialized [ 0.711496] xor: measuring software checksum speed [ 0.800450] arm4regs : 3010.800 MB/sec [ 0.899030] 8regs : 3096.400 MB/sec [ 0.997620] 32regs : 2100.800 MB/sec [ 0.997625] xor: using function: 8regs (3096.400 MB/sec) [ 0.998564] regulator-dummy: no parameters [ 0.999169] NET: Registered protocol family 16 [ 0.999944] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 1.013272] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 1.013279] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 1.013287] Serial: AMBA PL011 UART driver [ 1.013368] 1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 37) is a PL011 rev1 [ 1.098583] console [ttyAMA0] enabled [ 1.099866] 1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 38) is a PL011 rev1 [ 1.101874] 1c0b0000.uart: ttyAMA2 at MMIO 0x1c0b0000 (irq = 39) is a PL011 rev1 [ 1.104004] 1c0c0000.uart: ttyAMA3 at MMIO 0x1c0c0000 (irq = 40) is a PL011 rev1 [ 1.131605] bio: create slab <bio-0> at 0 [ 1.293719] raid6: int32x1 314 MB/s [ 1.461340] raid6: int32x2 491 MB/s [ 1.628902] raid6: int32x4 488 MB/s [ 1.796514] raid6: int32x8 432 MB/s [ 1.797440] raid6: using algorithm int32x2 (491 MB/s) [ 1.798606] raid6: using intx1 recovery algorithm [ 1.800148] 3V3: 3300 mV [ 1.801917] SCSI subsystem initialized [ 1.803508] usbcore: registered new interface driver usbfs [ 1.804938] usbcore: registered new interface driver hub [ 1.806990] usbcore: registered new device driver usb [ 1.809587] Advanced Linux Sound Architecture Driver Initialized. [ 1.811896] NetLabel: Initializing [ 1.812712] NetLabel: domain hash size = 128 [ 1.813715] NetLabel: protocols = UNLABELED CIPSOv4 [ 1.814891] NetLabel: unlabeled traffic allowed by default [ 1.816312] Switched to clocksource arch_sys_counter [ 1.830379] AppArmor: AppArmor Filesystem Enabled [ 1.848414] NET: Registered protocol family 2 [ 1.849870] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 1.851737] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 1.853457] TCP: Hash tables configured (established 8192 bind 8192) [ 1.855130] TCP: reno registered [ 1.855952] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 1.857373] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 1.859086] NET: Registered protocol family 1 [ 1.860360] RPC: Registered named UNIX socket transport module. [ 1.861720] RPC: Registered udp transport module. [ 1.862799] RPC: Registered tcp transport module. [ 1.863879] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.865615] kvm [1]: HYP mode not available [ 1.866696] hw perfevents: enabled with ARMv7_Cortex_A15 PMU driver, 1 counters available [ 1.870133] audit: initializing netlink socket (disabled) [ 1.871400] type=2000 audit(1.200:1): initialized [ 1.873576] bounce pool size: 64 pages [ 1.874885] VFS: Disk quotas dquot_6.5.2 [ 1.875946] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.878837] NFS: Registering the id_resolver key type [ 1.880316] Key type id_resolver registered [ 1.881482] Key type id_legacy registered [ 1.882696] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.885854] bio: create slab <bio-1> at 1 [ 1.887608] Btrfs loaded [ 1.888343] msgmni has been set to 1483 [ 1.890807] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 1.892803] io scheduler noop registered [ 1.893871] io scheduler deadline registered [ 1.895173] io scheduler cfq registered (default) [ 1.905214] Cores: 800 <--> 1050 mV at 900 mV [ 1.924622] VIO: at 3300 mV [ 2.168614] brd: module loaded [ 2.173821] mtdoops: mtd device (mtddev=name/number) must be supplied [ 2.178896] smsc911x: Driver version 2008-10-21 [ 2.181888] smsc911x 1a000000.ethernet (unregistered net_device): couldn't get clock -2 [ 2.190572] libphy: smsc911x-mdio: probed [ 2.193474] smsc911x 1a000000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1a000000.etherne:01, irq=-1) [ 2.202340] smsc911x 1a000000.ethernet eth0: MAC Address: 52:54:00:12:34:56 [ 2.207678] nxp-isp1760 1b000000.usb: NXP ISP1760 USB Host Controller [ 2.211462] nxp-isp1760 1b000000.usb: new USB bus registered, assigned bus number 1 [ 2.216057] nxp-isp1760 1b000000.usb: Scratch test failed. [ 2.219327] nxp-isp1760 1b000000.usb: can't setup [ 2.221932] nxp-isp1760 1b000000.usb: USB bus 1 deregistered [ 2.226186] usbcore: registered new interface driver usb-storage [ 2.231742] mousedev: PS/2 mouse device common for all mice [ 2.237854] rtc-pl031 1c170000.rtc: rtc core: registered pl031 as rtc0 [ 2.246156] device-mapper: ioctl: 4.25.0-ioctl (2013-06-26) initialised: dm-devel@xxxxxxxxxx [ 2.251367] vexpress_big_little: vexpress_bL_init: No SPC found [ 2.254924] cpuidle: using governor ladder [ 2.257377] cpuidle: using governor menu [ 2.260012] bl_idle_init: No compatible node found [ 2.263827] mmci-pl18x 1c050000.mmci: mmc0: PL181 manf 41 rev0 at 0x1c050000 irq 41,42 (pio) [ 2.312745] ledtrig-cpu: registered to indicate activity on CPUs [ 2.319643] usbcore: registered new interface driver usbhid [ 2.326618] usbhid: USB HID core driver [ 2.334484] mmc0: SD Status: Invalid Allocation Unit size. [ 2.340214] mmc0: new SD card at address 45ALSA lib confmisc.c:768:(parse_card) cannot find card '0' [ 2.419162] TCP: cubic registered [ 2.419952] Initializing XFRM netlink socket [ 2.421115] NET: Registered protocol family 10 [ 2.422574] sit: IPv6 over IPv4 tunneling driver [ 2.424563] NET: Registered protocol family 17 [tered family 15 4612] #0: AR 43re istering SWP/S[ 2.432055]c-pl031 1c170018 UTC (2958) [ 2.989128] input: ImExPS/2 Generic Explorer Mouse as /devices/smb.14/motherboard.15/iofpga.16/1c070000.kmi/serio1/input/input1 [ 3.030028] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240) [ 3.072580] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240) [ 3.690440] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 3.692383] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 3.789987] devtmpfs: mounted [ 3.791543] Freeing unused kernel memory: 416K (c081a000 - c0882000) [ 17.066927] init: ureadahead main process (1034) terminated with status 5 Welcome to Linaro 13.07 (GNU/Linux 3.11.0-rc3-linaro-vexpress armv7l) * Documentation: https://wiki.linaro.org/ root@localhost:~# _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm