martinayotte Posted October 20, 2016 Share Posted October 20, 2016 I've decided to give a try by building new image with the refactoring of 4.8.x. So the image I've done is Armbian_5.21_Orangepipcplus_Debian_jessie_4.8.3.img I placed it on sdcard and look at the boot using serial debug. Unfortunately, the 4.8.3 Kernel is broken and get stuck the this last line ... U-Boot 2016.09-armbian (Oct 20 2016 - 12:18:44 -0400) Allwinner TechnologyCPU: Allwinner H3 (SUN8I 1680)Model: Xunlong Orange Pi PCI2C: readyDRAM: 1 GiBMMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1*** Warning - bad CRC, using default environmentIn: serialOut: serialErr: serialNet: phy interface0eth0: ethernet@1c30000Hit any key to stop autoboot: 0switch to partitions #0, OKmmc0 is current deviceScanning mmc 0:1...Found U-Boot script /boot/boot.scr1774 bytes read in 197 ms (8.8 KiB/s)## Executing script at 43100000114 bytes read in 167 ms (0 Bytes/s)3983564 bytes read in 411 ms (9.2 MiB/s)5888608 bytes read in 570 ms (9.9 MiB/s)0 bytes read in 137 ms (0 Bytes/s)23462 bytes read in 1126 ms (19.5 KiB/s)## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 3983500 Bytes = 3.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK## Flattened Device Tree blob at 43000000 Booting using the fdt blob at 0x43000000 Loading Ramdisk to 49c33000, end 49fff88c ... OK Loading Device Tree to 49c2a000, end 49c32ba5 ... OKStarting kernel ...Uncompressing Linux... done, booting the kernel.Loading, please wait...Begin: Loading essential drivers ... done.Begin: Running /scripts/init-premount ... done.Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystemsdone.Begin: Will now check root file system ... fsck from util-linux 2.25.2[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1/dev/mmcblk0p1: clean, 56600/81440 files, 229999/325632 blocksdone.done.Begin: Running /scripts/local-bottom ... done.Begin: Running /scripts/init-bottom ... done.Welcome to Debian GNU/Linux 8 (jessie)! Expecting device dev-ttyS0.device...[ OK ] Reached target Remote File Systems (Pre).[ OK ] Reached target Paths.[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.[ OK ] Reached target Encrypted Volumes.[ OK ] Reached target Swap.[ OK ] Created slice Root Slice.[ OK ] Created slice User and Session Slice.[ OK ] Listening on Delayed Shutdown Socket.[ OK ] Listening on /dev/initctl Compatibility Named Pipe.[ OK ] Listening on Journal Socket (/dev/log).[ OK ] Listening on udev Control Socket.[ OK ] Listening on udev Kernel Socket.[ OK ] Listening on Journal Socket.[ OK ] Created slice System Slice.[ OK ] Created slice system-serial\x2dgetty.slice.[ OK ] Created slice system-getty.slice. Starting Increase datagram queue length... Starting Restore / save the current clock... Starting udev Coldplug all Devices... Starting Create list of required static device nodes...rrent kernel... Starting Load Kernel Modules... Mounting Debug File System... Mounting POSIX Message Queue File System... Starting LSB: Set keymap...[ OK ] Reached target Slices.[ OK ] Mounted POSIX Message Queue File System.[ OK ] Mounted Debug File System.[ OK ] Started Increase datagram queue length.[ OK ] Started Restore / save the current clock.[ OK ] Started Create list of required static device nodes ...current kernel.[ OK ] Started Load Kernel Modules.[ OK ] Started LSB: Set keymap.[ OK ] Started udev Coldplug all Devices. Mounting FUSE Control File System... Mounting Configuration File System... Starting Apply Kernel Variables... Starting Create Static Device Nodes in /dev...[ OK ] Listening on Syslog Socket. Starting Journal Service...[ OK ] Started Journal Service.[ OK ] Mounted Configuration File System.[ OK ] Mounted FUSE Control File System.[ OK ] Started Apply Kernel Variables.[ OK ] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager...[ OK ] Started udev Kernel Device Manager. Starting Copy rules generated while the root was ro... Starting LSB: Set preliminary keymap... Starting LSB: Tune IDE hard disks...[ OK ] Started Copy rules generated while the root was ro. EDIT : Trying to boot it again, it produce sometimes core dumps just after the that last line, starting with : Unable to handle kernel NULL pointer dereference at virtual address 00000001 EDIT 2 : Oh ? After several boots, it finally get thru ... Could it be DRAM settings ? EDIT 3 : I've build also a Armbian_5.21_Orangepipc_Debian_jessie_4.8.3.img, and unfortunately, it is doing the same ... Link to comment Share on other sites More sharing options...
Igor Posted October 21, 2016 Share Posted October 21, 2016 My last boot was 4.7.x ... 4.8. could be broken, yap. Anyone tried mainline sources? Link to comment Share on other sites More sharing options...
zador.blood.stained Posted October 21, 2016 Share Posted October 21, 2016 I tested this after updating kernel branch (wanted to check if OTG works), and it worked for me with OPi+2E default settings, but was crashing after switching fdtfile to another board. Link to comment Share on other sites More sharing options...
jongerenchaos Posted October 29, 2016 Share Posted October 29, 2016 Same problem: [ OK ] Started udev Coldplug all Devices. [ 7.962704] Unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 7.970803] pgd = ee18c000 [ 7.973508] [00000000] *pgd=00000000 [ 7.977095] Internal error: Oops: 5 [#1] SMP ARM [ 7.981707] Modules linked in: uio_pdrv_genirq cpufreq_dt uio thermal_sys 8189fs [ 7.989165] CPU: 3 PID: 286 Comm: systemd-udevd Not tainted 4.8.4-sun8i #1 [ 7.996030] Hardware name: Allwinner sun8i Family [ 8.000727] task: eea98000 task.stack: ee60a000 [ 8.005251] PC is at __switch_to+0x38/0x40 [ 8.009343] LR is at vfp_notifier+0x84/0x128 [ 8.013609] pc : [<c010c514>] lr : [<c01029ec>] psr: 600e0093 [ 8.013609] sp : ee60be30 ip : 00000000 fp : ee60be8c [ 8.025070] r10: c0d4f040 r9 : 00000000 r8 : eeb79180 [ 8.030288] r7 : 00000000 r6 : ef09b900 r5 : eea98000 r4 : 00000000 [ 8.036807] r3 : c0d4e060 r2 : 00000000 r1 : 40000000 r0 : eea98000 [ 8.043327] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [ 8.050540] Control: 10c5387d Table: 6e18c06a DAC: 00000051 [ 8.056278] Process systemd-udevd (pid: 286, stack limit = 0xee60a210) [ 8.062797] Stack: (0xee60be30 to 0xee60c000) [ 8.067150] be20: 00000000 00000000 c0d44180 7fffffff [ 8.075319] be40: 00000000 ee60a000 2ea75000 c08bcf14 da896c81 00000001 da9cb8ef 00000001 [ 8.083488] be60: 00000000 00000000 ffffffff ee60a000 bef90128 00000000 ee073d80 ee073d80 [ 8.091656] be80: ee07e600 ee07e634 ee60be9c c08bcf14 00000000 bef90128 ee60a000 c08c00a8 [ 8.099834] bea0: ee07e600 c025d71c 00000000 00000019 00000000 c025d6a4 ee07e600 ee07e634 [ 8.108014] bec0: ee60bed8 00000000 ee60bf58 00000000 7f66d2a8 c025de14 ee60bed8 ee60bed8 [ 8.116193] bee0: ee60bf80 00000004 00000000 bef90128 00000000 c08c00c8 00000000 00000001 [ 8.124373] bf00: 7f66d2a8 c025f118 00000000 00000000 ee60befc 00000001 eeb00900 00000000 [ 8.132552] bf20: ee07e634 00000000 00000000 00000000 00000000 00000000 00000004 bef90128 [ 8.140731] bf40: eeb00900 bef900c0 ee60bf80 bef904c0 00004040 c021c614 00000004 bef90128 [ 8.148912] bf60: 00000000 eeb00900 00000001 eea98000 c01440ec ee07e620 ee07e620 c021d5dc [ 8.157091] bf80: 00000000 7f6616e8 bef90128 bef901e8 000000fc c0107844 ee60a000 00000000 [ 8.165272] bfa0: 7f66d2a8 c0107680 7f6616e8 bef90128 00000004 bef90128 00000004 ffffffff [ 8.173451] bfc0: 7f6616e8 bef90128 bef901e8 000000fc 7f66d0c8 00000003 0000000d 7f66d2a8 [ 8.181632] bfe0: 00000000 bef9001c 7f61fa6b b6df61b6 200e0030 00000004 6fffd861 6fffdc61 [ 8.189818] Code: e59f000c e3a01002 eb00bff3 e1a00005 (e894aff0) [ 8.195911] ---[ end trace 95929ef1168a2649 ]--- [ 8.200869] Unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 8.208962] pgd = c0004000 [ 8.211671] [00000000] *pgd=00000000 [ 8.215261] Internal error: Oops: 80000005 [#2] SMP ARM [ 8.220483] Modules linked in: uio_pdrv_genirq cpufreq_dt uio thermal_sys 8189fs [ 8.227949] CPU: 3 PID: 286 Comm: systemd-udevd Tainted: G D 4.8.4-sun8i #1 [ 8.236038] Hardware name: Allwinner sun8i Family [ 8.240740] task: eea98000 task.stack: ee60a000 [ 8.245271] PC is at 0x0 [ 8.247809] LR is at __hrtimer_run_queues+0x128/0x1bc [ 8.252860] pc : [<00000000>] lr : [<c017f4c0>] psr: 600e0193 [ 8.252860] sp : ee60ba60 ip : 00000000 fp : ffffffff [ 8.264334] r10: 00000000 r9 : ef6d6540 r8 : ef6d654c [ 8.269557] r7 : 00000001 r6 : e82812d3 r5 : ef6967c0 r4 : ef6d6500 [ 8.276081] r3 : 00000e6c r2 : 00000000 r1 : ef6d6540 r0 : ef6967c0 [ 8.282605] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none [ 8.289827] Control: 10c5387d Table: 6e18c06a DAC: 00000051 [ 8.295571] Process systemd-udevd (pid: 286, stack limit = 0xee60a210) [ 8.302095] Stack: (0xee60ba60 to 0xee60c000) [ 8.306455] ba60: 97dd06a3 00000003 e82812d3 00000001 c0d4cb45 c0ace158 00000010 ef6d6500 [ 8.314635] ba80: c0c61500 ef6d65b8 ef6d6514 ef6d6598 ef6d6578 00000003 ffffffff c017f710 [ 8.322815] baa0: ef6d65b8 c05d1dc0 7fffffff 2ea75000 e82812d3 00000001 e82812d3 00000001 [ 8.330995] bac0: c0d762f8 ef6db4c0 ef005cc0 c0d02870 ef015200 00000012 f0803000 c010c516 [ 8.339174] bae0: 00000000 c0739fc4 ef6db4c0 c01721e4 c0c61d58 00000000 00000000 00000001 [ 8.347354] bb00: ef00f800 c016dc3c c0c61d58 c016df0c c0d1f06c c0d02870 f080200c ee60bb48 [ 8.355535] bb20: f0802000 c010148c c01ef770 600e0113 ffffffff ee60bb7c 00002000 ee60a000 [ 8.363714] bb40: c010c516 c010be4c ee4a186c ee469ce4 00000042 00000087 edc0ec1c eeb63898 [ 8.371895] bb60: edc0ec34 edc0ec1c 00002000 00000000 c010c516 00000000 7f616000 ee60bb98 [ 8.380074] bb80: c01ef754 c01ef770 600e0113 ffffffff 00000051 bf000000 eeb63898 ee062480 [ 8.388254] bba0: edc0ec34 c01eff58 eeb63b58 eeb63898 7f616000 ee60bbf0 00002000 c01e9ef0 [ 8.396433] bbc0: 00000000 c01ebf90 00000000 eeb63898 ee60bc18 eeb791b8 00000000 000004e8 [ 8.404612] bbe0: 00000001 c01f1628 00000000 00000000 eeb79180 00000001 00000000 00000000 [ 8.412793] bc00: ffffffff 00000000 00000000 00000230 00000400 ee4f8000 00000000 c010c518 [ 8.420972] bc20: 00000001 c010c516 eeb79180 00000000 eeb791b8 00000000 eeb79180 00000000 [ 8.429153] bc40: eeb791b8 c011d16c eea98000 eeb79180 eeb791b8 c01231fc 600e0193 0000000b [ 8.437332] bc60: c010c518 0000000b 00000000 c010b58c ee60a210 0000000b 00000004 ee60a000 [ 8.445513] bc80: bf000000 00000008 65000000 30663935 20633030 30613365 32303031 30626520 [ 8.453692] bca0: 66666230 31652033 30303061 28203530 34393865 30666661 c0002029 ee60bcdc [ 8.461873] bcc0: 00000000 00000000 ee60bde0 00000005 eeb79180 00000000 c0d78300 eeb791b8 [ 8.470052] bce0: 00000014 c011a8e0 00000005 c0116338 000d13fc 00000001 01a8ae49 00000000 [ 8.478231] bd00: 05d34d93 00010000 00000000 00000000 ef041400 c0d0e980 00000000 c0d082d4 [ 8.486410] bd20: 00000005 c01163e8 00000000 ee60bde0 ee60a000 c0d4f040 ee60be8c c01012d0 [ 8.494590] bd40: 01999e49 00000000 086db8ba 00000000 01a29679 00000000 025004c0 025004c0 [ 8.502769] bd60: c076e378 ef6d8900 00000001 00000001 ef6d8900 00000001 00000001 eea98080 [ 8.510948] bd80: eea98420 c014fa5c ee515180 c076e3e8 ee60bd9f 00000000 00000000 007b59f4 [ 8.519129] bda0: ee189600 7fffffff 00000000 00000003 00000000 00000000 ee617d38 c025df88 [ 8.527308] bdc0: ffffffff 00ffffff c010c514 600e0093 ffffffff ee60be14 eeb79180 c010bdb8 [ 8.535489] bde0: eea98000 40000000 00000000 c0d4e060 00000000 eea98000 ef09b900 00000000 [ 8.543668] be00: eeb79180 00000000 c0d4f040 ee60be8c 00000000 ee60be30 c01029ec c010c514 [ 8.551848] be20: 600e0093 ffffffff 00000051 bf000000 00000000 00000000 c0d44180 7fffffff [ 8.560027] be40: 00000000 ee60a000 2ea75000 c08bcf14 da896c81 00000001 da9cb8ef 00000001 [ 8.568206] be60: 00000000 00000000 ffffffff ee60a000 bef90128 00000000 ee073d80 ee073d80 [ 8.576386] be80: ee07e600 ee07e634 ee60be9c c08bcf14 00000000 bef90128 ee60a000 c08c00a8 [ 8.584566] bea0: ee07e600 c025d71c 00000000 00000019 00000000 c025d6a4 ee07e600 ee07e634 [ 8.592745] bec0: ee60bed8 00000000 ee60bf58 00000000 7f66d2a8 c025de14 ee60bed8 ee60bed8 [ 8.600925] bee0: ee60bf80 00000004 00000000 bef90128 00000000 c08c00c8 00000000 00000001 [ 8.609104] bf00: 7f66d2a8 c025f118 00000000 00000000 ee60befc 00000001 eeb00900 00000000 [ 8.617284] bf20: ee07e634 00000000 00000000 00000000 00000000 00000000 00000004 bef90128 [ 8.625464] bf40: eeb00900 bef900c0 ee60bf80 bef904c0 00004040 c021c614 00000004 bef90128 [ 8.633643] bf60: 00000000 eeb00900 00000001 eea98000 c01440ec ee07e620 ee07e620 c021d5dc [ 8.641824] bf80: 00000000 7f6616e8 bef90128 bef901e8 000000fc c0107844 ee60a000 00000000 [ 8.650004] bfa0: 7f66d2a8 c0107680 7f6616e8 bef90128 00000004 bef90128 00000004 ffffffff [ 8.658184] bfc0: 7f6616e8 bef90128 bef901e8 000000fc 7f66d0c8 00000003 0000000d 7f66d2a8 [ 8.666363] bfe0: 00000000 bef9001c 7f61fa6b b6df61b6 200e0030 00000004 6fffd861 6fffdc61 [ 8.674548] [<c017f4c0>] (__hrtimer_run_queues) from [<c017f710>] (hrtimer_interrupt+0xa8/0x208) [ 8.683340] [<c017f710>] (hrtimer_interrupt) from [<c0739fc4>] (arch_timer_handler_phys+0x28/0x30) [ 8.692307] [<c0739fc4>] (arch_timer_handler_phys) from [<c01721e4>] (handle_percpu_devid_irq+0x6c/0x84) [ 8.701791] [<c01721e4>] (handle_percpu_devid_irq) from [<c016dc3c>] (generic_handle_irq+0x24/0x34) [ 8.710840] [<c016dc3c>] (generic_handle_irq) from [<c016df0c>] (__handle_domain_irq+0x5c/0xb4) [ 8.719541] [<c016df0c>] (__handle_domain_irq) from [<c010148c>] (gic_handle_irq+0x48/0x8c) [ 8.727895] [<c010148c>] (gic_handle_irq) from [<c010be4c>] (__irq_svc+0x6c/0x90) [ 8.735378] Exception stack(0xee60bb48 to 0xee60bb90) [ 8.740430] bb40: ee4a186c ee469ce4 00000042 00000087 edc0ec1c eeb63898 [ 8.748609] bb60: edc0ec34 edc0ec1c 00002000 00000000 c010c516 00000000 7f616000 ee60bb98 [ 8.756787] bb80: c01ef754 c01ef770 600e0113 ffffffff [ 8.761844] [<c010be4c>] (__irq_svc) from [<c01ef770>] (__remove_shared_vm_struct+0x90/0x94) [ 8.770289] [<c01ef770>] (__remove_shared_vm_struct) from [<c01eff58>] (unlink_file_vma+0x34/0x40) [ 8.779251] [<c01eff58>] (unlink_file_vma) from [<c01e9ef0>] (free_pgtables+0x34/0xcc) [ 8.787172] [<c01e9ef0>] (free_pgtables) from [<c01f1628>] (exit_mmap+0xf4/0x1e4) [ 8.794661] [<c01f1628>] (exit_mmap) from [<c011d16c>] (mmput+0x40/0xf0) [ 8.801364] [<c011d16c>] (mmput) from [<c01231fc>] (do_exit+0x2e8/0xac0) [ 8.808067] [<c01231fc>] (do_exit) from [<c010b58c>] (die+0x23c/0x43c) [ 8.814594] [<c010b58c>] (die) from [<c011a8e0>] (__do_kernel_fault.part.0+0x64/0x784) [ 8.822517] [<c011a8e0>] (__do_kernel_fault.part.0) from [<c0116338>] (do_page_fault+0x370/0x384) [ 8.831392] [<c0116338>] (do_page_fault) from [<c01012d0>] (do_DataAbort+0x38/0xb4) [ 8.839052] [<c01012d0>] (do_DataAbort) from [<c010bdb8>] (__dabt_svc+0x58/0x80) [ 8.846447] Exception stack(0xee60bde0 to 0xee60be28) [ 8.851500] bde0: eea98000 40000000 00000000 c0d4e060 00000000 eea98000 ef09b900 00000000 [ 8.859680] be00: eeb79180 00000000 c0d4f040 ee60be8c 00000000 ee60be30 c01029ec c010c514 [ 8.867857] be20: 600e0093 ffffffff [ 8.871349] [<c010bdb8>] (__dabt_svc) from [<c010c514>] (__switch_to+0x38/0x40) [ 8.878660] Code: bad PC value [ 8.881717] ---[ end trace 95929ef1168a264a ]--- [ 8.886334] Kernel panic - not syncing: Fatal exception in interrupt [ 9.894423] SMP: failed to stop secondary CPUs [ 9.898870] Rebooting in 10 seconds.. [ 20.904095] SMP: failed to stop secondary CPUs Link to comment Share on other sites More sharing options...
martinayotte Posted October 29, 2016 Author Share Posted October 29, 2016 Yes, those "Unable to handle kernel NULL pointer dereference at virtual address" is what I've seen. For now, I've switched to 4.9.x, and have updated all my H3 boards. Link to comment Share on other sites More sharing options...
Recommended Posts