On Mon, 03 Mar 2014 21:08:00 +0100
Vivien <miasm...@gmail.com> wrote:

> Hi,
> Since I git pull to lastest version of Linux-Sunxi I can't get a useable 
> kernel each time it crash with `Unable to handle kernel paging request 
> at virtual address e0000020`.
> Anyone have an idea.
> Thanks !
> 
> Full dump:
>         U-Boot SPL 2014.01-rc1-09157-ge4a0232 (Jan 23 2014 - 20:41:10)
> Board: A10-OLinuXino-Lime
> DRAM: 512 MiB
> CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
> spl: not an uImage at 1600
> 
> 
> U-Boot 2014.01-rc1-09157-ge4a0232 (Jan 23 2014 - 20:41:10) Allwinner 
> Technology
> 
> CPU:   Allwinner A10 (SUN4I)
> Board: A10-OLinuXino-Lime
> I2C:   ready
> DRAM:  512 MiB
> 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:  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
> 260608 bytes read in 16 ms (15.5 MiB/s)

260K size of the script.bin file? How did you generate it so big?

> reading uImage
> 4401584 bytes read in 214 ms (19.6 MiB/s)
> ## Booting kernel from Legacy Image at 48000000 ...
>     Image Name:   Linux-3.4.79+
>     Created:      2014-03-03  19:46:19 UTC
>     Image Type:   ARM Linux Kernel Image (uncompressed)
>     Data Size:    4401520 Bytes = 4.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
> <5>Linux version 3.4.79+ (vivien@i7) (gcc version 4.7.2 (Debian 4.7.2-5) 
> ) #8 PREEMPT Mon Mar 3 20:46:09 CET 2014
> CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
> CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
> Machine: sun4i
> <6>Memory Reserved:
> <6>    SYS  : 0x43000000 - 0x4300ffff  (  64 kB)

The SYS memory area is reserved here for the script.bin data. So that
it does not get accidentally overwritten by anything else. And it's
only 64K.

> <6>    VE   : 0x44000000 - 0x48ffffff  (  80 MB)
> <6>    G2D  : 0x49000000 - 0x49ffffff  (  16 MB)
> <6>    LCD  : 0x4a000000 - 0x4bffffff  (  32 MB)
> Memory policy: ECC disabled, Data cache writeback
> <6>sunxi: Allwinner A10 revision C (AW1623/sun4i) detected.
> <7>On node 0 totalpages: 131072
> <7>free_area_init_node: node 0, pgdat c0842b10, 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: 512 pages used for memmap
> <7>  Normal zone: 65024 pages, LIFO batch:15
> <7>pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768<c>
> <7>pcpu-alloc: <c>[0] <c>0 <c>
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
> <5>Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 
> rootwait loglevel=8 panic=10
> <6>PID hash table entries: 2048 (order: 1, 8192 bytes)
> <6>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> <6>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> <6>Memory: 512MB = 512MB total
> <5>Memory: 378328k/378328k available, 145960k reserved, 0K highmem
> <5>Virtual kernel memory layout:
>      vector  : 0xffff0000 - 0xffff1000   (   4 kB)
>      fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
>      vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
>      lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
>      pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
>      modules : 0xbf000000 - 0xbfe00000   (  14 MB)
>        .text : 0xc0008000 - 0xc07b45d4   (7858 kB)
>        .init : 0xc07b5000 - 0xc07e0000   ( 172 kB)
>        .data : 0xc07e0000 - 0xc084dc90   ( 440 kB)
>         .bss : 0xc084dcb4 - 0xc0a092e8   (1774 kB)
> <6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> <6>NR_IRQS:128
> <6>sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
> <6>Console: colour dummy device 80x30
> <6>Calibrating delay loop... <c>1001.88 BogoMIPS (lpj=5009408)
> <6>pid_max: default: 32768 minimum: 301
> <6>Mount-cache hash table entries: 512
> <6>Initializing cgroup subsys cpuacct
> <6>Initializing cgroup subsys devices
> <6>Initializing cgroup subsys freezer
> <6>Initializing cgroup subsys blkio
> <6>CPU: Testing write buffer coherency: ok
> <6>hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters 
> available
> <6>Setting up static identity map for 0x40553850 - 0x405538a8
> <6>devtmpfs: initialized
> <6>dummy:
> <6>NET: Registered protocol family 16
> <6>DMA: preallocated 256 KiB pool for atomic coherent allocations
> <6>hw-breakpoint: debug architecture 0x4 unsupported.
> <6>Init eGon pin module V2.0
> SOFTWINNER DMA Driver, (c) 2003-2004,2006 Simtec Electronics
> <6>Initialize DMAC OK
> <6>bio: create slab <bio-0> at 0
> <5>SCSI subsystem initialized
> <7>libata version 3.00 loaded.
> <6>usbcore: registered new interface driver usbfs
> <6>usbcore: registered new interface driver hub
> <6>usbcore: registered new device driver usb
> <6>Linux video capture interface: v2.00
> <6>Advanced Linux Sound Architecture Driver Version 1.0.25.
> <6>Bluetooth: Core ver 2.16
> <6>NET: Registered protocol family 31
> <6>Bluetooth: HCI device and connection manager initialized
> <6>Bluetooth: HCI socket layer initialized
> <6>Bluetooth: L2CAP socket layer initialized
> <6>Bluetooth: SCO socket layer initialized
> <6>Switching to clocksource aw_64bits_counter
> <5>FS-Cache: Loaded
> <6>cfg80211: Calling CRDA to update world regulatory domain
> <6>CacheFiles: Loaded
> [usb_manager]: CONFIG_USB_SW_SUNXI_USB0_OTG
> <1>Unable to handle kernel paging request at virtual address e0000020
> <1>pgd = c0004000
> <1>[e0000020] *pgd=00000000
> <0>Internal error: Oops: 5 [#1] PREEMPT ARM
> <d>Modules linked in:
> CPU: 0    Not tainted  (3.4.79+ #8)
> PC is at strncmp+0xc/0x74
> LR is at script_parser_fetch+0x68/0x17c

Looks like everything blows up parsing the script.bin data.

-- 
Best regards,
Siarhei Siamashka

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to