ning

Members
  • Content Count

    28
  • Joined

  • Last visited

About ning

  • Rank
    Member

Recent Profile Visitors

272 profile views
  1. ning

    Not boot last version builded image

    does your board booted with old version images? if not please check power supply.
  2. ning

    Detecting HDMI status from CLI

    or if display driver is using DRM, maybe /sys/class/drm/ could help you. if display driver is framebuffer, no much info from /sys/class/graphics/
  3. ning

    Detecting HDMI status from CLI

    try xrandr ? or if you know how to use libdrm, you can write your own cmd.
  4. ning

    SSH doesn't work on Orange Pi Zero

    https://forum.armbian.com/topic/8933-warninglegacy-image-failed-to-start-sshd-after-system-upgrade/?tab=comments#comment-66872
  5. due to systemd updates to a new version, maybe it's not compact with old kernel. after system upgrade, it fails to start sshd. after read code, insystemd-tmpfile chase_symlinks() return -EBADF from kernel, I guess legacy kernel not compact with newer systemd.
  6. when system booting to userspace, we can see a voltage drop, about 1.5V. but when I add "rdinit=/bin/sh", system works fine. next setp I will find a DC power supply, and which GPIO pin is for power supply? pin4? pin2?
  7. @guidol new armbian image from https://www.armbian.com/download/
  8. [ 6.332071] Unable to handle kernel paging request at virtual address af034574 address lower than C0000000 is userspace virtual address, why kernel will request userspace address? I guess memory is broken. or power supply around memory chip is not stable. still need to check power. does anyone know how to check power supply for DDR?
  9. [ 6.004762] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 6.011085] random: udevadm: uninitialized urandom read (16 bytes read) [ 6.012778] random: udevadm: uninitialized urandom read (16 bytes read) [ 6.332071] Unable to handle kernel paging request at virtual address af034574 [ 6.339293] pgd = c9c68000 [ 6.342013] [af034574] *pgd=00000000 [ 6.345592] Internal error: Oops: 5 [#1] SMP THUMB2 [ 6.350462] Modules linked in: [ 6.353518] CPU: 3 PID: 148 Comm: systemd-udevd Not tainted 4.14.78-sunxi #412 [ 6.360728] Hardware name: Allwinner sun8i Family [ 6.365426] task: ef162700 task.stack: c9c64000 [ 6.369959] PC is at lock_page_memcg+0x10/0x60 [ 6.374401] LR is at page_add_file_rmap+0xf/0x88 [ 6.379012] pc : [<c021ce1c>] lr : [<c0206863>] psr: 60060133 [ 6.385268] sp : c9c65db8 ip : 000105df fp : 0000000d [ 6.390484] r10: c9c65e54 r9 : 00000000 r8 : ee156000 [ 6.395702] r7 : 00000000 r6 : efff5d34 r5 : c9c65e54 r4 : af034400 [ 6.402218] r3 : efff5d34 r2 : 00000001 r1 : 00000000 r0 : efff5d34 [ 6.408737] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none [ 6.416035] Control: 50c5387d Table: 49c6806a DAC: 00000051 [ 6.421772] Process systemd-udevd (pid: 148, stack limit = 0xc9c64210) [ 6.428289] Stack: (0xc9c65db8 to 0xc9c66000) [ 6.432641] 5da0: efff5d34 c9c65e54 [ 6.440810] 5dc0: efff5d34 c0206863 7fe2559f c01fffa1 ffece28c 00000000 ee8d75a0 efff5d34 [ 6.448978] 5de0: c0d03f48 ee8d55f4 0000000b c9c65e54 0000000d c01d742d 0000000a ee0a40c0 [ 6.457147] 5e00: effde1cc 0000000b 00000040 00000040 ee8d7560 28de9f60 00000000 0000000d [ 6.465315] 5e20: b6e98000 c0d03f48 00000040 c01d71f9 b6e9e000 c9c65e54 00000000 c02007d3 [ 6.473484] 5e40: eec04770 c0a703ac 00080040 00080060 00000010 ee156000 00000054 014200c2 [ 6.481652] 5e60: 00000006 b6ea3000 c9c6adb8 c9c6adb8 00000000 00000000 00000000 00000000 [ 6.489821] 5e80: ffece28c effde1e8 00000000 28de9f60 b6e9e794 c9c65fb0 ef162700 ee0d5880 [ 6.497990] 5ea0: 80000007 b6e9e794 00000054 ee0d58bc ee156000 c0110b75 ee4eb2c0 00000010 [ 6.506158] 5ec0: 00000002 00000040 00000000 00000000 00000000 c9c65ed8 ef6d91f8 c0d03f48 [ 6.514327] 5ee0: c0d096f4 00000007 c0110a9d b6e9e794 c9c65fb0 beb7f878 00461110 c01012e9 [ 6.522495] 5f00: ffffffff 0137adc0 ee546000 00000000 c0d04578 00000002 ffffff9c 00000000 [ 6.530664] 5f20: c9c65f58 28de9f60 0137adc0 0137adc0 beb7fe48 00000000 00000000 c9c65f68 [ 6.538832] 5f40: c9c65f58 c023579f c9c65f68 c9c65f58 c0d03f48 00000000 00000000 00000000 [ 6.547001] 5f60: 00000000 28de9f60 013778a0 ffffe000 00000000 c9c65fb0 c9c65f90 28de9f60 [ 6.555169] 5f80: c9c64000 0137adc0 beb7fe48 28de9f60 0000000a b6e9e794 60060030 ffffffff [ 6.563338] 5fa0: 50c5387d 50c5387d 00000000 c010ac3b 0136e090 beb7fab6 beb7f878 0046195c [ 6.571506] 5fc0: beb7fab6 beb7fab6 0136fb88 beb7f8b4 00461110 00000000 beb7f878 00461110 [ 6.579674] 5fe0: 00460f98 beb7f850 0043c291 b6e9e794 60060030 ffffffff 00000000 00000000 [ 6.587856] [<c021ce1c>] (lock_page_memcg) from [<c0206863>] (page_add_file_rmap+0xf/0x88) [ 6.596115] [<c0206863>] (page_add_file_rmap) from [<c01fffa1>] (alloc_set_pte+0x99/0x248) [ 6.604375] [<c01fffa1>] (alloc_set_pte) from [<c01d742d>] (filemap_map_pages+0x235/0x258) [ 6.612633] [<c01d742d>] (filemap_map_pages) from [<c02007d3>] (handle_mm_fault+0x61f/0x8b4) [ 6.621063] [<c02007d3>] (handle_mm_fault) from [<c0110b75>] (do_page_fault+0xd9/0x230) [ 6.629061] [<c0110b75>] (do_page_fault) from [<c01012e9>] (do_PrefetchAbort+0x39/0x88) [ 6.637058] [<c01012e9>] (do_PrefetchAbort) from [<c010ac3b>] (__pabt_usr+0x5b/0x5c) [ 6.644788] Exception stack(0xc9c65fb0 to 0xc9c65ff8) [ 6.649834] 5fa0: 0136e090 beb7fab6 beb7f878 0046195c [ 6.658003] 5fc0: beb7fab6 beb7fab6 0136fb88 beb7f8b4 00461110 00000000 beb7f878 00461110 [ 6.666170] 5fe0: 00460f98 beb7f850 0043c291 b6e9e794 60060030 ffffffff [ 6.672779] Code: f3af 8000 6a04 b1cc (f8d4) 3174 [ 6.677579] ---[ end trace eb14348a8ad35870 ]---
  10. finally, I can set loglevel to 7 and get detail error: [ 6.005126] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 6.011337] random: udevadm: uninitialized urandom read (16 bytes read) [ 6.013059] random: udevadm: uninitialized urandom read (16 bytes read) [ 6.329864] Bad mode in data abort handler detected [ 6.334753] Internal error: Oops - bad mode: 0 [#1] SMP THUMB2 [ 6.340577] Modules linked in: [ 6.343634] CPU: 2
  11. I use this power adapter, if it is power supply issue, can I use 2 power supply at same time? power adapter + USB supply? I have tried 2 sdcards, legacy and next images. still can't more logs from console.
  12. thanks @tommy I will try this way, but I use 5V power supply provided by Xunlong, the board maker. maybe it's broken. and how could I print more logs to console? I have already modified loglevel to 7, but nothing more, I think they are printed to some other console, right?
  13. OK, I use wrong pins for console, after use right one, I get below info from console: switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3708 bytes read in 13 ms (278.3 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 154 bytes read in 10 ms (14.6 KiB/s) 5218884 bytes read in 267 ms (18.6 MiB/s) 4654496 bytes read in 242 ms (18.3 MiB/s) Found legacy kernel configuration 34984 bytes read in 42 ms (812.5 KiB/s) ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5218820 Bytes = 5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... [sun8i_fixup]: From boot, get meminfo: Start: 0x40000000 Size: 1024MB ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1 ion_reserve_select: ion chipid [0x2c00081! ion_reserve_common: ion reserve: [0x50000000, 0x60000000]! Loading, please wait... starting version 229 <<== stopped... I will try new sdcard.