Jump to content

antoni

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by antoni

  1. Good evening, I have got Orange pi 5 board. MAC address of this board network interface `end1` changes every time I reboot the system. I tried adding entry in /boot/armbianEnv.txt, I tried specifying hwaddress in /etc/network/interfaces. Neither of those two options worked.
  2. It also looks like I'm getting SIGSEGV during apt update now: Nice...
  3. 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
  4. Ok. I solved the problem. I had to modify u-boot configuration file /boot/armbianEnv.txt. If you are using grub you probably need to modify /boot/grub/grub.cfg.
  5. 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.
  6. Ok, I bought better SD card and now everything works great. Tank you!
  7. 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.
  8. It's set to ondemand by default.
  9. 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)
  10. 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
  11. + 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%
  12. 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)
  13. Java is not my main problem. My main problem is that apt isn't working. Any command (like "apt update", "apt upgrade" or "apt full-upgrade") fails for some reason. Is there any way to fix it?
  14. 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?
  15. It's Armbian_20.08.1_Rockpro64_focal_current_5.8.6_desktop.img
  16. 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