0
yuanyunlong

Help~ Orange Pi R1 startup error kernel crash!

Recommended Posts

I am very confused. I don't know where the problem is. Have you ever encountered the same problem?

 

Kernel 4.19.80-sunxi  Debian Stretch

armbian version 5.98

Orange Pi R1

No third-party hardware was added. Pure R1 bare board

Start error message:

 

[  OK  ] Started LSB: set CPUFreq kernel parameters.
[    8.670214] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    8.681560] pgd = 95d3822c
[    8.684287] [00000000] *pgd=00000000
[    8.687884] Internal error: Oops: 805 [#1] SMP THUMB2
[    8.692942] Modules linked in: binfmt_misc 8189es zstd zram lima sun8i_codec_analog snd_soc_simple_card sun8i_adda_pr_regmap snd_soc_simple_card_utils sun4i_i2s gpu_sched ttm snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer sun4i_gpadc_iio snd industrialio soundcore sun8i_ths uio_pdrv_genirq cpufreq_dt uio thermal_sys cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple [last unloaded: 8189es]
[    8.730973] CPU: 3 PID: 233 Comm: systemd-journal Not tainted 4.19.79-sunxi #5.98
[    8.738466] Hardware name: Allwinner sun8i Family
[    8.743191] PC is at rb_erase_cached+0xdc/0x230
[    8.747744] LR is at rb_erase_cached+0xb5/0x230
[    8.752296] pc : [<c08f1824>]    lr : [<c08f17fd>]    psr: 400f00b3
[    8.758578] sp : cdacbd28  ip : 00000001  fp : cfd71600
[    8.763820] r10: c0d04d48  r9 : c0d04d48  r8 : c0d04d48
[    8.769048] r7 : cfd716b4  r6 : 00000000  r5 : 00000000  r4 : cfa1480d
[    8.775587] r3 : cfa1480c  r2 : ce5e620c  r1 : cfd716b0  r0 : 00000000
[    8.782131] Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[    8.789545] Control: 50c5387d  Table: 4daec06a  DAC: 00000051
[    8.795316] Process systemd-journal (pid: 233, stack limit = 0x85b75857)
[    8.802034] Stack: (0xcdacbd28 to 0xcdacc000)
[    8.806419] bd20:                   00000001 cfd71680 cd674180 c0d04d48 cfae5500 c0140475
[    8.814616] bd40: cfdeb538 c01c11a7 00000000 c014172f cd674180 cfd71680 c0d04d48 acfe8204
[    8.822795] bd60: 0004a000 acfe8204 cdab64e0 acfe8204 00000009 cd674180 cd674100 cfd71680
[    8.830988] bd80: cfae5500 c0d04d48 c0d04d48 c0d04d48 cfd71600 c0147b41 acfe8204 c0d04d48
[    8.839187] bda0: ffff0000 cdacbee0 7fff0000 cfae5480 cdacbfb0 cdacbe3c cfd71680 c0901f78
[    8.847384] bdc0: 00000000 c0d04d48 00000009 cfae5480 00000000 cfd71600 cfae5480 cfd71600
[    8.855581] bde0: cdacbdf8 acfe8204 c0cb9600 cfd71600 cfae5480 c0cb9600 cdacbe20 c0d04d48
[    8.863780] be00: c0cb9600 cfae5820 c0901f18 c08f9fc3 00000000 00000000 cfdeb538 acfe8204
[    8.871978] be20: 00000200 cdab64e0 cdacbdd8 0f0b8000 c08fa607 00000000 cdacbe54 acfe8204
[    8.880178] be40: 00000000 acfe8204 cdacbe94 ffffe000 00000000 00000000 cdacbe70 c0d04d48
[    8.888376] be60: 00000000 c0d04d48 cdbfd6ac c08fa607 acfe8204 00000001 00000000 c08fd467
[    8.896574] be80: cdacbf58 c0276517 be9d9540 00000000 0000001d 00000000 00000019 acfe8204
[    8.904771] bea0: 01bab150 c02764bd cdbfd680 cdbfd6ac cdacbecc c0d04d48 cdbfd694 c0276029
[    8.912962] bec0: 00000ae9 00000000 000000fc acfe8204 cdacbecc 00000001 00000000 00000000
[    8.921148] bee0: be9d9540 cda1ab40 cdbfd680 c08fd487 00000000 00000001 cdbfd694 c02762b7
[    8.929335] bf00: 00000000 cfb10000 c0d05430 c025699b 00000000 c022c7dd c0d04d48 cdbfd6ac
[    8.937524] bf20: 00000000 00000000 cdbfd694 00000000 ffffe000 00000001 cda1ab40 0000001d
[    8.945712] bf40: 00000003 00000000 00000000 00000000 cdaca000 00000005 0000001d be9d9540
[    8.953901] bf60: 00000000 acfe8204 00000001 cfae5480 c013b391 cdbfd698 cdbfd698 acfe8204
[    8.962096] bf80: cdaca000 01bab150 00000001 be9d9540 000000fc c0101224 cdaca000 000000fc
[    8.970286] bfa0: 00000008 c01011f9 01bab150 00000001 00000008 be9d9540 0000001d ffffffff
[    8.978460] bfc0: 01bab150 00000001 be9d9540 000000fc ffffffff ffffffff 0000001d 00000008
[    8.986630] bfe0: 00000000 be9d9530 00000000 b6d79bf2 000f0030 00000008 00000000 00000000
[    8.994820] [<c08f1824>] (rb_erase_cached) from [<c0140475>] (set_next_entity+0x61/0x568)
[    9.002994] [<c0140475>] (set_next_entity) from [<c0147b41>] (pick_next_task_fair+0x2b1/0x53c)
[    9.011599] [<c0147b41>] (pick_next_task_fair) from [<c08f9fc3>] (__schedule+0xc3/0x6d8)
[    9.019682] [<c08f9fc3>] (__schedule) from [<c08fa607>] (schedule+0x2f/0x68)
[    9.026727] [<c08fa607>] (schedule) from [<c08fd467>] (schedule_hrtimeout_range_clock+0xf3/0xfc)
[    9.035504] [<c08fd467>] (schedule_hrtimeout_range_clock) from [<c08fd487>] (schedule_hrtimeout_range+0x17/0x1c)
[    9.045671] [<c08fd487>] (schedule_hrtimeout_range) from [<c02762b7>] (do_epoll_wait+0x283/0x37c)
[    9.054538] [<c02762b7>] (do_epoll_wait) from [<c01011f9>] (__sys_trace_return+0x1/0xc)
[    9.062529] Exception stack(0xcdacbfa8 to 0xcdacbff0)
[    9.067577] bfa0:                   01bab150 00000001 00000008 be9d9540 0000001d ffffffff
[    9.075747] bfc0: 01bab150 00000001 be9d9540 000000fc ffffffff ffffffff 0000001d 00000008
[    9.083913] bfe0: 00000000 be9d9530 00000000 b6d79bf2
[    9.088964] Code: f043 0401 6058 6093 (6004) 681c 
[    9.093752] ---[ end trace 64ba3d7f8cd4423e ]---

 

lsmod:

 

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet Adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@t1000p:~# lsmod 
Module                  Size  Used by
binfmt_misc            16384  1
8189es                864256  0
zstd                   16384  4
lima                   40960  0
sun4i_i2s              20480  0
gpu_sched              20480  1 lima
ttm                    57344  1 lima
snd_soc_simple_card    16384  0
snd_soc_simple_card_utils    16384  1 snd_soc_simple_card
sun8i_codec_analog     24576  0
sun8i_adda_pr_regmap    16384  1 sun8i_codec_analog
snd_soc_core          110592  4 sun4i_i2s,sun8i_codec_analog,snd_soc_simple_card_utils,snd_soc_simple_card
sun4i_gpadc_iio        16384  0
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm                69632  3 sun4i_i2s,snd_pcm_dmaengine,snd_soc_core
snd_timer              24576  1 snd_pcm
industrialio           49152  1 sun4i_gpadc_iio
snd                    45056  3 snd_timer,snd_soc_core,snd_pcm
soundcore              16384  1 snd
sun8i_ths              16384  0
zram                   24576  2
uio_pdrv_genirq        16384  0
uio                    16384  1 uio_pdrv_genirq
cpufreq_dt             16384  0
thermal_sys            57344  3 cpufreq_dt,sun8i_ths,sun4i_gpadc_iio
cfg80211              393216  1 8189es
r8152                  49152  0
usb_f_acm              16384  1
u_serial               20480  3 usb_f_acm
g_serial               16384  0
libcomposite           40960  2 g_serial,usb_f_acm
ip_tables              20480  0
x_tables               20480  1 ip_tables
pwrseq_simple          16384  1

 

Share this post


Link to post
Share on other sites
14 hours ago, Igor said:


Did you try those images: https
//www.armbian.com/orange-pi-r1/

 

Thank you very much for your reply. In fact, I had an idea last night and I want to try your image file. Not implemented yet.
This morning, I downloaded Armbian_5.90_Orangepi-r1_Debian_buster_next_4.19.57

It works fine the first time it starts up. But the problem still exists after the reboot.

 

Sorry, because the last edit lost the debug information. Waiting for my next capture. In fact, the error message is the same.

 

 

The following just got the attachment information of armbianmonitor

session.log

Share this post


Link to post
Share on other sites

Very strange, when the first time the system was started, it was normal. Then restart the problem again. When I link to wifi, I try to restart it no less than 8 times. The problem did not reappear. I began to wonder if it was a wifi problem, once again re-burning the system, constantly testing the startup, shutting down and restarting. No problems have been found yet.

At this point I did not link wifi

Share this post


Link to post
Share on other sites

Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.7z

 

Uncompressing Linux... done, booting the kernel.
[    5.782217] Unable to handle kernel paging request at virtual address 30586960
[    5.783849] BUG: Bad page state in process systemd-udevd  pfn:4bec7
[    5.789598] pgd = (ptrval)
[    5.795769] page:cff273fc count:0 mapcount:0 mapping:cd68903c index:0x1
[    5.795780] flags: 0x0()
[    5.795794] raw: 00000000 00000100 00000200 cd68903c 00000001 00000000 ffffffff 00000000
[    5.795797] raw: 00000000
[    5.795800] page dumped because: non-NULL mapping
[    5.795802] Modules linked in: zram lima snd_soc_simple_card gpu_sched snd_soc_simple_card_utils sun4i_i2s sun8i_codec_analog ttm sun8i_adda_pr_regmap snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore sun4i_gpadc_iio industrialio sun8i_ths
[    5.798612] [30586960] *pgd=00000000
[    5.805201]  cpufreq_dt uio_pdrv_genirq uio thermal_sys 8189es cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[    5.805247] CPU: 3 PID: 272 Comm: systemd-udevd Not tainted 4.19.38-sunxi #5.83
[    5.805250] Hardware name: Allwinner sun8i Family
[    5.805292] [<c010d745>] (unwind_backtrace) from [<c010a2f1>] (show_stack+0x11/0x14)
[    5.805311] [<c010a2f1>] (show_stack) from [<c08f9d01>] (dump_stack+0x69/0x78)
[    5.816099] [<c08f9d01>] (dump_stack) from [<c01edc2b>] (bad_page+0xab/0xec)
[    5.816137] [<c01edc2b>] (bad_page) from [<c01ee0c9>] (free_pcppages_bulk+0x121/0x3e4)
[    5.816159] [<c01ee0c9>] (free_pcppages_bulk) from [<c01ef645>] (free_unref_page_list+0xd5/0x144)
[    5.816180] [<c01ef645>] (free_unref_page_list) from [<c01f67d9>] (release_pages+0x21d/0x258)
[    5.816207] [<c01f67d9>] (release_pages) from [<c0210527>] (tlb_finish_mmu+0x43/0x98)
[    5.816237] [<c0210527>] (tlb_finish_mmu) from [<c02161d3>] (exit_mmap+0x97/0xf4)
[    5.816252] [<c02161d3>] (exit_mmap) from [<c0118e03>] (mmput+0x43/0xcc)
[    5.816266] [<c0118e03>] (mmput) from [<c011ec77>] (do_exit+0x2a7/0x898)
[    5.816276] [<c011ec77>] (do_exit) from [<c011f2c3>] (do_group_exit+0x2f/0x88)
[    5.816289] [<c011f2c3>] (do_group_exit) from [<c012726b>] (get_signal+0xff/0x5e4)
[    5.816306] [<c012726b>] (get_signal) from [<c0109905>] (do_signal+0x95/0x390)
[    5.818966] Internal error: Oops: 5 [#1] SMP THUMB2
[    5.819915] zram0: detected capacity change from 0 to 52428800
[    5.823667] [<c0109905>] (do_signal) from [<c0109d4f>] (do_work_pending+0x83/0x90)
[    5.845990] Modules linked in:
[    5.849590] [<c0109d4f>] (do_work_pending) from [<c0101077>] (slow_work_pending+0x9/0x16)
[    5.863124]  zstd
[    5.870433] Exception stack(0xce741fb0 to 0xce741ff8)
[    5.875132]  zram
[    5.882875] 1fa0:                                     00000004 0000000f 00000000 000000f0
[    5.890091]  lima
[    5.897139] 1fc0: 011c3368 00000000 bef63670 00000007 011d376c bef6363c 011ad008 004c5110
[    5.905048]  snd_soc_simple_card
[    5.913919] 1fe0: 004c4d84 bef635d0 00000010 004a7c3c 20030030 ffffffff
[    5.922436]  gpu_sched snd_soc_simple_card_utils sun4i_i2s sun8i_codec_analog ttm sun8i_adda_pr_regmap snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore sun4i_gpadc_iio industrialio sun8i_ths cpufreq_dt uio_pdrv_genirq uio thermal_sys 8189es cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[    6.069980] CPU: 0 PID: 306 Comm: systemd-udevd Tainted: G    B             4.19.38-sunxi #5.83
[    6.078697] Hardware name: Allwinner sun8i Family
[    6.083445] PC is at __mutex_lock.constprop.7+0x50/0x404
[    6.088786] LR is at perf_event_exit_task+0x17/0x334
[    6.093766] pc : [<c0909a84>]    lr : [<c01e2727>]    psr: 20030033
[    6.100037] sp : ceb3bdb8  ip : 00000000  fp : ce238000
[    6.105272] r10: ce24cc00  r9 : 00000002  r8 : ceb3be54
[    6.110508] r7 : c0e04d48  r6 : ce238544  r5 : ce238000  r4 : ce238544
[    6.117042] r3 : ceb3a000  r2 : 30586948  r1 : 00000000  r0 : ce238544
[    6.123577] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[    6.130896] Control: 50c5387d  Table: 4e4a406a  DAC: 00000051
[    6.136646] Process systemd-udevd (pid: 306, stack limit = 0x(ptrval))
[    6.143173] Stack: (0xceb3bdb8 to 0xceb3c000)
[    6.147533] bda0:                                                       cd4ce2a8 c0909087
[    6.155728] bdc0: ceb3a000 00000000 00000000 c0909087 feac2d6f feac2d6f 00080060 ce238000
[    6.163918] bde0: ce238558 ce238544 ffffe000 ceb3be54 00000000 ce24cc00 ce238000 c01e2727
[    6.172099] be00: 00000008 ce767308 cf952f40 c0133b93 c0103951 c0e09ea4 ffffffff c0133b93
[    6.180282] be20: ffffffff ce238000 cdddbe00 ce238000 cdddbe00 ceb3a000 ffffe000 ceb3be54
[    6.188464] be40: 00000000 ce24cc00 cf952f40 c011eccb 00000000 00000000 c0e04d48 feac2d6f
[    6.196647] be60: 80000000 ce238000 cf952f40 c011f2c3 ceb3bedc 0000000a 00000000 00000f00
[    6.204868] be80: ce238000 c012726b ffffffe8 ceb3bedc cf953444 ceb3bef0 08430000 00000001
[    6.213080] bea0: ce238000 0000000b 00000000 ceb3bfb0 00000001 c0e04d48 ceb3bedc b6dc6bd4
[    6.221266] bec0: b6dc6bd6 000000fc 00000003 c0109905 00030013 00000001 cf95301c c012669b
[    6.229447] bee0: ceb3bf40 ce238000 c0e04d48 00000000 0000000b 00000000 00000080 00000000
[    6.237628] bf00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    6.245808] bf20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    6.253989] bf40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    6.262169] bf60: 00000000 00000000 00000000 00000000 c013b285 feac2d6f 00000200 ffffe000
[    6.270350] bf80: c0101224 ceb3bfb0 000000fc c0101224 ceb3a000 000000fc 00000003 c0109d4f
[    6.278532] bfa0: 011b8fa0 bef630e0 bef631a0 c0101077 00000001 bef630e0 00000004 ffffffff
[    6.286712] bfc0: 011b8fa0 bef630e0 bef631a0 000000fc 00000002 00000004 0000000e 00000003
[    6.294893] bfe0: 00000000 bef62fdc 00483c65 b6dc6bd6 20060030 00000004 00000000 00000000
[    6.303093] [<c0909a84>] (__mutex_lock.constprop.7) from [<c01e2727>] (perf_event_exit_task+0x17/0x334)
[    6.312496] [<c01e2727>] (perf_event_exit_task) from [<c011eccb>] (do_exit+0x2fb/0x898)
[    6.320506] [<c011eccb>] (do_exit) from [<c011f2c3>] (do_group_exit+0x2f/0x88)
[    6.327737] [<c011f2c3>] (do_group_exit) from [<c012726b>] (get_signal+0xff/0x5e4)
[    6.335314] [<c012726b>] (get_signal) from [<c0109905>] (do_signal+0x95/0x390)
[    6.342543] [<c0109905>] (do_signal) from [<c0109d4f>] (do_work_pending+0x83/0x90)
[    6.350119] [<c0109d4f>] (do_work_pending) from [<c0101077>] (slow_work_pending+0x9/0x16)
[    6.358297] Exception stack(0xceb3bfb0 to 0xceb3bff8)
[    6.363351] bfa0:                                     00000001 bef630e0 00000004 ffffffff
[    6.371532] bfc0: 011b8fa0 bef630e0 bef631a0 000000fc 00000002 00000004 0000000e 00000003
[    6.379712] bfe0: 00000000 bef62fdc 00483c65 b6dc6bd6 20060030 00000004
[    6.386334] Code: 6822 f032 0207 d003 (6992) 2a00 
[    6.391312] ---[ end trace d8b080561f7af96f ]---
[    6.396022] Fixing recursive fault but reboot is needed!
[    6.581125] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[    6.833852] random: crng init done
[    6.837301] random: 7 urandom warning(s) missed due to ratelimiting

 

Share this post


Link to post
Share on other sites

Just installed Armbian_5.90_Orangepi-r1_Debian_buster_next_4.19.57.img on my new R1 too yesterday.

I have the NAS-Board attached to it with an 256 Transcend msata SSD

Was working fine, could partition, format and mount the SSD.

Then started to install Nextcloud from armbian-config software menu.

Started fine first, but then showed kernel messages popping up until it completely froze.

Rebooted by powering up and rerun the installation leaving me with a non-functional Nextcloud installation.

 

Just resetet it now  by burning the image again on the SD card -  maybe I wanted too much from that little board with only 256 MB.

Share this post


Link to post
Share on other sites
1 hour ago, Lutz Fechner said:

Just installed Armbian_5.90_Orangepi-r1_Debian_buster_next_4.19.57.img on my new R1 too yesterday.

I have the NAS-Board attached to it with an 256 Transcend msata SSD

Was working fine, could partition, format and mount the SSD.

Then started to install Nextcloud from armbian-config software menu.

Started fine first, but then showed kernel messages popping up until it completely froze.

Rebooted by powering up and rerun the installation leaving me with a non-functional Nextcloud installation.

 

Just resetet it now  by burning the image again on the SD card -  maybe I wanted too much from that little board with only 256 MB.

thank you for your reply. I don't have access to third-party hardware. First, make sure that the software system is stable and try to access other hardware and drivers. My current position is Debian_stretch

 

I tried it again and again today.

Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img    Armbian_5.90_Orangepi-r1_Debian_buster_next_4.19.57.img

 

Stability is still said in the past.

But I need to build the system myself. The current build script is the latest Armbian_5.98_Orangepi-r1_Debian_stretch_next_4.19.79.img 

 

This image is very unstable. I am thinking of ways to roll back the kernel version or something else.

@Igor 

 

Share this post


Link to post
Share on other sites
12 minutes ago, Werner said:

You can always give the dev branch a shot. Maybe it runs reliable on Linux 5.3.x

thank you very much for your suggestion. But at the moment I don't need a very high working kernel. The kernel program used by Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img is 4.19.38. The image kernel version of the new build problem is 4.19.79 or 4.19.80
Today, two identical Orange Pi-r1s have been used to perform an uninterrupted power-off test on the Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img image. As a result, there is very little kernel crash.

In fact, my job is very simple, using the "customize-image.sh" script when building. Then install the required customization software in the chroot.

Now I want to use the 4.19.38 kernel program when I build it, so I will try it if you have this information. Thank you very much for your assistance.

Share this post


Link to post
Share on other sites
On 10/24/2019 at 8:36 PM, Igor said:


Did you try those images:
https://www.armbian.com/orange-pi-r1/

After countless attempts, the final conclusion is reached.

Use Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img
It has been basically stable. And installing the software I use is also normal.

Also tried installing Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img system
Upgrade linux-image-next-sunxi to 4.19.79 or higher 4.19.80  Kernel crash

 

Upgrade process:

root@orangepi:~# ls
linux-image-next-sunxi_5.98_armhf.deb
root@orangepi:~# dpkg -l | grep linux
ii  console-setup-linux                 1.164                          all          Linux specific part of console-setup
ii  libselinux1:armhf                   2.6-3+b3                       armhf        SELinux runtime shared libraries
ii  linux-base                          4.5                            all          Linux image base package
ii  linux-dtb-next-sunxi                5.83                           armhf        Linux DTB, version 4.19.38-sunxi
ii  linux-image-next-sunxi              5.83                           armhf        Linux kernel, version 4.19.38-sunxi
ii  linux-libc-dev                      5.70                           armhf        Linux support headers for userspace development
ii  linux-stretch-root-next-orangepi-r1 5.83                           armhf        Armbian tweaks for stretch on orangepi-r1 (next branch)
ii  linux-u-boot-orangepi-r1-next       5.83                           armhf        Uboot loader 2019.04
ii  util-linux                          2.29.2-1+deb9u1                armhf        miscellaneous system utilities
root@orangepi:~# dpkg -r linux-image-next-sunxi
(Reading database ... 33468 files and directories currently installed.)
Removing linux-image-next-sunxi (5.83) ...
update-initramfs: Deleting /boot/initrd.img-4.19.38-sunxi
root@orangepi:~# ls
linux-image-next-sunxi_5.98_armhf.deb
root@orangepi:~# dpkg -i linux-image-next-sunxi_5.98_armhf.deb 
Selecting previously unselected package linux-image-next-sunxi.
(Reading database ... 30996 files and directories currently installed.)
Preparing to unpack linux-image-next-sunxi_5.98_armhf.deb ...
Unpacking linux-image-next-sunxi (5.98) ...
Setting up linux-image-next-sunxi (5.98) ...
update-initramfs: Generating /boot/initrd.img-4.19.80-sunxi
update-initramfs: Converting to u-boot format
root@orangepi:~# 

 

Start the first view:

Uncompressing Linux... done, booting the kernel.

Debian GNU/Linux 9 orangepi ttyS0

orangepi login: root
Password: 
Last login: Sat Oct 26 03:14:39 UTC 2019 on ttyS0
  ___                               ____  _   ____  _ 
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |  _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| |  __/ |  __/| | |  _ <| |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_| \_\_|
                       |___/                          

Welcome to ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.80-sunxi   
System load:   1.41 0.36 0.12   Up time:       0 min
Memory usage:  22 % of 240MB    IP:            192.168.1.109
CPU temp:      37°C           
Usage of /:    28% of 3.5G   

[ 0 security updates available, 1 updates total: apt upgrade ]
Last check: 2019-10-26 03:19


root@orangepi:~# 
root@orangepi:~# 
root@orangepi:~# 
root@orangepi:~# 
root@orangepi:~# 
root@orangepi:~# 
root@orangepi:~# ls
linux-image-next-sunxi_5.98_armhf.deb
root@orangepi:~# dpkg -l | grep linux
ii  console-setup-linux                 1.164                          all          Linux specific part of console-setup
ii  libselinux1:armhf                   2.6-3+b3                       armhf        SELinux runtime shared libraries
ii  linux-base                          4.5                            all          Linux image base package
ii  linux-dtb-next-sunxi                5.83                           armhf        Linux DTB, version 4.19.38-sunxi
ii  linux-image-next-sunxi              5.98                           armhf        Linux kernel, version 4.19.80-sunxi
ii  linux-libc-dev                      5.70                           armhf        Linux support headers for userspace development
ii  linux-stretch-root-next-orangepi-r1 5.83                           armhf        Armbian tweaks for stretch on orangepi-r1 (next branch)
ii  linux-u-boot-orangepi-r1-next       5.83                           armhf        Uboot loader 2019.04
ii  util-linux                          2.29.2-1+deb9u1                armhf        miscellaneous system utilities
root@orangepi:~# 

After rebooting, the kernel crashes:

 

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    2.478209] Internal error: Oops: 80000005 [#1] SMP THUMB2
[    2.481759] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    2.483719] Modules linked in: pwrseq_simple
[    2.488971] CPU: 0 PID: 161 Comm: systemd-udevd Not tainted 4.19.80-sunxi #5.98
[    2.488974] Hardware name: Allwinner sun8i Family
[    2.488983] PC is at 0x400
[    2.488989] LR is at 0x400
[    2.510679] pc : [<00000400>]    lr : [<00000400>]    psr: 600e0113
[    2.510687] sp : cda29bc0  ip : ffffe000  fp : 00000054
[    2.522167] r10: cdb37890  r9 : cdc83c3c  r8 : 80000005
[    2.522175] r7 : 00000000  r6 : cdc83c00  r5 : cda17500  r4 : 00000000
[    2.533916] r3 : 000000a1  r2 : 00000001  r1 : 00000000  r0 : 00000001
[    2.533922] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    2.533928] Control: 50c5387d  Table: 4dac806a  DAC: 00000051
[    2.553319] Process systemd-udevd (pid: 161, stack limit = 0x(ptrval))
[    2.553326] Stack: (0xcda29bc0 to 0xcda2a000)
[    2.564205] 9bc0: ffffe000 c01454c9 cda13b00 cfd60680 cfd60680 00000000 cfd60680 c014516b
[    2.564214] 9be0: cfd60680 feac2d19 02db26de cda29d28 cda29c28 00000000 cda29cb8 cdb37890
[    2.580556] 9c00: 00000001 c0cb9600 00080c00 00000400 00000001 cf8d99c0 00000400 00000000
[    2.588737] 9c20: c0d03d00 c0d04d48 0000035e 0000035e 0000035e 0000035e 00000400 00000359
[    2.588745] 9c40: 00000001 00000000 00000001 00000000 00000000 cf938e40 cf938040 00000004
[    2.588754] 9c60: 000009f1 00001000 0000027c 00000406 00000406 00000406 00000203 00000400
[    2.613279] 9c80: 00000400 00000002 00000000 00000001 00000002 c022e64d 00000001 c0153945
[    2.621466] 9ca0: 00000400 cfd60680 00000001 00000000 00000247 0000013c 00000001 00000000
[    2.621475] 9cc0: cdb37890 20010093 c0147045 cfd3ec40 c0cb9600 c0d05228 c0b2b6a8 c0d04d48
[    2.637830] 9ce0: cdb37890 00000001 c0b222da cda29d08 00000000 b6edadde 000f0030 ffffffff
[    2.637839] 9d00: 00000051 bf000000 ffff0000 cdcd2000 00000001 c09c2028 cdb37890 c08f6edf
[    2.654191] 9d20: cda29d40 ffffff00 ffff0000 ffff0a00 cfff4e80 ffffffff ffff0000 ffffff00
[    2.662377] 9d40: cda29e5c cdb370a8 c0a9e6e9 cdb37890 c0a8774c cfff4c3c c0d04d48 cdb37890
[    2.662385] 9d60: c0ad9600 c08f7d0d ffff0a00 cf986510 cdb370a8 c0ad8ea8 00000000 ff059d98
[    2.662394] 9d80: 0a00ffff feacffff cee40ee0 feac2d19 00080040 0000004f c0d04d48 cdb370a8
[    2.686919] 9da0: cdb37890 00000002 cda29e0c cdb37890 c09c1e7c c08f8a5d c0918908 ffffff05
[    2.695114] 9dc0: ffff0a00 c0b222db cfa90300 cdc68c80 cdd3b100 feac2d19 c0b222d8 cdb370a8
[    2.695125] 9de0: c0b222d8 c0b222da cda29e64 c08f8c27 ffffff05 ffff0a00 00000000 000007f4
[    2.711483] 9e00: c0d04d48 cdb3709c 00080040 ffffff05 ffff0a00 feac2d19 ffffffff cdb37000
[    2.719670] 9e20: c0d04d48 cfd58050 cdb37000 cfd58058 cdc68c80 00001000 cda29f78 c08eee03
[    2.719679] 9e40: cda29e60 feac2d19 00020000 cfd58058 cdb37000 cfd58050 c07c6207 c0b222cc
[    2.720839] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    2.742990] 9e60: cfff4c3c feac2d19 00000000 cfd58058 cdb37000 c0d04d48 cfd58050 cfd58058
[    2.742999] 9e80: cdc68c80 c066808b 00000000 00000a23 000081a4 9c7b7891 00000000 cf938200
[    2.759352] 9ea0: c066604d feac2d19 00000000 cdb37000 cfd58058 cdb33000 cfd58058 c06660bb
[    2.767551] 9ec0: c0665ec5 c0db6624 c066604d c098bc2c cdb33000 cfd58058 cdc68c80 c0665ed7
[    2.767560] 9ee0: c0665ec5 cdc21478 00001000 c029f62d c029f5cd cdc21478 00000001 00001000
[    2.767568] 9f00: cfbddc00 007000c0 cdc21490 c025b8cf 00000001 00000000 cdc214a8 00001000
[    2.792100] 9f20: 0246e438 c023f741 cfbddc00 00000000 0246e438 00001000 ffffe000 cda29f78
[    2.800297] 9f40: cfbddc00 00001000 be9e6d90 c023f741 23863d00 cee60af0 5db3bc6a cfbddc00
[    2.808513] 9f60: c0d04d48 cfbddc00 0246e438 00000000 00000000 c023faed 00000000 00000000
[    2.808523] 9f80: 00000000 feac2d19 02462578 b6e43bec 00001000 00000003 c0101224 cda28000
[    2.808531] 9fa0: 00000003 c0101001 02462578 b6e43bec 0000000c 0246e438 00001000 00000000
[    2.833064] 9fc0: 02462578 b6e43bec 00001000 00000003 00001000 b6e437a8 0246e438 be9e6d90
[    2.833074] 9fe0: 00000000 be9e6c34 b6da835f b6de4c76 000e0030 0000000c 00000000 00000000
[    2.849435] Code: bad PC value
[    2.852769] ---[ end trace 869d606754fe346e ]---
[    2.859137] usb 3-1: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
[    2.867392] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.874569] usb 3-1: Product: USB 10/100 LAN
[    2.878863] usb 3-1: Manufacturer: Realtek
[    2.882976] usb 3-1: SerialNumber: C0742BFFE6C4
[    2.902410] mmc1: new high speed SDIO card at address 0001
[    3.094767] random: fast init done
[    3.112568] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[   13.177228] reboot: Restarting system

 

I am from https://apt.armbian.com/pool/main/l/linux-4.19.62-sunxi/linux-image-next-sunxi_5.92_armhf.deb Download 4.19.62 Kernel Installation

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    8.495887] Unable to handle kernel NULL pointer dereference at virtual address 000000ac
[    8.504204] pgd = 59fef78a
[    8.507072] [000000ac] *pgd=00000000
[    8.510782] Internal error: Oops: 5 [#1] SMP THUMB2
[    8.515691] Modules linked in: zstd zram snd_soc_simple_card snd_soc_simple_card_utils sun8i_codec_analog sun4i_i2s sun8i_adda_pr_regmap sun4i_gpadc_iio snd_soc_core industrialio snd_pcm_dmaengine lima sun8i_ths snd_pcm snd_timer gpu_sched ttm snd soundcore cpufreq_dt uio_pdrv_genirq thermal_sys uio 8189es(-) cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[    8.550908] CPU: 3 PID: 649 Comm: systemd-udevd Not tainted 4.19.62-sunxi #5.92
[    8.558246] Hardware name: Allwinner sun8i Family
[    8.563001] PC is at filemap_map_pages+0x66/0x274
[    8.567745] LR is at filemap_map_pages+0x26d/0x274
[    8.572574] pc : [<c01e91d6>]    lr : [<c01e93dd>]    psr: 800f0133
[    8.578884] sp : ce98bdf8  ip : 00000000  fp : 0000000f
[    8.584140] r10: ce98be54  r9 : 00000001  r8 : cee438ec
[    8.589398] r7 : c0e04d48  r6 : cffb2488  r5 : ced636b4  r4 : 00000000
[    8.595958] r3 : 000000ac  r2 : 00000004  r1 : cfed5fc4  r0 : 00000090
[    8.602518] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[    8.609862] Control: 50c5387d  Table: 4e82406a  DAC: 00000051
[    8.615649] Process systemd-udevd (pid: 649, stack limit = 0xe9c5679e)
[    8.622208] Stack: (0xce98bdf8 to 0xce98c000)
[    8.622263] Unable to handle kernel NULL pointer dereference at virtual address 000000ac
[    8.626603] bde0:                                                       00000003 cf269900
[    8.626613] be00: cb867cc0 00000004 00000040 3a94bcc9 ced63690 3a94bcc9 cb867cc0 0000000f
[    8.626622] be20: b6f2c000 c0e04d48 c01e9171 00000040 b6f2c000 ce98be54 00000000 c0213847
[    8.626631] be40: 00000000 cebf0040 ce98be70 c01a06bd 00000000 cb867000 00000054 006200ca
[    8.626640] be60: 00000000 b6f2f000 ce826db8 ce826db8 00000000 00000000 00000000 00000000
[    8.626650] be80: ce8084bc cff84134 00000000 3a94bcc9 00000000 ce98bfb0 ce9a5b00 ce746c00
[    8.634816] pgd = dcf1d5f4
[    8.642971] bea0: 00000017 b6f2c1c8 00000054 ce746c3c cb867000 c0110c79 00000000 3a94bcc9
[    8.642982] bec0: c0e04d48 008f8eb0 00000003 00000000 00000000 c0512f89 be890778 c0e0acf4
[    8.642991] bee0: c0e04d48 00000017 c0110ba1 b6f2c1c8 ce98bfb0 00000000 0000000e c0110f03
[    8.642999] bf00: 00000000 00000000 00000000 3a94bcc9 00000000 00020000 cecebc20 cd29c188
[    8.643008] bf20: ffffe000 3a94bcc9 cd29c180 00000000 be890778 00000080 ffffe000 ce98bf78
[    8.643017] bf40: cd29c180 00000080 be890778 c023ecb5 00000000 00000000 c0e04d48 cd29c180
[    8.643025] bf60: c0e04d48 cd29c180 be890778 00000000 00000000 c023f061 00000000 00000000
[    8.643034] bf80: ce98a000 3a94bcc9 008f2e38 3a94bcc9 008f8eb0 b6f84f94 200f0030 ffffffff
[    8.643047] bfa0: 50c5387d 50c5387d 00000000 c0101dcf 00000018 00000061 a4f92301 0000000a
[    8.651296] [000000ac] *pgd=00000000
[    8.659455] bfc0: b6fa3480 00000002 b6f9b6e0 00000001 00000001 00000000 00000000 0000000e
[    8.659466] bfe0: 00000001 be890598 b6f2c168 b6f84f94 200f0030 ffffffff 00000000 00000000
[    8.659500] [<c01e91d6>] (filemap_map_pages) from [<c0213847>] (handle_mm_fault+0x727/0x988)
[    8.659520] [<c0213847>] (handle_mm_fault) from [<c0110c79>] (do_page_fault+0xd9/0x230)
[    8.675929] [<c0110c79>] (do_page_fault) from [<c0110f03>] (do_DataAbort+0x43/0xac)
[    8.675944] [<c0110f03>] (do_DataAbort) from [<c0101dcf>] (__dabt_usr+0x4f/0x60)
[    8.675949] Exception stack(0xce98bfb0 to 0xce98bff8)
[    8.675956] bfa0:                                     00000018 00000061 a4f92301 0000000a
[    8.675967] bfc0: b6fa3480 00000002 b6f9b6e0 00000001 00000001 00000000 00000000 0000000e
[    8.833647] bfe0: 00000001 be890598 b6f2c168 b6f84f94 200f0030 ffffffff
[    8.840306] Code: f3bf 8f5b f8b3 f000 (e853) 2f00 
[    8.845141] Internal error: Oops: 5 [#2] SMP THUMB2
[    8.845270] ---[ end trace 4dc4818320872398 ]---
[    8.850045] Modules linked in: zstd zram snd_soc_simple_card snd_soc_simple_card_utils sun8i_codec_analog sun4i_i2s sun8i_adda_pr_regmap sun4i_gpadc_iio snd_soc_core industrialio snd_pcm_dmaengine lima sun8i_ths snd_pcm snd_timer gpu_sched ttm snd soundcore cpufreq_dt uio_pdrv_genirq thermal_sys uio 8189es(-) cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[    8.889911] CPU: 0 PID: 625 Comm: NetworkManager Tainted: G      D           4.19.62-sunxi #5.92
[    8.898723] Hardware name: Allwinner sun8i Family
[    8.903475] PC is at filemap_map_pages+0x66/0x274
[    8.908198] LR is at filemap_map_pages+0x26d/0x274
[    8.913007] pc : [<c01e91d6>]    lr : [<c01e93dd>]    psr: 80030133
[    8.919287] sp : ce823df8  ip : 00000000  fp : 0000000f
[    8.924534] r10: ce823e54  r9 : 00000001  r8 : cee438ec
[    8.929776] r7 : c0e04d48  r6 : cffb2488  r5 : ced636b4  r4 : 00000000
[    8.936324] r3 : 000000ac  r2 : 00000004  r1 : cfed5fc4  r0 : 00000090
[    8.942882] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[    8.950225] Control: 50c5387d  Table: 4e96006a  DAC: 00000051
[    8.956009] Process NetworkManager (pid: 625, stack limit = 0xd9bff37f)
[    8.962656] Stack: (0xce823df8 to 0xce824000)
[    8.967031] 3de0:                                                       00000003 cd098540
[    8.975228] 3e00: ffffe000 00000004 00000040 c0212347 ced63690 3a94bcc9 b45bc000 0000000f
[    8.983430] 3e20: b4581000 c0e04d48 c01e9171 00000040 b4581000 ce823e54 00000000 c0213847
[    8.991634] 3e40: bf000000 00000000 00000000 00000400 cd023000 ce396180 00000054 006200ca
[    8.999844] 3e60: 00000000 b4584000 ce962d10 ce962d10 00000000 00000000 00000000 00000000
[    9.008072] 3e80: ce96d610 cff87368 00000000 3a94bcc9 ce396120 ce823fb0 ce9a6180 cddbc200
[    9.016286] 3ea0: 00000017 b4581158 00000054 cddbc23c ce396180 c0110c79 ce3962b0 ce3962a0
[    9.024493] 3ec0: b45bd000 c0217129 ce3962b0 00000000 00000000 000b45bc 00000000 c0e0acf4
[    9.032701] 3ee0: c0e04d48 00000017 c0110ba1 b4581158 ce823fb0 be8aff20 0003b894 c0110f03
[    9.040934] 3f00: 00000032 b45bc000 00640000 00000000 00000077 00000001 cddbc200 c0217705
[    9.049166] 3f20: 000b45bc ce823f74 00000000 c090acdf 00000012 c0e04d48 00000000 ce823f74
[    9.057385] 3f40: 00000003 b45bc000 00000894 c020300f 0000059f c0e04d48 00000032 00000000
[    9.065608] 3f60: 000b45bc ce823f70 ce823f74 3a94bcc9 00000000 00000000 cd098540 cf2a5e00
[    9.073828] 3f80: 00000006 c023c103 00000000 3a94bcc9 b622c578 b6f0244e 40030030 ffffffff
[    9.082048] 3fa0: 50c5387d 50c5387d be8b014c c0101dcf b622c578 b622c598 b4581000 b4581158
[    9.090272] 3fc0: b622c578 b4581000 00000000 be8affe8 b4581000 be8b014c be8aff20 0003b894
[    9.098534] 3fe0: 6ffffeff be8affb0 b6efe931 b6f0244e 40030030 ffffffff 00000000 00000000
[    9.098573] [<c01e91d6>] (filemap_map_pages) from [<c0213847>] (handle_mm_fault+0x727/0x988)
[    9.115233] [<c0213847>] (handle_mm_fault) from [<c0110c79>] (do_page_fault+0xd9/0x230)
[    9.115249] [<c0110c79>] (do_page_fault) from [<c0110f03>] (do_DataAbort+0x43/0xac)
[    9.130938] [<c0110f03>] (do_DataAbort) from [<c0101dcf>] (__dabt_usr+0x4f/0x60)
[    9.130947] Exception stack(0xce823fb0 to 0xce823ff8)
[    9.143402] 3fa0:                                     b622c578 b622c598 b4581000 b4581158
[    9.143411] 3fc0: b622c578 b4581000 00000000 be8affe8 b4581000 be8b014c be8aff20 0003b894
[    9.159764] 3fe0: 6ffffeff be8affb0 b6efe931 b6f0244e 40030030 ffffffff
[    9.166391] Code: f3bf 8f5b f8b3 f000 (e853) 2f00 
[    9.166531] ---[ end trace 4dc4818320872399 ]---

 

My ultimate goal is to build my own system using the "customize-image.sh" script to install my software for packaging.

The problem now is that the build script builds the latest version of armbian 5.98 or higher. How will I build with the old kernel 4.19.38? Or is it that I need to wait for a while? I am expecting this problem will be fixed?

Share this post


Link to post
Share on other sites
On 10/25/2019 at 10:53 AM, Lutz Fechner said:

Just installed Armbian_5.90_Orangepi-r1_Debian_buster_next_4.19.57.img on my new R1 too yesterday.

I have the NAS-Board attached to it with an 256 Transcend msata SSD

Just resetet it now  by burning the image again on the SD card -  maybe I wanted too much from that little board with only 256 MB.

I woud like to see a picture of your NAS-board installation on the OPi R1, because - I think - I was (one of) the first who did attach

the NAS-board to the OPi R1 ;) 
 

 

OPi_R1_NAS_Front_ushbost_600px.jpg

Share this post


Link to post
Share on other sites
3 hours ago, yuanyunlong said:

After countless attempts, the final conclusion is reached.

Use Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img
It has been basically stable. And installing the software I use is also normal.

Also tried installing Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img system
Upgrade linux-image-next-sunxi to 4.19.79 or higher 4.19.80  Kernel crash

 

Upgrade process:


root@orangepi:~# dpkg -r linux-image-next-sunxi
(Reading database ... 33468 files and directories currently installed.)
Removing linux-image-next-sunxi (5.83) ...
update-initramfs: Deleting /boot/initrd.img-4.19.38-sunxi

root@orangepi:~# dpkg -i linux-image-next-sunxi_5.98_armhf.deb 

After rebooting, the kernel crashes:

 

I did download from https://apt.armbian.com/pool/main/l/linux-4.19.62-sunxi/linux-image-next-sunxi_5.92_armhf.deb 4.19.62 Kernel Installation

I am expecting this problem will be fixed?

@yuanyunlong I never had kernel-crashes with the OPi R1 neither with 4.19.y or 5.x kernel versions

I also did try this very actual dev-version without a kernel-crash:
 

  ___  ____  _   ____  _
 / _ \|  _ \(_) |  _ \/ |
| | | | |_) | | | |_) | |
| |_| |  __/| | |  _ <| |
 \___/|_|   |_| |_| \_\_|

Welcome to Debian Buster with Armbian Linux 5.3.7-sunxi
package bsp-kernel[5.98.191026] u-boot[5.98] dtb[5.98.191026] firmware[5.98] config[5.98]

The only thing which came to my mind is that you only do update the kernel package, but when armbian does a "system-update" there are some additional packages which would/should(?) be updated along with the kernel package:
 

linux-u-boot-orangepi-r1-dev      5.98                                armhf        Uboot loader 2019.04
u-boot-tools                      2019.01+dfsg-7                      armhf        companion tools for Das U-Boot bootloader
linux-buster-root-dev-orangepi-r1 5.98                                armhf        Armbian tweaks for buster on orangepi-r1 (dev branch)
linux-image-dev-sunxi             5.98.191026                         armhf        Linux kernel, version 5.3.7-sunxi
linux-dtb-dev-sunxi               5.98.191026                         armhf        Linux DTB, version 5.3.7-sunxi
armbian-config                    5.98                                all          Armbian configuration utility
armbian-firmware                  5.98                                all          Linux firmware

Maybe you newer kernel needs some of these packages for not crashing on you?

Share this post


Link to post
Share on other sites

:(

 

armbianmonitor  http://ix.io/1ZWy

After running for seven hours, restarting the kernel crashed again. . .

 

[   68.029487] Unable to handle kernel paging request at virtual address 015fa1e0
[   68.044593] Unable to handle kernel paging request at virtual address dc387699
[   68.049432] pgd = 295fccea
[   68.057596] pgd = 8e03284a
[   68.057602] [dc387699] *pgd=00000000
[   68.065830] [015fa1e0] *pgd=00000000
[   68.074003] Internal error: Oops: 5 [#139] SMP THUMB2
[   68.074008] Modules linked in: zram cpufreq_dt
[   68.090394]  uio_pdrv_genirq uio thermal_sys 8189es cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[   68.629034] CPU: 1 PID: 640 Comm: systemd-cgroups Tainted: G      D           4.19.38-sunxi #5.83
[   68.629040] Hardware name: Allwinner sun8i Family
[   68.642626] PC is at kmem_cache_alloc+0x5c/0x168
[   68.642635] LR is at 0xdc387699
[   68.650391] pc : [<c022bb3c>]    lr : [<dc387699>]    psr: a0070033
[   68.650394] sp : ceb49dd0  ip : 006f006f  fp : c0e04d48
[   68.650399] r10: ce91da80  r9 : 1197a719  r8 : cf8cdf00
[   68.650406] r7 : c029078d  r6 : 006000c0  r5 : cf8cdf00  r4 : dc387699
[   68.673633] r3 : 00000000  r2 : c0dbe190  r1 : 0ef93000  r0 : 000001db
[   68.673642] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[   68.687474] Control: 50c5387d  Table: 4d2f806a  DAC: 00000051
[   68.687485] Process systemd-cgroups (pid: 640, stack limit = 0x17651d42)
[   68.699923] Stack: (0xceb49dd0 to 0xceb4a000)
[   68.699930] 9dc0:                                     00000000 00000000 00000000 cf989900
[   68.705102] systemd[1]: Started System Logging Service.
[   68.712466] 9de0: 00000000 ced6b158 ce91da80 c0290731 c0c33408 ce91da80 c0e04d48 c029078d
[   68.712475] 9e00: 0000801d ce91da80 ced6b158 40000000 ce91da88 c0290731 00000000 c023b9d7
[   68.712484] 9e20: ced7a3b8 ceb49ec0 00000000 00000000 00000000 cf404660 00000000 c02492f9
[   68.742232] 9e40: c0e04d48 00000000 00000000 00000004 00000000 c0e04d48 00000000 00000041
[   68.750420] 9e60: ffffe000 ceb49ec8 000d7b80 c05c3e77 cdb52400 c0bafc50 00000002 ced6b158
[   68.750429] 9e80: cfb27f10 ced7a3b8 00341f83 c02dd12d 00341f83 feac2d6f 00000051 c0e04d48
[   68.766786] 9ea0: 00000000 ceb49f70 00000001 fffff000 ceb48000 00000005 00000000 c024abeb
[   68.766795] 9ec0: cfb27f10 ced7a3b8 b2f3f808 0000000b ceb75016 0039c4d8 cfb27d10 cf43b110
[   68.783150] 9ee0: ced6b158 00000101 00000002 00000548 00000000 00000000 00000000 ceb49f00
[   68.791335] 9f00: 00000000 00000000 00000000 c0255a47 cd486bb0 c022bb05 be861d74 b6c8d000
[   68.791344] 9f20: 00000063 feac2d6f 00000000 00000020 ceb75000 00000000 00000000 00000002
[   68.791353] 9f40: ffffff9c c0255a47 00000000 feac2d6f ffffff9c 00000000 c0e04d48 ffffff9c
[   68.815878] 9f60: ceb75000 c023c873 7559d82e 75656f00 00000000 00000000 00000004 00000100
[   68.815886] 9f80: 00000001 feac2d6f 013fb028 00000000 00000008 00000005 c0101224 ceb48000
[   68.832241] 9fa0: 00000005 c0101001 013fb028 00000000 b6c7ab80 00000000 000001b6 000001b6
[   68.832250] 9fc0: 013fb028 00000000 00000008 00000005 b6c7aaac b6f18ce8 00000000 00000000
[   68.832259] 9fe0: 00000000 be861d6c b6cdc8dd b6d18936 20070030 b6c7ab80 00000000 00000000
[   68.856802] [<c022bb3c>] (kmem_cache_alloc) from [<c029078d>] (proc_reg_open+0x5d/0xe4)
[   68.864822] [<c029078d>] (proc_reg_open) from [<c023b9d7>] (do_dentry_open+0x183/0x2a0)
[   68.864836] [<c023b9d7>] (do_dentry_open) from [<c02492f9>] (path_openat+0x23d/0xe0c)
[   68.880668] [<c02492f9>] (path_openat) from [<c024abeb>] (do_filp_open+0x4f/0x94)
[   68.880680] [<c024abeb>] (do_filp_open) from [<c023c873>] (do_sys_open+0x13f/0x1a8)
[   68.895818] [<c023c873>] (do_sys_open) from [<c0101001>] (ret_fast_syscall+0x1/0x62)
[   68.895825] Exception stack(0xceb49fa8 to 0xceb49ff0)
[   68.908620] 9fa0:                   013fb028 00000000 b6c7ab80 00000000 000001b6 000001b6
[   68.916806] 9fc0: 013fb028 00000000 00000008 00000005 b6c7aaac b6f18ce8 00000000 00000000
[   68.918181] systemd[1]: cron.service: Main process exited, code=killed, status=11/SEGV
[   68.924989] 9fe0: 00000000 be861d6c b6cdc8dd b6d18936
[   68.925002] Code: f8d5 90b4 eb04 0e03 (f854) a003 
[   68.925009] ---[ end trace 4998272b39de22d4 ]---
[   68.925013] Internal error: Oops: 5 [#140] SMP THUMB2
[   68.925018] Modules linked in: zram cpufreq_dt uio_pdrv_genirq
[   68.934472] systemd[1]: cron.service: Unit entered failed state.
[   68.938009]  uio thermal_sys 8189es cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[   68.938044] CPU: 2 PID: 639 Comm: kworker/u8:0 Tainted: G      D           4.19.38-sunxi #5.83
[   68.938055] Hardware name: Allwinner sun8i Family
[   68.988885] PC is at kmem_cache_alloc+0x5c/0x168
[   68.988895] LR is at 0x15fa1e0
[   68.996565] pc : [<c022bb3c>]    lr : [<015fa1e0>]    psr: 200d0133
[   68.996569] sp : ceb6fd80  ip : 00000004  fp : 00000100
[   68.996576] r10: 00000000  r9 : c6bd93d9  r8 : cf8cde00
[   69.013285] r7 : c023f5b3  r6 : 006080c0  r5 : cf8cde00  r4 : 015fa1e0
[   69.013289] r3 : 00000000  r2 : c0dbe100  r1 : 0efa5000  r0 : 00001c24
[   69.013298] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[   69.033652] Control: 50c5387d  Table: 4eb8806a  DAC: 00000051
[   69.033664] Process kworker/u8:0 (pid: 639, stack limit = 0xa688c7a7)
[   69.045841] Stack: (0xceb6fd80 to 0xceb70000)
[   69.045850] fd80: 00000000 00000000 00000000 c0e04b40 cd1f6c00 00020020 cd1f6c00 cd2c3ef0
[   69.058383] fda0: ffffe000 00000000 00000100 c023f5b3 c0e04b40 c0e24ed4 00020020 c023f815
[   69.058392] fdc0: 00000000 00000000 ceb6fe60 feac2d6f ceb6ff10 ceb6ff10 c0e04d48 c02490f7
[   69.058400] fde0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000041
[   69.082926] fe00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   69.091112] fe20: 00000000 00000000 00000000 00000000 00000000 feac2d6f 00000000 c0e04d48
[   69.099297] fe40: 00000000 ceb6ff10 00000001 cd2c3ef0 cfafa200 00000000 ffffff9c c024abeb
[   69.107482] fe60: 00000000 00000000 00000000 00000000 00000000 c022bbb5 00000000 00000000
[   69.107491] fe80: 00000000 00000000 006000c0 c0134615 00000000 00000000 00000000 ceb6fea0
[   69.107499] fea0: 00000000 00000000 00000000 80200020 00000000 00000000 00000000 feac2d6f
[   69.107508] fec0: 00000000 00000000 cf8cc600 006000c0 ce85c000 00000000 600d0113 00000000
[   69.140210] fee0: ffffff9c c022bbb5 00000000 feac2d6f 00000000 c0e04d48 ce85c000 00000000
[   69.140219] ff00: 00000000 c02429db cd1f6c00 00000000 00020020 00000000 00000001 00000100
[   69.156572] ff20: 00000001 feac2d6f ce830d00 c0e04d48 ce85c000 ce830d00 cd2c3ee4 cd2c3ef0
[   69.156582] ff40: cfafa200 c0244549 00000000 c022bb05 00000000 c016a409 00000000 feac2d6f
[   69.172935] ff60: c0e05430 00000000 ce4fdc00 c0efbf38 ffffffff 00000000 00000000 00000000
[   69.181120] ff80: 00000000 c024477b 00000000 00000000 cd1f6c00 c012b8b5 00000015 ce4fdc00
[   69.189315] ffa0: c012b781 00000000 00000000 c01010f9 00000000 00000000 00000000 00000000
[   69.197506] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   69.197514] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[   69.213881] [<c022bb3c>] (kmem_cache_alloc) from [<c023f5b3>] (__alloc_file+0x23/0xa8)
[   69.213895] [<c023f5b3>] (__alloc_file) from [<c023f815>] (alloc_empty_file+0x49/0xe8)
[   69.229727] [<c023f815>] (alloc_empty_file) from [<c02490f7>] (path_openat+0x3b/0xe0c)
[   69.229739] [<c02490f7>] (path_openat) from [<c024abeb>] (do_filp_open+0x4f/0x94)
[   69.245140] [<c024abeb>] (do_filp_open) from [<c02429db>] (do_open_execat+0x5b/0x128)
[   69.245156] [<c02429db>] (do_open_execat) from [<c0244549>] (__do_execve_file+0x3fd/0x5ec)
[   69.261245] [<c0244549>] (__do_execve_file) from [<c024477b>] (do_execve+0x1f/0x24)
[   69.261262] [<c024477b>] (do_execve) from [<c012b8b5>] (call_usermodehelper_exec_async+0x135/0x138)
[   69.277958] [<c012b8b5>] (call_usermodehelper_exec_async) from [<c01010f9>] (ret_from_fork+0x11/0x38)
[   69.277965] Exception stack(0xceb6ffb0 to 0xceb6fff8)
[   69.292232] ffa0:                                     00000000 00000000 00000000 00000000
[   69.292240] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   69.308592] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   69.315214] Code: f8d5 90b4 eb04 0e03 (f854) a003 
[   69.315255] ---[ end trace 4998272b39de22d5 ]---

 

Share this post


Link to post
Share on other sites
On 10/25/2019 at 12:49 PM, yuanyunlong said:

thank you for your reply. I don't have access to third-party hardware. First, make sure that the software system is stable and try to access other hardware and drivers. My current position is Debian_stretch

I tried it again and again today.

Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img    Armbian_5.90_Orangepi-r1_Debian_buster_next_4.19.57.img

Stability is still said in the past.

But I need to build the system myself. The current build script is the latest Armbian_5.98_Orangepi-r1_Debian_stretch_next_4.19.79.img 

Did you try to run the armbian-image without additional software or patches from your buid-script?

The kernel error does show that the system was unable to page in virtual memory (from virtual memory module zram).

What do you add with your script to the standard image - maybe that is to much for the 256MB of ram the OPi R1 has?

 

Share this post


Link to post
Share on other sites
8 minutes ago, guidol said:

Did you try to run the armbian-image without additional software or patches from your buid-script?

The kernel error does show that the system was unable to page in virtual memory (from virtual memory module zram).

What do you add with your script to the standard image - maybe that is to much for the 256MB of ram the OPi R1 has?

 

 

 

When I use Armbian mirror site to download Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img does not access third-party hardware. Nor does it install other redundant software, and kernel crashes occur, but not so often.

 

This kernel I am crashing information from 4.19.38 to 4.19.62.

 

Last login: Sun Oct 27 02:08:12 UTC 2019 on ttyS0
  ___                               ____  _   ____  _ 
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |  _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| |  __/ |  __/| | |  _ <| |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_| \_\_|
                       |___/                          

Welcome to ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.62-sunxi   
System load:   0.94 0.26 0.09   Up time:       0 min
Memory usage:  23 % of 239MB    IP:            192.168.1.109
CPU temp:      39°C           
Usage of /:    29% of 3.5G   

[ 0 security updates available, 1 updates total: apt upgrade ]
Last check: 2019-10-27 08:07


root@orangepi:~# [ 2275.906348] Unable to handle kernel paging request at virtual address 15d11e80
[ 2275.906766] Unable to handle kernel paging request at virtual address 15d47e80
[ 2275.906944] Unable to handle kernel paging request at virtual address 4ba3e78c
[ 2275.906953] Unable to handle kernel paging request at virtual address 5b9d428c
[ 2275.906964] pgd = ab4121b8
[ 2275.906969] pgd = 845de45c
[ 2275.906974] [4ba3e78c] *pgd=00000000
[ 2275.906980] [5b9d428c] *pgd=00000000
[ 2275.906998] Internal error: Oops: 5 [#1] SMP THUMB2
[ 2275.907005] Modules linked in: 8189es zstd sun8i_codec_analog snd_soc_simple_card sun8i_adda_pr_regmap sun4i_i2s snd_soc_simple_card_utils snd_soc_core lima snd_pcm_dmaengine snd_pcm snd_timer gpu_sched sun4i_gpadc_iio snd ttm soundcore industrialio sun8i_ths zram cpufreq_dt uio_pdrv_genirq uio thermal_sys cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple [last unloaded: 8189es]
[ 2275.907172] CPU: 1 PID: 2091 Comm: df Not tainted 4.19.62-sunxi #5.92
[ 2275.907178] Hardware name: Allwinner sun8i Family
[ 2275.907203] PC is at cpuacct_account_field+0x1c/0x44
[ 2275.907216] LR is at account_user_time+0x95/0xb4
[ 2275.907224] pc : [<c01575c4>]    lr : [<c013dfdd>]    psr: 400f01b3
[ 2275.907232] sp : c7a8fe58  ip : 00000018  fp : c017f02d
[ 2275.907238] r10: 00000000  r9 : 00000000  r8 : 003d0900
[ 2275.907247] r7 : cdb1e800  r6 : 00000001  r5 : 5b9d4200  r4 : cfd44308
[ 2275.907255] r3 : 00000000  r2 : 003d0900  r1 : 00000000  r0 : cdb1e800
[ 2275.907266] Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[ 2275.907275] Control: 50c5387d  Table: 47a9406a  DAC: 00000051
[ 2275.907284] Process df (pid: 2091, stack limit = 0x419dd05e)
[ 2275.907293] Stack: (0xc7a8fe58 to 0xc7a90000)
[ 2275.907304] fe40:                                                       ffffe000 cdb1e800
[ 2275.907323] fe60: 00000001 00000211 cfd49780 ffffe000 c0e04d70 c0171089 cfd49aa0 c7a8ffb0
[ 2275.907341] fe80: e1349221 c017f063 cfd497c0 c0171729 00000000 cfd49aa0 cfd497c0 cfd49780
[ 2275.907359] fea0: 0000aace c01718f5 e1347799 00000211 00000002 e1347799 00000211 c0e04d48
[ 2275.907377] fec0: e1347799 00000211 cfd49830 3a94bcc9 00000000 cfd49780 000f0193 00000003
[ 2275.907395] fee0: 7fffffff cfd49858 cfd49830 cfd49808 cfd4978c c01723b5 000f0193 0000000f
[ 2275.907413] ff00: ffffffff 7fffffff 00000400 ffffffff 00000001 00000000 e1347799 00000211
[ 2275.907431] ff20: 00000000 cf8cbd00 cf8ca540 c0e05528 00000013 00000001 cf83d000 bed2ab70
[ 2275.907449] ff40: 01e114d3 c07b182d c07b1809 c016306f c0dbb18c 00000000 00000013 00000000
[ 2275.907467] ff60: 00000001 cf83d000 bed2ab70 c015f3ad 00000091 c015f851 c7a8ffb0 c0e05528
[ 2275.907485] ff80: d080200c d0802000 c7a8ffb0 d0803000 bed2ab6c c05c9c51 b6eeb3b4 200f0010
[ 2275.907503] ffa0: ffffffff 50c5387d 50c5387d c0101e41 01e11230 01e11470 00000064 00000000
[ 2275.907521] ffc0: 00000064 01e110c8 01e11470 00000000 00000064 bed2ab6c bed2ab70 01e114d3
[ 2275.907539] ffe0: 01e11230 bed2aae8 b6ed4dd5 b6eeb3b4 200f0010 ffffffff 00000000 00000000
[ 2275.907570] [<c01575c4>] (cpuacct_account_field) from [<c013dfdd>] (account_user_time+0x95/0xb4)
[ 2275.907594] [<c013dfdd>] (account_user_time) from [<c017f063>] (tick_sched_timer+0x37/0x74)
[ 2275.907620] [<c017f063>] (tick_sched_timer) from [<c01718f5>] (__hrtimer_run_queues+0x105/0x254)
[ 2275.907644] [<c01718f5>] (__hrtimer_run_queues) from [<c01723b5>] (hrtimer_interrupt+0xb5/0x200)
[ 2275.907672] [<c01723b5>] (hrtimer_interrupt) from [<c07b182d>] (arch_timer_handler_phys+0x25/0x28)
[ 2275.907698] [<c07b182d>] (arch_timer_handler_phys) from [<c016306f>] (handle_percpu_devid_irq+0x57/0x19c)
[ 2275.907720] [<c016306f>] (handle_percpu_devid_irq) from [<c015f3ad>] (generic_handle_irq+0x1d/0x28)
[ 2275.907743] [<c015f3ad>] (generic_handle_irq) from [<c015f851>] (__handle_domain_irq+0x45/0x84)
[ 2275.907769] [<c015f851>] (__handle_domain_irq) from [<c05c9c51>] (gic_handle_irq+0x39/0x68)
[ 2275.907793] [<c05c9c51>] (gic_handle_irq) from [<c0101e41>] (__irq_usr+0x61/0x80)
[ 2275.907801] Exception stack(0xc7a8ffb0 to 0xc7a8fff8)
[ 2275.907814] ffa0:                                     01e11230 01e11470 00000064 00000000
[ 2275.907832] ffc0: 00000064 01e110c8 01e11470 00000000 00000064 bed2ab6c bed2ab70 01e114d3
[ 2275.907847] ffe0: 01e11230 bed2aae8 b6ed4dd5 b6eeb3b4 200f0010 ffffffff
[ 2275.907866] Code: 6885 42bd d011 00c9 (f8d5) 008c 
[ 2275.907876] ---[ end trace 5415ed569db2be88 ]---
[ 2275.907882] Internal error: Oops: 5 [#2] SMP THUMB2
[ 2275.907886] Kernel panic - not syncing: Fatal exception in interrupt
[ 2275.907888] Modules linked in: 8189es zstd sun8i_codec_analog snd_soc_simple_card sun8i_adda_pr_regmap sun4i_i2s snd_soc_simple_card_utils snd_soc_core lima snd_pcm_dmaengine snd_pcm snd_timer gpu_sched sun4i_gpadc_iio snd ttm soundcore industrialio sun8i_ths zram cpufreq_dt uio_pdrv_genirq uio thermal_sys cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple [last unloaded: 8189es]
[ 2275.908032] CPU: 2 PID: 2092 Comm: tail Tainted: G      D           4.19.62-sunxi #5.92
[ 2275.908038] Hardware name: Allwinner sun8i Family
[ 2275.908052] PC is at cpuacct_account_field+0x1c/0x44
[ 2275.908062] LR is at account_user_time+0x95/0xb4
[ 2275.908070] pc : [<c01575c4>]    lr : [<c013dfdd>]    psr: 400701b3
[ 2275.908077] sp : c7a6de58  ip : 00000018  fp : c017f02d
[ 2275.908083] r10: 00000000  r9 : 00000000  r8 : 003d0900
[ 2275.908092] r7 : cdb1b400  r6 : 00000001  r5 : 4ba3e700  r4 : cfd56308
[ 2275.908100] r3 : 00000000  r2 : 003d0900  r1 : 00000000  r0 : cdb1b400
[ 2275.908109] Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[ 2275.908117] Control: 50c5387d  Table: 47a9006a  DAC: 00000051
[ 2275.908127] Process tail (pid: 2092, stack limit = 0x015d01e8)
[ 2275.908134] Stack: (0xc7a6de58 to 0xc7a6e000)
[ 2275.908145] de40:                                                       ffffe000 cdb1b400
[ 2275.908163] de60: 00000001 00000211 cfd5b780 ffffe000 c0e04d70 c0171089 cfd5baa0 c7a6dfb0
[ 2275.908181] de80: e13492c7 c017f063 cfd5b7c0 c0171729 00000000 cfd5baa0 cfd5b7c0 cfd5b780
[ 2275.908199] dea0: 000612aa c01718f5 e1347840 00000211 00000000 e1347840 00000211 c0e04d48
[ 2275.908217] dec0: e1347840 00000211 cfd5b830 3a94bcc9 00000000 cfd5b780 00070193 00000003
[ 2275.908235] dee0: 7fffffff cfd5b858 cfd5b830 cfd5b808 cfd5b78c c01723b5 00070193 0000000f
[ 2275.908253] df00: ffffffff 7fffffff cd18c480 ffffffff 00000005 00000000 e1347840 00000211
[ 2275.908271] df20: 00000000 cf8cbd00 cf8ca540 c0e05528 00000013 00000001 cf83d000 00460000
[ 2275.908288] df40: 00000000 c07b182d c07b1809 c016306f c0dbb18c 00000000 00000013 00000000
[ 2275.908306] df60: 00000001 cf83d000 00460000 c015f3ad 00000091 c015f851 c7a6dfb0 c0e05528
[ 2275.908325] df80: d080200c d0802000 c7a6dfb0 d0803000 bec60e40 c05c9c51 004480a0 00070030
[ 2275.908343] dfa0: ffffffff 50c5387d 50c5387d c0101e41 00000002 bec60e34 bec60e40 004480a1
[ 2275.908360] dfc0: 00000001 0045fdc8 00000001 00000002 bec60e34 bec60e40 00460000 00000000
[ 2275.908378] dfe0: b6e6940d bec60cc0 0044dd15 004480a0 00070030 ffffffff 00000000 00000000
[ 2275.908400] [<c01575c4>] (cpuacct_account_field) from [<c013dfdd>] (account_user_time+0x95/0xb4)
[ 2275.908419] [<c013dfdd>] (account_user_time) from [<c017f063>] (tick_sched_timer+0x37/0x74)
[ 2275.908441] [<c017f063>] (tick_sched_timer) from [<c01718f5>] (__hrtimer_run_queues+0x105/0x254)
[ 2275.908464] [<c01718f5>] (__hrtimer_run_queues) from [<c01723b5>] (hrtimer_interrupt+0xb5/0x200)
[ 2275.908489] [<c01723b5>] (hrtimer_interrupt) from [<c07b182d>] (arch_timer_handler_phys+0x25/0x28)
[ 2275.908511] [<c07b182d>] (arch_timer_handler_phys) from [<c016306f>] (handle_percpu_devid_irq+0x57/0x19c)
[ 2275.908530] [<c016306f>] (handle_percpu_devid_irq) from [<c015f3ad>] (generic_handle_irq+0x1d/0x28)
[ 2275.908551] [<c015f3ad>] (generic_handle_irq) from [<c015f851>] (__handle_domain_irq+0x45/0x84)
[ 2275.908573] [<c015f851>] (__handle_domain_irq) from [<c05c9c51>] (gic_handle_irq+0x39/0x68)
[ 2275.908593] [<c05c9c51>] (gic_handle_irq) from [<c0101e41>] (__irq_usr+0x61/0x80)
[ 2275.908601] Exception stack(0xc7a6dfb0 to 0xc7a6dff8)
[ 2275.908613] dfa0:                                     00000002 bec60e34 bec60e40 004480a1
[ 2275.908631] dfc0: 00000001 0045fdc8 00000001 00000002 bec60e34 bec60e40 00460000 00000000
[ 2275.908646] dfe0: b6e6940d bec60cc0 0044dd15 004480a0 00070030 ffffffff
[ 2275.908663] Code: 6885 42bd d011 00c9 (f8d5) 008c 
[ 2275.908671] ---[ end trace 5415ed569db2be89 ]---
[ 2275.913639] pgd = b2e51cb4
[ 2275.920881] pgd = 4c6e3d0b
[ 2275.928119] [15d11e80] *pgd=00000000
[ 2275.935357] [15d47e80] *pgd=00000000
[ 2275.944378] Internal error: Oops: 5 [#3] SMP THUMB2
[ 2276.682810] Modules linked in: 8189es zstd sun8i_codec_analog snd_soc_simple_card sun8i_adda_pr_regmap sun4i_i2s snd_soc_simple_card_utils snd_soc_core lima snd_pcm_dmaengine snd_pcm snd_timer gpu_sched sun4i_gpadc_iio snd ttm soundcore industrialio sun8i_ths zram cpufreq_dt uio_pdrv_genirq uio thermal_sys cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple [last unloaded: 8189es]
[ 2276.719926] CPU: 0 PID: 217 Comm: systemd-journal Tainted: G      D           4.19.62-sunxi #5.92
[ 2276.728816] Hardware name: Allwinner sun8i Family
[ 2276.733544] PC is at cpuacct_account_field+0x28/0x44
[ 2276.738529] LR is at update_curr+0xa9/0x1ac
[ 2276.742729] pc : [<c01575d0>]    lr : [<c0142f59>]    psr: 000f00b3
[ 2276.749011] sp : cd12bcc0  ip : 00000009  fp : c0e05228
[ 2276.754252] r10: 00000009  r9 : ce890680  r8 : ce890700
[ 2276.759494] r7 : 00000000  r6 : 00000000  r5 : cfd3b680  r4 : 0ef80000
[ 2276.766038] r3 : 00000000  r2 : 0021628c  r1 : 06d91e80  r0 : 15d11e80
[ 2276.772582] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[ 2276.780000] Control: 50c5387d  Table: 4e46806a  DAC: 00000051
[ 2276.785764] Process systemd-journal (pid: 217, stack limit = 0x3b49b35c)
[ 2276.792482] Stack: (0xcd12bcc0 to 0xcd12c000)
[ 2276.796865] bcc0: 00000000 ce890700 cfd3b680 0021628c 00000155 00000000 00000400 00000001
[ 2276.805074] bce0: 00000804 cfd3b680 ce890700 ce890700 cd12be20 ce890700 cfd3b600 00000009
[ 2276.813283] bd00: c0e05228 c014351d ce4a4e80 00000211 00000000 c0e04d48 cfd3b600 00000000
[ 2276.821492] bd20: 00000000 00000000 00000000 00000000 c0e04d48 c0293ecd c95554d0 c024701b
[ 2276.829701] bd40: ce4a4e00 c01c097f 6b6143f3 cd12bec8 cd12bdbc cd12bec0 c0e04d48 3a94bcc9
[ 2276.837910] bd60: cd12bdc4 3a94bcc9 cd12bdbc cfd3b680 00000009 ce890700 cd12be20 ce890700
[ 2276.846119] bd80: cfd3b600 ce890a24 c0e05228 c0143c5f c0e04d48 c0e04d48 3a94bcc9 c0e04d48
[ 2276.854328] bda0: ffff0000 cd12bee0 7fff0000 cd12bfa0 cd12bfb0 c01c097f cd648f38 00000000
[ 2276.862537] bdc0: 00000000 c0e04d48 00000009 ce890680 00000000 cfd3b600 ce890680 cfd3b600
[ 2276.870747] bde0: cd12bdf8 3a94bcc9 c0dbb600 cfd3b600 ce890680 c0dbb600 cd12be20 c0e04d48
[ 2276.878956] be00: c0dbb600 ce890a24 c0e05228 c090ad75 00000000 00000000 c0efc074 c013165b
[ 2276.887165] be20: c023fcb5 ce783180 cd12bdd8 0ef80000 c090b247 00000000 cd12bec0 3a94bcc9
[ 2276.895374] be40: 00000000 3a94bcc9 cd12be94 ffffe000 00000000 00000000 cd12be70 c0e04d48
[ 2276.903582] be60: 00000000 c0e04d48 ce89c12c c090b247 3a94bcc9 00000001 00000000 c090e0a7
[ 2276.911791] be80: cd12bf58 c0275aef bef47580 00000000 00000019 00000000 00000019 3a94bcc9
[ 2276.920001] bea0: 00649150 c0275a95 ce89c100 ce89c12c cd12becc c0e04d48 ce89c114 c0275601
[ 2276.928209] bec0: 00001382 00000000 000000fc 3a94bcc9 cd12becc 00000001 00000000 00000000
[ 2276.936418] bee0: bef47580 cd080a80 ce89c100 c090e0c7 00000000 00000001 ce89c114 c027588f
[ 2276.944628] bf00: 00000000 cfb95000 c0e05430 c0255f83 00000000 c022c0ff c0e04d48 ce89c12c
[ 2276.952836] bf20: 00000000 00000000 ce89c114 00000000 ffffe000 00000001 cd080a80 00000019
[ 2276.961045] bf40: 00000003 00000000 00000000 00000000 cd12a000 00000005 00000019 bef47580
[ 2276.969254] bf60: 00000000 3a94bcc9 00000001 ce890680 c013b33d ce89c118 ce89c118 3a94bcc9
[ 2276.977463] bf80: cd12a000 00649150 00000001 bef47580 000000fc c0101224 cd12a000 000000fc
[ 2276.985672] bfa0: 00000008 c01011f9 00649150 00000001 00000008 bef47580 00000019 ffffffff
[ 2276.993881] bfc0: 00649150 00000001 bef47580 000000fc ffffffff ffffffff 00000019 00000008
[ 2277.002090] bfe0: 00000000 bef47570 00000000 b6d25bf2 000f0030 00000008 00000000 00000000
[ 2277.010305] [<c01575d0>] (cpuacct_account_field) from [<c0142f59>] (update_curr+0xa9/0x1ac)
[ 2277.018691] [<c0142f59>] (update_curr) from [<c014351d>] (dequeue_entity+0x25/0x720)
[ 2277.026469] [<c014351d>] (dequeue_entity) from [<c0143c5f>] (dequeue_task_fair+0x47/0x600)
[ 2277.034771] [<c0143c5f>] (dequeue_task_fair) from [<c090ad75>] (__schedule+0x235/0x6d8)
[ 2277.042813] [<c090ad75>] (__schedule) from [<c090b247>] (schedule+0x2f/0x68)
[ 2277.049567] SMP: failed to stop secondary CPUs
. 2[ 2227777..05054433443]3]  RReebboooottiinng g iinn  1010  sseeccononddss...

om [<c090e0a7>] (schedule_hrtimeout_range_clock+0xf3/0xfc)
[ 2277.066865] [<c090e0a7>] (schedule_hrtimeout_range_clock) from [<c090e0c7>] (schedule_hrtimeout_range+0x17/0x1c)
[ 2277.077079] [<c090e0c7>] (schedule_hrtimeout_range) from [<c027588f>] (do_epoll_wait+0x283/0x37c)
[ 2277.085988] [<c027588f>] (do_epoll_wait) from [<c01011f9>] (__sys_trace_return+0x1/0xc)
[ 2277.094013] Exception stack(0xcd12bfa8 to 0xcd12bff0)
[ 2277.099087] bfa0:                   00649150 00000001 00000008 bef47580 00000019 ffffffff
[ 2277.107295] bfc0: 00649150 00000001 bef47580 000000fc ffffffff ffffffff 00000019 00000008
[ 2277.115497] bfe0: 00000000 bef47570 00000000 b6d25bf2
[ 2277.120574] Code: ee1d 4f90 4420 4408 (e9d0) 4600 
[ [22 27277.71.2152385398]9 ]I nItentrenranla el rerrorro: r:O oOposp: s:5  5[ #[4]#4 ]S MSPM TP HTUHMUBM2
p 2[2 727.21347778.61]3 4C78PU60]:  CsPUto0p:p isntog
 ping
in: 8189es
[ 22[7 72.217471.123481]2 3C8]PU :C P0U : PI0D: 217 Comm: systemd-journal Tainted: G      D           4.19.62-sunxi #5.92
[ 2[2 72727.175.11951309]3 0H] arHdawradrwae rnea mnae:m eA:l Alwlilnwnier sun8i Family
[ 2[2 7227.7175.91569936]9 3][< c[0<1c001d704dd7>4d] >(]u n(uwinnwdi_nbd_acktrace) from [<c010a2f1>] (show_stack+0x11/0x14)
[ 22[7 72.217770.5187105] 8[1<]c [01<0ca021f0a1>2]f 1(>]sh o(ws_hostwa_cskt)ac fkr)o mfr [o<mc 0[<8fcc0182fc1121>]>]  ((dduumpmp__ssttaackck++00xx69/0x78)
[ [2 227727.71.8148144184]8 ][ <c[<0c80f8cf12c112>1]> ](d (ump_stack) from [<c010c7fb>] (handle_IPI+0x2a7/0x2c0)
[ [22 27277.71.9419047087] 8][ <[c<01c001c07fb>] (handle_IPI) from [<c05c9c7f>] (gic_handle_irq+0x67/0x68)
[[  22227777.2.2003344884]4]  [[<<cc0505cc99cc77f>f>]]  ((ggicic__hhandle_irq) from [<c0101a65>] (__irq_svc+0x65/0x94)
[ 2[2 2772.7271.2313991199]]  EExxcceeppttiioonn stack(0xcd12bac8 to 0xcd12bb10)
[ 2[2 2772.7272.12206140]6 4]ba cb0a:c0  :                                 ce890b08 00000000 0000228c 0000228d ce890680 0000000b
[ [2 227277.72.3232327347]4 ]b baea0e:0 :0 0000000000000b bc dc1d212bcb7c07 0b bf000000 ffffe000 00000005 ce890680 0000000b cd12bb18
[ 2[ 27272.727.442042440]24 b]b 0b0b0: 0c:0 1c01e1a19e3a 93c0 1c10e11aaeaa a0a 00f0133 ffffffff
[ [ 22227777..225522447766]]  [[<<cc00110011aa6655>>] (__irq_svc) from [<c011eaaa>] (do_exit+0xba/0x898)
[ 2[2 7272.7276.12760167]0 [6]< c[0<1c1e01a1aa>] (do_exit) from [<c010a49b>] (die+0x1a7/0x278)
[ [2 22727.772.7207070017]1 ][< [c<0c1001a40a94b9>b] >](die) from [<c0111051>] (__do_kernel_fault.part.0+0x55/0x60)
[ [2 227277.7.28208205259]9 ][ <[<cc0101111015015>1>] ]( _(__d_do_ok_ekernel_fault.part.0) from [<c0110dd1>] (do_bad_area+0x1/0x58)
[ 2[2 2772.7279.21893128]3 2][< c[0<1c0101d1d01dd>]1 >(]d o(d_boa_db_adar_eaa) from [<ce4c2e00>] (0xce4c2e00)
[ 2277.301480]  r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple [last unloaded: 8189es]
[ 2277.312071] CPU: 3 PID: 2085 Comm: cron Tainted: G      D           4.19.62-sunxi #5.92
[ 2277.320094] Hardware name: Allwinner sun8i Family
[ 2277.324820] PC is at cpuacct_account_field+0x28/0x44
[ 2277.329804] LR is at update_curr+0xa9/0x1ac
[ 2277.334004] pc : [<c01575d0>]    lr : [<c0142f59>]    psr: 000800b3
[ 2277.340286] sp : ce419cb8  ip : 00000003  fp : 00000049
[ 2277.345527] r10: ce4a4e80  r9 : ce4a4e00  r8 : ce4a7580
[ 2277.350769] r7 : 00000000  r6 : 00000000  r5 : cfd71680  r4 : 0efb6000
[ 2277.357314] r3 : 00000000  r2 : 002495e2  r1 : 06d91e80  r0 : 15d47e80
[ 2277.363858] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[ 2277.371276] Control: 50c5387d  Table: 47a4806a  DAC: 00000051
[ 2277.377041] Process cron (pid: 2085, stack limit = 0x0527f815)
[ 2277.382890] Stack: (0xce419cb8 to 0xce41a000)
[ 2277.387265] 9ca0:                                                       00000000 ce4a4e80
[ 2277.395474] 9cc0: cfd71680 002495e2 00000000 00000000 00000001 3a94bcc9 00000100 cfd71680
[ 2277.403683] 9ce0: ce4a7580 c0e04d48 00000001 ce4a7580 cfd71600 ce4a4e80 00000049 c0145195
[ 2277.411893] 9d00: 00000019 cf8cbd00 c0db2358 c0e04d70 c0ee3998 c0dbb1c0 0000000a 00078982
[ 2277.420102] 9d20: c0e03d00 c01f0d69 c07b1809 c0dbb18c 00000001 c01f0d69 00000000 00000000
[ 2277.428310] 9d40: 00000001 cf8dbdfc 00000001 3a94bcc9 00000001 00000049 ce4a7580 cfd71680
[ 2277.436519] 9d60: ce419df0 ce4a7580 cfd71600 cfd71600 0efb6000 c01457db 00000003 00000000
[ 2277.444728] 9d80: ffffe000 c0e04d70 00000010 c0e05228 00000795 00000000 00000000 00000080
[ 2277.452937] 9da0: 00000010 c0142b0d cfd4d680 c0e04d48 c0e04d70 ce419df0 ce4a7988 c0142b17
[ 2277.461146] 9dc0: 00000000 3a94bcc9 00000000 ce4a7500 cfd71600 00000004 ce419df0 ce419e1c
[ 2277.469356] 9de0: 00000004 cfd71600 0efb6000 c013a715 ce4a7500 c0e04d48 c0dbb600 ce419e08
[ 2277.477565] 9e00: ce4a7988 c013b0db 00000000 00000003 c0dbb600 60080093 0000002a c0e0dc40
[ 2277.485774] 9e20: 00000000 3a94bcc9 00000001 ce4a7500 00000000 ce419ec4 00000001 00000000
[ 2277.493983] 9e40: 00000000 ce738924 00000010 c012573f 0000087f ce4a7500 00000011 c0125d49
[ 2277.502192] 9e60: 00000000 ce419e80 00000000 00000010 cdad1480 c0150259 00000000 ce419ec4
[ 2277.510401] 9e80: ce4a7500 00000011 00000001 00080093 00000011 ce52ee40 00000002 c0126013
[ 2277.518610] 9ea0: 00000000 ce4a4e00 ce4a4e00 00000000 c0e04d48 ce52f344 00080093 c012714b
[ 2277.526818] 9ec0: 00000000 00000011 00000000 00000001 00000825 00000000 00000000 00000000
[ 2277.535026] 9ee0: 00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2277.543233] 9f00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2277.551440] 9f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2277.559649] 9f40: 00000000 3a94bcc9 ce4a4e00 c0e0e418 cf8f5480 ffffe000 ce419f6c 00000000
[ 2277.567858] 9f60: ce4a510c c011f1ef ce418000 ce419f6c ce419f6c 3a94bcc9 00002710 000000f8
[ 2277.576068] 9f80: 00000002 c011f2e3 00000000 00000000 011846d8 01184428 000000f8 c011f34f
[ 2277.584276] 9fa0: 00000000 c0101001 00000000 011846d8 00000000 b6f6b7d4 ea8d4000 00000000
[ 2277.592486] 9fc0: 00000000 011846d8 01184428 000000f8 0042c2f8 0042cf74 bea2cc90 00000002
[ 2277.600695] 9fe0: 000000f8 bea2cc64 b6ef26c5 b6e976f6 80080030 00000000 00000000 00000000
[ 2277.608909] [<c01575d0>] (cpuacct_account_field) from [<c0142f59>] (update_curr+0xa9/0x1ac)
[ 2277.617295] [<c0142f59>] (update_curr) from [<c0145195>] (enqueue_entity+0x179/0x734)
[ 2277.625160] [<c0145195>] (enqueue_entity) from [<c01457db>] (enqueue_task_fair+0x8b/0x62c)
[ 2277.633463] [<c01457db>] (enqueue_task_fair) from [<c013a715>] (ttwu_do_activate+0x39/0x5c)
[ 2277.641852] [<c013a715>] (ttwu_do_activate) from [<c013b0db>] (try_to_wake_up+0x15f/0x338)
[ 2277.650155] [<c013b0db>] (try_to_wake_up) from [<c012573f>] (signal_wake_up_state+0x1f/0x2c)
[ 2277.658631] [<c012573f>] (signal_wake_up_state) from [<c0125d49>] (__send_signal+0xd9/0x378)
[ 2277.667108] [<c0125d49>] (__send_signal) from [<c0126013>] (send_signal+0x2b/0x5c)
[ 2277.674717] [<c0126013>] (send_signal) from [<c012714b>] (do_notify_parent+0x157/0x178)
[ 2277.682755] [<c012714b>] (do_notify_parent) from [<c011f1ef>] (do_exit+0x7ff/0x898)
[ 2277.690441] [<c011f1ef>] (do_exit) from [<c011f2e3>] (do_group_exit+0x2f/0x88)
[ 2277.697694] [<c011f2e3>] (do_group_exit) from [<c011f34f>] (sys_exit_group+0x13/0x14)
[ 2277.705556] [<c011f34f>] (sys_exit_group) from [<c0101001>] (ret_fast_syscall+0x1/0x62)
[ 2277.713581] Exception stack(0xce419fa8 to 0xce419ff0)
[ 2277.718654] 9fa0:                   00000000 011846d8 00000000 b6f6b7d4 ea8d4000 00000000
[ 2277.726863] 9fc0: 00000000 011846d8 01184428 000000f8 0042c2f8 0042cf74 bea2cc90 00000002
[ 2277.735066] 9fe0: 000000f8 bea2cc64 b6ef26c5 b6e976f6
[ 2277.740141] Code: ee1d 4f90 4420 4408 (e9d0) 4600 
[ 2277.744949] ---[ end trace 5415ed569db2be8b ]---
[ 2277.749580] Fixing recursive fault but reboot is needed!
[ 2288.209932] SMP: failed to stop secondary CPUs

 

Share this post


Link to post
Share on other sites

@guidol: Here is the picture you requested.

My standoff skrews look a bit diffrent compared to the ones you used.

I also added a bit of tape between the coil ant the ethernet port is has contact to.

IMG_20191028_093500_2.thumb.jpg.43b9f214b5060da4d831717806f8a550.jpg

 

It is powered by the 3Amp Power Supply supplied by Orange Pi.

 

After starting over with a fresh build I tried syncthing instead of Nextcloud.

Not exactly doing the same thing, but good enough to use it as a phone backup cloud.

 

Was hitting some errors when large amounts of pictures were synchronized.

This happens if I add a new phone to the cloud:

 

Message from syslogd@localhost at Oct 25 22:29:05 ...
 kernel:[ 4736.779625] Internal error: Oops: 5 [#1] SMP THUMB2

Message from syslogd@localhost at Oct 25 22:29:05 ...
 kernel:[ 4736.885415] Process syncthing (pid: 1805, stack limit = 0x212b8102)

Message from syslogd@localhost at Oct 25 22:29:05 ...
 kernel:[ 4736.891691] Stack: (0xc3641e28 to 0xc3642000)

Message from syslogd@localhost at Oct 25 22:29:05 ...
 kernel:[ 4736.896063] 1e20:                   001a1ea6 c0f2a9c0 c0e08bc4 c0e04d48 006000c0 c0213275

 

Tried a few things to figure out the issue:

Lowered CPU frequency to 648MHz.

Tested RAM with memtester.

Wrote a few gigabyte to the msata SSD via dd.

Switched from eth0 to usb ethernet.

 

--> All with nothing looking problematic. Say - it all worked without errors.

 

Then watched htop while adding a new larger folder to the sync cloud --> System looked frozen (Actually was just terrible slow).

 

htop looked like this indicating that I was running out of memory:

 

pi@orangepi:~$ htop

  1  [|||||                    13.4%]   Hostname: orangepi
  2  [|||||||||                27.2%]   Tasks: 24, 149 thr; 2 running
  3  [||||||                   16.2%]   Load average: 3.10 2.34 1.25
  4  [|||||||                  16.3%]   Uptime: 1 day, 12:51:08
  Mem[|||||||||||||||||||||207M/239M]   CpuFreq1:  816 MHz
  Swp[|||||||||||||||||||||119M/120M]   CpuFreq2:  816 MHz
  Cpu Temp:   37 C                      CpuFreq3:  816 MHz

 

 

Added a 512M swap file to the SSD. Now it seems to run stable.

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites
22 minutes ago, Lutz Fechner said:

@guidol: Here is the picture you requested.

My standoff skrews look a bit diffrent compared to the ones you used.

I also added a bit of tape between the coil ant the ethernet port is has contact to.

 

Added a 512M swap file to the SSD. Now it seems to run stable.

because of my high standoff-screws I had not to add tape to the coil :) , but I had to add some Arduino-connector-extension :(

As I wrote to @yuanyunlong his kernel-exceptions could also be low ram if there is any additional software running.
Maybe he also should try to add swap-space?

OPi_R1_NAS_Rear_600px.jpg

OPi_R1_NAS_left_side_ARDUINO_600px.jpg

Share this post


Link to post
Share on other sites
1 hour ago, guidol said:

because of my high standoff-screws I had not to add tape to the coil :) , but I had to add some Arduino-connector-extension :(

As I wrote to @yuanyunlong his kernel-exceptions could also be low ram if there is any additional software running.
Maybe he also should try to add swap-space?

 

 

 

thank you for your reply.
According to your instructions, does it mean that I am trying to replace the 512M Orange pi-r1?

Then I use 256M Orange pi-r1, Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img Image Is there insufficient memory when no other software is installed?

 

When I look at r1 with the mysql service, it is indeed swp full.


  1  [||                        3.9%]   Hostname: orangepi
  2  [                          0.0%]   Tasks: 27, 45 thr; 1 running
  3  [                          0.0%]   Load average: 0.02 0.08 0.04 
  4  [                          0.0%]   Uptime: 1 day, 01:39:21
  Mem[|||||||||||||||||||||166M/239M]   CpuFreq1:  480 MHz
  Swp[|||||||||||||||||||||114M/120M]   CpuFreq2:  480 MHz
  Cpu Temp:   26 C                      CpuFreq3:  480 MHz
                                        CpuFreq4:  480 MHz

 

Currently, the health of another board is not verified.

 

This is another board, no other extra software is installed.

  1  [                          0.0%]   Hostname: orangepi
  2  [||                        2.6%]   Tasks: 22, 10 thr; 1 running
  3  [                          0.0%]   Load average: 0.09 0.24 0.11 
  4  [                          0.0%]   Uptime: 00:03:36
  Mem[||||||||||||||||||| 60.7M/240M]   CpuFreq1:  480 MHz
  Swp[                       0K/120M]   CpuFreq2:  480 MHz
  Cpu Temp:   24 C                      CpuFreq3:  480 MHz
                                        CpuFreq4:  480 MHz

:(

Still crashing when I restart

 

         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Armbian ZRAM config.
         Starting Armbian memory supported logging...
[    5.769983] BUG: Bad rss-counter state mm:(ptrval) idx:0 val:-1
[    5.776002] BUG: Bad rss-counter state mm:(ptrval) idx:1 val:2
[    5.777841] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    5.789953] pgd = (ptrval)
[    5.789968] [00000000] *pgd=00000000
[    5.796253] Internal error: Oops: 5 [#1] SMP THUMB2
[    5.801126] Modules linked in: zstd sun8i_codec_analog sun8i_adda_pr_regmap snd_soc_simple_card sun4i_i2s snd_soc_simple_card_utils snd_soc_core lima snd_pcm_dmaengine gpu_sched snd_pcm ttm snd_timer snd soundcore zram uio_pdrv_genirq uio cpufreq_dt thermal_sys 8189es cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[    5.832609] CPU: 0 PID: 523 Comm: systemd-cgroups Not tainted 4.19.79-sunxi #5.98
[    5.840083] Hardware name: Allwinner sun8i Family
[    5.844794] PC is at __rb_erase_color+0x6e/0x164
[    5.849411] LR is at __vma_adjust+0x2c5/0x444
[    5.853761] pc : [<c08f0fb2>]    lr : [<c02161a5>]    psr: 600700b3
[    5.860020] sp : cb423e90  ip : cf320a4c  fp : cdb60ab4
[    5.865238] r10: cdb60abc  r9 : ce55c118  r8 : c020dd61
[    5.870457] r7 : 00000000  r6 : ceefe4a8  r5 : 00000000  r4 : cf32038c
[    5.876977] r3 : 00000000  r2 : 00000000  r1 : ceefe4a8  r0 : cf32038c
[    5.883499] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[    5.890885] Control: 50c5387d  Table: 4f3cc06a  DAC: 00000051
[    5.896625] Process systemd-cgroups (pid: 523, stack limit = 0x(ptrval))
[    5.903318] Stack: (0xcb423e90 to 0xcb424000)
[    5.907673] 3e80:                                     cdb60a80 cdb60300 cf394c00 00000000
[    5.915844] 3ea0: ceefe494 ce55c118 cdb60abc c02161a5 ceefe4a8 cdcb13c0 00000000 b6e51000
[    5.924015] 3ec0: 00000000 b6e4f000 000000d8 00000000 00000000 00000000 b6e4f000 cf320a20
[    5.932186] 3ee0: cdb60a80 00000000 b6e51000 00000000 00100073 cf394c00 cb423f78 c0216ae1
[    5.940358] 3f00: cf320a20 00000000 cdb60a80 00000000 b6e4f000 00100071 b6e51000 c0218983
[    5.948529] 3f20: 00100071 ce55c118 cdcb13c0 000000d8 00000000 00000000 00000000 00000002
[    5.956699] 3f40: 00000000 b6e51000 cdb60a80 b6e51000 00000000 c0d04d48 00000001 b6e51000
[    5.964871] 3f60: 00100071 c0218ac3 00100071 00000000 00000000 00000005 cdb60a80 e66606f0
[    5.973041] 3f80: 00000000 b6fee7f8 00000000 00000040 0000007d c0101224 cb422000 0000007d
[    5.981230] 3fa0: b6fee7f8 c0101001 b6fee7f8 00000000 b6e4f000 00002000 00000001 b6e4f000
[    5.989417] 3fc0: b6fee7f8 00000000 00000040 0000007d b6fee7f8 b6d67000 b6d7cf44 b6fee7f8
[    5.997604] 3fe0: 00000000 bea48b6c b6fd1989 b6fdaff6 20070030 b6e4f000 00000000 00000000
[    6.005808] [<c08f0fb2>] (__rb_erase_color) from [<c02161a5>] (__vma_adjust+0x2c5/0x444)
[    6.013917] [<c02161a5>] (__vma_adjust) from [<c0216ae1>] (__split_vma+0xd9/0xe8)
[    6.021419] [<c0216ae1>] (__split_vma) from [<c0218983>] (mprotect_fixup+0x153/0x184)
[    6.029269] [<c0218983>] (mprotect_fixup) from [<c0218ac3>] (sys_mprotect+0x10f/0x190)
[    6.037197] [<c0218ac3>] (sys_mprotect) from [<c0101001>] (ret_fast_syscall+0x1/0x62)
[    6.045024] Exception stack(0xcb423fa8 to 0xcb423ff0)
[    6.050073] 3fa0:                   b6fee7f8 00000000 b6e4f000 00002000 00000001 b6e4f000
[    6.058248] 3fc0: b6fee7f8 00000000 00000040 0000007d b6fee7f8 b6d67000 b6d7cf44 b6fee7f8
[    6.066416] 3fe0: 00000000 bea48b6c b6fd1989 b6fdaff6
[    6.071471] Code: 6865 4295 d1d2 68a5 (e9d5) 3700 
[    6.076268] ---[ end trace 099bb56e88952ade ]---
[FAILED] Failed to start Armbian memory supported logging.

 

Share this post


Link to post
Share on other sites

This is the image I provided using armbain
Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img

 

 

There will also be a crash after rebooting

 

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Debian GNU/Linux 9 orangepi ttyS0

orangepi login: root
Password: 

Login incorrect
orangepi login: root
Password: 
You are required to change your password immediately (root enforced)
Changing password for root.
(current) UNIX password: 
Enter new UNIX password: 
Retype new UNIX password: 
  ___                               ____  _   ____  _ 
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |  _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| |  __/ |  __/| | |  _ <| |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_| \_\_|
                       |___/                          

Welcome to ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.38-sunxi   
System load:   1.17 0.35 0.12   Up time:       0 min
Memory usage:  23 % of 239MB    IP:            

  1  [                          0.0%]   Hostname: orangepi
  2  [                          0.0%]   Tasks: 19, 8 thr; 1 running
  3  [                          0.0%]   Load average: 0.59 0.33 0.13 
  4  [||                        2.0%]   Uptime: 00:01:37
  Mem[||||||||||||||||||| 63.5M/239M]   CpuFreq1:  480 MHz
  Swp[                       0K/120M]   CpuFreq2:  480 MHz
  Cpu Temp:   22 C                      CpuFreq3:  480 MHz
                                        CpuFreq4:  480 MHz
                         
                         
                         

 

There will also be a crash after rebooting

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    5.452143] Unable to handle kernel NULL pointer dereference at virtual address 00000098
[    5.460383] pgd = (ptrval)
[    5.463201] [00000098] *pgd=00000000
[    5.466883] Internal error: Oops: 5 [#1] SMP THUMB2
[    5.471791] Modules linked in: zram(+) sun8i_codec_analog snd_soc_simple_card sun8i_adda_pr_regmap sun4i_i2s snd_soc_simple_card_utils lima gpu_sched snd_soc_core ttm snd_pcm_dmaengine snd_pcm snd_timer sun4i_gpadc_iio snd soundcore industrialio sun8i_ths cpufreq_dt thermal_sys uio_pdrv_genirq uio 8189es cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[    5.478151] zram: Added device: zram0
[    5.506597] CPU: 3 PID: 356 Comm: systemd-udevd Not tainted 4.19.38-sunxi #5.83
[    5.506602] Hardware name: Allwinner sun8i Family
[    5.506619] PC is at free_unref_page_prepare.part.0+0x3c/0x50
[    5.506626] LR is at free_unref_page+0x3d/0x54
[    5.506630] pc : [<c01ee708>]    lr : [<c01ef355>]    psr: 00000133
[    5.506633] sp : cf3b7db0  ip : cf3b7d70  fp : c0e08bc4
[    5.506637] r10: cddc7c00  r9 : 00000001  r8 : cd0143c0
[    5.506642] r7 : c0e04d48  r6 : 00040000  r5 : cff3012c  r4 : cff3012c
[    5.506646] r3 : 00000026  r2 : 00000000  r1 : 0000001d  r0 : 00000001
[    5.506652] Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[    5.506657] Control: 50c5387d  Table: 4f3bc06a  DAC: 00000051
[    5.506661] Process systemd-udevd (pid: 356, stack limit = 0x(ptrval))
[    5.506671] Stack: (0xcf3b7db0 to 0xcf3b8000)
[    5.521040] zram: Added device: zram1
[    5.522401] 7da0:                                     38e38e39 0004c2b3 cff3012c 00000000
[    5.529402] zram: Added device: zram2
[    5.532641] 7dc0: 01dc0000 c02101f3 00000000 cf3b7df0 c0f2a9c0 cf3b2000 000001cd c0f2a9c0
[    5.610267] 7de0: cf820000 feac2d6f cf3b7e18 cf3b7e54 c0e04d48 cd0143c0 feac2d6f 00000040
[    5.618490] 7e00: ffffe000 cddc7c3c cd0143c0 c0211ef3 00000000 00000000 5ccd53ca feac2d6f
[    5.618501] 7e20: 2faf0801 00000001 df000000 c0e04d48 80000000 00000040 ffffe000 c0213259
[    5.618510] 7e40: cee25a68 cdae2600 cf3b7e70 c01a02b5 00000000 cd0143c0 00000055 006000c0
[    5.618519] 7e60: 00001dcd 01dcd000 cf3bc070 cf3bc070 4c2b35df 00000000 00000000 cff3012c
[    5.618527] 7e80: cf3b2734 cff9e51c 00000000 feac2d6f b6ecd7a8 cf3b7fb0 ce220680 cddc7c00
[    5.618536] 7ea0: 0000080f 01dcd843 00000055 cddc7c3c cd0143c0 c0110c79 00002710 feac2d6f
[    5.618545] 7ec0: c0e04d48 00000000 00000006 00000800 00000000 00000080 0046ddc4 c0e0ad74
[    5.618554] 7ee0: c0e04d48 0000080f c0110ba1 01dcd843 cf3b7fb0 0000000e 00000003 c0110f03
[    5.618562] 7f00: 00000800 c023f739 00000002 00000000 00000000 00000000 ce262000 c0e04d48
[    5.618571] 7f20: ffffff9c 00000000 00000000 c023f687 80000000 cd67ce58 ffffffff cd064480
[    5.618579] 7f40: 00000000 cd1cfa70 cdb27f10 cd67ce58 00000008 cd064488 0046ddc4 c0109d2b
[    5.618588] 7f60: 00000020 c0909087 cf3b6000 00000000 ce220680 feac2d6f 00002710 ffffe000
[    5.618597] 7f80: c0101224 cf3b7fb0 00000006 feac2d6f cf3b6000 00460c04 60000030 ffffffff
[    5.618606] 7fa0: 50c5387d 50c5387d 01d92810 c0101dcf 80000000 b6ecf7d4 00000000 00000041
[    5.618614] 7fc0: 01dcd81c 01dcd820 0047d61c 0047d61c 01dcd81c 01d92810 0000000e 00000003
[    5.618623] 7fe0: 0047dc20 beda7f58 00460bfd 00460c04 60000030 ffffffff 00000000 00000000
[    5.618653] [<c01ee708>] (free_unref_page_prepare.part.0) from [<c01ef355>] (free_unref_page+0x3d/0x54)
[    5.618667] [<c01ef355>] (free_unref_page) from [<c02101f3>] (wp_page_copy+0x37f/0x428)
[    5.618682] [<c02101f3>] (wp_page_copy) from [<c0211ef3>] (do_wp_page+0x93/0x4b0)
[    5.618694] [<c0211ef3>] (do_wp_page) from [<c0213259>] (handle_mm_fault+0x57d/0x988)
[    5.618706] [<c0213259>] (handle_mm_fault) from [<c0110c79>] (do_page_fault+0xd9/0x230)
[    5.618717] [<c0110c79>] (do_page_fault) from [<c0110f03>] (do_DataAbort+0x43/0xac)
[    5.618727] [<c0110f03>] (do_DataAbort) from [<c0101dcf>] (__dabt_usr+0x4f/0x60)
[    5.618732] Exception stack(0xcf3b7fb0 to 0xcf3b7ff8)
[    5.618737] 7fa0:                                     80000000 b6ecf7d4 00000000 00000041
[    5.618746] 7fc0: 01dcd81c 01dcd820 0047d61c 0047d61c 01dcd81c 01d92810 0000000e 00000003
[    5.618754] 7fe0: 0047dc20 beda7f58 00460bfd 00460c04 60000030 ffffffff
[    5.618765] Code: f001 011f f1c1 011d (f852) 3023 
[    5.618888] ---[ end trace 629a69b5535b0a21 ]---
[    5.623628] BUG: Bad rss-counter state mm:(ptrval) idx:1 val:1
[    5.654182] zram1: detected capacity change from 0 to 125374464
[    5.660331] BUG: Bad rss-counter state mm:(ptrval) idx:3 val:-1
[    5.918488] Unable to handle kernel paging request at virtual address 05e9f8ca
[    5.925868] pgd = (ptrval)
[    5.928617] [05e9f8ca] *pgd=00000000
[    5.932371] Internal error: Oops: 5 [#2] SMP THUMB2
[    5.937276] Modules linked in: zram sun8i_codec_analog snd_soc_simple_card sun8i_adda_pr_regmap sun4i_i2s snd_soc_simple_card_utils lima gpu_sched snd_soc_core ttm snd_pcm_dmaengine snd_pcm snd_timer sun4i_gpadc_iio snd soundcore industrialio sun8i_ths cpufreq_dt thermal_sys uio_pdrv_genirq uio 8189es cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[    5.952772] Adding 122432k swap on /dev/zram1.  Priority:5 extents:1 across:122432k SSFS
[    5.971822] CPU: 2 PID: 355 Comm: systemd-udevd Tainted: G      D           4.19.38-sunxi #5.83
[    5.971827] Hardware name: Allwinner sun8i Family
[    5.971848] PC is at unmap_page_range+0x1aa/0x4f4
[    5.971855] LR is at unmap_page_range+0x17d/0x4f4
[    5.971859] pc : [<c02113e2>]    lr : [<c02113b5>]    psr: a0070033
[    5.971862] sp : cf3b5e48  ip : 00000000  fp : c0c33000
[    5.971866] r10: cf3b5ef4  r9 : 01df6000  r8 : 4c2b255f
[    5.971870] r7 : cff30108  r6 : 01df5000  r5 : cf3aa7d8  r4 : 01df6000
[    5.971875] r3 : 05e9f8be  r2 : 00000000  r1 : 80000000  r0 : cf3aafd4
[    5.971881] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[    5.971886] Control: 50c5387d  Table: 4f3b806a  DAC: 00000051
[    5.971890] Process systemd-udevd (pid: 355, stack limit = 0x(ptrval))
[    5.971895] Stack: (0xcf3b5e48 to 0xcf3b6000)
[    5.971903] 5e40:                   01e00000 00000000 cdbf4e40 00000000 c0f2a9c0 c0e08bc4
[    5.971913] 5e60: cddc6a00 00000000 cff9e3e8 cf3aa5f0 cf3b8074 01e1f000 00000000 cf3b8070
[    6.073129] 5e80: 01e1efff c0e04d48 cff39a50 00000000 ffffff88 00000000 00000000 feac2d6f
[    6.081350] 5ea0: c0edec40 cdbf4e40 ffffffff cf3b5ef4 00000000 00000000 00000000 000000f8
[    6.089560] 5ec0: 00000003 c0211841 00000000 c02104bd cdbf4a80 cddc6a00 00000000 c0e04d48
[    6.097765] 5ee0: cddc6a3c c02161b9 c0110ba1 c023bc7d cf3b5fb0 cddc6a00 00000001 00000000
[    6.105976] 5f00: 00000000 ffffffff ce223a80 00000000 000000c4 00000400 cf3da000 00000001
[    6.114201] 5f20: ffffe000 c0101224 00000000 feac2d6f 00000003 cddc6a00 cddc6a00 feac2d6f
[    6.122421] 5f40: ffffe000 cddc6a00 cddc6a00 ffffe000 ffffe000 c0118e03 00000005 ce223a80
[    6.130631] 5f60: cddc6a00 c011ec77 0000345f 80000000 cf3b5fb0 feac2d6f 000000f8 000000f8
[    6.138858] 5f80: 00000003 c011f2c3 00000000 beda8098 beda8090 beda8150 000000f8 c011f32f
[    6.147081] 5fa0: 00000000 c01011f9 beda8098 beda8090 00000000 b6ecf7d4 00000000 00000000
[    6.155287] 5fc0: beda8098 beda8090 beda8150 000000f8 00000001 00000004 00000000 00000003
[    6.163493] 5fe0: 000000f8 beda7f84 b6e566c5 b6dfb6f6 20070030 00000000 00000000 00000000
[    6.171717] [<c02113e2>] (unmap_page_range) from [<c0211841>] (unmap_vmas+0x39/0x44)
[    6.179504] [<c0211841>] (unmap_vmas) from [<c02161b9>] (exit_mmap+0x7d/0xf4)
[    6.186686] [<c02161b9>] (exit_mmap) from [<c0118e03>] (mmput+0x43/0xcc)
[    6.193438] [<c0118e03>] (mmput) from [<c011ec77>] (do_exit+0x2a7/0x898)
[    6.200178] [<c011ec77>] (do_exit) from [<c011f2c3>] (do_group_exit+0x2f/0x88)
[    6.207446] [<c011f2c3>] (do_group_exit) from [<c011f32f>] (sys_exit_group+0x13/0x14)
[    6.215319] [<c011f32f>] (sys_exit_group) from [<c01011f9>] (__sys_trace_return+0x1/0xc)
[    6.223438] Exception stack(0xcf3b5fa8 to 0xcf3b5ff0)
[    6.228523] 5fa0:                   beda8098 beda8090 00000000 b6ecf7d4 00000000 00000000
[    6.236732] 5fc0: beda8098 beda8090 beda8150 000000f8 00000001 00000004 00000000 00000003
[    6.244932] 5fe0: 000000f8 beda7f84 b6e566c5 b6dfb6f6
[    6.250021] Code: bf4c f103 33ff 463b (68db) 07da 
[    6.254909] ---[ end trace 629a69b5535b0a22 ]---
[    6.259604] Fixing recursive fault but reboot is needed!
[    6.426705] zram0: detected capacity change from 0 to 52428800
[    6.846428] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[    7.086484] random: crng init done
[    7.089983] random: 7 urandom warning(s) missed due to ratelimiting
[    8.556090] bFWReady == _FALSE call reset 8051...

 

Share this post


Link to post
Share on other sites
56 minutes ago, yuanyunlong said:

thank you for your reply.
According to your instructions, does it mean that I am trying to replace the 512M Orange pi-r1?

Then I use 256M Orange pi-r1, Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img Image Is there insufficient memory when no other software is installed?

 

When I look at r1 with the mysql service, it is indeed swp full.

 

Currently, the health of another board is not verified.

 

This is another board, no other extra software is installed.

:(

Still crashing when I restart

 

 

No . you dont have to replace the OPi R1. If you use the mysql service, you should add more swap-space/virtual memory.

It looks like 256MB real + 120MB isnt enough to handle this task reliable.

 

But there could be your problem also.... did you try another (better/newer/faster) MicroSD card or another stronger Power-Supply?

If your card has problems then it could crash while using virtual memory or even make the kernel-exceptions if the card has problems while writing and the filesystem is corrupted after restart and could make kernel exceptions. 

Or your power-supply doesnt give enough power while writing to the card.

 

When no other software is installed (like mysql) then 256MB should be enough to run stable and also to restart properly.

My R1 with newer armbian and some small additional software (like FTP-Server) does use less than 80MB after bootup and it does restart properly every time:
armbianmonitor -u
System diagnosis information will now be uploaded to http://ix.io/203a

 

I will download https://dl.armbian.com/orangepi-r1/archive/Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.7z
and check if my OPi R1 will reboot properly with this image ;)

 

 

Share this post


Link to post
Share on other sites
6 minutes ago, guidol said:

No . you dont have to replace the OPi R1. If you use the mysql service, you should add more swap-space/virtual memory.

It looks like 256MB real + 120MB isnt enough to handle this task reliable.

 

But there could be your problem also.... did you try another (better/newer/faster) MicroSD card or another stronger Power-Supply?

If your card has problems then it could crash while using virtual memory or even make the kernel-exceptions if the card has problems while writing and the filesystem is corrupted after restart and could make kernel exceptions. 

Or your power-supply doesnt give enough power while writing to the card.

 

When no other software is installed (like mysql) then 256MB should be enough to run stable and also to restart properly.

My R1 with newer armbian and some small additional software (like FTP-Server) does use less than 80MB after bootup and it does restart properly every time:
armbianmonitor -u
System diagnosis information will now be uploaded to http://ix.io/203a

 

I will download https://dl.armbian.com/orangepi-r1/archive/Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.7z
and check if my OPi R1 will reboot properly with this image ;)

 

 

 

 

 

alright, thank you very much.

I am not concerned about whether I have mysql installed or not. If it is a software problem, I can find other ways to optimize it.

What hurts me is that the system crashes when no other software is installed. After the system is stable, I will do the next step to install the software.

I have already prepared two steps.

1. Replace R1 of 512M.
2. Replace the new MicroSD TF card (16G)

Share this post


Link to post
Share on other sites

Here the test:

login as: root
root@192.168.6.150's password:
  ___                               ____  _   ____  _
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |  _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| |  __/ |  __/| | |  _ <| |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_| \_\_|
                       |___/

Welcome to ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.38-sunxi
System load:   0.07 0.29 0.16   Up time:       4 min
Memory usage:  27 % of 239MB    IP:            192.168.6.150 192.168.6.151
CPU temp:      35°C
Usage of /:    6% of 15G

eth0 and wlan0 is activated (with dhcp ip)

reboot

TTL_console:
===============================================================
Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Debian GNU/Linux 9 orangepi ttyS0

orangepi login:
===============================================================
  
SSH_console:
===============================================================
login as: root
root@192.168.6.150's password:
  ___                               ____  _   ____  _
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |  _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| |  __/ |  __/| | |  _ <| |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_| \_\_|
                       |___/

Welcome to ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.38-sunxi
System load:   2.07 0.61 0.21   Up time:       0 min
Memory usage:  25 % of 239MB    IP:            192.168.6.150 192.168.6.151
CPU temp:      41°C
Usage of /:    7% of 15G

[ 0 security updates available, 1 updates total: apt upgrade ]
Last check: 2019-10-28 11:34

Last login: Mon Oct 28 11:32:37 2019 from 192.168.6.17

root@orangepi:~#
===============================================================

No problem and no kernel panic on my R1 with ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.38-sunxi ;)

 

OPi_R1_fresh_4_19_38.jpg

Share this post


Link to post
Share on other sites
53 minutes ago, yuanyunlong said:

1. Replace R1 of 512M.
2. Replace the new MicroSD TF card (16G)

The Orange Pi R1 is only available with 256MB:
http://www.orangepi.org/OrangePiR1/

Memory (SDRAM): 256MB DDR3 (shared with GPU)

 

Only the NanoPI R1 is available with 512Mb or 1Gb of Ram ;)
https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=248

 

Iam using SanDisk Ultra or Samsung EVO Cards Class 10 (mostly 16GB but sometimes 8 - 32GB)

Share this post


Link to post
Share on other sites

512MB is available for the Orange Pi Zero. In case you do not need the 2nd Ethernet port. Other thhan that the R1 and the Zero are basically identical.

With nothing installed the system should be stable though. At least mine was until I started doing things that are a bit too much for the 256MB Ram.

 

As already suggested:

- Try a different power supply.

- Try a different SD card.

 

Those 2 things are most critical to most SBCs.

 

I started to like SBCs that come with barrel plugs instead of micro sd for power.

Also industrial sd cards are not much more expensive compared to consumer cards, but should be a bit more robust.

Share this post


Link to post
Share on other sites

If the size of the board is not critical and you can choose, go for the OrangePi One instead of Zero. Better voltage regulator, HDMI output, no (broken-by-design) wireless and costs the very same as even a dollar less than the OPi Zero with 512MB.

However this board does NOT support powering through microUSB. You have to use a barrel plug (or the pin header) to power it up.

 

8 hours ago, Lutz Fechner said:

512MB is available for the Orange Pi Zero. In case you do not need the 2nd Ethernet port. Other thhan that the R1 and the Zero are basically identical.

With nothing installed the system should be stable though. At least mine was until I started doing things that are a bit too much for the 256MB Ram.

 

 

Share this post


Link to post
Share on other sites
On 10/28/2019 at 7:40 PM, guidol said:

Here the test:


login as: root
root@192.168.6.150's password:
  ___                               ____  _   ____  _
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |  _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| |  __/ |  __/| | |  _ <| |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_| \_\_|
                       |___/

Welcome to ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.38-sunxi
System load:   0.07 0.29 0.16   Up time:       4 min
Memory usage:  27 % of 239MB    IP:            192.168.6.150 192.168.6.151
CPU temp:      35°C
Usage of /:    6% of 15G

eth0 and wlan0 is activated (with dhcp ip)

reboot


TTL_console:
===============================================================
Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Debian GNU/Linux 9 orangepi ttyS0

orangepi login:
===============================================================
  
SSH_console:
===============================================================
login as: root
root@192.168.6.150's password:
  ___                               ____  _   ____  _
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_) |  _ \/ |
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | |_) | |
| |_| | | | (_| | | | | (_| |  __/ |  __/| | |  _ <| |
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_| |_| \_\_|
                       |___/

Welcome to ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.38-sunxi
System load:   2.07 0.61 0.21   Up time:       0 min
Memory usage:  25 % of 239MB    IP:            192.168.6.150 192.168.6.151
CPU temp:      41°C
Usage of /:    7% of 15G

[ 0 security updates available, 1 updates total: apt upgrade ]
Last check: 2019-10-28 11:34

Last login: Mon Oct 28 11:32:37 2019 from 192.168.6.17

root@orangepi:~#
===============================================================

No problem and no kernel panic on my R1 with ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.38-sunxi ;)

 

OPi_R1_fresh_4_19_38.jpg

 

 

 

awesome!
I have replaced a better TF card. It runs normally for one day, and during the reboot, it does not find the kernel crash. It feels amazing

 

image.png.97e8a40089c0666946f8f3d70436ed77.png

 

Next I will check the Swp issue again.

Yes, I remembered it wrong before. The Orange Pi R1 is only 256M of memory.
For the NanoPi R1, it is not currently considered. Although its configuration is very high. But I see that it does not open up the redundant GPIO interface. Used for my access urat

 

Share this post


Link to post
Share on other sites
On 10/29/2019 at 5:16 AM, Lutz Fechner said:

512MB is available for the Orange Pi Zero. In case you do not need the 2nd Ethernet port. Other thhan that the R1 and the Zero are basically identical.

With nothing installed the system should be stable though. At least mine was until I started doing things that are a bit too much for the 256MB Ram.

 

As already suggested:

- Try a different power supply.

- Try a different SD card.

 

Those 2 things are most critical to most SBCs.

 

I started to like SBCs that come with barrel plugs instead of micro sd for power.

Also industrial sd cards are not much more expensive compared to consumer cards, but should be a bit more robust.

 

Thank you very much for your reply.
I also have other projects that are using Zero. It is very stable at the moment.
The problem with R1 seems to have been found. thank you very much.

Share this post


Link to post
Share on other sites
19 hours ago, Werner said:

If the size of the board is not critical and you can choose, go for the OrangePi One instead of Zero. Better voltage regulator, HDMI output, no (broken-by-design) wireless and costs the very same as even a dollar less than the OPi Zero with 512MB.

However this board does NOT support powering through microUSB. You have to use a barrel plug (or the pin header) to power it up.

 

 

 

Yes, I have abandoned the microUSB interface in the follow-up development. I have used a syringe plug.

Share this post


Link to post
Share on other sites

I am using the latest armbian build script version 5.99 to build the debian Stretch kernel version update to 4.19.81
Armbian_5.99_Orangepi-r1_Debian_stretch_next_4.19.81.img


Burning into the TF card starts normally.

 

Debian Stretch with Armbian Linux ttyS0 

orangepi login: root
Password: 
You are required to change your password immediately (root enforced)
Changing password for root.
(current) UNIX password: 
Enter new UNIX password: 
Retype new UNIX password: 
  ___  ____  _   ____  _ 
 / _ \|  _ \(_) |  _ \/ |
| | | | |_) | | | |_) | |
| |_| |  __/| | |  _ <| |
 \___/|_|   |_| |_| \_\_|
                         
Welcome to Debian Stretch with Armbian Linux 4.19.81-sunxi

  1  [                          0.0%]   Hostname: orangepi
  2  [                          0.0%]   Tasks: 22, 10 thr; 1 running
  3  [||                        2.0%]   Load average: 0.15 0.22 0.10 
  4  [                          0.0%]   Uptime: 00:03:47
  Mem[||||||||||||||||||| 57.7M/240M]   CpuFreq1:  480 MHz
  Swp[                       0K/120M]   CpuFreq2:  480 MHz
  Cpu Temp:   24 C                      CpuFreq3:  480 MHz
                                        CpuFreq4:  480 MHz
                                          
 root@orangepi:~# uname -r
4.19.81-sunxi
root@orangepi:~# uname -a
Linux orangepi 4.19.81-sunxi #5.99 SMP Wed Oct 30 12:39:06 CST 2019 armv7l GNU/Linux
root@orangepi:~# dpkg -l | grep 5.9
ii  armbian-config                      5.99                           all          Armbian configuration utility
ii  armbian-firmware                    5.99                           all          Linux firmware
ii  bc                                  1.06.95-9+b3                   armhf        GNU bc arbitrary precision calculator language
ii  libdigest-sha-perl                  5.96-1+b1                      armhf        Perl extension for SHA-1/224/256/384/512, SHA-512/224 and SHA-512/256
ii  libkeyutils1:armhf                  1.5.9-9                        armhf        Linux Key Management Utilities (library)
ii  libksba8:armhf                      1.3.5-2                        armhf        X.509 and CMS support library
ii  linux-dtb-next-sunxi                5.99                           armhf        Linux DTB, version 4.19.81-sunxi
ii  linux-headers-next-sunxi            5.99                           armhf        Linux kernel headers for 4.19.81-sunxi on armhf
ii  linux-image-next-sunxi              5.99                           armhf        Linux kernel, version 4.19.81-sunxi
ii  linux-stretch-root-next-orangepi-r1 5.99                           armhf        Armbian tweaks for stretch on orangepi-r1 (next branch)
ii  linux-u-boot-orangepi-r1-next       5.99                           armhf        Uboot loader 2019.04
                                          

Then restart the operation. No kernel crash was found.
Looks like this version fixes the previous problem.

armbianmonitor  http://ix.io/20jK

Share this post


Link to post
Share on other sites

Building a new system with the armbian build program The support for R1 is still not very friendly.

Build with the armbian 5.99 version of the program
Armbian_5.99_Orangepi-r1_Debian_stretch_next_4.19.81.img
A kernel crash message will still appear after the restart operation.
and
Armbian_5.83_Orangepi-r1_Debian_stretch_next_4.19.38.img
It is very stable.

I am getting the error message again on 5.99

         Starting Load/Save RF Kill Switch Status...
[    5.593383] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    5.601492] pgd = (ptrval)
[    5.604212] [00000000] *pgd=00000000
[    5.607797] Internal error: Oops: 5 [#1] SMP THUMB2
[    5.612667] Modules linked in: snd_soc_simple_card lima snd_soc_simple_card_utils gpu_sched ttm sun8i_codec_analog sun8i_adda_pr_regmap sun4i_i2s option usb_wwan cdc_ether ch341 snd_soc_core usbserial usbnet snd_pcm_dmaengine sun4i_gpadc_iio snd_pcm snd_timer snd industrialio soundcore sun8i_ths zram cpufreq_dt uio_pdrv_genirq uio thermal_sys 8189es cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[    5.651358] CPU: 3 PID: 417 Comm: ifquery Not tainted 4.19.81-sunxi #5.99
[    5.658133] Hardware name: Allwinner sun8i Family
[    5.662844] PC is at enqueue_task_fair+0x2/0x62c
[    5.667458] LR is at ttwu_do_activate+0x39/0x5c

This error requires eth0 access network cable to default to DHCP to automatically obtain IP mode. Will appear when restarting.

[  OK  ] Found device /dev/ttyS0.
[    5.450672] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    5.450838] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    5.458772] pgd = (ptrval)
[    5.465339] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    5.465347] pgd = (ptrval)
[    5.465352] [00000000] *pgd=00000000
[    5.465368] Unable to handle kernel paging request at virtual address fffffffe
[    5.465370] pgd = (ptrval)
[    5.465372] [fffffffe] *pgd=4fffd861, *pte=00000000, *ppte=00000000
[    5.465386] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    5.465388] pgd = (ptrval)
[    5.465390] [00000000] *pgd=00000000
[    5.465397] Unable to handle kernel paging request at virtual address fffffffe
[    5.465399] pgd = (ptrval)
[    5.465402] [fffffffe] *pgd=4fffd861, *pte=00000000, *ppte=00000000
[    5.465413] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    5.465415] pgd = (ptrval)
[    5.465417] [00000000] *pgd=00000000
[    5.465424] Unable to handle kernel paging request at virtual address fffffffe
[    5.465426] pgd = (ptrval)
[    5.465429] [fffffffe] *pgd=4fffd861, *pte=00000000, *ppte=00000000
[    5.465439] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[    5.465441] pgd = (ptrval)
[    5.465444] [00000000] *pgd=00000000
[    5.465451] Unable to handle kernel paging request at virtual address fffffffe
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[    4.906929] Internal error: Oops - undefined instruction: 0 [#1] SMP THUMB2
[    4.913906] Modules linked in: 8189es cfg80211 r8152 usb_f_acm u_serial g_serial libcomposite ip_tables x_tables pwrseq_simple
[    4.925329] CPU: 0 PID: 223 Comm: systemd-journal Not tainted 4.19.81-sunxi #5.99
[    4.932800] Hardware name: Allwinner sun8i Family
[    4.937511] PC is at atime_needs_update+0x48/0xec
[    4.942211] LR is at trailing_symlink+0x73/0x178
[    4.946822] pc : [<c0255600>]    lr : [<c0247d87>]    psr: 40030033
[    4.953078] sp : cdd69d98  ip : 00000040  fp : c0d04d48
[    4.958295] r10: cdd69f08  r9 : 00000000  r8 : cef15aa0
[    4.963512] r7 : 00000000  r6 : cf986010  r5 : cef277e8  r4 : c0d04d48
[    4.970029] r3 : 70018000  r2 : 00000401  r1 : cef277e8  r0 : cdd69e58
[    4.976549] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[    4.983847] Control: 50c5387d  Table: 4e54006a  DAC: 00000051
[    4.989584] Process systemd-journal (pid: 223, stack limit = 0x(ptrval))
[    4.996274] Stack: (0xcdd69d98 to 0xcdd6a000)
[    5.000626] 9d80:                                                       cdd69f08 c02498e1

This error will happen occasionally, but not too often.

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Loading, please wait...
starting version 232
[    2.530208] Internal error: Oops: 5 [#1] SMP THUMB2
[    2.533137] Unable to handle kernel paging request at virtual address 77f69b54
[    2.535097] Modules linked in: pwrseq_simple
[    2.542356] pgd = (ptrval)
[    2.546608] CPU: 3 PID: 153 Comm: systemd-udevd Not tainted 4.19.81-sunxi #5.99
[    2.546612] Hardware name: Allwinner sun8i Family
[    2.546629] PC is at kmem_cache_alloc+0x5c/0x168
[    2.546635] LR is at 0xd8f9c454
[    2.546644] pc : [<c022c88c>]    lr : [<d8f9c454>]    psr: a00e0033
[    2.549353] [77f69b54] *pgd=00000000
[    2.556653] sp : cdd39de0  ip : cdc2ed4c  fp : 00000020
[    2.556657] r10: 00000005  r9 : d8f9c1d4  r8 : cf8cc000
[    2.556661] r7 : c024054b  r6 : 006080c0  r5 : cf8cc000  r4 : d8f9c454
[    2.556665] r3 : 00000000  r2 : c0cbd100  r1 : 0f0b8000  r0 : 00000636
[    2.556672] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[    2.556679] Control: 50c5387d  Table: 4da2406a  DAC: 00000051
[    2.565992] Process systemd-udevd (pid: 153, stack limit = 0x(ptrval))
[    2.566001] Stack: (0xcdd39de0 to 0xcdd3a000)
[    2.626291] 9de0: 00000041 c0249e1f cdcb71b0 c0d04b40 cf976680 000200c2 cf976680 fffff000
[    2.634459] 9e00: ffffe000 00000005 00000020 c024054b c0d04b40 c0d24d1c 000200c2 c02407b1
[    2.642627] 9e20: 19de410a 00000004 cdd39ec0 c381518a cdd39f70 cdd39f70 c0d04d48 c024a0db
[    2.650795] 9e40: 00000002 0000007c 00000000 00000000 00000000 c0d04d48 be99dd78 00000041

The query may be the cause of a driver. Because this is convenient, I am not very proficient.
I will see the chance again.
The name of the R1 NIC driver under armbian5.83 is

Bus 003 Device 002: ID 0bda:8152 Realtek Semiconductor Corp. 

The name of the R1 NIC driver under armbian5.99 is

Bus 003 Device 002: ID 0bda:8152 Realtek Semiconductor Corp. RTL8152 Fast Ethernet Adapter

I guess again, will it be the error caused by the NIC driver?

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0