kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #121541
[Bug 1438585] Re: no console when starting VM from cloud image
[tom@vm-test]$vim arm64-qemu
[tom@vm-test]$./arm64-qemu
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.13.11-ckt20+ (tom@tom-T450) (gcc version 4.8.2 20140110 (prerelease) [ibm/gcc-4_8-branch merged from gcc-4_8-branch, revision 205847] (Ubuntu/Linaro 4.8.2-13ubuntu1) ) #181 SMP PREEMPT Mon Jun 1 17:48:14 CST 2015 ()
[ 0.000000] CPU: AArch64 Processor [411fd070] revision 0
[ 0.000000] Memory limited to 1024MB
[ 0.000000] efi: Getting parameters from FDT:
[ 0.000000] efi: Can't find System Table in device tree!
[ 0.000000] On node 0 totalpages: 262144
[ 0.000000] DMA32 zone: 3584 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 262144 pages, LIFO batch:31
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] PERCPU: Embedded 10 pages/cpu @ffffffc03ffda000 s10880 r8192 d21888 u40960
[ 0.000000] pcpu-alloc: s10880 r8192 d21888 u40960 alloc=10*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258560
[ 0.000000] Kernel command line: mem=1024M rootfstype=ext4 root=/dev/vda rw loglevel=9 no_console_suspend ip=dhcp
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] software IO TLB [mem 0x7b000000-0x7f000000] (64MB) mapped at [ffffffc03b000000-ffffffc03effffff]
[ 0.000000] Memory: 938804K/1048576K available (3508K kernel code, 249K rwdata, 1324K rodata, 194K init, 1180K bss, 109772K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000 (245759 MB)
[ 0.000000] vmemmap : 0xffffffbc00e00000 - 0xffffffbc01c00000 ( 14 MB)
[ 0.000000] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc040000000 ( 1024 MB)
[ 0.000000] .init : 0xffffffc00053a000 - 0xffffffc00056aa80 ( 195 kB)
[ 0.000000] .text : 0xffffffc000080000 - 0xffffffc000539154 ( 4837 kB)
[ 0.000000] .data : 0xffffffc00056b000 - 0xffffffc0005a94e0 ( 250 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] Architected cp15 timer(s) running at 62.50MHz (virt).
[ 0.000000] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every 2199023255552ns
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled
[ 0.004477] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=625000)
** Changed in: linux (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1438585
Title:
no console when starting VM from cloud image
Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Trusty:
Fix Released
Status in linux source package in Utopic:
Fix Released
Status in linux source package in Vivid:
Fix Released
Bug description:
In current arm64 utopic cloud image, the 'console=' parameter has been
removed from grub config, and always resort to 'stdout' DT property
which is setup from QEMU.
Unfortunately parsing 'stdout' DT property is just merged to 3.19
kernel, so there is no console usable any more for arm64 utopic VM
when booting via uefi/grub.
SRU Justification:
Impact: No console if arm64 Utopic based VM is booted from the cloud image.
Fix: backport stdout enablement patches from 3.19. 5 of these 6 patches are cherry picked from 3.19 to Utopic, and the other one is backported by just dropping the dt self-test code, and with these 6 patches, arm64 utopic VM can be booted with console.
Testcase: Boot one arm64 Utopic VM via uefi/grub.
5ba2ee8 of: support passing console options with stdout-path
5c64126 of: add optional options parameter to of_find_node_by_path()
7507839 of: Add bindings for chosen node, stdout-path
54e15d7 of: correct of_console_check()'s return value
4f2b1f0 of: Enable console on serial ports specified by /chosen/stdout-path
a699dfd of: Create of_console_check() for selecting a console specified in /chosen
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1438585/+subscriptions
References