Hi,
I booted the kernel image compiled from linux-linaro-3.7-rc6-2012.11 and i got this crash.
Pls let me know how can i fix it or is there any patch already availabe
Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Linux version 3.7.0-rc6 (root@kasi) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 SMP Thu Dec 20 08:31:16 IST 2012 [ 0.000000] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: OMAP4 Panda board [ 0.000000] Reserving 16777216 bytes SDRAM for VRAM [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] On node 0 totalpages: 126720 [ 0.000000] free_area_init_node: node 0, pgdat c07e8b40, node_mem_map c0d47000 [ 0.000000] Normal zone: 1024 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 125696 pages, LIFO batch:31 [ 0.000000] OMAP4430 ES2.2 [ 0.000000] PERCPU: Embedded 9 pages/cpu @c114f000 s13120 r8192 d15552 u36864 [ 0.000000] pcpu-alloc: s13120 r8192 d15552 u36864 alloc=9*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125696 [ 0.000000] Kernel command line: console=ttyO2,115200n8 vram=16M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 495MB = 495MB total [ 0.000000] Memory: 488684k/488684k available, 35604k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc070d278 (7189 kB) [ 0.000000] .init : 0xc070e000 - 0xc075f340 ( 325 kB) [ 0.000000] .data : 0xc0760000 - 0xc07ebdd0 ( 560 kB) [ 0.000000] .bss : 0xc07ebdf4 - 0xc0d46804 (5483 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms [ 0.000000] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000000] ... MAX_LOCK_DEPTH: 48 [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000000] ... CLASSHASH_SIZE: 4096 [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.000000] ... CHAINHASH_SIZE: 16384 [ 0.000000] memory used by lock dependency info: 3695 kB [ 0.000000] per task-struct memory footprint: 1152 bytes [ 0.001098] Calibrating delay loop... [ 0.007904] BUG: spinlock bad magic on CPU#0, swapper/0/0 [ 0.007965] lock: atomic64_lock+0xc0/0x400, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0 [ 0.008026] [<c001ccfc>] (unwind_backtrace+0x0/0xf4) from [<c02eba20>] (do_raw_spin_lock+0x1b8/0x1f8) [ 0.008087] [<c02eba20>] (do_raw_spin_lock+0x1b8/0x1f8) from [<c0521a6c>] (_raw_spin_lock_irqsave+0x4c/0x58) [ 0.008117] [<c0521a6c>] (_raw_spin_lock_irqsave+0x4c/0x58) from [<c02f715c>] (atomic64_read+0x28/0x48) [ 0.008148] [<c02f715c>] (atomic64_read+0x28/0x48) from [<c007e1c0>] (update_cfs_rq_blocked_load+0x54/0x11c) [ 0.008148] [<c007e1c0>] (update_cfs_rq_blocked_load+0x54/0x11c) from [<c007e50c>] (task_tick_fair+0x284/0x8b0) [ 0.008209] [<c007e50c>] (task_tick_fair+0x284/0x8b0) from [<c007b0dc>] (scheduler_tick+0xd8/0x140) [ 0.008239] [<c007b0dc>] (scheduler_tick+0xd8/0x140) from [<c0056134>] (update_process_times+0x58/0x68) [ 0.008270] [<c0056134>] (update_process_times+0x58/0x68) from [<c0093910>] (tick_periodic+0x48/0xc4) [ 0.008300] [<c0093910>] (tick_periodic+0x48/0xc4) from [<c00939b0>] (tick_handle_periodic+0x24/0x98) [ 0.008331] [<c00939b0>] (tick_handle_periodic+0x24/0x98) from [<c002a104>] (omap2_gp_timer_interrupt+0x24/0x34) [ 0.008361] [<c002a104>] (omap2_gp_timer_interrupt+0x24/0x34) from [<c00acafc>] (handle_irq_event_percpu+0x64/0x244) [ 0.008392] [<c00acafc>] (handle_irq_event_percpu+0x64/0x244) from [<c00acd18>] (handle_irq_event+0x3c/0x5c) [ 0.008422] [<c00acd18>] (handle_irq_event+0x3c/0x5c) from [<c00af8f4>] (handle_fasteoi_irq+0x98/0x13c) [ 0.008422] [<c00af8f4>] (handle_fasteoi_irq+0x98/0x13c) from [<c00aca88>] (generic_handle_irq+0x28/0x30) [ 0.008483] [<c00aca88>] (generic_handle_irq+0x28/0x30) from [<c00154e0>] (handle_IRQ+0x4c/0xac) [ 0.008514] [<c00154e0>] (handle_IRQ+0x4c/0xac) from [<c00084c4>] (gic_handle_irq+0x2c/0x60) [ 0.008544] [<c00084c4>] (gic_handle_irq+0x2c/0x60) from [<c0522364>] (__irq_svc+0x44/0x5c) [ 0.008544] Exception stack(0xc0761f20 to 0xc0761f68) [ 0.008575] 1f20: 0000001a 00000001 c07620c0 ffff6a00 00000000 00000000 c07ebe8c c07620c0 [ 0.008575] 1f40: ffff6a00 c07620c0 00000000 00000000 00000001 c0761f68 c051ab3c c051ab50 [ 0.008575] 1f60: 60000153 ffffffff [ 0.008636] [<c0522364>] (__irq_svc+0x44/0x5c) from [<c051ab50>] (calibrate_delay+0x3a8/0x550) [ 0.008666] [<c051ab50>] (calibrate_delay+0x3a8/0x550) from [<c070e6cc>] (start_kernel+0x268/0x2fc) [ 0.008697] [<c070e6cc>] (start_kernel+0x268/0x2fc) from [<80008078>] (0x80008078) [ 0.101379] 2007.19 BogoMIPS (lpj=7839744) [ 0.101379] pid_max: default: 32768 minimum: 301 [ 0.101867] Security Framework initialized [ 0.102081] Mount-cache hash table entries: 512 [ 0.103698] CPU: Testing write buffer coherency: ok [ 0.104339] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.104675] Setting up static identity map for 0x80527778 - 0x805277e8 [ 0.104736] L310 cache controller enabled [ 0.104736] l2x0: 16 ways, CACHE_ID 0x410000c4, AUX_CTRL 0x7e470000, Cache size: 1048576 B [ 0.107269] CPU1: Booted secondary processor [ 0.174926] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.175018] Brought up 2 CPUs [ 0.175018] SMP: Total of 2 processors activated (4022.78 BogoMIPS). [ 0.175079] CPU0 packing on CPU-1 [ 0.175109] CPU1 packing on CPU-1 [ 0.179840] ttyO2 used as console in debug mode: uart2 clocks will not be gated [ 0.187591] omap_hwmod: l3_instr: _wait_target_disable failed [ 0.242126] pinctrl core: initialized pinctrl subsystem [ 0.243072] regulator-dummy: no parameters [ 0.243499] NET: Registered protocol family 16 [ 0.244873] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.245544] omap-gpmc omap-gpmc: GPMC revision 6.0 [ 0.248992] gpiochip_add: registered GPIOs 0 to 31 on device: gpio [ 0.249084] OMAP GPIO hardware version 0.1 [ 0.249664] gpiochip_add: registered GPIOs 32 to 63 on device: gpio [ 0.250335] gpiochip_add: registered GPIOs 64 to 95 on device: gpio [ 0.250976] gpiochip_add: registered GPIOs 96 to 127 on device: gpio [ 0.251617] gpiochip_add: registered GPIOs 128 to 159 on device: gpio [ 0.252288] gpiochip_add: registered GPIOs 160 to 191 on device: gpio [ 0.254394] omap_mux_init: Add partition: #1: core, flags: 2 [ 0.255462] omap_mux_init: Add partition: #2: wkup, flags: 2 [ 0.255706] _omap_mux_get_by_name: Could not find signal sys_nirq [ 0.255737] _omap_mux_get_by_name: Could not find signal sys_nirq [ 0.258056] _omap_mux_get_by_name: Could not find signal uart1_rx.uart1_rx [ 0.258087] _omap_mux_get_by_name: Could not find signal uart1_rx.uart1_rx [ 0.285980] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.286010] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.291900] OMAP DMA hardware revision 0.0 [ 0.294128] ARM PMU: not yet supported on OMAP4430 due to missing CTI driver [ 0.312683] bio: create slab <bio-0> at 0 [ 0.340423] omap-dma-engine omap-dma-engine: OMAP DMA engine driver [ 0.340789] vwl1271: 1800 mV [ 0.342712] SCSI subsystem initialized [ 0.343963] usbcore: registered new interface driver usbfs [ 0.344146] usbcore: registered new interface driver hub [ 0.344421] usbcore: registered new device driver usb [ 0.356689] Skipping twl internal clock init and using bootloader value (unknown osc rate) [ 0.357574] twl 1-0048: PIH (irq 39) chaining IRQs 418..438 [ 0.358459] VUSB: 3300 mV normal standby [ 0.359008] vdd_mpu: 500 <--> 1500 mV normal [ 0.359466] vdd_iva: 500 <--> 1500 mV normal [ 0.359985] vdd_core: 500 <--> 1500 mV normal [ 0.360717] V1V8: 1800 mV normal standby [ 0.361236] V2V1: 2100 mV normal standby [ 0.361907] VMMC: 1200 <--> 3000 mV at 3000 mV normal standby [ 0.362762] VPP: 1800 <--> 2500 mV at 1900 mV normal standby [ 0.363677] VCXIO: 1800 mV normal standby [ 0.363708] VCXIO: supplied by V2V1 [ 0.364868] VDAC: 1800 mV normal standby [ 0.364898] VDAC: supplied by V2V1 [ 0.365875] VAUX2_6030: 1200 <--> 2800 mV at 1800 mV normal standby [ 0.366668] VAUX3_6030: 1000 <--> 3000 mV at 1200 mV normal standby [ 0.367553] VANA: 2100 mV normal standby [ 0.367889] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 400 kHz [ 0.378723] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 400 kHz [ 0.394348] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz [ 0.409698] omap_i2c omap_i2c.4: bus 4 rev2.4.0 at 400 kHz [ 0.411407] Switching to clocksource 32k_counter [ 0.447662] NET: Registered protocol family 2 [ 0.448364] TCP established hash table entries: 16384 (order: 5, 131072 bytes) [ 0.448699] TCP bind hash table entries: 16384 (order: 7, 589824 bytes) [ 0.449951] TCP: Hash tables configured (established 16384 bind 16384) [ 0.450103] TCP: reno registered [ 0.450134] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.450195] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.450653] NET: Registered protocol family 1 [ 0.451110] RPC: Registered named UNIX socket transport module. [ 0.451110] RPC: Registered udp transport module. [ 0.451110] RPC: Registered tcp transport module. [ 0.451110] RPC: Registered tcp NFSv4.1 backchannel transpo
On 22 December 2012 08:52, kasi viswanathan kasi.acorn@gmail.com wrote:
[ 0.001098] Calibrating delay loop... [ 0.007904] BUG: spinlock bad magic on CPU#0, swapper/0/0 [ 0.007965] lock: atomic64_lock+0xc0/0x400, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0 [ 0.008026] [<c001ccfc>] (unwind_backtrace+0x0/0xf4) from [<c02eba20>] (do_raw_spin_lock+0x1b8/0x1f8) [ 0.008087] [<c02eba20>] (do_raw_spin_lock+0x1b8/0x1f8) from [<c0521a6c>] (_raw_spin_lock_irqsave+0x4c/0x58) [ 0.008117] [<c0521a6c>] (_raw_spin_lock_irqsave+0x4c/0x58) from [<c02f715c>] (atomic64_read+0x28/0x48) [ 0.008148] [<c02f715c>] (atomic64_read+0x28/0x48) from [<c007e1c0>] (update_cfs_rq_blocked_load+0x54/0x11c) [ 0.008148] [<c007e1c0>] (update_cfs_rq_blocked_load+0x54/0x11c) from [<c007e50c>] (task_tick_fair+0x284/0x8b0) [ 0.008209] [<c007e50c>] (task_tick_fair+0x284/0x8b0) from [<c007b0dc>] (scheduler_tick+0xd8/0x140) [ 0.008239] [<c007b0dc>] (scheduler_tick+0xd8/0x140) from [<c0056134>] (update_process_times+0x58/0x68) [ 0.008270] [<c0056134>] (update_process_times+0x58/0x68) from [<c0093910>] (tick_periodic+0x48/0xc4) [ 0.008300] [<c0093910>] (tick_periodic+0x48/0xc4) from [<c00939b0>] (tick_handle_periodic+0x24/0x98) [ 0.008331] [<c00939b0>] (tick_handle_periodic+0x24/0x98) from [<c002a104>] (omap2_gp_timer_interrupt+0x24/0x34) [ 0.008361] [<c002a104>] (omap2_gp_timer_interrupt+0x24/0x34) from [<c00acafc>] (handle_irq_event_percpu+0x64/0x244) [ 0.008392] [<c00acafc>] (handle_irq_event_percpu+0x64/0x244) from [<c00acd18>] (handle_irq_event+0x3c/0x5c) [ 0.008422] [<c00acd18>] (handle_irq_event+0x3c/0x5c) from [<c00af8f4>] (handle_fasteoi_irq+0x98/0x13c) [ 0.008422] [<c00af8f4>] (handle_fasteoi_irq+0x98/0x13c) from [<c00aca88>] (generic_handle_irq+0x28/0x30) [ 0.008483] [<c00aca88>] (generic_handle_irq+0x28/0x30) from [<c00154e0>] (handle_IRQ+0x4c/0xac) [ 0.008514] [<c00154e0>] (handle_IRQ+0x4c/0xac) from [<c00084c4>] (gic_handle_irq+0x2c/0x60) [ 0.008544] [<c00084c4>] (gic_handle_irq+0x2c/0x60) from [<c0522364>] (__irq_svc+0x44/0x5c) [ 0.008544] Exception stack(0xc0761f20 to 0xc0761f68) [ 0.008575] 1f20: 0000001a 00000001 c07620c0 ffff6a00 00000000 00000000 c07ebe8c c07620c0 [ 0.008575] 1f40: ffff6a00 c07620c0 00000000 00000000 00000001 c0761f68 c051ab3c c051ab50 [ 0.008575] 1f60: 60000153 ffffffff [ 0.008636] [<c0522364>] (__irq_svc+0x44/0x5c) from [<c051ab50>] (calibrate_delay+0x3a8/0x550) [ 0.008666] [<c051ab50>] (calibrate_delay+0x3a8/0x550) from [<c070e6cc>] (start_kernel+0x268/0x2fc) [ 0.008697] [<c070e6cc>] (start_kernel+0x268/0x2fc) from [<80008078>] (0x80008078) [ 0.101379] 2007.19 BogoMIPS (lpj=7839744)
The problem was reported here https://lkml.org/lkml/2012/11/26/186 And a patch came in recently https://lkml.org/lkml/2012/12/20/56
linaro-kernel@lists.linaro.org