Cannot boot trusty kernel on qemu-system-arm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Paolo Pisati | ||
Trusty |
Fix Released
|
High
|
Paolo Pisati |
Bug Description
== SRU Justification ==
Upon d-r-u of a qemu ARM guest from saucy to trusty, the kernel no longer boots:
== Fix ==
Build the correct dtb for this board and disable the console-over-jtag
or
Apply the attached patches, recompile and install.
== Impact ==
Kernel hangs at boot.
== Test Case ==
Try booting your installation with and without those fixes.
===
U-Boot 2013.10 (Nov 23 2013 - 04:30:10)
DRAM: 1 GiB
WARNING: Caches not enabled
Flash: 256 MiB
MMC: MMC: 0
In: serial
Out: serial
Err: serial
Net: smc911x-0
Hit any key to stop autoboot: 0
reading boot.scr
352 bytes read in 28 ms (11.7 KiB/s)
## Executing script at 60000000
reading vmlinuz
5474584 bytes read in 958 ms (5.4 MiB/s)
reading initrd.img
17883834 bytes read in 3013 ms (5.7 MiB/s)
reading board.dtb
11863 bytes read in 6 ms (1.9 MiB/s)
Kernel image @ 0x60008000 [ 0x000000 - 0x538918 ]
## Flattened Device Tree blob at 62008000
Booting using the fdt blob at 0x62008000
Using Device Tree in place at 62008000, end 6200de56
Starting kernel ...
===
At this point, the host CPU just spins. The previous kernel from saucy (3.11.0-19-generic) boots correctly into the trusty environment.
The VM is being launched as so:
export QEMU_AUDIO_DRV=none
exec qemu-system-arm -display none -M vexpress-a9 -kernel /srv/arm-dev/u-boot -m 1024 \
-serial stdio -net nic,model=
-net tap,ifname=
-pflash /srv/arm-
The flash images are unused; the scr points to the SD:
fatload mmc 0:1 0x60008000 vmlinuz
fatload mmc 0:1 0x61008000 initrd.img
fatload mmc 0:1 0x62008000 board.dtb
setenv bootargs console=
setenv fdt_high 0xffffffff
setenv initrd_high 0xffffffff
bootz 0x60008000 0x61008000:
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.11.0-19-generic armv7l
AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.11.0-19-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.14.1-0ubuntu1
Architecture: armhf
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
CRDA: Error: [Errno 2] No such file or directory: 'iw'
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.
CurrentDmesg: [ 113.007517] init: plymouth-
Date: Mon Apr 7 01:23:13 2014
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci:
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
PciMultimedia:
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: console=
RelatedPackageV
linux-
linux-
linux-firmware 1.127
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: Upgraded to trusty on 2014-04-07 (0 days ago)
Related branches
CVE References
Changed in linux (Ubuntu): | |
assignee: | nobody → Paolo Pisati (p-pisati) |
tags: | removed: kernel-key |
Changed in linux (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
tags: | added: patch |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1303657
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.