Jump to content

Crossplatform Vlad

  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. On my orange pi pc there are no any errors on missing discard support. it says turning on sync discard 🥳 [ 7.831505] BTRFS info (device sda1: state M): turning on sync discard [ 7.831553] BTRFS warning (device sda1: state M): excessive commit interval 600 [ 7.831581] BTRFS info (device sda1: state M): use lzo compression, level 0 Does it mean continuing trimming works despite fstrim doesn't?
  2. 1. performance 2. smooth responsiveness. For USB 2.0 SSD reading is 2x (2944 vs 1500) faster than microsd, and writing is 8x faster (3942 vs 500) than microsd. The benchmark above is made on orange pi pc. 3. missing performance degradation on SSD over time if trim is working
  3. Yeah. RTL9201 is a pretty new controller. Ubuntu 22.04 was released early. I'm waiting for Ubuntu 24.04 based armbian. But USB 2.0 sata controllers support TRIM without queueing according to Google. Probably fstrim unconditionally needs queueing and fails. How to check that continuing trimming works despite fstrim doesn't?
  4. Yes. on the latest armbian with ubuntu 22.04 the result is the same. dmesg logs above are grabbed on the latest armbian with ubuntu 22.04 the fresh armbian installation: root@jammy-armv7l ~ $ uname -r 6.1.63-current-sunxi root@jammy-armv7l ~ $ uname -a Linux jammy-armv7l 6.1.63-current-sunxi #1 SMP Mon Nov 20 10:52:19 UTC 2023 armv7l armv7l armv7l GNU/Linux root@jammy-armv7l ~ $ cat /etc/*release # PLEASE DO NOT EDIT THIS FILE BOARD=orangepipc BOARD_NAME="Orange Pi PC" BOARDFAMILY=sun8i BUILD_REPOSITORY_URL=https://github.com/armbian/build BUILD_REPOSITORY_COMMIT=b600ead20 LINUXFAMILY=sunxi ARCH=arm IMAGE_TYPE=nightly BOARD_TYPE=csc INITRD_ARCH=arm KERNEL_IMAGE_TYPE=zImage FORCE_BOOTSCRIPT_UPDATE= FORCE_UBOOT_UPDATE= VENDOR="Armbian_community" VENDORDOCS="https://docs.armbian.com" VENDORURL="https://github.com/armbian/build" VENDORSUPPORT="https://community.armbian.com/" VENDORBUGS="https://github.com/armbian/community/issues" BOOTSCRIPT_FORCE_UPDATE="no" BOOTSCRIPT_DST="boot.cmd" VERSION=24.2.0-trunk.540 REVISION=24.2.0-trunk.540 IMAGE_UUID=5774cefd-8728-4d69-8504-636e97a35e54 # PLEASE DO NOT EDIT THIS FILE BOARD=orangepipc BOARD_NAME="Orange Pi PC" BOARDFAMILY=sun8i BUILD_REPOSITORY_URL=https://github.com/armbian/build BUILD_REPOSITORY_COMMIT=a7aafb8de LINUXFAMILY=sunxi ARCH=arm IMAGE_TYPE=nightly BOARD_TYPE=csc INITRD_ARCH=arm KERNEL_IMAGE_TYPE=zImage FORCE_BOOTSCRIPT_UPDATE= FORCE_UBOOT_UPDATE= VENDOR="Armbian" VENDORDOCS="https://docs.armbian.com" VENDORURL="https://www.armbian.com/" VENDORSUPPORT="https://forum.armbian.com" VENDORBUGS="https://www.armbian.com/bugs" BOOTSCRIPT_FORCE_UPDATE="no" BOOTSCRIPT_DST="boot.cmd" VERSION=24.2.0-trunk.551 REVISION=24.2.0-trunk.551 BRANCH=current DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS" PRETTY_NAME="Armbian 24.2.0-trunk.551 jammy" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.armbian.com" SUPPORT_URL="https://forum.armbian.com" BUG_REPORT_URL="https://www.armbian.com/bugs" PRIVACY_POLICY_URL="https://www.armbian.com" UBUNTU_CODENAME=jammy ARMBIAN_PRETTY_NAME="Armbian 24.2.0-trunk.551 jammy"
  5. Not exactly. trim and fstrim works well on the same SSD connected to USB 3.* on laptop using the same USB-SATA adapter. I didn't connect SSD to a sata connecor directly. But trim is missing on USB 2.0 only orange pi pc. here it is (Realtek RTL9201). sda1 is root fs as btrfs, sda2 is swap. Previously I created SSD root fs as ext4 and the result was the same (discard is not supported) The full dmesg is also attached. [ 2.645774] usb 4-1: new high-speed USB device number 2 using ehci-platform [ 2.812076] usb 4-1: New USB device found, idVendor=0bda, idProduct=9201, bcdDevice=f2.00 [ 2.812110] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.812123] usb 4-1: Product: RTL9201 [ 2.812133] usb 4-1: Manufacturer: Realtek [ 2.812144] usb 4-1: SerialNumber: 012345678999 [ 2.836676] usb-storage 4-1:1.0: USB Mass Storage device detected [ 2.838158] scsi host0: usb-storage 4-1:1.0 [ 2.845086] usbcore: registered new interface driver uas [ 4.309250] scsi 0:0:0:0: Direct-Access SSD 128G B 1.02 PQ: 0 ANSI: 6 [ 4.310067] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 4.313065] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB) [ 4.314870] sd 0:0:0:0: [sda] Write Protect is off [ 4.314891] sd 0:0:0:0: [sda] Mode Sense: 37 00 00 08 [ 4.316343] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 4.331219] sda: sda1 sda2 [ 4.331965] sd 0:0:0:0: [sda] Attached SCSI disk [ 4.527111] BTRFS: device fsid df0ead50-f772-46c2-9e27-c76368fe0a04 devid 1 transid 502 /dev/sda1 scanned by systemd-udevd (189) [ 4.755889] BTRFS info (device sda1): using crc32c (crc32c-generic) checksum algorithm [ 4.755972] BTRFS info (device sda1): using free space tree [ 4.791422] BTRFS info (device sda1): start tree-log replay do you have a many years old orange pi pc? or USB 2.0 only board? dmesg on orange pi pc with usb-sata SSD.txt
  6. It is hardware and its support by armbian question. On the latest armbian smartctl reports Trim is supported, but fstrim still not work (the discard operation is not supported) Sure. can't you see Trim is enabled by smartctl and discard mount option is on?
  7. My setup is SD boot and rootfs on ssd on USB 2.0 smartctl on laptop reports TIRM is enabled, but it is missing on orange pi PC. using the same SSD in the same USB box. Do I need another ssd, USB box, or armbian upgrade for TRIM support? root@focal-armv7l ~ $ fstrim -v / fstrim: /: the discard operation is not supported root@focal-armv7l ~ $ mount | grep " / " /dev/sda1 on / type ext4 (rw,noatime,nodiratime,discard,errors=remount-ro,commit=600) root@focal-armv7l ~ $ smartctl -i -d sat /dev/sda smartctl 7.1 2019-12-30 r5022 [armv7l-linux-5.9.14-sunxi] (local build) Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: SSD 128GB Serial Number: GS20231128661058 LU WWN Device Id: 0 000000 000000000 Firmware Version: HT3618C8 User Capacity: 128,035,676,160 bytes [128 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Form Factor: 2.5 inches Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ACS-4 T13/BSR INCITS 529 revision 5 SATA Version is: SATA 3.2, 6.0 Gb/s (current: 1.5 Gb/s) Local Time is: Wed Feb 7 06:02:15 2024 EET SMART support is: Available - device has SMART capability. SMART support is: Enabled # Missing TRIM support lsblk -D also reports zeros for discard root@focal-armv7l ~ $ lsblk -D NAME DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO sda 0 0B 0B 0 ├─sda1 0 0B 0B 0 └─sda2 0 0B 0B 0 mmcblk0 0 4M 3.5G 0 ├─mmcblk0p1 0 4M 3.5G 0 └─mmcblk0p2 0 4M 3.5G 0 zram0 0 4K 2T 0 zram1 0 4K 2T 0 I'm using previous armbian ver. Can an upgrade help to solve the missing trim issue? root@focal-armv7l ~ $ cat /etc/*release # PLEASE DO NOT EDIT THIS FILE BOARD=orangepipc BOARD_NAME="Orange Pi PC" BOARDFAMILY=sun8i BUILD_REPOSITORY_URL=https://github.com/armbian/build BUILD_REPOSITORY_COMMIT=b9814056 DISTRIBUTION_CODENAME=focal DISTRIBUTION_STATUS=supported VERSION=20.11.3 LINUXFAMILY=sunxi BRANCH=current ARCH=arm IMAGE_TYPE=stable BOARD_TYPE=conf INITRD_ARCH=arm KERNEL_IMAGE_TYPE=Image IMAGE_UUID=3d974917-e04a-4ec3-bc8a-cc3d2427eb76 # PLEASE DO NOT EDIT THIS FILE BOARD=orangepipc BOARD_NAME="Orange Pi PC" BOARDFAMILY=sun8i BUILD_REPOSITORY_URL=git@github.com:armbian/build.git BUILD_REPOSITORY_COMMIT=e846ef656-dirty DISTRIBUTION_CODENAME=focal DISTRIBUTION_STATUS=supported VERSION=21.02.3 LINUXFAMILY=sunxi BRANCH=current ARCH=arm IMAGE_TYPE=stable BOARD_TYPE=conf INITRD_ARCH=arm KERNEL_IMAGE_TYPE=Image DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS" NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.6 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal P.S. ix.io is taking a break
  8. In addition to RTL8811CU the same problem with Tenda MT7601U. It is also listed in Tested 3rd party hardware. http://ix.io/2Kbs Yesterday I plugged-in the board and in the morning IP address is missing: By default power management is turned off for both USB adapter. I had Orange PI+ with built-in wifi about 2 years ago and didn't have such trouble with on-board wifi. Something shifted during these two years in network manager? P.S. Just found out that IPv6 still works.
  9. The adapter is mentioned on the Tested 3rd party hardware Interesting name of the loaded ko-driver: It is 8821cu, but adapter is 8811cu. Is there 8811cu specific driver or 8821cu module covers 8811cu also?
  10. After about 10-20 hours of normal work the IP address on USB wifi adapter disappears. Ethernet adapter connected to the same router works well at the same time. System diagnosis information is collected when IP address is missing. After re-plug USB-adapter into the same USB port or reboot, the IP address appears back. Board: Orange PI PC, WIFI: EDUP dual-band on 8811CU chip, built-in drivers Image: 20.11.3 focal Router: Keenetic Ultra Previously I used built-in wifi of Orange PI+ and I didn't have similar problem. Is the problem specific to the WIFI adapter?
  11. Recent apt upgrade caused problems with headless Orange PI+. It is not respond via ping and ssh. Prev upgrade also made the breaking change - eMMC's path in /dev was also changed. But 2020.02 was pretty stable. What packages should I put on the hold to prevent upgrading armbian specific packages? I maen what packages should i place in placeholder to prevent upgrade. echo "<package> hold" | sudo dpkg --set-selections Thanks in advance.
  12. Cool. Can I obtain "armv7..." instead of aarch64 as output for uname -m ? Similar question - Can I obtain ''arm" instead of "arm64" as output for docker version --format '{{.Server.Arch}}' ?
  13. Can we switch a 64 bit image from downloads section to 32 bit kernel, repos and apps? I want a 32 bit (armhf) build server, but can see 64 bit OS images only. Do I need to build my custom armbian image? Are there command line examples for build script that produces armhf image instead of aarch64? I prefer H6 SoC instead of H3 because H6 is two times faster than H3, but the price of H6-based boards is very similar to H3-based boards. Thanks in advance
  14. If I convert rootfs to btrfs do I need to rebuild /boot/initrd.img-5.4.20-sunxi. E.g. is it enough to convert ext4 to btrfs on another PC and replace rootfstype=ext4 by rootfstype=btrfs in /boot/armbianEnv.txt? Armbian 2020.02.1 mainline with default kernel, orange pi plus I need a compression because OPI+ supports cards up to 32 Gb only. Thanks in advance.
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines