Skip to content

Instantly share code, notes, and snippets.

@pietrushnic
Created December 31, 2015 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pietrushnic/7daff0f1227de79d1af3 to your computer and use it in GitHub Desktop.
Save pietrushnic/7daff0f1227de79d1af3 to your computer and use it in GitHub Desktop.
[1:24:04] pietrushnic:rpi2_qemu $ qemu-system-arm -M raspi2 -kernel 2015-11-21-raspbian-boot/kernel7.img -sd 2015-11-21-raspbian-jessie.img -append "rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2" -dtb 2015-11-21-raspbian-boot/bcm2709-rpi-2-b.dtb -serial stdio
WARNING: Image format was not specified for '2015-11-21-raspbian-jessie.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.13-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015
[ 0.000000] CPU: ARMv7 Processor [412fc0f1] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: Raspberry Pi 2 Model B
[ 0.000000] cma: Reserved 8 MiB at 0x3b800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 245760
[ 0.000000] free_area_init_node: node 0, pgdat 8085f000, node_mem_map baf82000
[ 0.000000] Normal zone: 2160 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 245760 pages, LIFO batch:31
[ 0.000000] [bcm2709_smp_init_cpus] enter (9420->f3003010)
[ 0.000000] [bcm2709_smp_init_cpus] ncores=4
[ 0.000000] PERCPU: Embedded 13 pages/cpu @baf41000 s20608 r8192 d24448 u53248
[ 0.000000] pcpu-alloc: s20608 r8192 d24448 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 243600
[ 0.000000] Kernel command line: rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2
[ 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: 955712K/983040K available (5967K kernel code, 534K rwdata, 1652K rodata, 420K init, 757K bss, 19136K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xbc800000 - 0xff000000 (1064 MB)
[ 0.000000] lowmem : 0x80000000 - 0xbc000000 ( 960 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x80778f64 (7620 kB)
[ 0.000000] .init : 0x80779000 - 0x807e2000 ( 420 kB)
[ 0.000000] .data : 0x807e2000 - 0x80867b6c ( 535 kB)
[ 0.000000] .bss : 0x8086a000 - 0x8092779c ( 758 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:608
[ 0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).
[ 0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000314] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000598] Switching to timer-based delay loop, resolution 52ns
[ 0.017190] Console: colour dummy device 80x30
[ 0.018353] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.018737] pid_max: default: 32768 minimum: 301
[ 0.024887] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.025030] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.048812] Initializing cgroup subsys blkio
[ 0.049060] Initializing cgroup subsys memory
[ 0.049521] Initializing cgroup subsys devices
[ 0.049756] Initializing cgroup subsys freezer
[ 0.050017] Initializing cgroup subsys net_cls
[ 0.050892] CPU: Testing write buffer coherency: ok
[ 0.053711] ftrace: allocating 20235 entries in 60 pages
[ 0.312676] CPU0: update cpu_capacity 1024
[ 0.313204] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.313409] [bcm2709_smp_prepare_cpus] enter
[ 0.314992] Setting up static identity map for 0x8240 - 0x8274
[ 0.398320] [bcm2709_boot_secondary] cpu:1 failed to start (9420)
[ 1.433682] CPU1: failed to come online
[ 1.455475] [bcm2709_boot_secondary] cpu:2 failed to start (9420)
[ 2.502322] CPU2: failed to come online
[ 2.526413] [bcm2709_boot_secondary] cpu:3 failed to start (9420)
[ 3.558891] CPU3: failed to come online
[ 3.559340] Brought up 1 CPUs
[ 3.559687] SMP: Total of 1 processors activated (38.40 BogoMIPS).
[ 3.559878] CPU: All CPU(s) started in SVC mode.
[ 3.596360] devtmpfs: initialized
[ 3.685966] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 3.719758] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 3.747674] pinctrl core: initialized pinctrl subsystem
[ 3.765470] NET: Registered protocol family 16
[ 3.787248] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 3.795530] bcm2709.uart_clock = 3000000
[ 3.831179] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 3.831369] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 3.833464] Serial: AMBA PL011 UART driver
[ 3.841373] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2
[ 3.870997] console [ttyAMA0] enabled
[ 3.884975] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 4.087077] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0xf35
[ 4.088505] bcm2708-dmaengine 3f007000.dma: Initialized 7 DMA channels (+ 1 legacy)
[ 4.092679] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver
[ 4.093253] bcm2708-dmaengine 3f007000.dma: dma_debug:0
[ 4.099950] SCSI subsystem initialized
[ 4.102093] usbcore: registered new interface driver usbfs
[ 4.103147] usbcore: registered new interface driver hub
[ 4.105038] usbcore: registered new device driver usb
[ 4.114891] raspberrypi-firmware soc:firmware: Attached to firmware from 1970-01-05 00:12
[ 4.139141] Switched to clocksource arch_sys_counter
[ 4.356167] FS-Cache: Loaded
[ 4.358310] CacheFiles: Loaded
[ 4.416702] NET: Registered protocol family 2
[ 4.431850] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 4.432815] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 4.433867] TCP: Hash tables configured (established 8192 bind 8192)
[ 4.435686] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 4.436382] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 4.443336] NET: Registered protocol family 1
[ 4.449252] RPC: Registered named UNIX socket transport module.
[ 4.449740] RPC: Registered udp transport module.
[ 4.450246] RPC: Registered tcp transport module.
[ 4.450734] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 4.464998] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 1 counters available
[ 4.473961] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 4.535068] VFS: Disk quotas dquot_6.6.0
[ 4.536829] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 4.550423] FS-Cache: Netfs 'nfs' registered for caching
[ 4.556124] NFS: Registering the id_resolver key type
[ 4.558821] Key type id_resolver registered
[ 4.559206] Key type id_legacy registered
[ 4.582300] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 4.585700] io scheduler noop registered
[ 4.586251] io scheduler deadline registered
[ 4.589221] io scheduler cfq registered (default)
[ 4.605590] BCM2708FB: allocated DMA memory fbc00000
[ 4.606441] BCM2708FB: allocated DMA channel 0 @ f3007000
[ 4.645874] Console: switching to colour frame buffer device 100x30
[ 4.658605] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[ 4.668244] vc-cma: Videocore CMA driver
[ 4.668878] vc-cma: vc_cma_base = 0x00000000
[ 4.669260] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 4.681991] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 4.684263] vc-mem: phys_addr:0x00000000 mem_base=0x00000000 mem_size:0x00000000(0 MiB)
[ 4.776238] brd: module loaded
[ 4.815701] loop: module loaded
[ 4.821534] vchiq: vchiq_init_state: slot_zero = 0xbbc80000, is_master = 0
[ 4.827068] bcm2835_vchiq 3f00b840.vchiq: failed to set channelbase
[ 4.835956] vchiq: could not load vchiq
[ 4.841202] bcm2835_vchiq: probe of 3f00b840.vchiq failed with error -1162436096
[ 4.842936] Loading iSCSI transport class v2.0-870.
[ 4.849163] usbcore: registered new interface driver smsc95xx
[ 4.849931] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 5.055085] Core Release: 2.80a
[ 5.055811] Setting default values for core params
[ 5.059379] Finished setting default values for core params
[ 5.264264] Using Buffer DMA mode
[ 5.264733] Periodic Transfer Interrupt Enhancement - disabled
[ 5.265793] Multiprocessor Interrupt Enhancement - disabled
[ 5.266337] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 5.267104] Dedicated Tx FIFOs mode
[ 5.272321] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbbc14000 dma = 0xfbc14000 len=9024
[ 5.273227] FIQ FSM acceleration enabled for :
[ 5.273227] Non-periodic Split Transactions
[ 5.273227] Periodic Split Transactions
[ 5.273227] High-Speed Isochronous Endpoints
[ 5.274264] dwc_otg: Microframe scheduler enabled
[ 5.275645] WARN::hcd_init_fiq:412: FIQ on core 0 at 0x80402c54
[ 5.276138] WARN::hcd_init_fiq:413: FIQ ASM at 0x80402fb0 length 36
[ 5.276943] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbc89a000
[ 5.278736] dwc_otg 3f980000.usb: DWC OTG Controller
[ 5.279991] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 5.281278] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
[ 5.282688] Init: Port Power? op_state=1
[ 5.283031] Init: Power Port (0)
[ 5.291082] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 5.291649] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.292168] usb usb1: Product: DWC OTG Controller
[ 5.292603] usb usb1: Manufacturer: Linux 4.1.13-v7+ dwc_otg_hcd
[ 5.293135] usb usb1: SerialNumber: 3f980000.usb
[ 5.301459] hub 1-0:1.0: USB hub found
[ 5.302862] hub 1-0:1.0: 1 port detected
[ 5.309365] dwc_otg: FIQ enabled
[ 5.309783] dwc_otg: NAK holdoff enabled
[ 5.310185] dwc_otg: FIQ split-transaction FSM enabled
[ 5.310751] Module dwc_common_port init
[ 5.313321] usbcore: registered new interface driver usb-storage
[ 5.315491] mousedev: PS/2 mouse device common for all mice
[ 5.322640] bcm2835-cpufreq: min=700000 max=700000
[ 5.326204] sdhci: Secure Digital Host Controller Interface driver
[ 5.326645] sdhci: Copyright(c) Pierre Ossman
[ 5.332731] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 5.333270] mmc-bcm2835 3f300000.mmc: DMA channels allocated
[ 5.369811] sdhci-pltfm: SDHCI platform and OF driver helper
[ 5.403070] ledtrig-cpu: registered to indicate activity on CPUs
[ 5.405099] hidraw: raw HID events driver (C) Jiri Kosina
[ 5.406829] usbcore: registered new interface driver usbhid
[ 5.407771] usbhid: USB HID core driver
[ 5.409735] Initializing XFRM netlink socket
[ 5.410477] NET: Registered protocol family 17
[ 5.412433] Key type dns_resolver registered
[ 5.413712] Registering SWP/SWPB emulation handler
[ 5.416669] mmc0: host does not support reading read-only switch, assuming write-enable
[ 5.419448] mmc0: new SDHC card at address 4567
[ 5.425629] registered taskstats version 1
[ 5.429695] vc-sm: Videocore shared memory driver
[ 5.434485] mmcblk0: mmc0:4567 QEMU! 3.66 GiB
[ 5.462349] mmcblk0: p1 p2
[ 5.473641] uart-pl011 3f201000.uart: no DMA platform data
[ 5.510666] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 5.520814] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 5.600344] EXT4-fs (mmcblk0p2): recovery complete
[ 5.601908] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 5.604896] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 5.612212] devtmpfs: mounted
[ 5.642161] Freeing unused kernel memory: 420K (80779000 - 807e2000)
[ 6.892677] random: systemd urandom read with 7 bits of entropy available
[ 6.908292] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[ 6.908292]
[ 6.909692] CPU: 0 PID: 1 Comm: systemd Not tainted 4.1.13-v7+ #826
[ 6.910106] Hardware name: BCM2709
[ 6.911818] [<80018444>] (unwind_backtrace) from [<80013e08>] (show_stack+0x20/0x24)
[ 6.912539] [<80013e08>] (show_stack) from [<8055a188>] (dump_stack+0x98/0xe0)
[ 6.913074] [<8055a188>] (dump_stack) from [<80556340>] (panic+0xa4/0x204)
[ 6.913721] [<80556340>] (panic) from [<800293c8>] (do_exit+0xa0c/0xa64)
[ 6.914181] [<800293c8>] (do_exit) from [<800294b8>] (do_group_exit+0x4c/0xcc)
[ 6.914770] [<800294b8>] (do_group_exit) from [<80033f1c>] (get_signal+0x2b0/0x6e0)
[ 6.915311] [<80033f1c>] (get_signal) from [<80013190>] (do_signal+0x98/0x3ac)
[ 6.915825] [<80013190>] (do_signal) from [<8001368c>] (do_work_pending+0xb8/0xc8)
[ 6.916352] [<8001368c>] (do_work_pending) from [<8000f9e4>] (work_pending+0xc/0x20)
[ 6.917774] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
[ 6.917774]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment