0
sanctus

RealTime patch not working with OrangePi Plus 2

Recommended Posts

Hi,

I tryied a few times to run a RT kernel I built from https://github.com/igorpecovnik/lib as discribed in Armbian documentation and as in https://forum.armbian.com/index.php/topic/1950-orange-pi-pc-plus-armbian-guitarix-guitar-effectprocessor/page-2#entry16460.
When executing compile.sh script it patch nice and good, then asks for Preemption Model and I chose 5 for Full Realtime. But when running the kernel into OrangePi it stucks in Starting Kernel.

 

U-boot output:
 

 

U-Boot SPL 2016.09.01-armbian (Nov 08 2016 - 02:42:18)

DRAM: 2048 MiB
Trying to boot from MMC2
 
 
U-Boot 2016.09.01-armbian (Nov 08 2016 - 02:42:18 -0300) Allwinner Technology
 
CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Plus / Plus 2
I2C:   ready
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 1, SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
 
In:    serial
Out:   serial
Err:   serial
Net:   phy interface7
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2613 bytes read in 128 ms (19.5 KiB/s)
## Executing script at 43100000
gpio: pin PL10 (gpio 298) value is 1
gpio: pin PG11 (gpio 203) value is 1
** File not found /boot/.verbose **
** File not found /boot/.next **
** Unrecognized filesystem type **
** File not found .next **
37328 bytes read in 469 ms (77.1 KiB/s)
3139604 bytes read in 282 ms (10.6 MiB/s)
5083776 bytes read in 461 ms (10.5 MiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3139540 Bytes = 3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Using machid 0x1029 from environment
 
Starting kernel ...

I am not choosing 1-4 for preemption model because I don't know if it will end up as an realtime kernel.
The update from the older kernel to the rt one was done by dpkg -i on the deb files from the output/deb folder generated by Igor Pecovnik's scripts.

Share this post


Link to post
Share on other sites

Thank you for the reply.

I will give it a try and then I post results here. Thank you.

Oh, I tryied the low latency mode, option 3, and it works fine. But I need full realtime for timing accurace.

Share this post


Link to post
Share on other sites

Alright,

As I dont have a free SD card at moment, I tryied to run a full img burned with SDFormatter V4.0 into a USB flash device and then run it in uboot with:
 

=> usb start
=> load usb 0 ${ramdisk_addr_r} /boot/uInitrd
=> load usb 0 ${kernel_addr_r} /boot/zImage
=> load usb 0 ${fdt_addr_r} /boot/script.bin
=> bootz ${kernel_addr_r} ${ramdisk_addr_r}

But I ended up with:

 

 

## Loading init Ramdisk from Legacy Image at 43300000 ...

   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3235935 Bytes = 3.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
 
Starting kernel ...
 
 
Error: unrecognized/unsupported machine ID (r1 = 0x00000000).
 
Available machine support:
 
ID (hex)        NAME
00001029        sun8i
 
Please check your kernel config and/or bootloader.

 

I think it may be a corrupted copy of the img file from VM to real machine before burn proccess, that is why I am formatting and burning it again to test.
After that I will post the new results.

If the problem persists I will need help :D

Share this post


Link to post
Share on other sites

"Error: unrecognized/unsupported machine ID (r1 = 0x00000000)"

 

@sanctus

When I see such message in my board's booting, I know I need a good/new SD and perform a new SD write with etcher..

Share this post


Link to post
Share on other sites

Thank you guys.

And tkaiser, I tryied what you mentioned and the works. But the booting proccess stuck in the same place as simple updating kernel by deb files.

 

 

U-Boot SPL 2016.09.01-armbian (Nov 13 2016 - 21:27:04)

DRAM: 2048 MiB
Trying to boot from MMC2
 
 
U-Boot 2016.09.01-armbian (Nov 13 2016 - 21:27:04 -0300) Allwinner Technology
 
CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Plus / Plus 2
I2C:   ready
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 1, SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
 
In:    serial
Out:   serial
Err:   serial
Net:   phy interface7
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
=> setenv bootargs console=ttyS0,115200 root=/dev/sda2 rootwait
=> setenv machid 1029
=> setenv bootm_boot_mode sec
=> usb start
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning bus 1 for devices... Device NOT ready
   Request Sense returned 02 3A 00
2 USB Device(s) found
=> load usb 0 ${ramdisk_addr_r} /boot/uInitrd
3235999 bytes read in 432 ms (7.1 MiB/s)
=> load usb 0 ${kernel_addr_r} /boot/zImage
5088088 bytes read in 616 ms (7.9 MiB/s)
=> bootz ${kernel_addr_r} ${ramdisk_addr_r}
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3235935 Bytes = 3.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Using machid 0x1029 from environment
 
Starting kernel ...
 

Share this post


Link to post
Share on other sites

Thank you Igor,

I tryied that too now but it continues to stuck at Starting Kernel...
 

 

U-Boot SPL 2016.09.01-armbian (Nov 13 2016 - 21:27:04)

DRAM: 2048 MiB
Trying to boot from MMC2
 
 
U-Boot 2016.09.01-armbian (Nov 13 2016 - 21:27:04 -0300) Allwinner Technology
 
CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Plus / Plus 2
I2C:   ready
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 1, SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
 
In:    serial
Out:   serial
Err:   serial
Net:   phy interface7
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
=> setenv bootargs 'console=ttyS0,115200 root=/dev/usb0 rootwait'
=> setenv machid 1029
=> setenv bootm_boot_mode sec
=> usb start
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
scanning bus 1 for devices... Device NOT ready
   Request Sense returned 02 3A 00
2 USB Device(s) found
=> load usb 0 ${ramdisk_addr_r} /boot/uInitrd
3235999 bytes read in 431 ms (7.2 MiB/s)
=> load usb 0 ${kernel_addr_r} /boot/zImage
5088088 bytes read in 615 ms (7.9 MiB/s)
=> load usb 0 ${fdt_addr_r} /boot/script.bin
37328 bytes read in 539 ms (67.4 KiB/s)
=> bootz ${kernel_addr_r} ${ramdisk_addr_r}
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3235935 Bytes = 3.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Using machid 0x1029 from environment
 
Starting kernel ...
 
 

I really think it have something related to RT kernel as I can start Low Latency kernel without any problems.

Share this post


Link to post
Share on other sites

That means that kernel crashed somewhere at the beginning. It happened to me when I was adjusting CMA (ION) memory size. You may have luck with enabling earlyprintk. Note that it must be enabled in kernel config and in kernel arguments.

Share this post


Link to post
Share on other sites

Thank you jernej,

 

As you had mentioned, I made same thing as before but now with earlyprintk. That produces the following results:

 

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.113-rt143-sun8i (root@ubuntu) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #36 SMP PREEMPT RT Mon Nov 14 16:46:55 BRT 2016
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Truncating RAM at 40000000-bfffffff to -6f7fffff (vmalloc region overlap).
[    0.000000] cma: CMA: reserved 256 MiB at b0000000
[    0.000000] PERCPU: Embedded 9 pages/cpu @c1187000 s12608 r8192 d16064 u36864
[    0.000000] Kernel command line: root=/dev/sdb1 rw console=ttyS0,115200 earlyprintk rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1572864 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 7004160 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 760MB = 760MB total
[    0.000000] Memory: 748072k/748072k available, 30168k 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 : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc09795a0   (9670 kB)
[    0.000000]       .init : 0xc097a000 - 0xc09d5140   ( 365 kB)
[    0.000000]       .data : 0xc09d6000 - 0xc0a4c030   ( 473 kB)
[    0.000000]        .bss : 0xc0a4c7e4 - 0xc0b7c608   (1216 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:544
[    0.000000] kmemleak: Kernel memory leak detector disabled
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] kmemleak: Early log buffer exceeded (1293), please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[    0.120000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.120000] pid_max: default: 32768 minimum: 301
[    0.120000] Mount-cache hash table entries: 512
[    0.120000] Initializing cgroup subsys cpuacct
[    0.120000] Initializing cgroup subsys memory
[    0.120000] Initializing cgroup subsys devices
[    0.120000] Initializing cgroup subsys freezer
[    0.120000] Initializing cgroup subsys blkio
[    0.120000] Initializing cgroup subsys perf_event
[    0.120000] CPU: Testing write buffer coherency: ok
[    0.120000] ftrace: allocating 25761 entries in 76 pages
[    0.150327] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.272688] [sunxi_smp_prepare_cpus] enter
[    0.276881] Setting up static identity map for 0x406ab4d8 - 0x406ab530
[    0.284904] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.290236] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.290795] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.300201] Brought up 4 CPUs
[    0.314769] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
[    0.322034] devtmpfs: initialized
[    0.330729] wakeup src cnt is : 2.
[    0.330825] sunxi pm init
[    0.331529] pinctrl core: initialized pinctrl subsystem
[    0.336759] ------------[ cut here ]------------
[    0.341323] WARNING: at drivers/base/dma-contiguous.c:153 cma_init_reserved_areas+0xbc/0x204()
[    0.350186] ---[ end trace 0000000000000001 ]---
[    0.354634] ------------[ cut here ]------------
[    0.359319] WARNING: at drivers/base/dma-contiguous.c:160 cma_init_reserved_areas+0x120/0x204()
[    0.368216] ---[ end trace 0000000000000002 ]---
[    0.373007] NET: Registered protocol family 16
[    0.377398] DMA: failed to allocate 2048 KiB pool for atomic coherent allocation
[    0.384708] script_sysfs_init success
[    0.389439] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
[    0.397550] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.402858] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.410041] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.416091] script config pll_video to 297 Mhz
[    0.420400] script config pll_de to 864 Mhz
[    0.424659] script config pll_ve to 402 Mhz
[    0.437245] bio: create slab <bio-0> at 0
[    0.437716] [ARISC] :sunxi-arisc driver v1.04
[    0.458072] [ARISC] :arisc version: [v0.1.58]
[    0.548293] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
[    0.550857] SCSI subsystem initialized
[    0.551856] usbcore: registered new interface driver usbfs
[    0.557212] usbcore: registered new interface driver hub
[    0.563482] usbcore: registered new device driver usb
[    0.568624] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[    0.574191] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[    0.579909] twi_chan_cfg()340 - [twi2] has no twi_regulator.
[    0.586739] Linux video capture interface: v2.00
[    0.590638] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.597757] cfg80211: Calling CRDA to update world regulatory domain
[    0.603317] Switching to clocksource arch_sys_counter
[    0.624790] FS-Cache: Loaded
[    0.625143] CacheFiles: Loaded
[    0.639272] NET: Registered protocol family 2
[    0.650953] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.653306] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.661814] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)
[    0.672824] TCP: Hash tables configured (established 131072 bind 65536)
[    0.673891] TCP: reno registered
[    0.677206] UDP hash table entries: 512 (order: 3, 40960 bytes)
[    0.683268] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[    0.690246] NET: Registered protocol family 1
[    0.694548] RPC: Registered named UNIX socket transport module.
[    0.699975] RPC: Registered udp transport module.
[    0.704744] RPC: Registered tcp transport module.
[    0.709508] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.716306] Trying to unpack rootfs image as initramfs...
[    0.926048] Freeing initrd memory: 3160K
[    0.926349] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available
[    0.932724] sunxi_reg_init enter
[    0.936951] audit: initializing netlink socket (disabled)
[    0.941412] type=2000 audit(0.940:1): initialized
[    0.948581] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.953172] NFS: Registering the id_resolver key type
[    0.957597] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.963865] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.971899] NTFS driver 2.1.30 [Flags: R/W].
[    0.974990] fuse init (API version 7.18)
[    0.979584] Btrfs loaded
[    0.981219] msgmni has been set to 1467
[    0.986784] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.992557] io scheduler noop registered
[    0.996535] io scheduler deadline registered
[    1.000957] io scheduler cfq registered (default)
[    1.006161] [DISP]disp_module_init
[    1.009486] cmdline,init_disp=
[    1.012242] cmdline,disp=
[    1.015305] sunxi_buf_alloc(134) err: alloc size 0x708000 failed!
[    1.021065] [DISP] disp_malloc,line:576:disp_malloc fail, size=0x708000
[    1.027735] [DISP] Fb_map_video_memory,line:154:disp_malloc fail!
[    1.033890] [DISP] Fb_map_kernel_logo,line:932:Fb_map_kernel_logo failed!
And the commands for UBoot:

setenv bootargs 'root=/dev/sdb1 rw console=ttyS0,115200 earlyprintk rootwait'
setenv machid 1029
setenv bootm_boot_mode sec
  
usb start
load usb 0 ${ramdisk_addr_r} /boot/uInitrd
load usb 0 ${kernel_addr_r} /boot/zImage
load usb 0 ${fdt_addr_r} /boot/script.bin
bootz ${kernel_addr_r} ${ramdisk_addr_r}
Edit:

Well, I ran the following sequence of commands to start kernel:

setenv load_addr "0x44000000"

usb start

part uuid usb 0:1 partuuid

load usb 0 ${load_addr} /boot/armbianEnv.txt
env import -t ${load_addr} ${filesize}

setenv bootargs "root=/dev/sdb1 rw rootwait rootfstype=ext4 console=ttyS0,115200 earlyprintk cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=7 ubootpart=${partuuid} ${extraargs} ${extraboardargs} sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16"

setenv machid 1029
setenv bootm_boot_mode sec

load usb 0 ${ramdisk_addr_r} /boot/uInitrd
load usb 0 ${kernel_addr_r} /boot/zImage
load usb 0 ${fdt_addr_r} /boot/script.bin
bootz ${kernel_addr_r} ${ramdisk_addr_r}
And after a litle more time waiting:

 

 

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.113-rt143-sun8i (root@ubuntu) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #36 SMP PREEMPT RT Mon Nov 14 16:46:55 BRT 2016
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Truncating RAM at 40000000-bfffffff to -6f7fffff (vmalloc region overlap).
[    0.000000] cma: CMA: reserved 256 MiB at b0000000
[    0.000000] PERCPU: Embedded 9 pages/cpu @c1187000 s12608 r8192 d16064 u36864
[    0.000000] Kernel command line: root=/dev/sdb1 rw rootwait rootfstype=ext4 console=ttyS0,115200 earlyprintk cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=7 ubootpart=01327fb0-01   sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1572864 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 7004160 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 760MB = 760MB total
[    0.000000] Memory: 748072k/748072k available, 30168k 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 : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc09795a0   (9670 kB)
[    0.000000]       .init : 0xc097a000 - 0xc09d5140   ( 365 kB)
[    0.000000]       .data : 0xc09d6000 - 0xc0a4c030   ( 473 kB)
[    0.000000]        .bss : 0xc0a4c7e4 - 0xc0b7c608   (1216 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:544
[    0.000000] kmemleak: Kernel memory leak detector disabled
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] kmemleak: Early log buffer exceeded (1293), please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[    0.120000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.120000] pid_max: default: 32768 minimum: 301
[    0.120000] Mount-cache hash table entries: 512
[    0.120000] Initializing cgroup subsys cpuacct
[    0.120000] Initializing cgroup subsys memory
[    0.120000] Initializing cgroup subsys devices
[    0.120000] Initializing cgroup subsys freezer
[    0.120000] Initializing cgroup subsys blkio
[    0.120000] Initializing cgroup subsys perf_event
[    0.120000] CPU: Testing write buffer coherency: ok
[    0.120000] ftrace: allocating 25761 entries in 76 pages
[    0.150324] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.293900] [sunxi_smp_prepare_cpus] enter
[    0.298094] Setting up static identity map for 0x406ab4d8 - 0x406ab530
[    0.306116] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.310769] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.310889] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.320202] Brought up 4 CPUs
[    0.335796] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
[    0.343057] devtmpfs: initialized
[    0.352455] wakeup src cnt is : 2.
[    0.352549] sunxi pm init
[    0.353255] pinctrl core: initialized pinctrl subsystem
[    0.358483] ------------[ cut here ]------------
[    0.363044] WARNING: at drivers/base/dma-contiguous.c:153 cma_init_reserved_areas+0xbc/0x204()
[    0.371866] ---[ end trace 0000000000000001 ]---
[    0.376356] ------------[ cut here ]------------
[    0.381033] WARNING: at drivers/base/dma-contiguous.c:160 cma_init_reserved_areas+0x120/0x204()
[    0.389937] ---[ end trace 0000000000000002 ]---
[    0.394732] NET: Registered protocol family 16
[    0.399470] DMA: failed to allocate 2048 KiB pool for atomic coherent allocation
[    0.406428] script_sysfs_init success
[    0.411149] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
[    0.419291] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.424929] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.431734] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.437815] script config pll_video to 297 Mhz
[    0.442124] script config pll_de to 864 Mhz
[    0.446384] script config pll_ve to 402 Mhz
[    0.459294] bio: create slab <bio-0> at 0
[    0.459762] [ARISC] :sunxi-arisc driver v1.04
[    0.480073] [ARISC] :arisc version: [v0.1.58]
[    0.570305] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
[    0.572838] SCSI subsystem initialized
[    0.572838] usbcore: registered new interface driver usbfs
[    0.580117] usbcore: registered new interface driver hub
[    0.585510] usbcore: registered new device driver usb
[    0.590641] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[    0.596214] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[    0.601924] twi_chan_cfg()340 - [twi2] has no twi_regulator.
[    0.608759] Linux video capture interface: v2.00
[    0.612654] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.619785] cfg80211: Calling CRDA to update world regulatory domain
[    0.625339] Switching to clocksource arch_sys_counter
[    0.654797] FS-Cache: Loaded
[    0.655152] CacheFiles: Loaded
[    0.669276] NET: Registered protocol family 2
[    0.680925] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.683273] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.691789] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)
[    0.702822] TCP: Hash tables configured (established 131072 bind 65536)
[    0.703890] TCP: reno registered
[    0.707210] UDP hash table entries: 512 (order: 3, 40960 bytes)
[    0.713271] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[    0.720301] NET: Registered protocol family 1
[    0.724554] RPC: Registered named UNIX socket transport module.
[    0.729974] RPC: Registered udp transport module.
[    0.734745] RPC: Registered tcp transport module.
[    0.739508] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.746307] Trying to unpack rootfs image as initramfs...
[    0.956122] Freeing initrd memory: 3160K
[    0.956772] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available
[    0.962795] sunxi_reg_init enter
[    0.967034] audit: initializing netlink socket (disabled)
[    0.971484] type=2000 audit(0.970:1): initialized
[    0.978658] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.983251] NFS: Registering the id_resolver key type
[    0.987652] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.993939] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.001995] NTFS driver 2.1.30 [Flags: R/W].
[    1.005060] fuse init (API version 7.18)
[    1.009665] Btrfs loaded
[    1.011290] msgmni has been set to 1467
[    1.016872] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    1.022630] io scheduler noop registered
[    1.026609] io scheduler deadline registered
[    1.031031] io scheduler cfq registered (default)
[    1.036243] [DISP]disp_module_init
[    1.039562] cmdline,init_disp=
[    1.042318] cmdline,disp=
[    1.045379] sunxi_buf_alloc(134) err: alloc size 0x708000 failed!
[    1.051139] [DISP] disp_malloc,line:576:disp_malloc fail, size=0x708000
[    1.057808] [DISP] Fb_map_video_memory,line:154:disp_malloc fail!
[    1.063964] [DISP] Fb_map_kernel_logo,line:932:Fb_map_kernel_logo failed!
[    1.071224] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    1.071237] pgd = c0004000
[    1.071243] [00000000] *pgd=00000000
[    1.071256] sunxi oops: enable sdcard JTAG interface
[    1.071263] sunxi oops: cpu frequency: 1008 MHz
[    1.071271] sunxi oops: ddr frequency: 624 MHz
[    1.071277] sunxi oops: gpu frequency: 105 MHz
[    1.071284] sunxi oops: cpu temperature: 217
[    1.071291] Internal error: Oops: 805 [#1] PREEMPT SMP ARM
[    1.071301] Modules linked in:
[    1.071312] CPU: 1    Tainted: G        W     (3.4.113-rt143-sun8i #36)
[    1.071332] PC is at cfb_imageblit+0x1ec/0x444
[    1.071341] LR is at 0x7
[    1.071350] pc : [<c040d418>]    lr : [<00000007>]    psr: 20000013
[    1.071356] sp : ef0879a8  ip : 00000000  fp : ef0879fc
[    1.071363] r10: 00000004  r9 : 0000000f  r8 : 00000000
[    1.071373] r7 : 00000001  r6 : ee104c00  r5 : ee13a000  r4 : 00000000
[    1.071382] r3 : 00000007  r2 : 00000000  r1 : ee13a000  r0 : 00000000
[    1.071393] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    1.071405] Control: 10c5387d  Table: 4000406a  DAC: 00000015
[    1.071413]
[    1.071416] PC: 0xc040d398:
[    1.071420] d398  251b1038 21818a18 2afffff9 e1a01007 e1e02712 e0233008 e50b2034 e50b3038
[    1.071439] d3b8  ebfe0ad2 e599900c e50b0040 e2599001 3a0000a4 e51be040 e1a0c004 e1a01005
[    1.071458] d3d8  e3a03008 e25ee001 3a00000f e5d12000 e0433007 e51b0034 e3530000 e28ca004
[    1.071477] d3f8  02811001 e0002352 e51b0030 03a03008 e7902102 e51b0038 e0022000 e0222008
[    1.071496] d418  e58c2000 e1a0c00a eaffffed e5963108 e0844003 e51b303c e0855003 eaffffe2
[    1.071514] d438  e5962108 e1a08004 e599700c e50b2044 e26a2020 e50b204c e5992008 e2822007
[    1.071533] d458  e1a021a2 e50b2050 e599201c e50b2040 e51b2044 e1a02102 e50b2054 e2577001
[    1.071552] d478  3a000078 e3530000 e599e008 e1a00004 e3a0c008 15942000 13e01000 01a02003
[    1.071572]
[    1.071574] SP: 0xef087928:
[    1.071579] 7928  00000000 00000000 00000000 00000000 c0a47440 c00fb170 c040d418 20000013
[    1.071596] 7948  ffffffff ef087994 ef0879fc ef087960 c000dad8 c0008370 00000000 ee13a000
[    1.071615] 7968  00000000 00000007 00000000 ee13a000 ee104c00 00000001 00000000 0000000f
[    1.071632] 7988  00000004 ef0879fc 00000000 ef0879a8 00000007 c040d418 20000013 ffffffff
[    1.071650] 79a8  ee148f40 ef086000 ef0879fc ef0879c0 c011877c 00000008 00000001 00000000
[    1.071668] 79c8  00000001 c074b100 ef0879fc ee148f40 ee104c00 00000001 ef087a50 00000010
[    1.071686] 79e8  00000001 ee13a000 ef087a3c ef087a00 c03de590 c040d238 00000010 ef087a10
[    1.071704] 7a08  c03dddd8 ee148f78 ef087a2c ee109600 ef012400 ee0fd68e c0746ef4 ffffffff
[    1.071724]
[    1.071726] FP: 0xef08797c:
[    1.071731] 797c  00000001 00000000 0000000f 00000004 ef0879fc 00000000 ef0879a8 00000007
[    1.071748] 799c  c040d418 20000013 ffffffff ee148f40 ef086000 ef0879fc ef0879c0 c011877c
[    1.071767] 79bc  00000008 00000001 00000000 00000001 c074b100 ef0879fc ee148f40 ee104c00
[    1.071785] 79dc  00000001 ef087a50 00000010 00000001 ee13a000 ef087a3c ef087a00 c03de590
[    1.071803] 79fc  c040d238 00000010 ef087a10 c03dddd8 ee148f78 ef087a2c ee109600 ef012400
[    1.071821] 7a1c  ee0fd68e c0746ef4 ffffffff ee104c00 00000000 ef087ac4 ef087a40 c03ddf2c
[    1.071840] 7a3c  c03de3f0 ef087a5c 00000000 00000002 00000002 00000031 ef080001 ee0fd680
[    1.071857] 7a5c  00000000 00000000 00000000 00000008 00000010 00000000 00000000 ef087a01
[    1.071875]
[    1.071877] R1: 0xee139f80:
[    1.071882] 9f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.071899] 9fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.071915] 9fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.071931] 9fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.071947] a000  00000000 00000000 00000000 00000000 ffffffff ffffffff ffffffff ffffffff
[    1.071964] a020  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    1.071983] a040  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    1.072001] a060  ffffffff ffffffff ffffffff fffffdff ffffffff ffffffff ffffffff ffffffff
[    1.072021]
[    1.072024] R5: 0xee139f80:
[    1.072028] 9f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.072045] 9fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.072061] 9fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.072077] 9fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.072093] a000  00000000 00000000 00000000 00000000 ffffffff ffffffff ffffffff ffffffff
[    1.072111] a020  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    1.072129] a040  ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    1.072149] a060  ffffffff ffffffff ffffffff fffffdff ffffffff ffffffff ffffffff ffffffff
[    1.072168]
[    1.072171] R6: 0xee104b80:
[    1.072175] 4b80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.072191] 4ba0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.072207] 4bc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.072223] 4be0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.072239] 4c00  00000001 00000000 00000000 00000000 00000000 ee104c14 ee104c14 ef085940
[    1.072256] 4c20  00000000 00000000 00000000 ee104c2c ee104c2c 00000000 00000000 00000500
[    1.072273] 4c40  000002d0 00000500 000005a0 00000000 00000000 00000020 00000000 00000010
[    1.072290] 4c60  00000008 00000000 00000008 00000008 00000000 00000000 00000008 00000000
[    1.072310] Process swapper/0 (pid: 1, stack limit = 0xef0862f8)
[    1.072320] Stack: (0xef0879a8 to 0xef088000)
[    1.072332] 79a0:                   ee148f40 ef086000 ef0879fc ef0879c0 c011877c 00000008
[    1.072348] 79c0: 00000001 00000000 00000001 c074b100 ef0879fc ee148f40 ee104c00 00000001
[    1.072365] 79e0: ef087a50 00000010 00000001 ee13a000 ef087a3c ef087a00 c03de590 c040d238
[    1.072381] 7a00: 00000010 ef087a10 c03dddd8 ee148f78 ef087a2c ee109600 ef012400 ee0fd68e
[    1.072398] 7a20: c0746ef4 ffffffff ee104c00 00000000 ef087ac4 ef087a40 c03ddf2c c03de3f0
[    1.072413] 7a40: ef087a5c 00000000 00000002 00000002 00000031 ef080001 ee0fd680 00000000
[    1.072429] 7a60: 00000000 00000000 00000008 00000010 00000000 00000000 ef087a01 c0746ef4
[    1.072445] 7a80: c03ee0b0 c03edd40 ee104c00 ee104c00 ee0fcc00 c03d87c0 ef087ac4 ef012400
[    1.072461] 7aa0: ee104c00 00000002 00000000 c03ddb1c 00000000 00000000 ef087afc ef087ac8
[    1.072477] 7ac0: c03d8c7c c03ddb28 00000000 00000000 ffffffff ef012400 c0b5eeb4 00000000
[    1.072493] 7ae0: 0000002d 00000000 00000000 00000000 ef087b1c ef087b00 c0424c98 c03d8b48
[    1.072509] 7b00: ef012400 00000000 00000000 0000002d ef087b44 ef087b20 c04265e0 c0424c60
[    1.072525] 7b20: ef012400 00000000 c0b581e0 0000002d 00000000 00000000 ef087b94 ef087b48
[    1.072540] 7b40: c03dc3a8 c04264f4 00000000 c0b581e0 00000000 00000000 00000000 00000000
[    1.072556] 7b60: ee104c00 00000720 ee109600 ef012400 ee104c00 c0b581e0 ee109600 ef012400
[    1.072573] 7b80: c0b581e0 0000002d ef087be4 ef087b98 c03dc80c c03dc134 000000a0 0000002d
[    1.072588] 7ba0: 00000000 0000002d 000000a0 00000000 000000a0 00000001 ef087bd4 ef012400
[    1.072604] 7bc0: ef012524 00000000 c0746650 00000000 ef012400 00000000 ef087c04 ef087be8
[    1.072620] 7be0: c0424ed8 c03dc464 00000000 00000000 00000001 c0746650 ef087c4c ef087c08
[    1.072636] 7c00: c04270dc c0424e38 c0425518 c00815ac 00000000 00000001 0000003e c087f1af
[    1.072652] 7c20: ef087c84 00000000 c0746650 00000000 0000003e 00000001 ee104e2c c0b581d8
[    1.072669] 7c40: ef087c74 ef087c50 c0427258 c0426ee8 c0a1d9a0 c0b581e0 00000000 ef087d58
[    1.072685] 7c60: 00000000 ee104e2c ef087c8c ef087c78 c03dc904 c042721c c0a1d9a0 00000000
[    1.072701] 7c80: ef087cc4 ef087c90 c03dd110 c03dc8a8 ef002440 ef086000 ef087cbc ffffffff
[    1.072718] 7ca0: 00000000 00000005 ef087d58 00000000 ee104e2c c0b581d8 ef087cec ef087cc8
[    1.072734] 7cc0: c0051694 c03dcdc0 c0a1d9d0 c0a1d898 00000005 ef087d58 ffffffff ee104e2c
[    1.072750] 7ce0: ef087d1c ef087cf0 c0051a8c c0051650 00000000 c06ab410 c0a029b8 ee104c00
[    1.072767] 7d00: 00000000 00000000 c09fcaf0 ee104c0c ef087d34 ef087d20 c0051acc c0051a44
[    1.072783] 7d20: 00000000 00000000 ef087d44 ef087d38 c03d3194 c0051ab0 ef087dc4 ef087d48
[    1.072799] 7d40: c03d4c00 c03d317c c087ed96 00000000 00000000 ee104c24 ee104c00 00000000
[    1.072814] 7d60: 00000000 00000000 00000500 000002d0 00000000 00000000 00000000 00000000
[    1.072829] 7d80: 00000000 00000000 00000000 00000000 00000000 00000020 c0b5a230 c0b5a3e0
[    1.072845] 7da0: c0b5a3fc c0b5a028 c0b5a020 c0b5a028 0000001a c087f5b5 ef087e14 ef087dc8
[    1.072861] 7dc0: c03e304c c03d49f4 c0a1e0e4 ef087dd0 00000000 00000000 00000002 00000500
[    1.072877] 7de0: 000002d0 00000500 000002d0 c03e81d4 c0b59fb8 00000002 c0a1dac0 c0b5a070
[    1.072894] 7e00: 00000002 c087f5b5 ef087e64 ef087e18 c069b2d8 c03e2ce4 ee0fb8c8 00000000
[    1.072909] 7e20: c0a1dac8 00000000 00000000 00000000 00000000 00000000 ef087e54 c0a1dac8
[    1.072925] 7e40: c0b608a0 c0a1da84 c0a1da84 00000000 c0a4c800 00000000 ef087e74 ef087e68
[    1.072942] 7e60: c043f054 c069a77c ef087e9c ef087e78 c043dc28 c043f03c c0a1dac8 c0a1dafc
[    1.072958] 7e80: c0a1da84 c0a27518 00000000 c0a4c800 ef087ebc ef087ea0 c043de30 c043db64
[    1.072975] 7ea0: 00000000 c0a1da84 c043ddb8 c0a27518 ef087ee4 ef087ec0 c043c044 c043ddc4
[    1.072991] 7ec0: ef113674 ee0f260c c0392fc4 c0a1da84 ee0f2540 00000000 ef087ef4 ef087ee8
[    1.073008] 7ee0: c043d6e8 c043bfd4 ef087f24 ef087ef8 c043d28c c043d6cc c087f8c9 c0992d24
[    1.073024] 7f00: ef087f24 c0a1da84 c087f8c9 00000000 c0992d24 00000000 ef087f44 ef087f28
[    1.073040] 7f20: c043e43c c043d1a4 00000000 c087f8c9 00000000 c0992d24 ef087f54 ef087f48
[    1.073057] 7f40: c043f520 c043e39c ef087f7c ef087f58 c0992e0c c043f4d8 c087f8c9 c043e39c
[    1.073074] 7f60: 00000007 00000007 c0a4c800 ef086000 ef087fbc ef087f80 c000867c c0992d30
[    1.073089] 7f80: 00000006 00000006 000000db c08e8f38 c007e160 00000007 000000db 00000007
[    1.073106] 7fa0: 000000db c0a4c800 c09d1884 c09a9744 ef087ff4 ef087fc0 c097aa7c c00085e0
[    1.073122] 7fc0: 00000006 00000006 c097a284 00000013 00000000 c097a8e4 c000f1d0 00000013
[    1.073138] 7fe0: 00000000 00000000 00000000 ef087ff8 c000f1d0 c097a8f0 ffffffff ffffffff
[    1.073168] [<c040d418>] (cfb_imageblit+0x1ec/0x444) from [<c03de590>] (soft_cursor+0x1ac/0x1b8)
[    1.073188] [<c03de590>] (soft_cursor+0x1ac/0x1b8) from [<c03ddf2c>] (bit_cursor+0x410/0x43c)
[    1.073208] [<c03ddf2c>] (bit_cursor+0x410/0x43c) from [<c03d8c7c>] (fbcon_cursor+0x140/0x15c)
[    1.073231] [<c03d8c7c>] (fbcon_cursor+0x140/0x15c) from [<c0424c98>] (hide_cursor+0x44/0xa0)
[    1.073252] [<c0424c98>] (hide_cursor+0x44/0xa0) from [<c04265e0>] (redraw_screen+0xf8/0x228)
[    1.073271] [<c04265e0>] (redraw_screen+0xf8/0x228) from [<c03dc3a8>] (fbcon_prepare_logo+0x280/0x330)
[    1.073289] [<c03dc3a8>] (fbcon_prepare_logo+0x280/0x330) from [<c03dc80c>] (fbcon_init+0x3b4/0x444)
[    1.073308] [<c03dc80c>] (fbcon_init+0x3b4/0x444) from [<c0424ed8>] (visual_init+0xac/0xfc)
[    1.073327] [<c0424ed8>] (visual_init+0xac/0xfc) from [<c04270dc>] (do_bind_con_driver+0x200/0x334)
[    1.073348] [<c04270dc>] (do_bind_con_driver+0x200/0x334) from [<c0427258>] (do_take_over_console+0x48/0x50)
[    1.073368] [<c0427258>] (do_take_over_console+0x48/0x50) from [<c03dc904>] (do_fbcon_takeover+0x68/0xc8)
[    1.073386] [<c03dc904>] (do_fbcon_takeover+0x68/0xc8) from [<c03dd110>] (fbcon_event_notify+0x35c/0x730)
[    1.073409] [<c03dd110>] (fbcon_event_notify+0x35c/0x730) from [<c0051694>] (notifier_call_chain+0x50/0x78)
[    1.073432] [<c0051694>] (notifier_call_chain+0x50/0x78) from [<c0051a8c>] (__blocking_notifier_call_chain+0x54/0x6c)
[    1.073455] [<c0051a8c>] (__blocking_notifier_call_chain+0x54/0x6c) from [<c0051acc>] (blocking_notifier_call_chain+0x28/0x30)
[    1.073477] [<c0051acc>] (blocking_notifier_call_chain+0x28/0x30) from [<c03d3194>] (fb_notifier_call_chain+0x24/0x2c)
[    1.073500] [<c03d3194>] (fb_notifier_call_chain+0x24/0x2c) from [<c03d4c00>] (register_framebuffer+0x218/0x26c)
[    1.073521] [<c03d4c00>] (register_framebuffer+0x218/0x26c) from [<c03e304c>] (fb_init+0x374/0x3c8)
[    1.073544] [<c03e304c>] (fb_init+0x374/0x3c8) from [<c069b2d8>] (disp_probe+0xb68/0xd1c)
[    1.073568] [<c069b2d8>] (disp_probe+0xb68/0xd1c) from [<c043f054>] (platform_drv_probe+0x24/0x28)
[    1.073590] [<c043f054>] (platform_drv_probe+0x24/0x28) from [<c043dc28>] (driver_probe_device+0xd0/0x20c)
[    1.073611] [<c043dc28>] (driver_probe_device+0xd0/0x20c) from [<c043de30>] (__driver_attach+0x78/0x9c)
[    1.073631] [<c043de30>] (__driver_attach+0x78/0x9c) from [<c043c044>] (bus_for_each_dev+0x7c/0xa0)
[    1.073651] [<c043c044>] (bus_for_each_dev+0x7c/0xa0) from [<c043d6e8>] (driver_attach+0x28/0x30)
[    1.073671] [<c043d6e8>] (driver_attach+0x28/0x30) from [<c043d28c>] (bus_add_driver+0xf4/0x230)
[    1.073691] [<c043d28c>] (bus_add_driver+0xf4/0x230) from [<c043e43c>] (driver_register+0xac/0x124)
[    1.073710] [<c043e43c>] (driver_register+0xac/0x124) from [<c043f520>] (platform_driver_register+0x54/0x68)
[    1.073732] [<c043f520>] (platform_driver_register+0x54/0x68) from [<c0992e0c>] (disp_module_init+0xe8/0x134)
[    1.073754] [<c0992e0c>] (disp_module_init+0xe8/0x134) from [<c000867c>] (do_one_initcall+0xa8/0x164)
[    1.073776] [<c000867c>] (do_one_initcall+0xa8/0x164) from [<c097aa7c>] (kernel_init+0x198/0x284)
[    1.073797] [<c097aa7c>] (kernel_init+0x198/0x284) from [<c000f1d0>] (kernel_thread_exit+0x0/0x8)
[    1.073814] Code: e7902102 e51b0038 e0022000 e0222008 (e58c2000)
[    1.073827] ---[ end trace 0000000000000003 ]---
[    1.073882] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.073890]
[    1.073902] CPU2: stopping
[    1.073924] [<c0016a90>] (unwind_backtrace+0x0/0xe8) from [<c06a19d0>] (dump_stack+0x20/0x24)
[    1.073943] [<c06a19d0>] (dump_stack+0x20/0x24) from [<c0014198>] (handle_IPI+0x114/0x2f0)
[    1.073961] [<c0014198>] (handle_IPI+0x114/0x2f0) from [<c0008554>] (gic_handle_irq+0x64/0x6c)
[    1.073980] [<c0008554>] (gic_handle_irq+0x64/0x6c) from [<c000db40>] (__irq_svc+0x40/0x74)
[    1.073991] Exception stack(0xef0fff68 to 0xef0fffb0)
[    1.074003] ff60:                   c1199cd8 c09fb590 0000000f 00000000 ef0fe000 00000002
[    1.074020] ff80: ef0fe000 c0a4cb64 4000406a 410fc075 00000000 ef0fffbc ef0fffc0 ef0fffb0
[    1.074033] ffa0: c000f2f8 c000f2fc 60000013 ffffffff
[    1.074050] [<c000db40>] (__irq_svc+0x40/0x74) from [<c000f2fc>] (default_idle+0x34/0x3c)
[    1.074069] [<c000f2fc>] (default_idle+0x34/0x3c) from [<c000f6b4>] (cpu_idle+0xa8/0xf4)
[    1.074089] [<c000f6b4>] (cpu_idle+0xa8/0xf4) from [<c069e5e4>] (secondary_start_kernel+0x108/0x12c)
[    1.074109] [<c069e5e4>] (secondary_start_kernel+0x108/0x12c) from [<4069dbf4>] (0x4069dbf4)
[    1.074122] CPU3: stopping
[    1.074140] [<c0016a90>] (unwind_backtrace+0x0/0xe8) from [<c06a19d0>] (dump_stack+0x20/0x24)
[    1.074158] [<c06a19d0>] (dump_stack+0x20/0x24) from [<c0014198>] (handle_IPI+0x114/0x2f0)
[    1.074175] [<c0014198>] (handle_IPI+0x114/0x2f0) from [<c0008554>] (gic_handle_irq+0x64/0x6c)
[    1.074193] [<c0008554>] (gic_handle_irq+0x64/0x6c) from [<c000db40>] (__irq_svc+0x40/0x74)
[    1.074204] Exception stack(0xef12ff68 to 0xef12ffb0)
[    1.074216] ff60:                   c11a2cd8 c09fb590 0000000f 00000000 ef12e000 00000003
[    1.074232] ff80: ef12e000 c0a4cb64 4000406a 410fc075 00000000 ef12ffbc ef12ffc0 ef12ffb0
[    1.074245] ffa0: c000f2f8 c000f2fc 60000013 ffffffff
[    1.074262] [<c000db40>] (__irq_svc+0x40/0x74) from [<c000f2fc>] (default_idle+0x34/0x3c)
[    1.074281] [<c000f2fc>] (default_idle+0x34/0x3c) from [<c000f6b4>] (cpu_idle+0xa8/0xf4)
[    1.074300] [<c000f6b4>] (cpu_idle+0xa8/0xf4) from [<c069e5e4>] (secondary_start_kernel+0x108/0x12c)
[    1.074318] [<c069e5e4>] (secondary_start_kernel+0x108/0x12c) from [<4069dbf4>] (0x4069dbf4)
[    1.074330] CPU0: stopping
[    1.074348] [<c0016a90>] (unwind_backtrace+0x0/0xe8) from [<c06a19d0>] (dump_stack+0x20/0x24)
[    1.074366] [<c06a19d0>] (dump_stack+0x20/0x24) from [<c0014198>] (handle_IPI+0x114/0x2f0)
[    1.074383] [<c0014198>] (handle_IPI+0x114/0x2f0) from [<c0008554>] (gic_handle_irq+0x64/0x6c)
[    1.074401] [<c0008554>] (gic_handle_irq+0x64/0x6c) from [<c000db40>] (__irq_svc+0x40/0x74)
[    1.074412] Exception stack(0xc09d7f20 to 0xc09d7f68)
[    1.074426] 7f20: c1187cd8 c09fb590 0000000f 00000000 c09d6000 c0a6f344 00000001 ffffffff
[    1.074442] 7f40: c1184340 c09a9d74 00000000 c09d7f74 c09d7f78 c09d7f68 c000f2f8 c000f2fc
[    1.074454] 7f60: 60000013 ffffffff
[    1.074469] [<c000db40>] (__irq_svc+0x40/0x74) from [<c000f2fc>] (default_idle+0x34/0x3c)
[    1.074488] [<c000f2fc>] (default_idle+0x34/0x3c) from [<c000f6b4>] (cpu_idle+0xa8/0xf4)
[    1.074507] [<c000f6b4>] (cpu_idle+0xa8/0xf4) from [<c069871c>] (rest_init+0x9c/0xb8)
[    1.074525] [<c069871c>] (rest_init+0x9c/0xb8) from [<c097a88c>] (start_kernel+0x2d8/0x330)
[    1.074542] [<c097a88c>] (start_kernel+0x2d8/0x330) from [<40008044>] (0x40008044)
[    1.074554] [hotplug]: cpu(1) try to kill cpu(0)
[    1.080761] [hotplug]: try to kill cpu:0 failed!
[    1.080761] [hotplug]: cpu(1) try to kill cpu(2)
[    1.080761] [hotplug]: try to kill cpu:2 failed!
[    1.080761] [hotplug]: cpu(1) try to kill cpu(3)
[    1.080761] [hotplug]: try to kill cpu:3 failed!
[    1.080761] Rebooting in 10 seconds..
[    1.080761] Restarting Linux version 3.4.113-rt143-sun8i (root@ubuntu) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #36 SMP PREEMPT RT Mon Nov 14 16:46:55 BRT 2016
[    1.080761]
[    1.080761] arm_restart: Console was locked! Busting

Share this post


Link to post
Share on other sites

Look, I am not an expert, but the last thing the kernel executed before crash (kernel panic) was the function cfb_imageblit and all the call stack is there. Anyone knows what is causing the RT patch to make kernel crash at that function?

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
0