Advertisement
muawijhe

Unable to boot RPI2 ubuntu 14.04 with qemu

Mar 24th, 2016
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.74 KB | None | 0 0
  1. sudo qemu-system-arm -kernel dist/ubuntu-14.04/boot/kernel7.img -dtb dist/ubuntu-14.04/boot/bcm2709-rpi-2-b.dtb -M raspi2 -m 512 -no-reboot -serial stdio -append 'rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 panic=1 rootfstype=ext4' -hda /dev/sdb -net nic -net user,net=10.0.0.0/8,host=10.0.0.1,hostfwd=tcp:127.0.0.1:2222-10.0.0.2:22
  2. WARNING: Image format was not specified for '/dev/sdb' and probing guessed raw.
  3. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
  4. Specify the 'raw' format explicitly to remove the restrictions.
  5. Warning: hub port hub0port0 has no peer
  6. Warning: vlan 0 with no nics
  7. Warning: netdev hub0port0 has no peer
  8. Warning: requested NIC (anonymous, model unspecified) was not created (not supported by this machine?)
  9. Uncompressing Linux... done, booting the kernel.
  10. [ 0.000000] Booting Linux on physical CPU 0xf00
  11. [ 0.000000] Initializing cgroup subsys cpuset
  12. [ 0.000000] Initializing cgroup subsys cpu
  13. [ 0.000000] Initializing cgroup subsys cpuacct
  14. [ 0.000000] Linux version 3.18.0-20-rpi2 (buildd@lgw01-09) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #21-Ubuntu SMP PREEMPT Sun Apr 5 01:56:02 UTC 2015 (Ubuntu 3.18.0-20.21-rpi2 3.18.11)
  15. [ 0.000000] CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=10c5387d
  16. [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
  17. [ 0.000000] Machine model: Raspberry Pi 2 Model B
  18. [ 0.000000] bootconsole [earlycon0] enabled
  19. [ 0.000000] cma: Reserved 8 MiB at 0x1b800000
  20. [ 0.000000] Memory policy: Data cache writealloc
  21. [ 0.000000] On node 0 totalpages: 114688
  22. [ 0.000000] free_area_init_node: node 0, pgdat 8095cc40, node_mem_map 9b473000
  23. [ 0.000000] Normal zone: 896 pages used for memmap
  24. [ 0.000000] Normal zone: 0 pages reserved
  25. [ 0.000000] Normal zone: 114688 pages, LIFO batch:31
  26. [ 0.000000] [bcm2709_smp_init_cpus] enter (85c0->f3003010)
  27. [ 0.000000] [bcm2709_smp_init_cpus] ncores=4
  28. [ 0.000000] PERCPU: Embedded 11 pages/cpu @9b43f000 s12928 r8192 d23936 u45056
  29. [ 0.000000] pcpu-alloc: s12928 r8192 d23936 u45056 alloc=11*4096
  30. [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  31. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113792
  32. [ 0.000000] Kernel command line: rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 panic=1 rootfstype=ext4
  33. [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
  34. [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
  35. [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
  36. [ 0.000000] allocated 917504 bytes of page_cgroup
  37. [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
  38. [ 0.000000] Memory: 434960K/458752K available (6339K kernel code, 564K rwdata, 2352K rodata, 364K init, 806K bss, 23792K reserved)
  39. [ 0.000000] Virtual kernel memory layout:
  40. [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
  41. [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
  42. [ 0.000000] vmalloc : 0x9c800000 - 0xff000000 (1576 MB)
  43. [ 0.000000] lowmem : 0x80000000 - 0x9c000000 ( 448 MB)
  44. [ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
  45. [ 0.000000] .text : 0x80008000 - 0x80884f4c (8692 kB)
  46. [ 0.000000] .init : 0x80885000 - 0x808e0000 ( 364 kB)
  47. [ 0.000000] .data : 0x808e0000 - 0x8096d2ec ( 565 kB)
  48. [ 0.000000] .bss : 0x8096d2ec - 0x80a36d20 ( 807 kB)
  49. [ 0.000000] Preemptible hierarchical RCU implementation.
  50. [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
  51. [ 0.000000] NR_IRQS:480
  52. [ 0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).
  53. [ 0.000809] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns
  54. [ 0.002644] Switching to timer-based delay loop, resolution 52ns
  55. [ 0.037692] Console: colour dummy device 80x30
  56. [ 0.039740] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
  57. [ 0.043727] pid_max: default: 32768 minimum: 301
  58. [ 0.048917] Security Framework initialized
  59. [ 0.063002] AppArmor: AppArmor initialized
  60. [ 0.063879] Yama: becoming mindful.
  61. [ 0.074913] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  62. [ 0.076107] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  63. [ 0.116458] Initializing cgroup subsys memory
  64. [ 0.118298] Initializing cgroup subsys devices
  65. [ 0.119770] Initializing cgroup subsys freezer
  66. [ 0.120780] Initializing cgroup subsys net_cls
  67. [ 0.122264] Initializing cgroup subsys blkio
  68. [ 0.123915] Initializing cgroup subsys perf_event
  69. [ 0.124994] Initializing cgroup subsys net_prio
  70. [ 0.128392] CPU: Testing write buffer coherency: ok
  71. [ 0.171249] CPU0: update cpu_capacity 1024
  72. [ 0.172426] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
  73. [ 0.173909] [bcm2709_smp_prepare_cpus] enter
  74. [ 0.177738] Setting up static identity map for 0x6064c8 - 0x606520
  75. [ 0.309958] [bcm2709_boot_secondary] cpu:1 failed to start (85c0)
  76. [ 1.563934] CPU1: failed to come online
  77. [ 1.626972] [bcm2709_boot_secondary] cpu:2 failed to start (85c0)
  78. [ 2.856540] CPU2: failed to come online
  79. [ 2.914486] [bcm2709_boot_secondary] cpu:3 failed to start (85c0)
  80. [ 4.171670] CPU3: failed to come online
  81. [ 4.176937] Brought up 1 CPUs
  82. [ 4.181806] SMP: Total of 1 processors activated (38.40 BogoMIPS).
  83. [ 4.187663] CPU: All CPU(s) started in SVC mode.
  84. [ 4.367947] devtmpfs: initialized
  85. [ 5.291708] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
  86. [ 5.872389] pinctrl core: initialized pinctrl subsystem
  87. [ 6.083732] NET: Registered protocol family 16
  88. [ 6.225680] DMA: preallocated 4096 KiB pool for atomic coherent allocations
  89. [ 6.307135] cpuidle: using governor ladder
  90. [ 6.327217] cpuidle: using governor menu
  91. [ 6.336432] bcm2709.uart_clock = 3000000
  92. [ 6.472317] ------------[ cut here ]------------
  93. [ 6.477814] WARNING: CPU: 0 PID: 1 at /build/buildd/linux-3.18.0/arch/arm/mach-bcm2709/armctrl.c:148 armctrl_xlate+0x188/0x274()
  94. [ 6.488711] Modules linked in:
  95. [ 6.496119] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.0-20-rpi2 #21-Ubuntu
  96. [ 6.515229] [<80016ab0>] (unwind_backtrace) from [<800129d0>] (show_stack+0x10/0x14)
  97. [ 6.523060] [<800129d0>] (show_stack) from [<805fee10>] (dump_stack+0x9c/0xd4)
  98. [ 6.528418] [<805fee10>] (dump_stack) from [<80026ed8>] (warn_slowpath_common+0x70/0x8c)
  99. [ 6.533789] [<80026ed8>] (warn_slowpath_common) from [<80026f90>] (warn_slowpath_null+0x1c/0x24)
  100. [ 6.537786] [<80026f90>] (warn_slowpath_null) from [<80022044>] (armctrl_xlate+0x188/0x274)
  101. [ 6.541955] [<80022044>] (armctrl_xlate) from [<8007399c>] (irq_create_of_mapping+0x64/0x110)
  102. [ 6.546722] [<8007399c>] (irq_create_of_mapping) from [<804c4ef4>] (irq_of_parse_and_map+0x24/0x2c)
  103. [ 6.550702] [<804c4ef4>] (irq_of_parse_and_map) from [<804c4f14>] (of_irq_to_resource+0x18/0xb8)
  104. [ 6.554892] [<804c4f14>] (of_irq_to_resource) from [<804c4ff0>] (of_irq_to_resource_table+0x3c/0x54)
  105. [ 6.560013] [<804c4ff0>] (of_irq_to_resource_table) from [<804c25b8>] (of_device_alloc+0xd8/0x180)
  106. [ 6.563841] [<804c25b8>] (of_device_alloc) from [<804c26a8>] (of_platform_device_create_pdata+0x48/0x98)
  107. [ 6.569472] [<804c26a8>] (of_platform_device_create_pdata) from [<804c27f0>] (of_platform_bus_create+0xec/0x3ac)
  108. [ 6.574541] [<804c27f0>] (of_platform_bus_create) from [<804c2860>] (of_platform_bus_create+0x15c/0x3ac)
  109. [ 6.582566] [<804c2860>] (of_platform_bus_create) from [<804c2c28>] (of_platform_populate+0x5c/0xa0)
  110. [ 6.588148] [<804c2c28>] (of_platform_populate) from [<8088cad8>] (bcm2709_init+0x64/0x3fc)
  111. [ 6.596579] [<8088cad8>] (bcm2709_init) from [<80888870>] (customize_machine+0x20/0x40)
  112. [ 6.601302] [<80888870>] (customize_machine) from [<800088bc>] (do_one_initcall+0xd8/0x208)
  113. [ 6.604924] [<800088bc>] (do_one_initcall) from [<80885ef4>] (kernel_init_freeable+0x1fc/0x29c)
  114. [ 6.609160] [<80885ef4>] (kernel_init_freeable) from [<805f9298>] (kernel_init+0x8/0xf0)
  115. [ 6.613792] [<805f9298>] (kernel_init) from [<8000efe8>] (ret_from_fork+0x14/0x2c)
  116. [ 6.618949] ---[ end trace 91eacaa5d695cb80 ]---
  117. [ 6.731022] No ATAGs?
  118. [ 6.738346] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  119. [ 6.743643] hw-breakpoint: maximum watchpoint size is 8 bytes.
  120. [ 6.748730] mailbox: Broadcom VideoCore Mailbox driver
  121. [ 6.776370] bcm2708_vcio: mailbox at f300b880
  122. [ 6.790830] bcm_power: Broadcom power driver
  123. [ 6.796113] bcm_power_open() -> 0
  124. [ 6.797978] bcm_power_request(0, 8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement