On Mon, Oct 06, 2014 at 05:34:28PM -0500, Joel Schopp wrote: > I'm seeing a regression in 3.17 (compared to 3.16) when using the kernel > in the kvm/qemu guest. I'm running with 64K pages on arm64. The same > kernel boots on actual hardware fine. Has anybody else tested this > kernel inside a qemu guest? > Yes, just ran 3.17 as host and guest with 64K pages on APM Mustang in a loop booting, running hackbench, and shutting down guests for 100+ times. No problems. Bootlog here: -------------------------------- Initializing cgroup subsys cpu Linux version 3.17.0+ (christoffer@cbox) (gcc version 4.8.2 20130603 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2013.06 - Linaro GCC 2013.06) ) #92 SMP PREEMPT Tue Oct 7 11:53:15 CEST 2014 CPU: AArch64 Processor [500f0000] revision 0 Detected PIPT I-cache on CPU0 efi: Getting EFI parameters from FDT: efi: UEFI not found. cma: Reserved 512 MiB at e0000000 psci: probing for conduit method from DT. psci: PSCIv0.2 detected in firmware. psci: Using standard PSCI v0.2 function IDs PERCPU: Embedded 1 pages/cpu @fffffe00fff70000 s13248 r8192 d44096 u65536 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65480 Kernel command line: console=ttyAMA0 root=/dev/vda rw log_buf_len individual max cpu contribution: 4096 bytes log_buf_len total cpu_extra contributions: 12288 bytes log_buf_len min size: 16384 bytes log_buf_len: 32768 bytes early log buf free: 14824(90%) PID hash table entries: 4096 (order: -1, 32768 bytes) Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes) Memory: 3651712K/4194304K available (4487K kernel code, 463K rwdata, 1664K rodata, 332K init, 395K bss, 542592K reserved) Virtual kernel memory layout: vmalloc : 0xfffffc0000000000 - 0xfffffdfeffff0000 ( 2043 GB) vmemmap : 0xfffffdff00000000 - 0xfffffdffe0000000 ( 3 GB maximum) 0xfffffdff000e0000 - 0xfffffdff00460000 ( 3 MB actual) PCI I/O : 0xfffffdfffa000000 - 0xfffffdfffb000000 ( 16 MB) fixed : 0xfffffdfffbde0000 - 0xfffffdfffbdf0000 ( 64 KB) modules : 0xfffffdfffc000000 - 0xfffffe0000000000 ( 64 MB) memory : 0xfffffe0000000000 - 0xfffffe0100000000 ( 4096 MB) .init : 0xfffffe00006a0000 - 0xfffffe00006f33c0 ( 333 KB) .text : 0xfffffe0000080000 - 0xfffffe0000691f74 ( 6216 KB) .data : 0xfffffe0000700000 - 0xfffffe0000773f60 ( 464 KB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 Preemptible hierarchical RCU implementation. RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 NR_IRQS:64 nr_irqs:64 0 Architected cp15 timer(s) running at 50.00MHz (virt). sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 2748779069440ns Console: colour dummy device 80x25 allocated 1048576 bytes of page_cgroup please try 'cgroup_disable=memory' option if you don't want memory cgroups Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=500000) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 8192 (order: 0, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes) Initializing cgroup subsys memory Initializing cgroup subsys hugetlb hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 1 counters available EFI services will not be available. CPU1: Booted secondary processor Detected PIPT I-cache on CPU1 CPU2: Booted secondary processor Detected PIPT I-cache on CPU2 CPU3: Booted secondary processor Detected PIPT I-cache on CPU3 Brought up 4 CPUs SMP: Total of 4 processors activated. devtmpfs: initialized regulator-dummy: no parameters NET: Registered protocol family 16 vdso: 2 pages (1 code @ fffffe0000720000, 1 data @ fffffe0000710000) hw-breakpoint: found 4 breakpoint and 4 watchpoint registers. software IO TLB [mem 0xc0000000-0xc4000000] (64MB) mapped at [fffffe0080000000-fffffe0083ffffff] Serial: AMBA PL011 UART driver 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 33, base_baud = 0) is a PL011 rev1 console [ttyAMA0] enabled SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switched to clocksource arch_sys_counter NET: Registered protocol family 2 TCP established hash table entries: 32768 (order: 2, 262144 bytes) TCP bind hash table entries: 32768 (order: 3, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) TCP: reno registered UDP hash table entries: 2048 (order: 0, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. kvm [1]: HYP mode not available futex hash table entries: 1024 (order: 0, 65536 bytes) audit: initializing netlink subsys (disabled) audit: type=2000 audit(0.280:1): initialized HugeTLB registered 512 MB page size, pre-allocated 0 pages fuse init (API version 7.23) 9p: Installing v9fs 9p2000 file system support msgmni has been set to 8156 io scheduler noop registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled loop: module loaded vda: unknown partition table tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx> usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbhid: USB HID core driver TCP: cubic registered NET: Registered protocol family 17 9pnet: Installing 9P2000 support registered taskstats version 1 EXT2-fs (vda): error: couldn't mount because of unsupported optional features (240) EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 254:0. devtmpfs: mounted Freeing unused kernel memory: 320K (fffffe00006a0000 - fffffe00006f0000) Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory random: init urandom read with 5 bits of entropy available init: plymouth-upstart-bridge main process ended, respawning init: plymouth-upstart-bridge main process ended, respawning * Starting Mount filesystems on boot[74G[ OK ] * Starting Signal sysvinit that the rootfs is mounted[74G[ OK ] * Starting Populate /dev filesystem[74G[ OK ] * Stopping Populate /dev filesystem[74G[ OK ] * Starting Clean /tmp directory[74G[ OK ] * Starting Populate and link to /run filesystem[74G[ OK ] * Stopping Clean /tmp directory[74G[ OK ] * Stopping Populate and link to /run filesystem[74G[ OK ] * Starting set console keymap[74G[ OK ] * Starting Signal sysvinit that virtual filesystems are mounted[74G[ OK ] * Starting Signal sysvinit that virtual filesystems are mounted[74G[ OK ] * Starting Bridge udev events into upstart[74G[ OK ] * Stopping Track if upstart is running in a container[74G[ OK ] * Stopping set console keymap[74G[ OK ] * Starting Signal sysvinit that local filesystems are mounted[74G[ OK ] * Starting device node and kernel event manager[74G[ OK ] * Starting Signal sysvinit that remote filesystems are mounted[74G[ OK ] * Starting load modules from /etc/modules[74G[ OK ] * Starting cold plug devices[74G[ OK ] * Starting log initial device creation[74G[ OK ] * Stopping load modules from /etc/modules[74G[ OK ] * Starting flush early job output to logs[74G[ OK ] * Stopping flush early job output to logs[74G[ OK ] * Starting configure network device security[74G[ OK ] * Starting configure network device security[74G[ OK ] * Starting system logging daemon[74G[ OK ] * Stopping Mount filesystems on boot[74G[ OK ] * Starting configure network device[74G[ OK ] * Stopping cold plug devices[74G[ OK ] * Starting Mount network filesystems[74G[ OK ] * Starting Failsafe Boot Delay[74G[ OK ] * Starting load fallback graphics devices[74G[ OK ] * Starting configure network device security[74G[ OK ] * Starting load fallback graphics devices[74G[[31mfail[39;49m] * Starting set console font[74G[ OK ] * Starting configure network device[74G[ OK ] * Stopping set console font[74G[ OK ] * Starting userspace bootsplash[74G[ OK ] * Stopping log initial device creation[74G[ OK ] * Stopping Failsafe Boot Delay[74G[ OK ] * Starting configure virtual network devices[74G[ OK ] * Stopping userspace bootsplash[74G[ OK ] * Starting System V initialisation compatibility[74G[ OK ] * Starting Send an event to indicate plymouth is up[74G[ OK ] * Stopping Mount network filesystems[74G[ OK ] * Stopping System V initialisation compatibility[74G[ OK ] * Stopping Send an event to indicate plymouth is up[74G[ OK ] * Starting System V runlevel compatibility[74G[ OK ] * Starting regular background program processing daemon[74G[ OK ] * Starting save kernel messages[74G[ OK ] * Stopping System V runlevel compatibility[74G[ OK ] * Stopping save kernel messages[74G[ OK ] Last login: Thu Jan 1 00:00:01 UTC 1970 on tty1 Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.17.0+ aarch64) * Documentation: http://www.linaro.org root@aarch64-kvm-guest:~# _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm