Jump to content

antoni

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by antoni

  1. It also looks like I'm getting SIGSEGV during apt update now:

     

    Spoiler
    
    [  108.611835] rockchip-i2s ff890000.i2s: Fail to set mclk -22
    [  108.611854] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
    [  108.613119] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
    [  108.613137] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
    [  464.315202] Unable to handle kernel paging request at virtual address ffff0001a81323d5
    [  464.315968] Mem abort info:
    [  464.316216]   ESR = 0x96000005
    [  464.316486]   EC = 0x25: DABT (current EL), IL = 32 bits
    [  464.316951]   SET = 0, FnV = 0
    [  464.317220]   EA = 0, S1PTW = 0
    [  464.317497] Data abort info:
    [  464.317750]   ISV = 0, ISS = 0x00000005
    [  464.318087]   CM = 0, WnR = 0
    [  464.318348] swapper pgtable: 4k pages, 48-bit VAs, pgdp=000000000341e000
    [  464.318933] [ffff0001a81323d5] pgd=00000000f7ff9003, p4d=00000000f7ff9003, pud=0000000000000000
    [  464.319722] Internal error: Oops: 96000005 [#1] PREEMPT SMP
    [  464.320212] Modules linked in: governor_performance bnep zstd zram snd_soc_hdmi_codec panfrost fusb302 pwm_fan tcpm gpu_sched snd_soc_audio_graph_card typec snd_soc_simple_card snd_soc_simple_card_utils rc_cec dw_hdmi_cec dw_hdmi_i2s_audio hantro_vpu(C) snd_soc_es8316 snd_soc_rockchip_i2s rockchip_vdec(C) hci_uart videobuf2_vmalloc v4l2_h264 btqca videobuf2_dma_contig btrtl btbcm snd_soc_core btintel snd_pcm_dmaengine snd_pcm rockchip_rga bluetooth snd_timer v4l2_mem2mem videobuf2_dma_sg videobuf2_memops snd videobuf2_v4l2 soundcore videobuf2_common videodev mc rfkill cpufreq_dt sch_fq_codel ip_tables x_tables autofs4 rockchipdrm analogix_dp dw_hdmi dw_mipi_dsi drm_kms_helper realtek cec rc_core drm drm_panel_orientation_quirks dwmac_rk stmmac_platform stmmac mdio_xpcs
    [  464.326170] CPU: 4 PID: 4657 Comm: dpkg Tainted: G         C        5.9.10-rockchip64 #20.11
    [  464.326906] Hardware name: Pine64 RockPro64 v2.1 (DT)
    [  464.327349] pstate: a0000005 (NzCv daif -PAN -UAO BTYPE=--)
    [  464.327842] pc : kmem_cache_alloc+0x148/0x410
    [  464.328225] lr : kmem_cache_alloc+0x6c/0x410
    [  464.328598] sp : ffff800016453910
    [  464.328889] x29: ffff800016453910 x28: 0000000000000000 
    [  464.329354] x27: 000000000038a604 x26: ffff0000cdb68e80 
    [  464.329820] x25: 0080000000000000 x24: ffff800011a4b000 
    [  464.330284] x23: ffff0000cdb68e80 x22: ffff8000103c79e8 
    [  464.330749] x21: 0000000000000a20 x20: ffff8000103c79e8 
    [  464.331214] x19: ffff0000e5a5d000 x18: 0000000000000000 
    [  464.331678] x17: 0000000000000000 x16: 0000000000000000 
    [  464.332143] x15: 0000000000000000 x14: 0000000000000000 
    [  464.332607] x13: 0000000000000000 x12: 0000000000004000 
    [  464.333072] x11: ffff0000e464f800 x10: ffff0000a805b240 
    [  464.333536] x9 : 0000000000000000 x8 : ffff0000e6208c00 
    [  464.334001] x7 : 0000000000000001 x6 : ffff0000cdb68e80 
    [  464.334465] x5 : ffff0000cdb68e80 x4 : ffff0000cdb68e80 
    [  464.334930] x3 : 000000000038a604 x2 : 0000000000000018 
    [  464.335394] x1 : 0000000000000002 x0 : ffff0001a81323bd 
    [  464.335859] Call trace:
    [  464.336077]  kmem_cache_alloc+0x148/0x410
    [  464.336431]  __es_insert_extent+0xb8/0x320
    [  464.336791]  ext4_es_insert_extent+0xe0/0x380
    [  464.337173]  ext4_ext_map_blocks+0x6c4/0x1018
    [  464.337557]  ext4_map_blocks+0x33c/0x580
    [  464.337902]  ext4_getblk+0x58/0x1c8
    [  464.338208]  ext4_bread+0x24/0x138
    [  464.338508]  ext4_append+0x50/0x100
    [  464.338815]  ext4_mkdir+0x190/0x488
    [  464.339124]  vfs_mkdir+0xf0/0x1c0
    [  464.339416]  do_mkdirat+0x10c/0x130
    [  464.339724]  __arm64_sys_mkdirat+0x20/0x30
    [  464.340086]  el0_svc_common.constprop.0+0x70/0x188
    [  464.340507]  do_el0_svc+0x24/0x90
    [  464.340799]  el0_sync_handler+0x90/0x198
    [  464.341144]  el0_sync+0x158/0x180
    [  464.341438] Code: 54001480 b9402a62 b94010c1 11000421 (f8626802) 
    [  464.341972] ---[ end trace 3209faca21a29d67 ]---
    [  464.342401] note: dpkg[4657] exited with preempt_count 1

     

     

     

    Nice...

  2. Hi,

    Do you know what may cause dmesg showing full wall of this error:

    .
    .
    .
    [77666.669616] rockchip-i2s ff890000.i2s: Fail to set mclk -22
    [77666.669642] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
    [77666.671123] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
    [77666.671149] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
    .
    .
    .

     

    This error occurs every time I run java, but also in some other programs.

     

    board: pine64 rockpro64

    os: armbian ubuntu focal based image, but i deleted graphical environement and some other programs like libreoffice

  3. Hi,

    I have RockPro64 board and NVMe drive. This board doesn't support booting from NVMe so I need to have spearate boot partition. Here's my /etc/fstab file (on NVMe filesystem):

     

    UUID=645f4a77-3e04-48da-ab41-0de8a81c1c13	/boot	ext4	defaults,noatime,nodiratime,commit=600,errors=remount-ro	0 1
    UUID=c94a693a-74df-4e63-a466-2107a287f26a	/	ext4	defaults,noatime,nodiratime,commit=600,errors=remount-ro	0 1
    tmpfs						/tmp	tmpfs	defaults,nosuid							0 0

     

    In my opinion, it shouldn't work because if /etc/fstab is on a different partition, how can it be mounted? But I heard that initramfs stored on /boot will contain drivers and information necessary to mount the root filesystem. Once the root filesystem is mounted, /etc on it is accessible and fstab is processed.

     

    So here is my SD card (UUID=645f4a77-3e04-48da-ab41-0de8a81c1c13) content (this what was previously in the /boot directory):

     

    armbianEnv.txt                  boot.bmp  boot.scr                  dtb                    Image                         System.map-5.8.17-rockchip64  uInitrd-5.8.17-rockchip64
    armbian_first_run.txt.template  boot.cmd  config-5.8.17-rockchip64  dtb-5.8.17-rockchip64  initrd.img-5.8.17-rockchip64  uInitrd                       vmlinuz-5.8.17-rockchip64

     

    Here is my NVMe drive (UUID=c94a693a-74df-4e63-a466-2107a287f26a) content (this what was previously in / except /boot, in /boot /dev/mmcblk1p1 is mounted):

     

    bin  boot  dev  etc  home  lib  media  mnt  opt  proc  root  run  sbin  selinux  srv  sys  tmp  usr  var

     

    I was able to gather this information by booting from USB, then mounting /dev/nvm0n1 in /mnt and /dev/mmcblk1p1 in /mnt/boot, and finally running systemd-nspawn -b -D /mnt. USB is 4th in boot order (after SPI, eMMC and SD card) and when I plugged it into my board it booted successfully, so u-boot flashed to my SPI don't know that my SD card (that is before USB in boot order) contains bootable data. It was able to boot my system when this data was in /boot directory on this same card but can't do it now. Why?

     

    Or maybe it's booting and I deduced it wrong...

     

    EDIT:

    It's booting but then freezes. Even fan isn't working.

    Board: Not on the list
  4. One of my previous errors:

    [...]
    Unpacking linux-libc-dev:arm64 (5.4.0-54.60) over (5.4.0-42.46) ...
    dpkg: error processing archive /tmp/apt-dpkg-install-KeRyGj/124-linux-libc-dev_5.4.0-54.60_arm64.deb (--unpack):
     corrupted filesystem tarfile in package archive: invalid tar header checksum       <=================================
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    [...]

     

    This could also be a problem with the internet connection. However, the broken SD card would explain kernel oops and so frequent SIGSEGV when running various programs. I don't think I have a broken board, that would explain SIGSEGVs, but it wouldn't explain so frequent invalid tar header checksums that leaded apt to failure. Obviously, that would be the worst scenario.

  5. 24 minutes ago, Igor said:


    Get another SD card and try ... from what you are reporting, we can't rule our hardware related issues.

     

    Where we can help little. Also one quick tip is to slightly clock down CPU and set governor to ondemand or performance. 

     

    It's set to ondemand by default.

  6. Ekh... I flashed this image again and... This same... I just logged via SSH, ran only 2 commands "apt update" and "apt upgrade", and here I have new error:

     

    .
    .
    .
    Preparing to unpack .../135-mutter_3.36.6-1ubuntu0.20.04.2_arm64.deb ...
    Unpacking mutter (3.36.6-1ubuntu0.20.04.2) over (3.36.4-0ubuntu0.20.04.2) ...
    Errors were encountered while processing:
     /tmp/apt-dpkg-install-mIEip0/098-firefox_83.0+build2-0ubuntu0.20.04.1_arm64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

     

  7. 15 minutes ago, Igor said:


    I never crashed APT to such degree so I am running out of ideas. Perhaps other will have it ...

     

    Can you start from a clean image?

     

    I would rather not do it because I have already configured a lot, but I think I will have to... I get tons of bugs. Tons of weird bugs. Including my first kernel oops:

     

    dpkg-deb: error: <decompress> subprocess returned error exit status 2
    dpkg: error processing archive /tmp/apt-dpkg-install-KeRyGj/121-linux-dtb-current-rockchip64_20.08.21_arm64.deb (--unpack):
     cannot copy extracted data for './boot/dtb-5.8.17-rockchip64/amlogic/meson-gxbb-vega-s95-meta.dtb' to '/boot/dtb-5.8.17-rockchip64/amlogic/meson-gxbb-vega-s95-meta.dtb.dpkg-new': unexpected end of 
    file or stream
    Preparing to unpack .../122-linux-focal-root-current-rockpro64_20.08.17_arm64.deb ...
    dpkg-divert: error: parsing file '/var/lib/dpkg/status' near line 1259 package 'console-setup':
     missing 'Version' field
    Unpacking linux-focal-root-current-rockpro64 (20.08.17) over (20.08.1) ...
    dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
    dpkg-deb: error: <decompress> subprocess returned error exit status 2
    dpkg: error processing archive /tmp/apt-dpkg-install-KeRyGj/122-linux-focal-root-current-rockpro64_20.08.17_arm64.deb (--unpack):
     cannot copy extracted data for './usr/lib/nand-sata-install/a13/bootloader/linux/u-boot.bin' to '/usr/lib/nand-sata-install/a13/bootloader/linux/u-boot.bin.dpkg-new': unexpected end of file or stre
    am
    dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
    dpkg-deb: error: <decompress> subprocess returned error exit status 2
    dpkg: error processing archive /tmp/apt-dpkg-install-KeRyGj/123-linux-image-current-rockchip64_20.08.21_arm64.deb (--unpack):
     dpkg-deb --control subprocess returned error exit status 2
    Preparing to unpack .../124-linux-libc-dev_5.4.0-54.60_arm64.deb ...
    Unpacking linux-libc-dev:arm64 (5.4.0-54.60) over (5.4.0-42.46) ...
    dpkg: error processing archive /tmp/apt-dpkg-install-KeRyGj/124-linux-libc-dev_5.4.0-54.60_arm64.deb (--unpack):
     corrupted filesystem tarfile in package archive: invalid tar header checksum
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
    Preparing to unpack .../125-linux-u-boot-rockpro64-current_20.08.13_arm64.deb ...
    Unpacking linux-u-boot-rockpro64-current (20.08.13) over (20.08.1) ...
    
    Message from syslogd@localhost at Nov 20 17:26:45 ...
     kernel:[  398.570141] Internal error: Oops: 96000004 [#1] PREEMPT SMP
    
    Message from syslogd@localhost at Nov 20 17:26:45 ...
     kernel:[  398.592784] Code: b4001313 b94022e2 b94010a0 11000400 (f8626a62) 
    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

     

    Hit:1 http://ports.ubuntu.com focal InRelease
    Hit:2 http://ports.ubuntu.com focal-security InRelease
    Hit:3 http://ports.ubuntu.com focal-updates InRelease
    Hit:4 http://ports.ubuntu.com focal-backports InRelease
    Get:5 https://minio.k-space.ee/armbian/apt focal InRelease [18.2 kB]
    Fetched 18.2 kB in 2s (10.5 kB/s)   
    
    Message from syslogd@localhost at Nov 20 17:27:40 ...
     kernel:[  453.966558] Internal error: Oops: 96000004 [#2] PREEMPT SMP
    
    Message from syslogd@localhost at Nov 20 17:27:40 ...
     kernel:[  453.987767] Code: f94033f7 f84a0efa eb17035f 54000340 (b8570340) 
    Segmentation fault

     

  8. + Now "apt update" sommetimes crash on reading package lists...

    Hit:1 http://ports.ubuntu.com focal InRelease
    Hit:2 http://ports.ubuntu.com focal-security InRelease
    Hit:3 http://ports.ubuntu.com focal-updates InRelease
    Hit:4 http://ports.ubuntu.com focal-backports InRelease
    Get:5 https://uk.mirrors.fossho.st/armbian/apt focal InRelease [18.2 kB]
    Fetched 18.2 kB in 2s (10.2 kB/s)   
    Segmentation faultsts... 79%

     

    Hit:1 http://ports.ubuntu.com focal InRelease
    Hit:2 http://ports.ubuntu.com focal-security InRelease
    Hit:3 http://ports.ubuntu.com focal-updates InRelease
    Hit:4 http://ports.ubuntu.com focal-backports InRelease
    Get:5 https://mirrors.dotsrc.org/armbian-apt focal InRelease [18.2 kB]
    Fetched 18.2 kB in 2s (11.0 kB/s)                     
    Segmentation faultsts... 44%

     

  9. 9 minutes ago, Igor said:


    Perhaps DNS problem? Workaround is adding nameserver 1.1.1.1 to /etc/resolv.conf ... or there is some other network issue.

     

    No. It didn't change anything. I managed to fix "apt update" by clearing /var/lib/apt/lists/ directory. However "apt upgrade still don't work. It gives me such an error:

    Preconfiguring packages ...
    (Reading database ... 84586 files and directories currently installed.)
    Preparing to unpack .../0-libc6-dev_2.31-0ubuntu9.1_arm64.deb ...
    Unpacking libc6-dev:arm64 (2.31-0ubuntu9.1) over (2.31-0ubuntu9) ...
    dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
    dpkg-deb: error: <decompress> subprocess returned error exit status 2
    dpkg: error processing archive /tmp/apt-dpkg-install-ewJj1L/0-libc6-dev_2.31-0ubuntu9.1_arm64.deb (--unpack):
     cannot copy extracted data for './usr/lib/aarch64-linux-gnu/libm.a' to '/usr/lib/aarch64-linux-gnu/libm.a.dpkg-new': unexpected end of file or stream
    Preparing to unpack .../1-libc-dev-bin_2.31-0ubuntu9.1_arm64.deb ...
    Unpacking libc-dev-bin (2.31-0ubuntu9.1) over (2.31-0ubuntu9) ...
    Preparing to unpack .../2-linux-libc-dev_5.4.0-54.60_arm64.deb ...
    Unpacking linux-libc-dev:arm64 (5.4.0-54.60) over (5.4.0-42.46) ...
    dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
    dpkg-deb: error: <decompress> subprocess returned error exit status 2
    dpkg: error processing archive /tmp/apt-dpkg-install-ewJj1L/2-linux-libc-dev_5.4.0-54.60_arm64.deb (--unpack):
     cannot copy extracted data for './usr/include/linux/input-event-codes.h' to '/usr/include/linux/input-event-codes.h.dpkg-new': unexpected end of file or stream
    Preparing to unpack .../3-libgcc1_1%3a10.2.0-5ubuntu1~20.04_arm64.deb ...
    Unpacking libgcc1 (1:10.2.0-5ubuntu1~20.04) over (1:10-20200411-0ubuntu1) ...
    Preparing to unpack .../4-libubsan1_10.2.0-5ubuntu1~20.04_arm64.deb ...
    Unpacking libubsan1:arm64 (10.2.0-5ubuntu1~20.04) over (10-20200411-0ubuntu1) ...
    Preparing to unpack .../5-libtsan0_10.2.0-5ubuntu1~20.04_arm64.deb ...
    Unpacking libtsan0:arm64 (10.2.0-5ubuntu1~20.04) over (10-20200411-0ubuntu1) ...
    Preparing to unpack .../6-liblsan0_10.2.0-5ubuntu1~20.04_arm64.deb ...
    Unpacking liblsan0:arm64 (10.2.0-5ubuntu1~20.04) over (10-20200411-0ubuntu1) ...
    Preparing to unpack .../7-libitm1_10.2.0-5ubuntu1~20.04_arm64.deb ...
    Unpacking libitm1:arm64 (10.2.0-5ubuntu1~20.04) over (10-20200411-0ubuntu1) ...
    Preparing to unpack .../8-libgomp1_10.2.0-5ubuntu1~20.04_arm64.deb ...
    Unpacking libgomp1:arm64 (10.2.0-5ubuntu1~20.04) over (10-20200411-0ubuntu1) ...
    Preparing to unpack .../9-gcc-10-base_10.2.0-5ubuntu1~20.04_arm64.deb ...
    Unpacking gcc-10-base:arm64 (10.2.0-5ubuntu1~20.04) over (10-20200411-0ubuntu1) ...
    Errors were encountered while processing:
     /tmp/apt-dpkg-install-ewJj1L/0-libc6-dev_2.31-0ubuntu9.1_arm64.deb
     /tmp/apt-dpkg-install-ewJj1L/2-linux-libc-dev_5.4.0-54.60_arm64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

     

  10. 48 minutes ago, Igor said:


    Files you are requesting doesn't come from Armbian repository. From Ubuntu - there is likely the problem. What have you installed?

     

    Just openjdk-14-jre and it's dependencies (openjdk-14-jre, openjdk-14-jre-headless, java-common, ca-certificates-java). What are the correct mirrors I should have in /etc/apt/sources.list?

  11. I'm new to Debian. I've been using Arch for a while. This error occurs on my new RockPro64 when I try to run "apt update":

    Hit:1 http://ports.ubuntu.com focal InRelease
    Hit:2 http://ports.ubuntu.com focal-security InRelease
    Hit:3 http://ports.ubuntu.com focal-updates InRelease
    Hit:4 http://ports.ubuntu.com focal-backports InRelease
    Hit:5 https://us.mirrors.fossho.st/armbian/apt focal InRelease
    Reading package lists... Error!
    E: Problem parsing dependency 21 of gdc-9-x86-64-linux-gnux32:arm64=9.3.0-17ubuntu1~20.04cross1
    E: Error occurred while processing gdc-9-x86-64-linux-gnux32 (NewVersion2)
    E: Problem with MergeList /var/lib/apt/lists/ports.ubuntu.com_dists_focal-updates_universe_binary-arm64_Packages.lz4
    E: The package lists or status file could not be parsed or opened.

     

    This error occurs when I try to install or remove any package:

    Reading package lists... Error!
    E: Problem parsing dependency 21 of gdc-9-x86-64-linux-gnux32:arm64=9.3.0-17ubuntu1~20.04cross1
    E: Error occurred while processing gdc-9-x86-64-linux-gnux32 (NewVersion2)
    E: Problem with MergeList /var/lib/apt/lists/ports.ubuntu.com_dists_focal-updates_universe_binary-arm64_Packages.lz4
    E: The package lists or status file could not be parsed or opened.

     

    I'm concerned about x86_64 in this error message. Am I using the wrong mirrors? Here's "/etc/apt/sources.list" file content:

    deb http://ports.ubuntu.com/ focal main restricted universe multiverse
    #deb-src http://ports.ubuntu.com/ focal main restricted universe multiverse
    
    deb http://ports.ubuntu.com/ focal-security main restricted universe multiverse
    #deb-src http://ports.ubuntu.com/ focal-security main restricted universe multiverse
    
    deb http://ports.ubuntu.com/ focal-updates main restricted universe multiverse
    #deb-src http://ports.ubuntu.com/ focal-updates main restricted universe multiverse
    
    deb http://ports.ubuntu.com/ focal-backports main restricted universe multiverse
    #deb-src http://ports.ubuntu.com/ focal-backports main restricted universe multiverse

     

    I've already installed openjdk-14-jre, openjdk-14-jre-headless and its dependencies on my system before. without errors. Java doesn't seem to work however. "java --version" command works properly but when I try to run any program then I get SIGSEGV (but I have 4GB of RAM!). I remember that I also got this (SIGSEGV) error before while running apt. Now it always returns this error but before it crashed with "segmentation fault". What's going on?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines