root@spear320-eval:/var/volatile/tmp/kaese# kexec -l uImage--3.12.3-r0-spear320- eval-20131205085108.bin --dtb=spear320-evb-kernel3.12.3.dtb --command-line="$( cat /proc/cmdline)" root@spear320-eval:/var/volatile/tmp/kaese# kexec -e Starting new kernel Bye! Booting Linux on physical CPU 0x0 Linux version 3.12.3 (openembedded@openembedded) (gcc version 4.7.2 (GCC) ) #1 Thu Dec 5 09:52:37 CET 2013 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: ST SPEAr320 SoC with Flattened Device Tree, model: ST SPEAr320 Evaluation Board Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32480 Kernel command line: console=ttyAMA0,115200 mem=128M root=/dev/mtdblock5 rootfstype=jffs2 PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 117576K/131072K available (4136K kernel code, 326K rwdata, 1284K rodata, 5701K init, 690K bss, 13496K reserved) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc8800000 - 0xff000000 ( 872 MB) lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc05537b4 (5422 kB) .init : 0xc0554000 - 0xc0ae54f4 (5702 kB) .data : 0xc0ae6000 - 0xc0b378f8 ( 327 kB) .bss : 0xc0b378f8 - 0xc0be41b0 ( 691 kB) SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:16 nr_irqs:16 16 VIC @c8800000: id 0x00041190, vendor 0x41 sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms Console: colour dummy device 80x30 Calibrating delay loop... 165.27 BogoMIPS (lpj=826368) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok ftrace: allocating 14111 entries in 42 pages Setting up static identity map for 0xc03bd650 - 0xc03bd6a8 devtmpfs: initialized pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 pagealloc: memory corruption c78c1080: 4c 7a 00 00 Lz.. CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.3 #1 [] (unwind_backtrace+0x0/0x138) from [] (show_stack+0x20/0x24) [] (show_stack+0x20/0x24) from [] (dump_stack+0x20/0x28) [] (dump_stack+0x20/0x28) from [] (kernel_map_pages+0x170/0x268) [] (kernel_map_pages+0x170/0x268) from [] (get_page_from_freelist+0x674/0x6d8) [] (get_page_from_freelist+0x674/0x6d8) from [] (__alloc_pages_nodemask+0xf0/0x8c0) [] (__alloc_pages_nodemask+0xf0/0x8c0) from [] (__dma_alloc_buffer.isra.15+0x3c/0xf4) [] (__dma_alloc_buffer.isra.15+0x3c/0xf4) from [] (__alloc_remap_buffer.isra.18+0x24/0xd8) [] (__alloc_remap_buffer.isra.18+0x24/0xd8) from [] (atomic_pool_init+0x78/0x134) [] (atomic_pool_init+0x78/0x134) from [] (do_one_initcall+0xe4/0x1a0) [] (do_one_initcall+0xe4/0x1a0) from [] (kernel_init_freeable+0xf0/0x1b8) [] (kernel_init_freeable+0xf0/0x1b8) from [] (kernel_init+0x18/0xf4) [] (kernel_init+0x18/0xf4) from [] (ret_from_fork+0x14/0x20) pagealloc: memory corruption c78c2080: df 79 00 00 .y.. CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.3 #1 [] (unwind_backtrace+0x0/0x138) from [] (show_stack+0x20/0x24) [] (show_stack+0x20/0x24) from [] (dump_stack+0x20/0x28) [] (dump_stack+0x20/0x28) from [] (kernel_map_pages+0x170/0x268) [] (kernel_map_pages+0x170/0x268) from [] (get_page_from_freelist+0x674/0x6d8) [] (get_page_from_freelist+0x674/0x6d8) from [] (__alloc_pages_nodemask+0xf0/0x8c0) [] (__alloc_pages_nodemask+0xf0/0x8c0) from [] (__dma_alloc_buffer.isra.15+0x3c/0xf4) [] (__dma_alloc_buffer.isra.15+0x3c/0xf4) from [] (__alloc_remap_buffer.isra.18+0x24/0xd8) [] (__alloc_remap_buffer.isra.18+0x24/0xd8) from [] (atomic_pool_init+0x78/0x134) [] (atomic_pool_init+0x78/0x134) from [] (do_one_initcall+0xe4/0x1a0) [] (do_one_initcall+0xe4/0x1a0) from [] (kernel_init_freeable+0xf0/0x1b8) [] (kernel_init_freeable+0xf0/0x1b8) from [] (kernel_init+0x18/0xf4) [] (kernel_init+0x18/0xf4) from [] (ret_from_fork+0x14/0x20) DMA: preallocated 256 KiB pool for atomic coherent allocations ------------[ cut here ]------------ WARNING: CPU: 0 PID: 1 at kernel/irq/irqdomain.c:276 irq_domain_associate+0x58/0x1bc() error: hwirq 0x15 is too large for (null) Modules linked in: CPU: 0 PID: 1 Comm: swapper Not tainted 3.12.3 #1 [] (unwind_backtrace+0x0/0x138) from [] (show_stack+0x20/0x24) [] (show_stack+0x20/0x24) from [] (dump_stack+0x20/0x28) [] (dump_stack+0x20/0x28) from [] (warn_slowpath_common+0x78/0x98) [] (warn_slowpath_common+0x78/0x98) from [] (warn_slowpath_fmt+0x40/0x48) [] (warn_slowpath_fmt+0x40/0x48) from [] (irq_domain_associate+0x58/0x1bc) [] (irq_domain_associate+0x58/0x1bc) from [] (irq_create_mapping+0x14c/0x1ec) [] (irq_create_mapping+0x14c/0x1ec) from [] (irq_create_of_mapping+0xc8/0x11c) [] (irq_create_of_mapping+0xc8/0x11c) from [] (irq_of_parse_and_map+0x3c/0x44) [] (irq_of_parse_and_map+0x3c/0x44) from [] (of_irq_to_resource+0x28/0x94) [] (of_irq_to_resource+0x28/0x94) from [] (of_irq_count+0x34/0x44) [] (of_irq_count+0x34/0x44) from [] (of_device_alloc+0x7c/0x184) [] (of_device_alloc+0x7c/0x184) from [] (of_platform_device_create_pdata+0x40/0x84) [] (of_platform_device_create_pdata+0x40/0x84) from [] (of_platform_bus_create+0x294/0x378) [] (of_platform_bus_create+0x294/0x378) from [] (of_platform_bus_create+0x300/0x378) ---[ end trace 1b75b31a2719ed1c ]--- of_amba_device_create(): amba_device_add() failed (-19) for /ahb/apb/serial@a4000000 of_amba_device_create(): amba_device_add() failed (-19) for /ahb/spi@a5000000 of_amba_device_create(): amba_device_add() failed (-19) for /ahb/spi@a6000000 No ATAGs? spear320-pinmux b3000000.pinmux: Configured Mode: extended mode with id: 18 Serial: AMBA PL011 UART driver d0000000.serial: ttyAMA0 at MMIO 0xd0000000 (irq = 35, base_baud = 0) is a PL011 rev2 console [ttyAMA0] enabled a3000000.serial: ttyAMA1 at MMIO 0xa3000000 (irq = 61, base_baud = 0) is a PL011 rev2 bio: create slab at 0 spear-plgpio b3000000.gpio: can't request region for resource [mem 0xb3000000-0xb3000fff] spear-plgpio: probe of b3000000.gpio failed with error -16 pl08xdmac fc400000.dma: initialized 8 virtual memcpy channels pl08xdmac fc400000.dma: initialized 26 virtual slave channels pl08xdmac fc400000.dma: DMA: PL080s rev1 at 0xfc400000 irq 24 SCSI subsystem initialized ssp-pl022 d0100000.spi: ARM PL022 driver, device ID: 0x00041022 pl022: mapped registers from 0xd0100000 to fd100000 of_dma_request_slave_channel: dma-names property of node '/ahb/spi@d0100000' missing or empty ssp-pl022 d0100000.spi: setup for DMA on RX dma1chan2, TX dma1chan3 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb i2c_designware a7000000.i2c: no irq resource? pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti PTP clock support registered Switched to clocksource tmr1 NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 2, 20480 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP: reno registered UDP hash table entries: 256 (order: 1, 12288 bytes) UDP-Lite hash table entries: 256 (order: 1, 12288 bytes) NET: Registered protocol family 1 jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 229 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) of_dma_request_slave_channel: dma-names property of node '/ahb/apb/serial@d0000000' missing or empty uart-pl011 d0000000.serial: no DMA platform data of_dma_request_slave_channel: dma-names property of node '/ahb/apb/serial@a3000000' missing or empty uart-pl011 a3000000.serial: DMA channel TX dma1chan15 of_dma_request_slave_channel: dma-names property of node '/ahb/apb/serial@a3000000' missing or empty uart-pl011 a3000000.serial: DMA channel RX dma1chan14 brd: module loaded smi fc000000.flash: mtd .name=st m25p64 .size=800000(8M) smi fc000000.flash: .erasesize = 0x10000(64K) 6 ofpart partitions found on MTD device st m25p64 Creating 6 MTD partitions on "st m25p64": 0x000000000000-0x000000010000 : "xloader" 0x000000010000-0x000000060000 : "u-boot" 0x000000060000-0x000000070000 : "environment" 0x000000070000-0x000000080000 : "dtb" 0x000000080000-0x000000390000 : "linux" 0x000000390000-0x000000800000 : "rootfs" fsmc-nand 4c000000.flash: FSMC device partno 090, manufacturer 80, revision 00, config 00 No NAND device found fsmc-nand 4c000000.flash: No NAND Device found! stmmac - user ID: 0x4, Synopsys ID: 0x0 Ring mode enabled DMA HW capability register supported Normal descriptors RX Checksum Offload Engine supported (type 2) TX Checksum insertion supported libphy: stmmac: probed eth0: PHY ID 04000400 at 0 IRQ 0 (stmmac-0:00) active eth0: PHY ID 04000400 at 1 IRQ 0 (stmmac-0:01) eth0: PHY ID 04000400 at 2 IRQ 0 (stmmac-0:02) eth0: PHY ID 04000400 at 3 IRQ 0 (stmmac-0:03) eth0: PHY ID 04000400 at 4 IRQ 0 (stmmac-0:04) eth0: PHY ID 04000400 at 5 IRQ 0 (stmmac-0:05) eth0: PHY ID 04000400 at 6 IRQ 0 (stmmac-0:06) eth0: PHY ID 04000400 at 7 IRQ 0 (stmmac-0:07) eth0: PHY ID 04000400 at 8 IRQ 0 (stmmac-0:08) eth0: PHY ID 04000400 at 9 IRQ 0 (stmmac-0:09) eth0: PHY ID 04000400 at 10 IRQ 0 (stmmac-0:0a) eth0: PHY ID 04000400 at 11 IRQ 0 (stmmac-0:0b) eth0: PHY ID 04000400 at 12 IRQ 0 (stmmac-0:0c) eth0: PHY ID 04000400 at 13 IRQ 0 (stmmac-0:0d) eth0: PHY ID 04000400 at 14 IRQ 0 (stmmac-0:0e) eth0: PHY ID 04000400 at 15 IRQ 0 (stmmac-0:0f) eth0: PHY ID 04000400 at 16 IRQ 0 (stmmac-0:10) eth0: PHY ID 04000400 at 17 IRQ 0 (stmmac-0:11) eth0: PHY ID 04000400 at 18 IRQ 0 (stmmac-0:12) eth0: PHY ID 04000400 at 19 IRQ 0 (stmmac-0:13) eth0: PHY ID 04000400 at 20 IRQ 0 (stmmac-0:14) eth0: PHY ID 04000400 at 21 IRQ 0 (stmmac-0:15) eth0: PHY ID 04000400 at 22 IRQ 0 (stmmac-0:16) eth0: PHY ID 04000400 at 23 IRQ 0 (stmmac-0:17) eth0: PHY ID 04000400 at 24 IRQ 0 (stmmac-0:18) eth0: PHY ID 04000400 at 25 IRQ 0 (stmmac-0:19) eth0: PHY ID 04000400 at 26 IRQ 0 (stmmac-0:1a) eth0: PHY ID 04000400 at 27 IRQ 0 (stmmac-0:1b) eth0: PHY ID 04000400 at 28 IRQ 0 (stmmac-0:1c) eth0: PHY ID 04000400 at 29 IRQ 0 (stmmac-0:1d) eth0: PHY ID 04000400 at 30 IRQ 0 (stmmac-0:1e) eth0: PHY ID 04000400 at 31 IRQ 0 (stmmac-0:1f) ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver SPEAr-ehci: EHCI SPEAr driver spear-ehci e1800000.ehci: EHCI Host Controller spear-ehci e1800000.ehci: new USB bus registered, assigned bus number 1 spear-ehci e1800000.ehci: irq 42, io mem 0xe1800000 spear-ehci e1800000.ehci: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: EHCI Host Controller usb usb1: Manufacturer: Linux 3.12.3 ehci_hcd usb usb1: SerialNumber: e1800000.ehci hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver spear-ohci e1900000.ohci: SPEAr OHCI spear-ohci e1900000.ohci: new USB bus registered, assigned bus number 2 Unable to handle kernel NULL pointer dereference at virtual address 0000000c pgd = c0004000 [0000000c] *pgd=00000000 Internal error: Oops: 17 [#1] ARM Modules linked in: CPU: 0 PID: 1 Comm: swapper Tainted: G W 3.12.3 #1 task: c786a000 ti: c786c000 task.ti: c786c000 PC is at ohci_irq+0x1c/0x220 LR is at usb_hcd_irq+0x40/0x58 pc : [] lr : [] psr: 60000093 sp : c786db70 ip : c786db98 fp : c786db94 r10: c0b30160 r9 : c7808034 r8 : 00000000 r7 : 00000000 r6 : 00000029 r5 : c6e34000 r4 : 00000000 r3 : c02ba624 r2 : c786a000 r1 : c6e34000 r0 : c6e34000 Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 0005317f Table: 06e14000 DAC: 00000017 Process swapper (pid: 1, stack limit = 0xc786c1c0) Stack: (0xc786db70 to 0xc786e000) db60: c02ba624 60000093 c7808054 00000029 db80: 00000000 00000000 c786dbac c786db98 c029aa10 c02ba634 c029a9d0 c6e2e300 dba0: c786dbec c786dbb0 c0049bcc c029a9e0 00000000 00000000 00000000 c7808000 dbc0: ffffffff c7808000 c7808054 c6e2e300 c0bda604 00000000 c7808034 00000029 dbe0: c786dc0c c786dbf0 c0049e08 c0049b70 00020000 c7808000 c7808054 00000000 dc00: c786dc24 c786dc10 c004c33c c0049dcc 00000029 00000029 c786dc3c c786dc28 dc20: c00494d0 c004c26c 00000043 c0b0e268 c786dc5c c786dc40 c000a068 c00494b0 dc40: 00000020 c0bda604 c786dc88 00000000 c786dc84 c786dc60 c000874c c000a008 dc60: c03bd180 c03bd184 60000013 ffffffff c786dcbc 60000013 c786dce4 c786dc88 dc80: c000ce40 c00086f4 c7808054 60000013 c786a000 00000000 60000013 c6e2e300 dca0: c029a9d0 c7808054 60000013 c7808034 00000029 c786dce4 c786dcd0 c786dcd0 dcc0: c03bd180 c03bd184 60000013 ffffffff 00000000 c7808000 c786dd1c c786dce8 dce0: c004b030 c03bd174 c6e34000 c6e34054 c786dd0c c6e2e300 c7808000 c029a9d0 dd00: 00000000 00000029 00000000 c6e34000 c786dd4c c786dd20 c004b290 c004acec dd20: 00000000 c6e34000 c6e34054 00000029 00000000 c0b2074c c05841e4 00000002 dd40: c786dd84 c786dd50 c029bfc8 c004b1c8 c6e34054 c6e34000 c780bd80 c6e34400 dd60: c78a9400 c78a9410 c6e34000 c780bd80 c6e34130 00000073 c786ddb4 c786dd88 dd80: c02b6da0 c029bcd4 c03ee9bc c786dd98 c0126ab8 c78a9410 c0bdc4b4 c0b32ee8 dda0: 00000000 c0b21108 c786ddc4 c786ddb8 c024acbc c02b6c10 c786ddf4 c786ddc8 ddc0: c024962c c024aca8 c786ddf4 c786ddd8 c024aea0 c78a9410 c0b21108 c78a9444 dde0: 00000000 c057bdec c786de14 c786ddf8 c02498b0 c02494e4 00000002 00000000 de00: c0b21108 c0249838 c786de3c c786de18 c02476a8 c0249848 c780386c c78aa040 de20: c03bd160 c0b21108 c6e2a3c0 c0b15770 c786de4c c786de40 c0249110 c0247658 de40: c786de7c c786de50 c0248aa4 c02490f8 c04bf254 00000000 c786de7c c0b21108 de60: c0bdcddc c786c000 00000000 c057bdec c786de94 c786de80 c024a004 c02489b0 de80: c059bffc c0bdcddc c786dea4 c786de98 c024b010 c0249f64 c786dec4 c786dea8 dea0: c057be88 c024afc8 00000040 c024afc8 c059bffc 00000006 c786df4c c786dec8 dec0: c0008960 c057bdfc c03bd180 c01fb3ec c786defc c786dee0 c0554428 c01f0324 dee0: c0554400 c0d08b14 c03dfa50 00000073 c786df4c c786df00 c003174c c055441c df00: 00000000 00000000 00000000 00000006 00000006 c04fe9cc c04c2274 00000000 df20: c786df4c c059bffc 00000006 c0b37900 c055440c c05841f0 c05841e4 00000073 df40: c786df94 c786df50 c0554bd4 c000888c 00000006 00000006 c055440c c01fb3ec df60: c786df94 c786df70 c003c860 00000000 c03b5d28 00000000 00000000 00000000 df80: 00000000 00000000 c786dfac c786df98 c03b5d40 c0554af4 00000000 00000000 dfa0: 00000000 c786dfb0 c0009750 c03b5d38 00000000 00000000 00000000 00000000 dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 aaaaaaaa aaaaaaaa [] (ohci_irq+0x1c/0x220) from [] (usb_hcd_irq+0x40/0x58) [] (usb_hcd_irq+0x40/0x58) from [] (handle_irq_event_percpu+0x6c/0x25c) [] (handle_irq_event_percpu+0x6c/0x25c) from [] (handle_irq_event+0x4c/0x6c) [] (handle_irq_event+0x4c/0x6c) from [] (handle_level_irq+0xe0/0xf8) [] (handle_level_irq+0xe0/0xf8) from [] (generic_handle_irq+0x30/0x40) [] (generic_handle_irq+0x30/0x40) from [] (handle_IRQ+0x70/0x90) [] (handle_IRQ+0x70/0x90) from [] (vic_handle_irq+0x68/0xac) [] (vic_handle_irq+0x68/0xac) from [] (__irq_svc+0x40/0x4c) Exception stack(0xc786dc88 to 0xc786dcd0) dc80: c7808054 60000013 c786a000 00000000 60000013 c6e2e300 dca0: c029a9d0 c7808054 60000013 c7808034 00000029 c786dce4 c786dcd0 c786dcd0 dcc0: c03bd180 c03bd184 60000013 ffffffff [] (__irq_svc+0x40/0x4c) from [] (_raw_spin_unlock_irqrestore+0x20/0x24) [] (_raw_spin_unlock_irqrestore+0x20/0x24) from [] (__setup_irq+0x354/0x4dc) [] (__setup_irq+0x354/0x4dc) from [] (request_threaded_irq+0xd8/0x138) [] (request_threaded_irq+0xd8/0x138) from [] (usb_add_hcd+0x304/0x760) [] (usb_add_hcd+0x304/0x760) from [] (spear_ohci_hcd_drv_probe+0x1a0/0x214) [] (spear_ohci_hcd_drv_probe+0x1a0/0x214) from [] (platform_drv_probe+0x24/0x28) [] (platform_drv_probe+0x24/0x28) from [] (driver_probe_device+0x158/0x364) [] (driver_probe_device+0x158/0x364) from [] (__driver_attach+0x78/0x9c) [] (__driver_attach+0x78/0x9c) from [] (bus_for_each_dev+0x60/0x9c) [] (bus_for_each_dev+0x60/0x9c) from [] (driver_attach+0x28/0x30) [] (driver_attach+0x28/0x30) from [] (bus_add_driver+0x104/0x2a0) [] (bus_add_driver+0x104/0x2a0) from [] (driver_register+0xb0/0xf4) [] (driver_register+0xb0/0xf4) from [] (__platform_driver_register+0x58/0x6c) [] (__platform_driver_register+0x58/0x6c) from [] (ohci_hcd_mod_init+0x9c/0x110) [] (ohci_hcd_mod_init+0x9c/0x110) from [] (do_one_initcall+0xe4/0x1a0) [] (do_one_initcall+0xe4/0x1a0) from [] (kernel_init_freeable+0xf0/0x1b8) [] (kernel_init_freeable+0xf0/0x1b8) from [] (kernel_init+0x18/0xf4) [] (kernel_init+0x18/0xf4) from [] (ret_from_fork+0x14/0x20) Code: e52de004 e8bd4000 e1a05000 e5904140 (e594300c) ---[ end trace 1b75b31a2719ed1d ]--- Kernel panic - not syncing: Fatal exception in interrupt