Unable to handle kernel NULL pointer dereference at virtual address 00000018

Started by teamteck, November 29, 2013, 01:29:05 AM

Previous topic - Next topic

teamteck

Ok, now I have log file.
My board is a20 MICRO 4Gb rev. E.
I'm trying to create linux sd card.
I've downloaded image file from here: https://docs.google.com/file/d/0B-bAEPML8fwlOWVVcUxnSTE4YTg/edit
I'm performing the procedure for windows:
I am following the instructions at wiki page: A20 Article,  5.1 How to generate boot-able SD-card Debian Linux image for A20-OLinuXino? (WINDOWS)
writing is performed correctly. Then I inserted micro SD into the board connector and insert power connector.
Power led is red and led1(GPIO) is green, but nothing happens, the display does not turn on.
I also tried to connect the monitor via HDMI but the result is the same, the monitor does not turn on.



U-Boot SPL 2013.10-rc2-08390-g3d2fc4e (Sep 16 2013 - 11:35:30)
Board: A20-OLinuXino_MICRO
DRAM: 1024 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2013.10-rc2-08390-g3d2fc4e (Sep 16 2013 - 11:35:30) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: A20-OLinuXino_MICRO
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   emac
Hit any key to stop autoboot:  3  2  1  0
reading uEnv.txt
** Unable to read file uEnv.txt **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading boot.scr
** Unable to read file boot.scr **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading script.bin
28156 bytes read in 4 ms (6.7 MiB/s)
reading uImage
5450968 bytes read in 244 ms (21.3 MiB/s)
## Booting kernel from Legacy Image at 48000000 ...
   Image Name:   Linux-3.4.61+
   Created:      2013-09-16  10:39:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5450904 Bytes = 5.2 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

<6>Booting Linux on physical CPU 0

<6>Initializing cgroup subsys cpuset

<6>Initializing cgroup subsys cpu

<5>Linux version 3.4.61+ (root@debian) (gcc version 4.7.1 (Debian 4.7.1-7) ) #2 SMP PREEMPT Mon Sep 16 13:38:46 EEST 2013

CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: sun7i

<6>Memory cut off:

<6> MALI : 0x5c000000 - 0x5fffffff  (  64 MB)

<4>Ignoring unrecognised tag 0x00000000

<6>Memory Reserved:

<6> SYS  : 0x43000000 - 0x4300ffff  (  64 kB)

<6> LCD  : 0x5a000000 - 0x5bffffff  (  32 MB)

Memory policy: ECC disabled, Data cache writealloc

<6>sunxi: Allwinner A20 (AW1651/sun7i) detected.

<7>On node 0 totalpages: 245760

<7>free_area_init_node: node 0, pgdat c0acef40, node_mem_map d0000000

<7>  DMA zone: 512 pages used for memmap

<7>  DMA zone: 0 pages reserved

<7>  DMA zone: 65024 pages, LIFO batch:15

<7>  Normal zone: 1008 pages used for memmap

<7>  Normal zone: 111632 pages, LIFO batch:31

<7>  HighMem zone: 528 pages used for memmap

<7>  HighMem zone: 67056 pages, LIFO batch:15

<6>PERCPU: Embedded 8 pages/cpu @d0808000 s11840 r8192 d12736 u32768

<7>pcpu-alloc: s11840 r8192 d12736 u32768 alloc=8*4096<c>

<7>pcpu-alloc: <c>[0] <c>0 <c>[0] <c>1 <c>

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243712

<5>Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10

<6>PID hash table entries: 4096 (order: 2, 16384 bytes)

<6>Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

<6>Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

<6>allocated 2097152 bytes of page_cgroup

<6>please try 'cgroup_disable=memory' option if you don't want memory cgroups

<6>Memory: 448MB 512MB = 960MB total

<5>Memory: 926476k/926476k available, 56564k reserved, 270336K highmem

<5>Virtual kernel memory layout:

etc. etc.

<3>[cpu_freq] ERR:get cpu max frequency from sysconfig failed

<3>[cpu_freq] ERR:sunxi_cpufreq_initcall, use default cpu max/min frequency, max freq: 1008MHz, min freq: 60MHz

<4>[DISP] lcd1_para.lcd_used not exit



<1>Unable to handle kernel NULL pointer dereference at virtual address 00000018


<1>pgd = c0004000

<1>[00000018] *pgd=00000000

<0>Internal error: Oops: 5 [#1] PREEMPT SMP ARM


etc. etc.

<0>Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b


<2>CPU1: stopping

[<c0017710>] (unwind_backtrace+0x0/0x144) from [<c06d7598>] (dump_stack+0x20/0x24)

[<c06d7598>] (dump_stack+0x20/0x24) from [<c001534c>] (handle_IPI+0x1a4/0x1d8)

[<c001534c>] (handle_IPI+0x1a4/0x1d8) from [<c0008570>] (gic_handle_irq+0x60/0x68)

[<c0008570>] (gic_handle_irq+0x60/0x68) from [<c000efc0>] (__irq_svc+0x40/0x70)

Exception stack(0xef069f60 to 0xef069fa8)

9f60: ffffffed 00000001 0fdbb000 00000000 ef068000 ef068000 c0adb1c8 c06e4ac8

9f80: ef068000 410fc074 c0a6ed50 ef069fb4 ef069fb8 ef069fa8 c0010778 c001077c

9fa0: 60000013 ffffffff

[<c000efc0>] (__irq_svc+0x40/0x70) from [<c001077c>] (default_idle+0x38/0x40)

[<c001077c>] (default_idle+0x38/0x40) from [<c0010b54>] (cpu_idle+0xe0/0x124)

[<c0010b54>] (cpu_idle+0xe0/0x124) from [<c06d45f4>] (secondary_start_kernel+0xf8/0x118)

[<c06d45f4>] (secondary_start_kernel+0xf8/0x118) from [<406d3f94>] (0x406d3f94)

<6>[hotplug]: cpu(0) try to kill cpu(1)

<3>[hotplug]: try to kill cpu:1 failed!

<0>Rebooting in 10 seconds..




Please help me !